You need to sign in to do that
Don't have an account?
星融 潘 6
How to use SOAP API in SAP.
I have down load the XML file enterprise.wsdl from salesforce.
I want to cteate a enterprise service in SAP,when I active the service,it show error message "Recursions must be eliminated".
Then I found below code result the error.
<complexType name="DataCategory">
<sequence>
<element name="childCategories" type="tns:DataCategory" minOccurs="0" maxOccurs="unbounded"/>
<element name="label" type="xsd:string"/>
<element name="name" type="xsd:string"/>
</sequence>
</complexType>
Example:
A packing unit is described by its length, width, height, and content. The content can also consist of packing units.
<complexType name="PackingUnit">
<sequence>
<element name="length" type="int"/>
<element name="width" type="int"/>
<element name="height" type="int"/>
<element name="content" type="PackingUnit"
maxOccurs="unbounded"/>
</sequence>
</complexType>
In ABAP, recursively defined structures are not possible.
Currently, the only solution is to replace a recursive reference by a reference to the data element XSDANY, so that the structure looks like this:
Dictionary structure PACKING_UNIT
Field LENGTH TYPE INT4
Field WIDTH TYPE INT4
Field HEIGHT TYPE INT4
Field CONTENT TYPE PACKING_UNIT_CONTENT_TAB
Dictionary table type PACKING_UNIT_CONTENT_TAB
Line type XSDANY (not TYPE PACKING_UNIT)
How can I deal with this? I try to change XML file,but make more error.
I want to cteate a enterprise service in SAP,when I active the service,it show error message "Recursions must be eliminated".
Then I found below code result the error.
<complexType name="DataCategory">
<sequence>
<element name="childCategories" type="tns:DataCategory" minOccurs="0" maxOccurs="unbounded"/>
<element name="label" type="xsd:string"/>
<element name="name" type="xsd:string"/>
</sequence>
</complexType>
Example:
A packing unit is described by its length, width, height, and content. The content can also consist of packing units.
<complexType name="PackingUnit">
<sequence>
<element name="length" type="int"/>
<element name="width" type="int"/>
<element name="height" type="int"/>
<element name="content" type="PackingUnit"
maxOccurs="unbounded"/>
</sequence>
</complexType>
In ABAP, recursively defined structures are not possible.
Currently, the only solution is to replace a recursive reference by a reference to the data element XSDANY, so that the structure looks like this:
Dictionary structure PACKING_UNIT
Field LENGTH TYPE INT4
Field WIDTH TYPE INT4
Field HEIGHT TYPE INT4
Field CONTENT TYPE PACKING_UNIT_CONTENT_TAB
Dictionary table type PACKING_UNIT_CONTENT_TAB
Line type XSDANY (not TYPE PACKING_UNIT)
How can I deal with this? I try to change XML file,but make more error.
Thanks for your help.
I considered set a java service as midware,But it will take more development and resoures ,so as .NET.
So I just want to figure out is possible connet SAP with salesforce directly without any midware.