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

Errors while parsing WSDL - Multiple port types are not supported

Once again, I bumped into several issues importing wsdl into Salesforce. Here is the background - I am using a wsdl from a hosted service (Bridger/Choicepoint - and trying to import into sfdc for further processing. But the issue started when I started importing the wsdl and sfdc is throwing the following error - Multiple port types are not supported. I scanned through the wsdl and removed multiple ports (locally) and tried to import which seems like it imported successfully but the last step (generate apex code) gave an error saying - soap 1.1 address is not found. Not sure where to find the correct solution and if anyone knows better please help me.


Please feel free to access the above wsdl.


Thank you


Message Edited by Raghu_dev on 03-09-2009 11:44 AM
It sounds like you removed the portType that defines the Soap 1.1 version of the interface (which is the one wsdl2apex is looking for).

Thanks for the "fastest" response.


The following is the section i removed (which i can add it back). Do you see this see section is defining soap 1.1 ? 



<wsdl:portType name="Common"> <wsdl:operation name="ChangePassword"> <wsdl:documentation xmlns:wsdl="">Change Password</wsdl:documentation> <wsdl:input message="tns:ChangePasswordSoapIn" /> <wsdl:output message="tns:ChangePasswordSoapOut" /> </wsdl:operation> <wsdl:operation name="ChangePasswordProvider"> <wsdl:documentation xmlns:wsdl="">Change a provider Password</wsdl:documentation> <wsdl:input message="tns:ChangePasswordProviderSoapIn" /> <wsdl:output message="tns:ChangePasswordProviderSoapOut" /> </wsdl:operation> </wsdl:portType>


then the question would be, will sfdc allow me to have multiple ports ? if yes, please tell me how.