You need to sign in to do that
Don't have an account?

Generate Apex code from WSDL
I have tried to generate apex code from wsdl. WSDL file contains multiple portType, binding and service port. While parsing WSDL file I got Error: multiple portType not suppoerted. Let me know how can I solve this problem.
You need to open your wsdl document
remove the portType that can be moved.
for instance
<portype= "1">
...
</porttype>
<porttype="2">
...
</porttype>
you have to choose
<portype= "1">
...
</porttype>
or
<porttype="2">
...
</porttype>
you can not just convert any wsdl document.
my suggest is to look at your wsdl and see if you can further reduce its size.
I take this topic to ask you help about conversion of a WSDL to Apex.
I see that there are some constraints using "Create form WSDL" in Salesforce.com and so I'd like to know if it's possible to use other programs to convert a generic WSDL into Apex code and then I would like to import Apex code into Salesforce.com.
Which program/plugin should I have to use?