SOAP Header data into SXI_MONITOR
Hi to all,
in the SXI_MONITOR I can see the detailed SOAP header data by double-click on a specific message. The header data are visible in an XML format. Where these data are stored in ABAP SAP XI? How can I obtain these data as an XML document, for example, or as a database table?
Thanks to all!
have a look on these Threads may be useful
How to check header data
HTTP Header fields in SOAP adapter
Re: SOAP Header info
Thanks !!
Similar Messages
-
Sender SOAP adapter: get soap header data
Hi,
I've been going through various posts and blogs here on SDN + looked in the how to guide for SOAP adapter, but still find it quite difficult to actually find out how to do it. I've tried to follow recommendations seen, but it doesn't add up.
So can someone please tell me how to get an element situated in the SOAP header of the request sent to XI via sender soap adapter?
Let's for instance say the request looks like this:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<SSN>1234567890</SSN>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<event>
<elem1>data 1</elem1>
<elem2>data 2</elem2>
<elem3>data 3</elem3>
</event>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
How can I get the data in the SSN-header element at mapping time?
I'm sure this can be done by using adapter modules as the first step adapter, but I prefer doing it at mapping time if possible.
Best Regards,
DanielI solved it on my own now. My missing link was the fact that I'm using XMLSPY to send request and thus need to replace all '&' with & in Connection Endpoint.
Message was edited by:
Daniel Engsig-Karup -
Can ws CC handle soap header data?
Hello Expert,
as we know for most of the PI adapters, there is a checkbox Adapter-Specific Attributes which could be used to handle/process protocol's header data. However for ws adapter (PI7.1) this checkbox is not available. Does that mean if certain data is provided in the soap header, PI ws adapter/CC will not be able to retrieve it and process it?
Please advise.
Thanks
JaysonHey Jayson,
It seems that WS adapter does have a place for the adapter specific attribute setting. I dont have access to the PI system right now... so cant exactly point the exact position for ASA in CC
But check out this : http://help.sap.com/saphelp_nwpi71/helpdata/en/45/874295b8f64d6de10000000a155369/frameset.htm
Hope it helps.
Thanks,
Pooja Pandey -
Getting BEx query header data into Xcelsius for line chart Category Labels?
Hello - Is it possible to get header data from BEx queries into Xcelsius so they can be used for Category Labels in a line chart?
We have a BEx query that displays 16 weeks of shipment trends by column and text variables are used to display the respective date selection for each of the weeks in the query header but When connecting QaaWs to Xcelsius, the header row does not get displayed.
When using LiveOffice, the header row seems to come thru with the correct dates for each of the weeks but if you are stacking more than one connection than you will get an extra header row for each connection.
Are there any tricks to hide a header row in a LiveOffice document?
Is there anyway to display the header row from QaaWs in Xcelsius?
Any other work arounds?
Thanks,
DerekDerek,
Below are my inputs...
-->Using QAAWS you will not be able to get the header data, so you will have to maintain header data manually in Xcelsius (Spreadsheet).
-->Using Live office you will be able to get the header data, and if you are using multiple live office connections, then you need to use cell reference formulas and format the spreadsheet (Xcelsius) as you require.
-Anil -
Copying sales order header data into delivery line item
Hi
In copy control from sales order to delivery I want to copy value in sales order header to all the items in delivery, can I achieve this in the header level data transfer routine (Source sales document type to target delivery doc type i.e TVCPL-GRUAK) or I have to do the changes in item level data transfer routine (TVCPL-GRUAP)
The requirement is to copy a value from VBAK into LIPS during delivery creation
Thanks
JavedDear Javed,
Your requirement sounds interesting.
If possible can you explain the scenario where we have to transfer the header data form order to item data in delivery?
Also if you have found the solution, can you please update the same.
Thanks & Regards,
Hegal K Charles -
How to get Header data into multiple times along with the Line Items
Dear All,
I have problem while mapping the Header data and line item data to the flat file structure, Header data have to repeat along with the Line item data in the flatfile.
Details is below.
Example
Header record is one
E1EDK01
E1EDKA1
Line items are two
E1EDP01
E1EDP01
I want in the flat file two records having duplicate data in the fields which is belongs to header data
Like :
Record # partner data Line item data
Record 1 : WE name1 city 00010 materialname1 156
Record 2 : WE name1 city 00020 materialname2 198
( WE name1 city - data is same in the record 1)
For this what I did is I mapped the node E1EDP01 to the flat file message type node then I got all the line item data and first record is with header data but not in the second record.
I tried all node functions but no result because Idoc itself header data exists one record, I am not able to copy.
If any one knows , please give solution.
It is great help to me.
Thanks in Advance.
RamaraoDear Ramarao,
This will help you,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f59730fa-0901-0010-df97-c12f071f7d3b
No Documentation for Mapping Function useOneAsMany (Mapping Problem)
/people/claus.wallacher/blog/2006/04/17/replication-of-nodes-using-the-graphical-mapping-tool
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
Thanks & Regards
Agasthuri Doss -
Hi,
I'm trying to make a SOAP call. As part of the SOAP message, I need to pass a string called session id. This doesn't seem possible from the message type, which only represents the SOAP body schema. How do I handle the SOAP header data in XI?
Regards,
HarshHi Udo,
Thanks for the quick response. I'm trying to build the soap envelope manually. I imported this into the repository as an ED. But I'm not able to define use it in message mapping. Can you help me with this? I'm attaching the xml. Regards,
Harsh
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<types>
<xsd:element name="ABC">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="soapenv:Header">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="urn:SessionID" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="soapenv:Body">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="urn:getserverTimeStamp" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</types>
<message name="getServerTimestampRequest">
<part element="urn:getServerTimestamp" name="parameters" />
</message>
</xsd:schema> -
This is SOAP to PROXY
We are getting userid information in SOAP Header . This information has to be captured and pass to receiver.
1) How to access the SOAP header data
2) Can I Map it to target strcture, if so how target structure shud be formed.
Please Note I cannot use XSLT as I donot have skils in XSLT coding/mapping.
Edited by: Viswanath on Sep 30, 2008 10:55 PMHi Viswanath,
Please go through the Note-856597 for accessing SOAP header data in XI.
Thanks,
Jag -
SOAP BODY data to be Put into SOAP Header
Hi All,
Could you kindly help me out in this issue?
Basically our Requirement is to send the UserID and Password stored in
the R/3 system to the 3rd Party Server as a part of the SOAP Header .
Presently I am using a Message Interface which takes the parameters
UserID and Password and hence its placing them in the SOAP BODY which in
turn in resulting in Rejection of the data sent being us. So I guess we
have to do some take out these parameters from Message Interface and
try out something else.
So Could you help us out in this issue since we are stuck and hence not
able to proceed any further.
Here are some Details :
Here is the extract from the XML File:
A) Format in XI
<?xml version="1.0" encoding="UTF-8" ?>
- <ns1:DPSrequestToken xmlns:ns1="http://tempuri.org/message/">
- <Username>
<Username>ANYAGENT</Username>
<Password>p2ssword</Password>
</Username>
- <DPSrequestToken>
<version>1</version>
<vendorID>0142</vendorID>
</DPSrequestToken>
</ns1:DPSrequestToken>
B) The way the file needs to be sent to the 3rd party server
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken>
<wsse:Username>ANYAGENT</wsse:Username>
<wsse:Password>p2ssword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<m:DPSrequestToken xmlns:m="https://tpvs.hmrc.gov.uk/dpsauthentication">
<m:version>1</m:version>
<m:vendorID>your 4 digit vendorID</m:vendorID>
</m:DPSrequestToken>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Basically as mentioned above
<Username>ANYAGENT</Username>
<Password>p2ssword</Password> ,Tokens should be sent in the SOAP
Header which is now being sent in the Body and hence causing problems.
Do get back to me in case you need any clarifications on this issue.
Best Regards,
Chandan
Message was edited by: Chandan A Csee this --> page 2
HTTP Adapter error.
Rgds -
Reading Header data in a SOAP Envelope for SOAP Sender Adapter
Hello All,
Am using a SOAP sender adapter and want to use the data inside the SOAP Header for some routing purpose(extended receiver determination). Any SOAP message coming into XI will look something like below. But XI will pass the contents of <SOAP-ENV:Body> to Payload and <SOAP-ENV:Header> to the SOAP Header category you can see that in SXMB_MONI.
Is there a way to read the data in my SOAP Header to be later used in my extended receiver determination.
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:Q-ENV="/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<Q-ENV:Header>
<Q-ENV:Sender-Id>1</Q-ENV:Sender-Id>
<Q-ENV:Receiver-Id></Q-ENV:Receiver-Id>
<Q-ENV:Correlation-Id></Q-ENV:Correlation-Id>
<Q-ENV:Message-Id></Q-ENV:Message-Id>
<Q-ENV:Date-Sent></Q-ENV:Date-Sent>
<Q-ENV:Document-Type></Q-ENV:Document-Type>
<Q-ENV:Message-Format></Q-ENV:Message-Format>
</Q-ENV:Header>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<Q-ENV:Body>
<Q-ENV:Content-Type>text/xml</Q-ENV:Content-Type>
<Q-ENV:Message-Type></Q-ENV:Message-Type>
<Q-ENV:Encoding>UTF-8</Q-ENV:Encoding>
<Q-ENV:Message-Body>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Thanks for your replies in advance.
Regards,
PrashanthHello,
but they were not getting any response back from XI and the sending system kept resending the message.. may be it was acting like a HTTP post.
The method that is used by the native SOAP Adapter is always HTTP Post. Not sure why you are not getting a response, have you checked the outbound firewall of the sending party or the inbound firewall of XI? To which SOAP URL are you sending to?
Hope this helps,
Mark -
How to change Data in SOAP Header
Dear friends,
We are facing a problem with IDOCs. We have a scenario where in we are sending IDOC from a logical system XXXCLNT040 to another one XYZCLNT004 using XI3.0 SP10.
Now the problem is that we are simulating a situation wherein system XXXCLNT004 sends PORDCR1 idoc to XI and then XI send it to XYZCLTN004 which should return an acknowledgement to be sent to "just" XI and then to some third system not the original sender.
Now, the problem is that we changed the mapping of the IDOC field SDNPRN to point to XI logicalsystem so that the receiver sees that message is sent from logical partner XI and not from XXXCLNT004 but when I check the idoc in we05 of the receiver side it still has partner XXXCLNT004 instead of XI and it seems that it takes it up from the SOAP message header data.
Is there anyway we can manipulate this so that we can change/modify the sender logical partner information during runtime? or anyother suggestions.
Thanks & Best Regards,
ManishHi Manish -
You can't map the 6 sender and receiver control record fields (partner, port, and function) and have XI pick them up. See note 728792 for the fields that you can map. You can map them but they will be ignored even if you choose "Use control record values from payload". You need to use other methods. See note 792333 for the options.
Also check out the document "How To Sample IDoc Scenarios within XI3.0" which is available in the How-To section for XI 3.0. This will give you a number of scenarios. Drink a lot of coffee before you read this document.
This is definitely the most confusing part of XI IDoc processing so set aside some time to figure it out. -
SOAP Receiver Adapter - Read Header data on Synchronous Response
I have a scenario - flat file to SOAP. The web service provider sends a response that contains data in the Header that I need to access. I have tried to use the "Do Not Use SOAP envelope" option on my receiver SOAP adapter, and I have configured my request message type to include the soap envelope elements. However I'm getting the following error from the web service
com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 415 Cannot process the message because the content type 'application/xml' was not the expected type 'text/xml; charset=utf-8'.
I've read some inputs on this error that say to use the Transform bean to adjust the content to text/xml. However I'm not sure how to do that. If that is the correct resolution to my problem, can someone provide detailed steps on how to add the Transform bean to the adapter module. I have no experience with adding items to the module tab.
If there are other ways to tackle this scenario to get access to the SOAP Header from the SOAP receiver adapter, please share those as well.
Thanks in advance.
ChrisResolved with the following blog
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi -
How to get data from SOAP-Header/MAIN-Section?
Hi,
I need some data of the SOAP-Header-MAIN-Section, e.g. <SAP:Sender><SAP:SERVICE>
Is it possible to get these data with XSLT-Mapping or Java-Mapping? Are there blogs about it?
I need these data of the MAIN-Section inside the condition of the receiver determination.
Thank you all.
Regards
WolfgangHi,
Do you wnat to access the Sender Service details in your mapping using java or XSL mapping? this is possible.
Check this link,
http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/content.htm
Or do you want to access the SOAP header itself?
Regards,
bhavesh -
Variable Data in soap header?
Hi,
I'm trying to get a variable called sessionID inserted into my soap header for an outbound call. So my soap header would look something like this:
<soapenv:Header>
<SessionHeader >
<ns1:SessionID>varSessionID</ns1:SessionID>
</SessionHeader>
</soapenv:Header>
Any suggestions how to implement this?This can be accomplished using the Input Header Variable assignment on the Invoke activity (adapters tab).
-
Header data and item data into same internal table
Hi Experts,
I WANT TO KNOW THE LOGIC TO POPULATE HEADER DATA AND ITEM DATA INTO SAME INTERNAL TABLE AND AGAIN DOWNLOAD THE SAME TO EXCEL FILE .Output file should be displayed like this format
Header1 rectyp ,hdnum ,sbank ,bankl ,accnr , paytp , crda ,iso.
Item1 : rectyp ,valut ,cknum ,amount,bankl,accnr,pdate,bnktc.
Item2 : rectyp ,valut ,cknum ,amount,bankl,accnr,pdate,bnktc.
Header2: rectyp ,hdnum ,sbank ,bankl ,accnr , paytp , crda ,iso.
Item1 : rectyp ,valut ,cknum ,amount,bankl,accnr,pdate,bnktc.
Thanks
Moderator message: Please do not use all upper case in the future.
Edited by: Thomas Zloch on May 12, 2010 3:10 PMHi,
for example we have 3 internal tables
1> it_header 2>it_items 3>it_final (which contains all the header and item fields)
once it_header it_items are filled
loop at it_items.
read table it_header with key xyz = it_item-xyz.
if sy-subrc = 0.
here move all the header fields to it_final like below.
it_final -xfield = it_header-xfield.
endif.
here move all the item fields to it_final like below.
it_final -yfield = it_item-yfield.
append it_final.
clear it_final.
endloop.
now header and item fileds will be fillled in it_item
Maybe you are looking for
-
Hi,all! I use Acrobat Plugin wizzard to create a plugin support MFC,and add a dialog resource into it. I want to know whether there is other way to show dialog except using ADM. The dialog contains some controls not supported by ADM,such as CListCtrl
-
My iTunes library is gone again.
It seems that everytime I restart my PC I lose my iTunes libraby. I usually buy something everyu week or two and each time I go to buy my library is gone. Yes I know how to get it back but it's starting to be a total pain in the butt. That and I e
-
Hi All, while I was saving my sales order I got this massage from the system ( No commitment item assigned to G/L account Z02/40103000, or assignment not valid ) which prevented me from saving my order. and after consulting my FICO team they told me
-
Why is fooducate not in my app store ?
i went on my app store and i typed in fooducate and it says its not there why ?
-
HT1688 where can i find IP Address for my iphone 4
where can find IP Address on my iphone 4s