on 07-09-2010 7:30 AM
Hi Experts,
Can anybody please help, How can add this line <ns0:ROOT xmlns:ns0="urn:XXX:snc:productactivedata"> to my input xml file?
</ns0:ROOT> to the end of the input xml file. One more thing please, how to remove "standalone="yes" " from this line <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
I have tried with Anonymizer bean settings, I can't able to achieve this, with XSLT mapping could, but I don't know XSLT mapping, can any one help me in this?
Many Thanks
Regards
San
Can anybody please help, How can add this line <ns0:ROOT xmlns:ns0="urn:XXX:snc:productactivedata"> to my input xml file?
</ns0:ROOT> to the end of the input xml file.
You can create the structure (Data Type) accordingly.....why do you want to add it to the input file.....should it not be added to the output file?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abishek,
My scenario XML --> Proxy, the input xml is coming with
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ROOT> tag comes as message header,
but once we generate XSD schema on PI we get header like
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:ROOT xmlns:ns0="urn:XXX:snc:productactivedata">
the incoming xml is not validating due to this reason, ROOT is message header. So we need to add end tag like </ns0:ROOT> to this message, then the message is processing it. It not it is throwing error message. I have tried with Anonymizer bean, it is not working. I get same error message.
any inputs please?
Regards
San
Why is that line not present in your XML file already? What does your XML file is sending at present?
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prateek,
If do, like remove namespace in the message type then i get this error.
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="MAPPING">GENERIC</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_EDI_ProAct_One_N_</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
<SAP:P3>The element type "D01_PO4" must be terminated by t</SAP:P3>
<SAP:P4>he matching end-tag "</D01_PO4>".</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>com/sap/xi/tf/_MM_EDI_ProAct_One_N_com.sap.aii.utilxi.misc.api.BaseRuntimeException:The element type "D01_PO4" must be terminated by the matching end-tag "</D01_PO4>".</SAP:Stack>
I have checked the message, xml message format fine. Any help in this please?
Thanks & Regards
San
/people/shabarish.vijayakumar/blog/2010/05/07/quick-tips-dealing-with-namespaces-in-xipi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.