cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Proxy generation:message part refers a type not an element

banersu
Participant
0 Kudos

Hi All,

I have imported an external definition in  ESR .and using it as a message type in service interface
Now I am trying to generate the proxy in ISU end.But got an exception like :messge part refers  a type not an element.

Please provide your valuable input.

Thanks and Regards,

Suparna Banerjee

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member186851
Active Contributor
0 Kudos

Hello Suparna,

From the error I am understanding that you cant use a external WSDL for Proxy Structure.

Create a XSD using the WSDL and use hope wit will work.

Since the WSDL has references it can be generated as proxy structure.

nitindeshpande
Active Contributor
0 Kudos

Hi Suparna,

From Tools menu choose "Import All External Definitions" and import all the related XSDs to resolve this problem.

Regards,

Nitin

former_member603318
Discoverer
0 Kudos

where is that option Import All External Definitionsin R/3?

former_member186851
Active Contributor
0 Kudos

Suparna,

Make sure all the XSDs related to the External definitions are imported.

Former Member
0 Kudos

Hi Suparna,

Please verify if the external definition is complete and if any dependent element/xsd is missing

Cheers,

Sriram

luisbarros
Participant
0 Kudos

Hello,

the reason for this problem could be that the External Definition (xsd) that you imported in ESR has a reference to another xsd that you have not imported... You should have all the definitions imported in the ESR in order to generate the proxy correctly.

Try to look for imports inside your xsd and check if this is your case.

Regards,

Luis

luisbarros
Participant
0 Kudos

You can find a similar case in this thread:

banersu
Participant
0 Kudos


Hi ,I have imported  a wsdl file in ESR.From the service interface tab the message type refers the WSDL file .the WSDL file refers onse XSD file called BSL_BS058.xsd which in turn refers two XSD files 1>BSL_Base_Types_v1_0 and BSL_BS058_req_ACK_V1_0.

All the files are appearing properly in EXternal reference TAB and the WSDl is getting activated properly in ESR.Could you please suggest how to check whether the XSD files are not properly imported.As in ESR each and every XSD files are showing properly.

Thanks and Regards,

Suparna Banerjee

former_member186851
Active Contributor
0 Kudos

Why dont create a service interface using the External definitons and check

banersu
Participant
0 Kudos

Hi Raghu ,

I have created the service interface using the external definition but I am not able to generate the proxy from ISU end and facing above error while generating the same.

Thanks and regards,

Suparna Banerjee

radek_rucinski
Explorer
0 Kudos

Hello,

Could you please share a screenshot with Messages tab from your External Definition? Are there any nodes with errors?

Regards,

Radek

banersu
Participant
0 Kudos

Hi ,

I am getting suggestion like:

Make sure you have not transported earlier created objects. This might not allow you to generate as well.

can someone suggest me are they refering the ISU objects or the PI objects.

Thanks,

Suparna

banersu
Participant
0 Kudos

hi ,

Please find the screenshot of message Tab

luisbarros
Participant
0 Kudos

Hello Suparna,

don't you have to import the BSL_BS058.xsd then?

Let me know if this works.

Regards,

Luis

banersu
Participant
0 Kudos

imported but still not resolved