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
oceanofstarsoceanofstars 

Need help in parse wsdl

Hi 

 

I am trying to parse the wsdl in salesforce and get struck with this error

 

Failed to parse wsdl: attribute name can not be null at: 42:94. The following is the part of the WSDLand the line in red where the error is throwing.

 

<complexType name="ArrayOfReplyInfo">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="intf:ReplyInfo[]"/>
</restriction>
</complexContent>
</complexType>


Best Answer chosen by Admin (Salesforce Developers) 
soofsoof

It seems like your WSDL is written in RPC style.  Is this correct?  Apex supports only the document literal wrapped WSDL style.

 

If you're not sure, look for the <wsdlsoap:binding /> tag in your WSDL?  Is the style attribute on this element set to "rpc"?

 

Thanks.