on 06-18-2007 9:38 PM
Hi Guys,
I have a HTTP-RFC scenario. when i send the http request, we are getting the full response xml from sap back to xi , but it is getting truncated after the java mapping response. The status is sucess both in MONI & RWB
we are unable to trace out why the xml is getting truncated after java reponse mapping. I think java mapping can handle large xmls also.
Do i need to make any settings in sxmb_adm ?
any help would be really appreciated
Thanks,
srini
check if you have any bufferings in your java mapping that would be causing this truncation.
this error is probably happening because the xml is not well formed. try to open it in notepad.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henrique,
How to check for the bufferings you r talking about and the xml after java mapping is as below. I have this problem only when i have line items more than 100
<?xml version="1.0" encoding="iso-8859-1" ?>
- <biztalk_1 xmlns="urn:biztalk-org:biztalk:biztalk_1">
+ <header>
- <delivery>
- <message>
<messageID>10394896</messageID>
<sent>2007-5-18T15:38:32</sent>
<subject>DOI CheckIn Response</subject>
</message>
- <to>
<address>TOBIN_HOUCTX25_BS</address>
</to>
- <from>
<address>com_apachecorp_EDV_200</address>
</from>
</delivery>
</header>
- <body>
- <doc:DOI.CheckIn.Response xmlns:doc="urn:sap-com:document:sap:business" xmlns="">
<status>OK</status>
<objecttype>DOI</objecttype>
<objectkey>001001558000020</objectkey>
- <MESSAGES>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>Ownership System Table Update Log for DOI 0010 015580 00020</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>Ownership System Table Update Log for DOI</MESSAGE_V1>
<MESSAGE_V2>0010 015580 00020</MESSAGE_V2>
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>EDVCLNT200</SYSTEM>
</ITEM>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>----
</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>----
</MESSAGE_V1>
<MESSAGE_V2 />
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>EDVCLNT200</SYSTEM>
</ITEM>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>OIU_DO_DO - DOI Owner Table</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>OIU_DO_DO - DOI Owner Table</MESSAGE_V1>
<MESSAGE_V2 />
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>EDVCLNT200</SYSTEM>
</ITEM>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>51 Total owners on table</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>51</MESSAGE_V1>
<MESSAGE_V2>Total owners on table</MESSAGE_V2>
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>EDVCLNT200</SYSTEM>
</ITEM>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>51 inserted</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>51</MESSAGE_V1>
<MESSAGE_V2>inserted</MESSAGE_V2>
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>EDVCLNT200</SYSTEM>
</ITEM>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>0 Changed</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>0</MESSAGE_V1>
<MESSAGE_V2>Changed</MESSAGE_V2>
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>EDVCLNT200</SYSTEM>
</ITEM>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>0 Unchanged</MESSAGE>
<LOG_NO />
<LOG_MSG_NO>000000</LOG_MSG_NO>
<MESSAGE_V1>0</MESSAGE_V1>
<MESSAGE_V2>Unchanged</MESSAGE_V2>
<MESSAGE_V3 />
<MESSAGE_V4 />
<PARAMETER />
<ROW>0</ROW>
<FIELD />
<SYSTEM>EDVCLNT200</SYSTEM> <The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
-
Whitespace is not allowed at this location. Error processing resource 'file:///C:/Documents and Settings/srinivas.kapu/Loca...
<?xml version="1.0" encoding="iso-8859-1"?><biztalk_1 xmlns="urn:biztalk-org:biztalk:biztalk_1"><header>&l...
/DIV>
</ITEM>
- <ITEM>
<TYPE>S</TYPE>
<ID>OIUCM</ID>
<NUMBER>899</NUMBER>
<MESSAGE>0 Deleted</MESSAGE>
Message was edited by:
srinivas kapu
Hi Ravi,
Is there any way we can handle the "&" sign in java mapping ?. The xmls coming from the third party has "&" in the names and i want to know that is there any whether we can handle this special charachter in the mapping
How to handle the special char in Java coding ? or do we need to remove from the source xml ?
any help would be appreciated
Thanks,
srini
Hi,
test your response java mapping like this
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
with XML from the HTTP response (taken from XI)
XI does not truncate messages - nothing needs to be set
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
I downloaded the repsone xml into file and it is as below
see the xml posted below and it is saying whitespace not allowed at certain stage and when i send the request with few line items, i have no problem at all and i have the problem only when i have line items more than 100
any help would be appreciated
Thanks,
srini
Message was edited by:
srinivas kapu
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.