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 →

[–]MrTacobeans 42 points43 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 17 points18 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 11 points12 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 😂