Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

errro while creating the proxy

Former Member
0 Kudos
117

Hi Gurus,

Im currently working on file to proxy scenario.

I am using file adapter to pick up the xml file and send to the sap ECC system using proxy.

1)I used the external definition to create the outbound message type and inbound message type is the same.

One to One mapping is created. File adapter is picking the xm file and sending to IE. Mapping is taking place and the message is sent to SAP ECC system using XI adapter.

I created inbound proxy for the inbound messge interface.Then exception is occured in library handler.

Incorrect value:Schema without target namespace must not contain any subelements, except xsd:import/xsd:include/xsd:annotation.

This is occured in the wsdl section.

Can you please help avoiding this error in proxy generation if I use the above method 1.

2)To avoid this ,I created the data type and message type.

But Im gettign mapping exception in PI because when I create the message in PI, it is expectiong the xml file to include the namespace ns0:MT_messagetype xmlns:ns0="http://...." but the xml file placed in the FTP server does not contain the namespace.

Im able to create the proxy if I use this message type but this is throwing mapping error due to different file format expected by PI.

If I use the method 2, how can avoid the mapping error.

Any help appreciated.

Thanks,

Jay

1 REPLY 1

Former Member
0 Kudos
74

You might get better results in the PI forum