cancel
Showing results for 
Search instead for 
Did you mean: 

Type error in wsdl

Former Member
0 Kudos

Hi,

I've imported a wsdl as an external definition.

In the response of an operation, there is the following type that is used.

<xsd:complexType name="ArrayOfcedstr_cle_elem_v1">

<xsd:complexContent>

<xsd:restriction base="soapenc:Array">

<xsd:sequence>

<xsd:element name="item" type="p0:cedstr_cle_elem_v1" minOccurs="0" maxOccurs="unbounded" />

</xsd:sequence>

<xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="impl:cedstr_cle_elem_v1[]" />

</xsd:restriction>

</xsd:complexContent>

Pi gives me the following error in the messages tab of the external definition...

Error : attribute http://schemas.xmlsoap.org/soap/encoding/, arrayType does not existe.

Is there a way to fix this... more so without changing wsdl ?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Are you trying to import the WSDL in using the RPC style ?

As per SAP, for using the WSDL in RPC format, you have following prerequisites :

● Although it does not conform to the standard, a WSDL document can contain operations with message definitions in both document-style format and in rpc-style format. In this case, before importing you must first make two out of the WSDL document: One that only contains definition in the document-style and one that only contains definitions in rpc-style.

● The WSDL document in rpc-style format must also not use any soapenc:Array types; these are often used in SOAP code in documents with this format. soapenc:Array uses the tag <xsd:any>, which the Integration Builder editors or proxy generation either ignore or do not support.

For more , check http://help.sap.com/saphelp_nw04/helpdata/en/43/ce993b45cb0a85e10000000a1553f6/frameset.htm

Thanks,

Pooja Pandey

Former Member
0 Kudos

You nailed the problem right on !

Thanks a lot !!!!

Answers (0)