cancel
Showing results for 
Search instead for 
Did you mean: 

problem with synchron HTTP scenario

Former Member
0 Kudos

Hello everybody,

i have a synchron HTTP scenenario. The problem is that my partner needs exactly the following structure with 2 diffrent messages and two times the <?xml version="1.0"?> tag:

<b><?xml version="1.0"?>

<AccessRequest xml:lang="en-US"></b>

<LicenseNumber>number</LicenseNumber>

<UserId>id</UserId>

<Password>password</Password>

</AccessRequest>

<b><?xml version="1.0"?>

<ConfirmRequest xml:lang="en-US"></b>

<Request>

<TransactionReference>

....

</ConfirmRequest>

is it possible? I hope anybody can help me.

Thank you & Best Regards

Alexander

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Alexander,

Do you want the output to be the XML that you have shown?

What is the reciever adapter that you are using?

It is not possible to create such a strcuture with Graphical mapping.

Java Mapping does not validate the source and the output XML and so you can use Java mapping to create such a strucutre, but again it depends if further processing can be done by your adapter or not.

Regards

Bhavesh

Former Member
0 Kudos

Use JAVA Mapping as pointed by Bhavesh as these cant be achived by Grahical mapping.

Message was edited by:

Sreeram Reddy

Former Member
0 Kudos

Hello Bhavesh,

thank you for your reply. Yes I need exactly the XML structure (just with many

more tags ..) , it is a standard interface of a partner of us, so we unfortunately

don't have the opportunity to change it.

My Scenario is: R/3 --> XI --> Shipper (ABAP Proxy --> XI --> HTTP Adapter)

If I will use a Java Mapping, how can I structure my Message Interface?

Best Regards

Alexander

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

The message interface can contain any Message type ( even a Dummy Message Type).

Lie I pinted, The output of the mapping will nto be validated afainst the message type if you use Java Mapping and so you can go ahead and use a Java Mapping to create the strucuture that you want.

Regards

Bhavesh

Former Member
0 Kudos

thank you for your help! I will try to use a Java Mapping

Answers (0)