cancel
Showing results for 
Search instead for 
Did you mean: 

XMLAnonymizerBean

Former Member
0 Kudos

Hi...

I am having input file as like below.

<Node>

<Company>Satyam</Company>

<NAME>Leela</NAME>

<END-Node>

For that, i have used XMLAnonymizerBean in module at sender channel.

File is being picked.

But in Moni it is showing error as

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Request Message Mapping

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P1>com/sap/xi/tf/_MM_Test_</SAP:P1>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_Test_: Fatal Error: com.sap.engine.lib.xml.parser.Parser~</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

There is problem in mapping.

I have defined the sender source structure as

DataType

Node----


1:1

Comapany----


0:1 (string)

Name----


0:1 (string)

Can you tell where i have made wrong?

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Leela

I have already replied to your other post

using XMLAnonymizerBean required DT created similar to output of module to accept it in XI.

Referring to

http://help.sap.com/saphelp_nw70/helpdata/EN/34/393071e9b998438ddb8ce97cd617a1/frameset.htm

You require DT similar to output using XMLAnonymizerBean

Thanks

Gaurav

henrique_pinto
Active Contributor
0 Kudos

You do notice that the file you have described is not a valid XML, right?

Nevertheless, make sure the the output of XMLAnonymizerBean is the expected input of your mapping.

Best regards,

Henrique.

Former Member
0 Kudos

Hi leela,

Can you please check and post the detailed error in TRACE. It will be helpful to find the problem.

Regards,

Murugavel

former_member200962
Active Contributor
0 Kudos

Hi,

1) Is there any validation imposed on the target structure (based on the value of source) and now this value is not being satisfied (i.e. at runtime).....

2) Is the mapping being executed properly in IM?

3) From your source message there seems no error.

4) Is your source message a proper xml message; if it is not otherwise?

Also your XMLAnonymizerBean should not be causing this problem as it just removes namespaces or namespace prefixes from the XML document of the main payload.

Regards,

Abhishek.

Edited by: abhishek salvi on Nov 17, 2008 2:40 PM

Former Member
0 Kudos

Hi

you have the problem in your mapping MMTest_ (not in your adapter with XMLAnonymizer bean).

Check the trace part of XI-SOAP message in the SXI_MONITOR and test your mapping in the Integration Builder.

Regards,

Alexej