You need to sign in to do that
Don't have an account?
consuming web services in salesforce
Hi All,
I am trying to generate apex classes from a WSDL, and i am getting the following error - "Error: Unsupported WSDL. Operation 'GetRouteByThumbnailIds' has more than one output element."
The Wsdl code is as follows:
<s:element name="GetRouteByThumbnailIds">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="licenseKey" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="thumbnail1Id" type="s:string"/>
<s:element minOccurs="1" maxOccurs="1" name="thumbnail2Id" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetRouteByThumbnailIdsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ResponseStatus" type="s0:ResponseStatus"/>
<s:element minOccurs="1" maxOccurs="1" name="RouteInfo" type="s0:RouteData"/>
<s:element minOccurs="0" maxOccurs="1" name="Maps" type="s0:ArrayOfMapData"/>
<s:element minOccurs="0" maxOccurs="1" name="Disclaimer" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
As seen it has more than one output parameter. Can apex not give more than one output? How do i resolve this ? Any help is appreciated.
Let me know in case you require the whole wsdl to answer my query.
Thanks,
Heena