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

Apex generation from WSDL failed for Fedex shipping WSDL
Hi,
I am a new bee to Apex development.
I am trying to generate Apex class from Fedex shipping WSDL file.
After parsing the file, I tried to generate the Apex class but I was getting the following error,
Apex generation failed.
Error message:
Error: Unsupported WSDL. Operation 'deleteShipment' has more than one output element.
Error: Unsupported WSDL. Operation 'deleteShipment' has more than one output element.
How do I generate the Apex class?
please throw some light on it.
thanks
sk
Error: Unsupported WSDL. Operation 'track' has more than one output element.
Here's the offending portion of the WSDL. Can this be modified to work with the Salesforce WSDL parser?
Error: Unsupported schema type: {http://www.w3.org/2001/XMLSchema}nonNegativeInteger
Message Edited by James_Adapx on 01-20-2009 04:10 PM
Yeah, I caught that part, but then I get stuck again with outputs.
https://beta.logmeinrescue.com/api/api.asmx?wsdl
Can you give me the link for Fedex WSDL? Icouldnt find it.
Thanks
Can you please explain this in more detail. I am not so much familiar with the Visual Studio or working around with WSDL. Also, what do you mean by remove one of each?
Thanks
I am having this same issue. Has anyone found resolution to this?
SFDC support can you please give your 2 cents?
go to My Blog and there you can find another way to integrate web service in APEX. I was facing many issued using WSDL. I found a new way which is mentioned on the link.
Thanks
Add ?WSDL in the browser at the end of the url so you can see the code.http://localhost:59634/WebSite4/Service.asmx?WSDL copy the code to a text editor, note pad is fine. The remove the binding and port for Soap12 which is in blue below. Then save the file as a .WSDL and import it into salesforce. I remove some of the code just to get it to fit the 20,000 character limit here but it wasnt important.. - <wsdl:portType name="ServiceSoap">- <wsdl:operation name="HelloWorld"> <wsdl:input message="tns:HelloWorldSoapIn" /> <wsdl:output message="tns:HelloWorldSoapOut" /> </wsdl:operation> </wsdl:portType>- <wsdl:binding name="ServiceSoap" type="tns:ServiceSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />- <wsdl:operation name="HelloWorld"> <soap:operation soapAction="http://tempuri.org/HelloWorld" style="document" />- <wsdl:input> <soap:body use="literal" /> </wsdl:input>- <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding>- <wsdl:binding name="ServiceSoap12" type="tns:ServiceSoap"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />- <wsdl:operation name="HelloWorld"> <soap12:operation soapAction="http://tempuri.org/HelloWorld" style="document" />- <wsdl:input> <soap12:body use="literal" /> </wsdl:input>- <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding>- <wsdl:service name="Service">- <wsdl:port name="ServiceSoap" binding="tns:ServiceSoap"> <soap:address location="http://localhost:59634/WebSite4/Service.asmx" /> </wsdl:port>- <wsdl:port name="ServiceSoap12" binding="tns:ServiceSoap12"> <soap12:address location="http://localhost:59634/WebSite4/Service.asmx" /> </wsdl:port> </wsdl:service> </wsdl:definitions>
Sorry, the code insert messed things up abit. Havent been here in awhile, here are the instructions.
Add ?WSDL in the browser at the end of the url so you can see the code.
http://localhost:59634/WebSite4/Service.asmx?WSDL
copy the code to a text editor, note pad is fine.
Then remove the binding and port for Soap12 which is in blue below. Then save the file as a .WSDL and import it into salesforce. I remove some of the code just to get it to fit the 20,000 character limit here but it wasnt important..
</wsdl:definitions>
Hi everyone,
I'm experiencing the same issue, does someone have the solution to this problem?
I found this blog (seems like this guy found the real problem):
http://patf.net/blogs/index.php?blog=2&title=salesforcesoa_operation_create_has_more_&more=1&c=1&tb=1&pb=1
Regards,
Wilmer
Hi,
This post seems to be the solution:
http://forums.sforce.com/sforce/board/message?board.id=apex&thread.id=860
Hi,
I want to generate a webservice that can be consumed by Apps generated by the same salesforce instance and I will be able to transfer data from the main instance to the apps installed. Can somebody please help me how can it be done?
Regards
Prasenjit