2011 Sep 14 9:24 AM
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
2011 Sep 14 11:10 AM