0
votes

Im trying to make a SOAP call with httpClient. The SOAP has OAuth 1.0 Authorization. I dont want to use WSDL provided because its absurdly big. I have tried to do everything, the call works with Postman, credential are 100% correct, the signature generating code is also correct, because all that works fine when Im calling using WSDL provided, but every time I get "USER ERROR", "Invalid Login Attempt". To summarize is there way to make a SOAP call with httpClient using OAuth 1.0.

p.s. I also tried RestSharps RestClient, got same thing. My project is Windows Application (.NET Framework 4.7.2) which is calling a Class Library (.NET Standard 2.0)

What does it matter how big the wsdl is? The point is that you generate a proxy client and you don't need to bother with the implementation details.Crowcoder
@Crowcoder If I wont find another way of doing it I will have to use WSDL, I just want to know all my options.ZavenMelkonyan
You can do it without a wsdl and proxy client. But without seeing the wsdl and your code all I can say is what you already know - you are doing something wrong. You could use Fiddler to compare the the network traffic with what you are doing vs. what Postman is doing and then make changes as necessary.Crowcoder
I have compared them both with Fiddler and they are identical, I can post my code, but not sure where to put wsdl.ZavenMelkonyan