+ 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.