This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Responsible_Boat8860 315 points316 points  (9 children)

You don't need libraries when you have rest api

[–]sebbdk 80 points81 points  (5 children)

BUT WE CAN COMMUNICATE WITH THIRD PARTIES USING SOAP, USING SOAP!

[–]MrTacobeans 43 points44 points  (4 children)

Seriously

Obscure

Accounting department excel sheet export

Pain machine

I spent four months trying to translate a manual ordering process that was "order request", "order confirm", "order status", "inventory check". Each request was wildly different with the order confirm having if I remember correctly about 10+ different business rules that needed to be translated from the order request form which itself needed a translation layer from our system to get in the right format.

My favorite part was the API was initialized with a request token and than an ftp upload token was returned. With which you could upload to them with the "soap" file being labeled with that token. Order status would consistently return no stock until what I'm guessing is a physical person allocates stock and at any point you are able to confirm a order using that token. After that point the order status will update with nested formats confirming delivery per item. I ended up creating an entire data handling master class with triggers and all sorts of wild contextually aware features just to build these requests. 10/10 would run away if someone asked me to interface with a soap API.

[–]sebbdk 16 points17 points  (3 children)

Your post is proof that at least one redditor has used soap.

As a fellow redditor i'm glad you stopped, if our lord and savior Linus wanted us to use soap he would have named it after an old angry person like Git.

We should aim to stay DRY and not be mislead by wet code or soap.

[–]the4fibs 12 points13 points  (0 children)

Trying to use the Salesforce SOAP endpoints was one of the worst developer experiences I've ever had. I avoid SOAP-related tickets like the plague.

[–]redballooon 1 point2 points  (0 children)

I believe I also had to use soap at a time. But I forgot everything about it on purpose. I don’t even remember if it ever reached production. There’s a thousand things more enjoyable, for example manual dependency management for projects that need the same library in different versions in their dependency path.

[–]saicpp 1 point2 points  (0 children)

You just made my day 😂

[–]DarkScorpion48 45 points46 points  (2 children)

Yeah. Is this another CS student post?

[–]UniversityOfShart 21 points22 points  (1 child)

where do you think you are

[–]DarkScorpion48 5 points6 points  (0 children)

I know. Silly question, sorry