lapucca
asked on
Error calling a java Soap api that was added as a web service
Hi, I'm using vs2013, asp.net and c#.
I'm getting this long exception message when I call an API method. The java soap api uses MTOM protocol. I think this creates the problem receiving the result from api and creates an exception when I call the api. I added this to my web.config file but I still get the same error.
In the exception message it does contain the data that is returning to me. I attached the message file.
How to fix this? Thank you.
soap-api-error-expception.txt
I'm getting this long exception message when I call an API method. The java soap api uses MTOM protocol. I think this creates the problem receiving the result from api and creates an exception when I call the api. I added this to my web.config file but I still get the same error.
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding messageEncoding="Mtom">
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>
In the exception message it does contain the data that is returning to me. I attached the message file.
How to fix this? Thank you.
soap-api-error-expception.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I can't even run the program because all the methods are exposed as classes so how do I know if the binding is used or not?
ASKER
Doesn't use the web config binding when it's added as web services.
ASKER