function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
~Onkar~Onkar 

Use Asp.net WSDL in APEX class

Hi,

How can we aceess or use "ASP.net WSDL" in Apex class.
when i am trying to use this its give the following error
"Failed to parse wsdl: Found more than one wsdl:binding. WSDL with multiple binding not supported"

Please help


Best Answer chosen by Admin (Salesforce Developers) 
cogcog

Try removing the soap12 binding and the soap12 port. They look something like this:

 

<wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
  ...............
  </wsdl:binding>

 ...

 ..

 ..

...

    <wsdl: port name="ServiceSoap12" binding="tns:ServiceSoap12">
      ..........
    </wsdl: port>

Message Edited by cog on 03-03-2009 04:51 PM

All Answers

cogcog

Try removing the soap12 binding and the soap12 port. They look something like this:

 

<wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
  ...............
  </wsdl:binding>

 ...

 ..

 ..

...

    <wsdl: port name="ServiceSoap12" binding="tns:ServiceSoap12">
      ..........
    </wsdl: port>

Message Edited by cog on 03-03-2009 04:51 PM
This was selected as the best answer
SmeeForceSmeeForce

Thank you for the post!  Worked perrfectly

SalesforceDeveloper333SalesforceDeveloper333

Thanks, this worked great.