Meaning of SOAP Header element.

Hi Frnds,
Can you please tell me, in the moni, what is the significant use of -
>
Main, ReliableMessaging, HopList, RunTime, PerformanceHeader, Diagnostic, and Trace of the SOAP Header.
And, Manifest of the SOAP BODY.
Thanks,
Raj.

Hi,
  Check the link for more detail..
[http://help.sap.com/saphelp_nw70/helpdata/EN/dc/c5223d78cb752de10000000a114084/content.htm]
Regards,
Prakasu.M

Similar Messages

  • Remove SOAP Header Element from ALSB Proxy Service Response

    I've got a client of one of my ALSB Proxy services that needs the SOAP header element removed from the response. I'm struggling to find a way to do that with a WSDL-based proxy service. Do I need to change my service to an Any XML Service or is there an easier way?

    At the same time, could you please also tell me how do i convert a XML Response from a business service to a SOAP Response in Proxy Service.
    My client is expecting a soap response and the backend gives back only the XML Response
    Thanks in advance!!
    ~Swagat

  • How to create SOAP Header elements using SAAJ??

    I am facing a problem when adding header elements under SOAP Header
    using SAAJ(api).
    I want to create a structure as following:
    I get a empty SOAP header obejct by writing code--> SOAPHeader header
    = envelope.getHeader();
    But not able to add SOAP header elements as specified in example
    below. I tried but its giving me error as
    "HeaderElements must be namespace qualified"
    CAN ANYBODY TELL ME THAT HOW TO ADD HEADER ELEMENTS USING SAAJ??
    <SOAP:Header>
    <AccountNumber>123</AccountNumber>
    <AuthorisationCode>test111</AuthorisationCode>
    <Source>abc</Source>
    <Market>01</Market>
    </SOAP:Header>

    I'm including this comment from some code I've just written after wrestling with this for hours (I've actually left it on another post as well). The upshot of it all is that you have to include a namespace URI when creating a header in SAAJ:
            NOTE: SOAP 1.1 requires that all header entries be namespace-qualified to
            namespace URI's.  The SAAJ 1.2 implementation requires a Name object with
            the namespace URI to make this happen even if the prefix used is already
            visible by being declared higher in the document (e.g. in the Envelope).
            However, the namespace URI is not present in the serialized header element
            as long as it was declared higher in the document.  In order to create a
            header element without a prefix (to conform to a web service definition
            that doesn't use a prefix in its headers, for example), leave the prefix
            null in the addHeaderElement() method. 
            For example, with a SOAPHeader 'hdr':
              //first create the name
              Name name = env.createName("my-local-name", null, "my-URI");
              //then create the header element
              SOAPHeaderElement he = hdr.addHeaderElement(name);
            This would result in an XML element that looked like this:
              <my-local-name xmlns="my-URI"/>
            This would allow SAAJ developers to create a header for a service that
            only expected a local name in its header elements (as many do!).  As long
            as the service doesn't choke on the attribute (validation!  evil!), this
            should work.
                                                        Rob Kemmer
                                                        01/12/2005
     

  • Set  SOAP header element while invoking WS thru ADF webservice Data control

    Experts,
    I am trying to invoke/call a webservice (using ADF web service data control ) which is expecting custom element in SOAP-Header. I want to know the steps needed to set SOAP-Header custom element when using ADF web service data control. SOAP-Header custom element will be string type, something like
    <soap:Header><element1>String</element1></soap:Header>
    Thank you,
    Ashish

    Hi,
    extend the SOAPProvider class
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPException;
    import javax.xml.soap.SOAPMessage;
    import oracle.adf.model.adapter.AdapterException;
    import oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider;
    public class CustomSOAProvider extends SOAPProvider {
        public CustomSOAProvider() {
            super();
        //expose protected method to public
        public void handleRequest(SOAPMessage soapMessage) throws AdapterException {
            super.handleRequest(soapMessage);
        //Expose protetcted method to public
        public void handleResponse(SOAPMessage soapMessage) throws AdapterException {
            super.handleResponse(soapMessage);
        }And configure it in the DataControls.dcx file of your WS DC project
    <AdapterDataControl id="..."
    xmlns="http://xmlns.oracle.com/adfm/datacontrol">
    <Source>
    <definition xmlns="http://xmlns.oracle.com/adfm/adapter/webservice"
    name="..." version="1.0"
    provider="adf.sample.wsdc.CustomSOAProvider"
    wsdl="http://...">
    Frank

  • HTTP AXIS - Add soap header element

    Hi,
    I want to use WS-Security in my SOAP flow. But I want also add an attribute inside the soap header.
    Here is what I want :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Header>
            <OPER_REF>SAPPI</OPER_REF>
       </SOAP:Header>
       <SOAP:Body>
          <ns2:createSapProductRequest xmlns:ns2="http://www.blabla.com/">
             <productCode>000000000001101238</productCode>
                  </ns2:createSapProductRequest>
       </SOAP:Body>
    </SOAP:Envelope>
    It works fine without security option (I used an HTTP - SOAP adapter) with Java mapping
    Now I want to add WS-Security options :
    <wsse:Security SOAP:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>
             <wsse:UsernameToken wsu:Id="UsernameToken-17224938" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
                <wsse:Username>sp</wsse:Username>
                <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">Cv1nK/fX6p8C74aHMJ0iILpeAsc=</wsse:Password>
                <wsse:Nonce>SBjsJ0qqXPNNPfUVP8u87A==</wsse:Nonce>
                <wsse:Created>2009-06-26T07:28:31.720Z<;/wsse:Created>
             </wsse:UsernameToken>
          </wsse:Security>
    I reach that with the Java mapping but the generation of the password is not efficient because if there is a problem in the flow, the password has to be regenerated when the message it is send to the receiver. So the password generation has to be inside the receiver adapter not in the mapping itself.
    So I would like to use HTTP AXIS adapter, but it cannot deactivate the SOAP envelope so I can't add my parameter OPER_REF inside the soap header.
    I'm not sure i'm clear so do not hesitate to ask questions.
    Thanks
    Regards

    Solve with Java Mapping.

  • How to add SOAP header element?

    Hi,
    Scenario : RFC --> SOAP
    I would like to add parameters into the soap header :
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
          <SOAP:Header>
                *<OPER_REF>SAPPI</OPER_REF>*
          </SOAP:Header>
          <SOAP:Body>
              <ns2:createSapProductRequest xmlns:ns2="http://www.mycompnay.com/projectname">
                        <country>FR</country>
                     <division>1300</division>
                     <productStage/>
              </ns2:createSapProductRequest>
            </SOAP:Body>
    </SOAP:Envelope>
    So I made a Java Mapping to reach my goal so my message looks like :
    <ns0:Messages
         xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
         <ns0:Message1>
              <SOAP:Envelope
                   xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
                   <SOAP:Header>
                        <OPER_REF>SAPPI</OPER_REF>
                   </SOAP:Header>
                   <SOAP:Body>
                        <ns2:createSapProductRequest
                             xmlns:ns2="http://www.mycompany.com/myproject">
                             <country>FR</country>
                             <division>1300</division>
                             <productStage/>
                        </ns2:createSapProductRequest>
                   </SOAP:Body>
              </SOAP:Envelope>
         </ns0:Message1>
    </ns0:Messages>
    But when I launch the process here is what PI do :
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
      <soapenv:Header>
       <OPER_REF xmlns="">SAPPI</OPER_REF>
      </soapenv:Header>
      <soapenv:Body>
       <ns2:createSapProductRequest xmlns="http://www.mycompnay.com/myprojecty" xmlns:ns2="http://www.mycompnay.com/myprojecty">
        <country xmlns="">FR</country>
        <division xmlns="">1300</division>
        <productStage xmlns=""></productStage>
       </ns2:createSapProductRequest>
      </soapenv:Body>
    </soapenv:Body>
    </soapenv:Envelope>
    this request has been found thanks to the tool TCPGW. Has you can see there is 2 <soapenv:Body>
    What is wrong ?
    regards

    I was right, the solution is :
    My problem was the adapter. It was miss used.
    _The configuration is : _
    HTTP without SOAP Envelope and in the Module :
    Name : localejbs/AF_Modules/MessageTransformBean
    Type : L
    Key : Plain2XML
    _Module's Configuration : _
    Plain2XML -> Transform.ContentType -> text/xml;charset=utf-8
    All the XML messages was well formed even with the strange xmlns attributes.
    Regards

  • Reading custom SOAP header with XHeaderName1

    Hello Experts,
    I have a SOAP to File scenario and I am trying to do dynamic receiver determination by looking at the SOAP request header info. I am adding a custom field (System_ID) that I want rules to run against in Receiver Determination..
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:urn="urn:*******************">
    <soapenv:Header>
    <System_ID>100</System_ID>
    </soapenv:Header>
      <soapenv:Body>
       </soapenv:Body>
    </soapenv:Envelope>
    In the Receiver Determination I have multiple rules using SOAP context object to  XHeaderName1 = the System_ID (100) to pass the message to the right system at runtime according to the  System_ID.
    In the SOAP sender channel I have Set Adapter-Specific Message Attributes and Variable Transport Binding checked. I also have the variable name System_ID in the first Variable Header (XHeaderName1).
    In the SOAP sender Conversion Parameters I have Do Not Use SOAP Envelope and Keep Headers checked, as well as nosoap=true in the SOAP request URL.
    I'm getting the System ID to show in XI in sxmb_moni in the Header but no where do I see it being used with XHeaderName1.
    Am I using XHeaderName1 right? If not could you advise as to how XHeaderName1 should be used?
    My requirement is to read system ID from Header, not payload.
    Thank you!
    Tim

    I was able to find a solution to my problem.
    I created a basic senario below to test:
    1.A basic Asynchronous scenario is created using a SOAP sender adapter to 2 possible flat file receivers.
    2.The SOAP sender channel will have the option u201CDo Not Use SOAP envelopeu201D checked and SOAPUI URL will have u201C&nosoap=trueu201D added to the end.
    3.The receiver system name will be stored in the WS-Addressing u201CActionu201D field sent from SOAPUI.
    4.Two ABAP mappings are created. One mapping will extract the system number from the WS-Addressing u201CActionu201D field. The other mapping will extract just the body of the SOAP message to send along. Using regex and string manipulation in the ABAP mappings we can reuse the mappings for any SOAP message.
    5.Enhanced (Extended) Receiver Determination is selected and interface mapping using system/XI ReceiverDetermination  service interface is used to capture the receiver system.
    While this is a solution is not the best, it is a solution. Upon research I found a recent SAP Note 1385579 talking about implementing a SAP delivered generic SOAP Sender AXIS handler com.sap.aii.axis.soap.HeaderExtractionHandler to extract SOAP Header elements and place in message attributes. I will be trying this out.

  • SOAP header in my WSDL ignored by Creator

    The soap:header element from the bind section of my WSDL file is being ignored by Creator.
    Creator is picking up the soap:operation element soapAction=..
    and
    My <input> element for a operation has both soap:body and soap:header elements. The soap:body works.
    Any suggestions?

      Here is a valid Soap Request from XMLSPY and
    a Request from a JSC app and the WSDL used to create the both.
    Sample of Reqest generated by XMLSPY
    <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>
              <m:Security_Request xmlns:m="http://psfttemp.org">
                   <m:Username>String</m:Username>
                   <m:Password>String</m:Password>
              </m:Security_Request>
         </SOAP-ENV:Header>
         <SOAP-ENV:Body>
              <m:Get__CompIntfc__USER_PROFILE xmlns:m="http://psfttemp.org">
                   <m:UserID>String</m:UserID>
              </m:Get__CompIntfc__USER_PROFILE>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Sample of a Request from  the JSC generated application
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://psfttemp.org">
         <env:Body>
              <ns0:Get__CompIntfc__USER_PROFILE>
                   <ns0:UserID>DPAT</ns0:UserID>
              </ns0:Get__CompIntfc__USER_PROFILE>
         </env:Body>
    </env:Envelope>
    Original WSDL file
    <?xml version="1.0"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:psftci="http://psfttemp.org" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://psfttemp.org">
         <types>
              <s:schema targetNamespace="http://psfttemp.org" elementFormDefault="qualified">
                   <s:element name="Get__CompIntfc__USER_PROFILE">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="UserID" type="s:string" maxOccurs="1" minOccurs="1"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="Get__CompIntfc__USER_PROFILEResponse">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="UserID" type="s:string" maxOccurs="1" minOccurs="1"/>
                                  <s:element name="UserDescription" type="s:string" maxOccurs="1" minOccurs="0"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="Security_Request">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="Username" type="s:string" maxOccurs="1" minOccurs="1"/>
                                  <s:element name="Password" type="s:string" maxOccurs="1" minOccurs="1"/>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
                   <s:element name="detail">
                        <s:complexType>
                             <s:sequence>
                                  <s:element name="keyinformation" maxOccurs="1" minOccurs="0"/>
                                  <s:element name="messages" maxOccurs="unbounded" minOccurs="1">
                                       <s:complexType>
                                            <s:sequence>
                                                 <s:element name="type" type="s:string" maxOccurs="1" minOccurs="1"/>
                                                 <s:element name="messagesetnumber" type="s:decimal" maxOccurs="1" minOccurs="0"/>
                                            </s:sequence>
                                       </s:complexType>
                                  </s:element>
                             </s:sequence>
                        </s:complexType>
                   </s:element>
              </s:schema>
         </types>
         <message name="Get__CompIntfc__USER_PROFILESoapIn">
              <part name="parameters" element="psftci:Get__CompIntfc__USER_PROFILE"/>
         </message>
         <message name="Get__CompIntfc__USER_PROFILESoapOut">
              <part name="parameters" element="psftci:Get__CompIntfc__USER_PROFILEResponse"/>
         </message>
         <message name="Security_Request">
              <part name="parameters" element="psftci:Security_Request"/>
         </message>
         <message name="Fault">
              <part name="fault" element="psftci:detail"/>
         </message>
         <portType name="USER_PROFILESoap">
              <operation name="Get__CompIntfc__USER_PROFILE">
                   <input message="psftci:Get__CompIntfc__USER_PROFILESoapIn"/>
                   <output message="psftci:Get__CompIntfc__USER_PROFILESoapOut"/>
                   <fault name="Fault" message="psftci:Fault"/>
              </operation>
         </portType>
         <binding name="USER_PROFILESoap" type="psftci:USER_PROFILESoap">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="Get__CompIntfc__USER_PROFILE">
                   <soap:operation soapAction="#SOAPTOCI#UU_WS" style="document"/>
                   <input>
                        <soap:body use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
                        <soap:header xmlns:n1="http://schemas.xmlsoap.org/wsdl/" message="psftci:Security_Request" part="parameters" use="literal" namespace="http://psfttemp.org"/>
                   </input>
                   <output>
                        <soap:body use="literal"/>
                   </output>
                   <fault name="Fault">
                        <soap:fault name="fault" use="literal" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://psfttemp.org"/>
                   </fault>
              </operation>
         </binding>
         <service name="USER_PROFILECIService">
              <documentation>This is the service for accessing the USER_PROFILE Component Interface using SOAP requests through PeopleSoft's Integration Broker</documentation>
              <port name="USER_PROFILESoap" binding="psftci:USER_PROFILESoap">
                   <soap:address location="http://localhost:14000/PSIGW/HttpListeningConnector"/>
              </port>
         </service>
         <documentation>This component interface is based off of the USERMAINT component.  It is used for User Profile maintenance.</documentation>
    </definitions>

  • WSSE usename token not in the SOAP Header

    Background:
    Webservice with four methods; OpGet, OpCreate, OpGetList, OpSet. Setup a jcx with this webservice URL, generate a test harness from workshop, and running this test harness and looking at the SOAP messages being send and received to verify that the web services are working. The OpGet is working since it doesn't require user credentials. But the OpCreate is currently not working. Remedy is rejecting it because of access control.
    Problem #1:
    Need to pass the user credential in the SOAP header. Here's the required information in WSDL regarding Authentication.
    <wsdl:operation name="OpCreate">
    <soap:operation soapAction="urn:SimpleWebService/OpCreate" style="document"/>
    <wsdl:input>
    <soap:header message="s:ARAuthenticate" part="parameters" use="literal">
    </soap:header>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    Solution that I have implemented so far:
    I have setup a WSSE file with the simple username/password in the <wsSecurityOut> element and was expecting to see this in the SOAP Header element in the WSDL message. When I look at the SOAP message in the test harness that I have generated in Workshop, I don't see this credential information. I have set the "ws-security-service property to the wsse file. I know that the harness has seen the wsse file since it gives me warning about having the password in simple text without encryption.
    Shouldn't I be seeing this userNameToken information in the SOAP Header when I run the test harness (jws) from workshop? As you can see below (Problem #2) no SOAP header is being generated.
    Problem #2:
    I see that in the SOAP message that test harness is sending wrong "xsi:type" information. It seems to be sending the "StatusType" for all the parameters except the one "Status" where it needs to?
    SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Body>
    <ns:OpCreate xmlns:ns="urn:SimpleWebService">
    <ns:Assigned_To xsi:type="ns:StatusType">donnab</ns:Assigned_To>
    <ns:Short_Description xsi:type="ns:StatusType">testing from weblogic 8.1 SP3 Workshop</ns:Short_Description>
    <ns:Status>New</ns:Status>
    <ns:Submitter xsi:type="ns:StatusType">donnab</ns:Submitter>
    </ns:OpCreate>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Here's the WSDL where the OpCreate is defined:
    <xsd:element name="OpCreate" type="s:CreateInputMap"/>
    <xsd:complexType name="CreateInputMap">
    <xsd:sequence>
    <xsd:element name="Assigned_To" type="xsd:string"/>
    <xsd:element name="Short_Description" type="xsd:string"/>
    <xsd:element name="Status" type="s:StatusType"/>
    <xsd:element name="Submitter" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>

    I've never been able to see that information because I assume Weblogic server strips it out the minute it receives it and uses it to authenticate the user against a principal in the server.
    You can get ahold of this info, though. In your .jws file, in workshop, add this as a context:
    /** @common:context */
    JwsContext context;
    In your web services method, access the context to get the username:
    context.getCallerPrincipal().getName();
    That will return a String w/ the username passed in the username token.
    -Becky

  • Accessing SOAP header information in a custom adaptor module

    Hi Guys,
    Could anyone point me in the direction of information on how to access the SOAP:Header element when writing a custom adaptor module for a http/ SOAP communication channel?
    I'm trying to add some WS-Security stuff which isn't available in XI 3.0.
    Many thanks,
    John

    The solution is as follows:
    Mark as Do Not Use SOAPEnvelope in the communication channel.
    It may be possible to use the SAP implementation of MessageFactory, SOAPEnvelope etc., I forced XI the Apache Axis implementation, a thread on which can be found here Link: [Accessing SOAP header information in a custom adaptor module;
    The SOAP Envelope is created by
    javax.xml.soap.MessageFactory mf= org.apache.axis.soap.MessageFactoryImpl.newInstance();
    This doesn't work it creates a com.sap.engine.services.webservices.jaxm.soap.SOAPMessageImpl
    org.apache.axis.message.SOAPEnvelope env = new org.apache.axis.message.SOAPEnvelope();
    org.apache.axis.Message iSoapMessage = new org.apache.axis.Message(env);
    SOAPMessage sm = iSoapMessage;
    SOAPBody iBody = se.getBody();
    if(iBody!=null)
         iBody.addDocument(iDoc);
         addDocument failed for some reason when called in XI returning
         Exception caught by adapter framework: Exception in method process.
         The code below is copied straight from the addDocument method, but it works.
         org.w3c.dom.Element iDocRoot= iDoc.getDocumentElement();
         org.apache.axis.message.SOAPBodyElement bodyElement = new org.apache.axis.message.SOAPBodyElement(iDocRoot);
         iBody.addChildElement(bodyElement);
    In order to get a document representation of the Envelope you can use
    Document iEnvelopeDoc = ((org.apache.axis.message.SOAPEnvelope)env).getAsDocument();
    You are now in a position to add or adjust the SOAP Envelope as your require. It enabled me to add WS-Security information to a message.
    It is normally possible to use javax.xml.transform.Transformer on the various classes SOAPEnvelope, SOAPBody etc. as they implement Node. However doing this in XI caused a crash.
    The final document can be then be set in the xmlPayload before being sent out the door.
    Hope this helps someone,
    John

  • SOAP Header

    Hi Experts,
    My scenario is to access the HEADER element in the incoming SOAP Header and use it as a condition for Receiver determination.
    Can somebody give example of
    1) XSLT / java  code which can be used to access SOAP Header elements.
    2) How use this to determine the receiver.

    Hi,
    You can achieve this by setting the Adapter-Specific Message Attributes under advanced tab in your CC.
    check below link for the same..
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    Regards,
    Sarvesh

  • To populate SOAP Header

    Hi,
      We have a scenario proxy -> XI -> SOAP. In the receiver side we need to populate the soap header in the following format.
    <SOAP:Envelope>
    <SOAP:Header>
    <CustomTag1>fddgg</CustomTag1>
    <CustomTag2>uduh</CustomTag2>
    <CustomeTag3>yyyy</CustomTag3>
    <CustomTag4>ZZZZ</CustomTag4>
    </SOAP:Header>
    <SOAP:Body>
    ....Some data ...
    </SOAP:Body>
    </SOAP:Envelope>
        How can we achieve this in the receiver SOAP adapter. Can we achive this by ASMA.Thanks for all the inputs.
    Thanks And Regards
    Sripathi

    Hi Udo,
      When i imported my WSDL to external defnitions,all the methods got moved to my external defnitions. The problem
    i am facing now is i don't see the SOAP header elements( When i move one of this method) in my mapping objects to
    map the header elements.
    <SOAP:Header>
    <CustomTag1>fddgg</CustomTag1>
    <CustomTag2>uduh</CustomTag2>
    <CustomTag3>YYYY</CustomTag3>
    <CustomTag1>ZZZZ</CustomTag1>
    </SOAP:Header>
       Do you want us to create this data strucute mannually in the required format or is there any way in which i can access the header elements. Thanks for the input.
    Thanks And Regards
    Sripathi G Yogesh

  • Extension of Standard SOAP Header Information in SOAP Adapter

    We are currently trying to call an eBay Web Service via SAP XI and we are using the SOAP Adapter in XI to achieve this.
    The following Authentication Information is required in the SOAP Header for accessing the eBay Web Service:
    - Token
    - ApplicationID
    - DevelopmentID
    - CertificationID.
    Unfortunately, the standard SOAP Adapter supports only certain SOAP Header Information (like User Authentication or Certificate Authentication).
    Is it possible to extend the SOAP Header Information in the SOAP Adapter (or somewhere else in XI) beyond the standard configurations?
    Thanks for your support.
    Alexander Bange

    Hi Jin,
    thanks for your input and sorry for my late reply but I wanted to wait for feedback from SAP who actually confirmed your recommendation.
    I had a second thought about this and it came to my mind that I actually don't want to extend the SOAP Header elements but simply fill the mentioned authentication elements with values. This cannot be done in the message mapping as only the SOAP body elements (i.e. the payload) can be mapped.
    Do you know if and how I can fill the SOAP header elements with values in XI?
    I already tried to include this information as fixed values in the WSDL description and load it into XI. Then I looked into the WSDL description and an error message occured stating that XI could not parse the XML Document (Fatal Error: com.sap.engine.lib.xml.parser.ParserException:  = expected in attlist(:main:, row:18074, col:54)).
    If there is no solution for the latter, I will have to try nosoap solution. Still this would be a little awkward.
    Thanks again for your valuable support.
    Best Regards.
    Alex

  • Reading ESB Request Header elements

    Hi!
    Is it possible to get to SOAP header elements using ehdr:getRequestHeader() function? If yes, can someone provide and example of it? Also, what all are included in the Request Header? Is there a place where I can learn more about Request and other ESB headers?
    More specifically given the following SOAP envelope sent to the routing service:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Header>
    <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">qqqqqqqqqqq</wsa:MessageID>
    </soapenv:Header>
    <soapenv:Body>
    <ns1:Response xmlns:ns1="GeneralResponse">
    <ns1:KeyData>af</ns1:KeyData>
    </ns1:Response>
    </soapenv:Body>
    </soapenv:Envelope>
    How can I read the value of wsa:MessageID? (Please note that we are only using the element from WS-Addressing and not WS-Addressing itself).
    Thank you.

    The only header I get is sap-ep-version, but I am referencing my WD application via iView.
    When I access my WD app via URL, then it doesn't have any HTTP headers. 
    I can pass in URL parameters, which is picked up as HTTP headers.  For security reasons, I would rather not send information as URL parameters.
    I am guessing the code above is for URL parameters.  Is there an option/configuration I am missing here?

  • About soap header

    Hello ,
    i trying to call webservice.i got resposnse.i get saop body and its child element.but in that response i am not gettting soap header element.is there anything extra i have to do to get soap header.
    can anybody tell me ,How  to get response header?
    i tryed follwing code to get response header.
    var qName:QName = new QName("http://xyz.com/");
    var soapH:SOAPHeader = ws.getHeader(qName,"SoapHeadeName");
    but this is not working.

    Handlers are not WebLogic-specific (they are part of the JAX-RPC spec), but they are Java-specific. Web services are programming language agnostic, so you won't find information on them in a WSDL :-)
    If you want your WSDL to contain a description of the types for your Web Services' SOAP Header, you'll need to use the new source2wsdd tags in the source for your backend component. Here's the e-docs link:
    http://e-docs.bea.com/wls/docs81/webserv/wlws_tags.html#1095473
    Regards,
    Mike Wooten

Maybe you are looking for

  • IMovie crashing upon miniDV import?

    Trying to import home videos into iMovie, but it will import a few minutes of video and then freeze up and crash. Any ideas? Below is the code: Process:         iMovie [1335] Path:            /Applications/iMovie.app/Contents/MacOS/iMovie Identifier:

  • AIRasterizeSuite- Rasterize and Overprint Preview

    Hi, I'm using the AIRasterizeSuite to obtain a raster of the entire document which matches what you see in Illustrator. This is working fine and produces an RGBA raster.  When I select View->Overprint Preview it changes what you see in Illustrator bu

  • Change modulation channel in event list

    When I just started with Logic Pro I made some mistakes I like to correct now. I hope that is possible- I draw modulation curves under the pianorol on regions in a track in channel 6. But I forgot the set the channel menu to '6' and now the modulatio

  • HT204587 I can't use touch id for purchasing app from iTunes in India

    I can't use touch id for purchasing app from iTunes in India

  • Replacement for Photosmart Premier to print on CDs

    I recently moved my Photosmart 5160 to my main Windows 7 computer, downloaded the drivers and was able to print photos.  But I used this printer to print on ink jet-printable compact discs and the software that HP offers does not print on CDs as far