cancel
Showing results for 
Search instead for 
Did you mean: 

Error uploading WSDL file

diego_marzano
Explorer
0 Kudos

Hi everyone,

I have the following wsdl file, when I try create the enterprise service and proxy from the SE80 transaction, I have this error:

In a WSDL document, a <message> must contain exactly one <part>,

therefore:

<message name="dummyRequest">

<part .../>

</message>

The message <dummyRequest> is a import parameter of dummy method generated for the proxy, with the following structure:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<soapenv:Header/>

<soapenv:Body/>

</soapenv:Envelope>

That is to say, the import parameter of dummy method hasn't nothing.

Any idea, How modify the XML for generate the proxy correctly with the "DUMMY" method?

I attached the xml file.

Thanks,

Diego.-

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Diego, the WSDL itself is ok, I managed to create a SOAP request in XMLSpy.

But I do not recommend generating an ABAP proxy from an external WSDL. It is a better design if you create your own SAP-specific outbound interface (e.g. with data types provided by SAP) and create the proxy from this interface.

Then you create a mapping to the external WSDL which you use in configuration.

Regards, Martin

diego_marzano
Explorer
0 Kudos

Hi Martin,

I agree to generate the outbound interface manually, considering the errors in data types and conversions,  but in this case, we need to correct the xml and generate from it.

Only we have problem, with the conversion of a method called "DUMMY" that hasn't import parameter, only a message of response.

We need modify the xml for generate this method correctly.

Thanks,

Regards,

Diego.-