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.
  <system.serviceModel>
    <bindings>
      <basicHttpBinding>
        <binding messageEncoding="Mtom">
        </binding>
      </basicHttpBinding>
    </bindings>
  </system.serviceModel>

Open in new window


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
lapuccaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
Check whether the binding is really used or not.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lapuccaAuthor Commented:
How do I check that?  Thank you.
0
lapuccaAuthor Commented:
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?
0
lapuccaAuthor Commented:
Doesn't use the web config binding when it's added as web services.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Services

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.