cancel
Showing results for 
Search instead for 
Did you mean: 

Generating ABAP Proxy in SAP R/3 4.7

former_member509118
Participant
0 Kudos

Hi people..

I'm with problem to generate ABAP Proxy... when I generate display the following message:

"Proxy generation terminated: WSDL error (node <portType> missing)"

Display message by Interrogative:

Proxy generation terminated: WSDL error (node <portType> missing)

Nº mensagem SPRX035

Background

During proxy generation, an interface description in WSDL format was fetched from the Integration Builder using HTTP and was interpreted. This WSDL document must describe the whole interface correctly.
==> Display WSDL Document

Diagnosis

The node
<portType>
is missing in the WSDL document. This node must appear (at least once) in the WSDL document.

System Response

Proxy generation is terminated

Display message by "Display WSDL Document":

<?xml version="1.0" encoding="UTF-8" ?>

- <wsdl:definitions name="DT_ASN_IN_REQ" targetNamespace="urn:aes-com:mm_o_dlx_asnIn" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

<wsdl:documentation />

- <wsdl:types>

- <xsd:schema targetNamespace="urn:aes-com:mm_o_dlx_asnIn" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:aes-com:mm_o_dlx_asnIn">

- <xsd:complexType name="DT_ASN_IN_REQ">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/VersionID">2a60e6a032db11e393f900000793bffb</xsd:appinfo>

</xsd:annotation>

- <xsd:sequence>

- <xsd:element name="FILENAME" type="xsd:string" minOccurs="0">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">c358417d32bf11e39fbe00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="HEADER">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af782f232b411e3cd1f00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

- <xsd:complexType>

- <xsd:sequence>

- <xsd:element name="IDENT_REG" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af75ffb32b411e3b72a00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="ASNNUM" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af75ffc32b411e3cc8700059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="ASNTYPE" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af75ffd32b411e3994300059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="ASN_UPDATE" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af75ffe32b411e3927b00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="NUM_NFE" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af75fff32b411e3a34200059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="CHV_ACESSO" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af782ee32b411e3b53d00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="DATA" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af782ef32b411e3c8e400059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="COD_FORN_RECEB" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af782f032b411e394cb00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="CENTRO_DEST" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af782f132b411e3a72300059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

- <xsd:element name="ITEM" maxOccurs="unbounded">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af7be0632b411e3b48d00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

- <xsd:complexType>

- <xsd:sequence>

- <xsd:element name="IDENT_REG" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af782f332b411e3a6ba00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="POSNR" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af782f432b411e3b8c200059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="MATERIAL" type="xsd:string">

- <xsd:annotation>
<xsd:appinfo source="http://sap.com/xi/TextID">4af782f532b411e3bdeb00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="UM_MATERIAL" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af7bdff32b411e38cfd00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="PACK_QTY" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af7be0032b411e3c72e00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="STATUS" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af7be0132b411e3c8fc00059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="DEPOSITO_DEST" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af7be0232b411e3adc200059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="PEDIDO" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af7be0332b411e3b0f000059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="ITEM_PEDIDO" type="xsd:string">

- <xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">4af7be0432b411e3b57300059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

- <xsd:element name="NUM_SERIAL" type="xsd:string">

- <xsd:annotation>

- <xsd:appinfo source="http://sap.com/xi/TextID">4af7be0532b411e39f7400059a3c7800</xsd:appinfo>

<xsd:documentation />

</xsd:annotation>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:element>

</xsd:sequence>

</xsd:complexType>

</xsd:schema>

</wsdl:types>

- <ifw:properties xmlns:ifw="urn:com-sap:ifr:v2:wsdl">

  <ifw:category>ifmtypedef</ifw:category>

<ifw:VersionID>2a60e6a032db11e393f900000793bffb</ifw:VersionID>

</ifw:properties>

</wsdl:definitions>

My DataType:

.

My PI is 7.3, SAP is R/3 4.7 and Interface ABAPProxyToFile..

Can you help?

Accepted Solutions (1)

Accepted Solutions (1)

stefan_grube
Active Contributor
0 Kudos

Make sure that your service interface is of type: xi 3.0 compatible.

The related message type must have the same XML namespace as object namespace.

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Rodrigo,

If you generate a WSDL in "Go to  Tools->Define Web Service ", can you see the porType tag?, if the answer is affimative you could do a little workaround, take this WSDL and import it like External definition, later you save and active the service interface as well,  finally you could have a WSDL like the R/3 4.7 needs it

Regards..