cancel
Showing results for 
Search instead for 
Did you mean: 

Error when create Proxy with external WSDL definition

Former Member
0 Kudos


Dear experts,

When I try to generate de Service Consumer (Proxy) with the wizard of the TCODE SE80, when the process finish appears the following error: "message part refers a type, not an element".

It's possible the data of WSDL it's incorrect?

Can anyone help me?

Kind regards,

David

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member185881
Active Participant
0 Kudos

Hello David

There is a issue in your External WSDL structure which does not match with PI standards.

You need to check the structure of WSDL in Service Interface. All the fields should be of category "Complex Type, Element or Attribute". If any of the field's category is different then you have to change it manually.

Thanks

Dheeraj Kumar

markangelo_dihiansan
Active Contributor
0 Kudos

Hi David,


When I try to generate de Service Consumer (Proxy) with the wizard of the TCODE SE80, when the process finish appears the following error: "message part refers a type, not an element".

It's possible the data of WSDL it's incorrect?

Could be incorrect, but also take into account that not all XSD schemas are supported by abap proxies. You might have to re-encode your WSDL just to have it generated in se80.

For example in PI 7.1:

Supported XML Schema and WSDL (SAP NW PI 7.1) Excel List

But since you are directly generating it using SE80, this note will help

SAP Note 944029 - XML Schema Supported by ABAP Proxy (Thanks )

Hope this helps,

Mark

iaki_vila
Active Contributor
0 Kudos

Hi David,

If you check your wsdl you will have something like this:

Try to check if there is pointing an element and not a type, you will need to change manually this tag from Type to Element.

Regards.

former_member182455
Active Contributor
0 Kudos

Hi,

You can generate proxy for external defintion, but make sure that service interface should have this external definition, and check external definition xsd well formed or not. then please cross check the type of the field once again.

Regards

Srinivas