cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem when upload WSDL file

truonglv
Participant
0 Likes
3,798

Dear Experts,

I'm developing a solution that uses an external SOAP service. But when I upload the file WSDL, it showed the error.

Could you please tell me how to fix this error?

Thanks and Best Regards

Truong

View Entire Topic
andy_blankley
Participant

Dear Truong Le Viet,

Hope you are doing well!

Without reviewing the WSDL, I can only give my feedback on this query for you.

The root cause appears to be a syntax error in your WSDL file! The error location I would assume is in the location of the <wsdl:message> </wsdl:message> XML tags.

.

When the WSDL is passed into the ABAP Proxy generation process, the entire WSDL is passed through an input stream to generated each part for meta data purposes.

I would assume that your WSDL contains something of the similar:

.

<wsdl:message name="SomeMessageResponse">
	<wsdl:part element="impl:Part_1" name="Part1"/>
	<wsdl:part element="impl:Part_2" name="Part2"/>
	<wsdl:part element="impl:Part_3" name="Part3"/>
	<wsdl:part element="impl:Part_4" name="Part4"/>
</wsdl:message>…

.

This format would be wrong and generation would not be successful. You should remove the multiple "parts" from the message and have 1 part per message.

Please review the WSDL and check out the SOAP Protocol WSDL standards.

Have a great day ahead!

P.S Mark this issue as answered if your problem is completed so other developers can use this solution!

Kind regards,

Andy Blankley

truonglv
Participant
0 Likes

Thanks Andrew, So you mean the only way to work here is I have to change from the multiple part to only one part. I don't know if I change that the WSDL file still works or not. Have you ever change the WSDL file content like that before ?