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
AboutTerryAboutTerry 

Encoded external webservice

I would like to connect to an external webservice. Does anyone know how to begin? I tried to make a connection in APEX class, generate from wsdl. This message appears: Failed to parse wsdl: Unsupported WSDL style 'rpc'. Only supports Document/literal/wrapped services. 104:79. I know that this webservice is encoded, not literal. Looking forward for your reply.

Vinita_SFDCVinita_SFDC

Hi,

 

Apex does not support any other WSDL constructs, types, or services, including:

* RPC/encoded services
* WSDL files with mulitple portTypes, multiple services, or multiple bindings
* WSDL files that import external schemas. For details please refer following link:

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_callouts_wsdl2apex.htm#invoking

sebascansecosebascanseco
Is it worth trying to convert WSDL RPC to litteral format?