Add SOAP header before the WebService request (Windows Forms)

I have to add this header before my Request:
<h:FordDealerIdentity xmlns:h="urn:ford/star/security/v1.0" xmlns="urn:ford/star/security/v1.0">
<soapenv:Header>
<SiteCode>SZBRA</SiteCode>
</soapenv:Header>
</h:FordDealerIdentity>
My request:
var srv = new ConsumerServiceScheduleV1();
var a = new RetrieveScheduleRequestType();
var b = new DealerType();
var c = new ScheduleType();
srv.Credentials = new System.Net.NetworkCredential("","SZBRA05168");
//ScheduleType[] ret;
b.Code = 05168;
b.Name = "BraconCampos";
a.Dealer = b;
a.SchedulingFrom = new DateTime(10/10/2014);
a.SchedulingTo = new DateTime(15/10/2015);
c.SchedulingCategory = SchedulingCategoryType.Regular;
srv.ClientCertificates.Add(new System.Security.Cryptography.X509Certificates.X509Certificate2(@"E:\Agenda Ford\Certificados Agend@Ford\BracomCampos.pfx", "qaz123"));
textBox1.Text = srv.RetrieveSchedule(a).ToString();

Is Windows Forms! :)
And what forum deals with SOAP and Web services more than any other forum?  Many types of client based applications such as  Windows form, WPF, Sliverlight, Windows service classlib project like a BLL and so forth deal sith SOAP and WEB.
How is what you are talking about a Windows forms issue?
My Application is Windows Forms. I need to know how to insert this header before request.

Similar Messages

  • How to add new custom SOAP header when generate webservice?

    Hi
    When invoke an external webservice, SOA Gateway provide a method to add new customized SOAP Header, via extending seeded java function "WebServiceInvokerSubscription".
    And in case of generating a new webservice in EBS, is there some similar method to add new customized SOAP header in the webservice?
    Thanks
    James

    Look at your Payment Process Profile. THere should be a reporting subtab and within that subtab is a Separate Remittance Advice region. I believe that is where you specify the format for the remittance advice document (which is built in XML Publisher). Take a look at that.
    John Dickey

  • How to add  variables in SOAP header before to call my Physical Service?

    In ODSI,
    I created a Physical Service for an external WebService (third part).
    In a logical Service (inside a XQuery Extension Function) i am calling the previous Physical Service. However, I need to add some variables in the SOAP Header Request before to call that Physical Service.
    Thanks

    Since your webservice accepts a SOAP Header, the wsdl for your webservice should describe that SOAP header (as well as the body). And when ODSI creates the physical data service from the wsdl, the read function will take two arguments - one is the SOAP header and the other is the SOAP body. All you need to do is populate the soap header and body.
    If your wsdl does not describe the soap header - fix it so that it does. If need be, make a copy of the wsdl, modify it to describe the soap header, save it in your DataSpace, and then (re)create the physical data service from the wsdl.
    - Mike

  • How to add a soap header in the mesage

    Hi expert:
       We have a problem about this synchronous scenario: ECC(ABAP Proxy)>PI>P6(SOAP),  In P6,it need additional soap header as below:
    <soapenv:Header>
    <wsse:Security mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-5700630" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>admin</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">admin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    How can i add this header to the receiver message?

    Hi
    Create an XSL file like below and use in your mapping.
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:template match="/">
    <soapenv:Header>
    <wsse:Security mustUnderstand="0" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken wsu:Id="UsernameToken-5700630" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:Username>admin</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">admin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
             <xsl:copy-of select=""/>*     
    </xsl:template>
    </xsl:stylesheet>

  • Let me know if it possible to add P3P header in the HTTP responses of Oracl

    Let me know if it possible to add P3P header in the HTTP responses of Oracle applications 11.5.10

    Could you please elaborate more on what you are trying to do/achieve?
    Thanks,
    Hussein

  • How can i add a header to each page of my form

    Hi
    Iam creating a form - it was based on one of the templates, however I would like to add a header to the top of each page (it currently only has it on the first page). Can someone please help?
    Many thanks
    Shev

    There isn't a direct way to do this for PDF forms (web forms have the header on every page). For PDF you would have to copy a text/image item at the top of each page yourself.
    Randy

  • Unable to add custom SOAP header to consumer webservice in CRM( without using PI)

    Hello Experts,
    We have a requirement to consume webservice proxy in CRM without involving PI. We have WSDL file which has many services as depicted in the first screenshot.After checking old posts, I could add custom SOAP header by using if_wsprotocol_ws_header and there is no xml parsing error for ws_header.Have used if_ixml_stream_factory to check xml parsing error for header.
    '<soapenv:Header>'
    '<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">'
    '<wsse:UsernameToken wsu:Id="UsernameToken-2">'
                '<wsse:Username>user id</wsse:Username>'
                '<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">paswd</wsse:Password>'
                '<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MT0B9XFzsZJXXKmVKOsj/Q==</wsse:Nonce>'
                '<wsu:Created>2015-03-30T06:29:17.407Z</wsu:Created>'
    '</wsse:UsernameToken>'
    '</wsse:Security>'
    '</soapenv:Header>' INTO l_string.
    But when my ABAP program as a whole gets executed where consumer proxy is called, then it still throws XML parsing error - undeclared namespace prefix. As mentioned, there is no parsing error for header and WSDL file as a whole in SOAP UI tool works fine,by manually adding SOAP header.
    Have configured SOAMANAGER with logical port.Or any wrong setting in SOAMANAGER can cause this issue? When I tested webservice ping, it gave me attached error but I read in a SAP note that such error can be ignored.
    I want to know if some more setting/coding is required if we manually add custom header to a payload? Is PI really required to implement this requirement? Payload mapping has to be done to add custom header and if that can be taken care by ABAP coding and how?
    Can you please help?
    BR,
    Nisha Verma

    Hello Experts,
    I have not found the solution yet.
    Can anyone provide some insight??
    BR,
    Nisha Verma

  • Error in soap header when use webservice consumer proxy

    Hi all,
    I create a webservice consumer proxy to external server. the webservice provider is .Net  and it required a message level security.
    The soap message should include a soap header, like this:
    <SOAP-ENV:Header>
    <m:AuthHeader xmlns:m="http://tempuri.org/">
    <m:Username>test1</m:Username>
    <m:Password>test</m:Password>
    </m:AuthHeader>
    </SOAP-ENV:Header>
    I have found many information from here. Now I used  IF_WSPROTOCOL_WS_HEADER in my program, like this:
    REPORT  zws_jp_test01.
    DATA: lo_zws_jp_co_service_soap TYPE REF TO zws_jp_co_service_soap .
    DATA: lo_fault TYPE REF TO cx_ai_system_fault.
    DATA: lo_appl_fault TYPE REF TO cx_ai_application_fault.
    TRY.
        CREATE OBJECT lo_zws_jp_co_service_soap
          EXPORTING
            logical_port_name = 'ZWS_JP_LP4'.
      CATCH cx_ai_system_fault INTO lo_fault.
        MESSAGE lo_fault TYPE 'I'.
    ENDTRY.
    DATA: output TYPE zws_jp_create_job_ad_soap_out .
    DATA: input TYPE zws_jp_create_job_ad_soap_in .
    DATA: lr_ws_header TYPE REF TO if_wsprotocol_ws_header.
    DATA: lv_name TYPE string,
          lv_namespace TYPE string.
    DATA l_xstring TYPE xstring.
    DATA l_string TYPE string.
    DATA: ixml TYPE REF TO if_ixml,
         xml_document TYPE REF TO if_ixml_document,
         xml_root TYPE REF TO if_ixml_element,
         xml_element TYPE REF TO if_ixml_element,
         xml_node TYPE REF TO if_ixml_node.
    lr_ws_header ?= lo_zws_jp_co_service_soap->get_protocol(
                                               if_wsprotocol=>ws_header ).
    CONCATENATE
      '<SOAP-ENV:Header>'
        '<m:AuthHeader xmlns:m="http://tempuri.org/">'
          '<m:Username>test1</m:Username>'
          '<m:Password>test</m:Password>'
        '</m:AuthHeader>'
      '</SOAP-ENV:Header>'
    INTO l_string.
    l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
    CALL FUNCTION 'SDIXML_XML_TO_DOM'
      EXPORTING
        xml           = l_xstring
      IMPORTING
        document      = xml_document
      EXCEPTIONS
        invalid_input = 1
        OTHERS        = 2.
    IF sy-subrc = 0 AND NOT xml_document IS INITIAL.
      xml_root = xml_document->get_root_element( ).
      xml_element ?= xml_root->get_first_child( ).
      WHILE NOT xml_element IS INITIAL.
        lv_name = xml_element->get_name( ).
        lv_namespace = xml_element->get_namespace_uri( ).
        lr_ws_header->set_request_header(
            name            = lv_name
            namespace       = lv_namespace
            dom             = xml_element
            must_understand = SPACE
        xml_element ?= xml_element->get_next( ).
      ENDWHILE.
    ENDIF.
    input-job_ad-id = 0.
    input-job_ad_text-id = 0.
    input-job_ad-publish_location = 1.
    TRY.
        CALL METHOD lo_zws_jp_co_service_soap->create_job_ad
          EXPORTING
            input  = input
          IMPORTING
            output = output.
      CATCH cx_ai_system_fault INTO lo_fault .
        MESSAGE lo_fault TYPE 'I'.
      CATCH cx_ai_application_fault INTO lo_appl_fault.
        MESSAGE lo_appl_fault TYPE 'I'.
        WRITE: output-create_job_ad_result-id.
    ENDTRY.
    But there is error when I run this program. the error is "SoapFaultCode:1"
    In tcode ST11, I see this log:
    E SOAP_RUNTIME 20100624004837.9280000 : CL_SOAP_RUNTIME_CLIENT
    ->EXEC_PROCESSING SOAP Fault Exception caught: : SOAP header To
    was not understood.
    btw the release is  701.
    Any one can navigate me to solved the problem?

    Hi,
      I have the same problem as you did before and I posted my code in this [thread|Change SOAP Header: Consuming Webservice;.
      In order to to solve your problem, I need to know what is the header that you want to add into the header, what is WSDL, and have you try testing that web service using other tool such as SOAPUI or XMLSPY and what is the result of testing tool?
    Regards,
    Chaiphon

  • Change Soap Header in P2P WebService (No PI available)

    Hi Experts,
    I need your help with a Webservice we are building.
    --Facts--
    We have the requirement to build a WebService in CRM that will be consumed by an external system. (We are service Providers)
    Since we have no PI available we are building it as a Function Module that will be later transformed into a WebService.
    The WebService / communication will be Asynchronous. We want to use WS-Adressing to handle the asynchonous process. (Check the requirement Backgroud at the end)
    We have a sample xml message in which we need to base and build the service WSDL based on:
    <?xml version="1.0" encoding="utf-8" ?>
    - <NS1:Envelope xmlns:NS1="http://schemas.xmlsoap.org/soap/envelope/"> 
    - <NS1:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> 
    - <requestHeader> 
    <systemID>DEFAULT</systemID>  
    <messageID>MSGID</messageID>  
    <aplicativoOrigen>bizagi</aplicativoOrigen>  
    <timeStamp>2014-12-06T20:24:33.839428</timeStamp>  
    <operacion>crearProspecto</operacion>  
    </requestHeader>
    <wsa:To>http://127.0.0.1:7700/dummy</wsa:To>  
    - <wsa:ReplyTo> 
    <wsa:Address>http://127.0.0.1:7700/IA_asynchronousWS</wsa:Address>  
    </wsa:ReplyTo>
    <wsa:MessageID>414d51204d4237514d47522020202020484f835403110120</wsa:MessageID>  
    <wsa:Action>crearProspecto</wsa:Action>  
    </NS1:Header>
    + <NS1:Body> 
    - <crearProspecto xmlns:ges="http://grupobancolombia.com/intf/GestionarProspectosCRM"> 
    - <datosGenerales> 
    <agenteRetencion>ac</agenteRetencion>  
    </datosGenerales>
    </crearProspecto>
    </NS1:Body>
    </NS1:Envelope>
    -- Background --
    1- We have a CRM system with no PI and an external system (INT) to which we need to communicate in an Asynchronous way. Simply put, we need to provide to and consume from this non SAP System.
    (This INT system is the equivalent of an SAP PI system and it will be responsible to transform and reroute the messages to the corresponding legacy systems)
    2- We want to allow the creation of BPs in an Asynchronous way. The way we want to achieve Asynchronous communication is by means of two Web services.
    a.      CRM publishes a WS that is consumed by the INT (directly no PI)
    In the header of this message we will be using WS-Adressing standard and receiving from the INT the MessageID field.
    CRM receives the messages, stores the information (does not process it) and immediately sends an accepted HTTP 202 code as a response to the INT.
    b.      INT also publishes a WS that is consumed by the CRM and is used to receive the response of the first message from INT to CRMAfter X amount of time (Hours or days), the CRM gets the stored data and processes it finally creating the BP in the system. Once the BP is successfully created, CRM Consumes this WS exposed by the INT and sends the information that the BP has been finally created. The RelatesTo field in the header is then matched with the MessageID field sent before in the WS-A header and this way the INT finds out to which original message this second Web Service correlates to.
    3- Please consider no PI is available,
    --Question--
    How can we build a WSDL for this service? I am asking in specifically how do you build a WSDL with a header with 4 fields and WS-Adressing fields also. Keep in mind that we have no PI and we are using a Function Module to Build the Service.
    - <requestHeader>
    <systemID>DEFAULT</systemID>  
    <messageID>MSGID</messageID>  
    <aplicativoOrigen>bizagi</aplicativoOrigen>  
    <timeStamp>2014-12-06T20:24:33.839428</timeStamp>  
    <operacion>crearProspecto</operacion>  
    </requestHeader>
    <wsa:To>http://127.0.0.1:7700/dummy</wsa:To>
    - <wsa:ReplyTo>
    <wsa:Address>http://127.0.0.1:7700/IA_asynchronousWS</wsa:Address>  
    </wsa:ReplyTo>
    <wsa:MessageID>414d51204d4237514d47522020202020484f835403110120</wsa:MessageID>
    <wsa:Action>crearProspecto</wsa:Action>
    I am attaching the XML and a WSDL that was provided to us, but not generated by us in CRM. We need to create a service with a WSDL similar to that one in the CRM
    Thanks!
    Pablo.

    Hi Ganesh,
    Please go through this link.
    http://www.sapag.co.in/SAP-XI-SOAP-Adapter-FAQ'S.html
    I think this would be helpful for you..
    Reward points if useful,
    Swamy Kunche

  • 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

  • Creating Custom SOAP header in the Sender soap scenario

    Hello Experts,
    Currently i have a SOAP to RFC scenario . In which in the request parameter i have single input parameter. But as per the requirement we need to have some xml parameters in the soap header .
    So i want the soap request looks like below,
    <?xml version="1.0"?>
    -<SOAP-ENV:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    -<SOAP-ENV:Header>
    -<ns0:TestHeader xmlns:ns0="http://testcustomer.com">
    -<MessageDetails>
    <ServiceType/>
    <ServiceAction>String</ServiceAction>
    <MessageRole rtype=""/>
    -<MessageSource>
    <SourceName/>
    <SourceID idtype=""/>
    </MessageSource>
    -<MessageDestinations>
    -<MessageDestination>
    <DestinationID idtype=""/>
    <DestinationName/>
    </MessageDestination>
    </MessageDestinations>
    <Property Name=""/>
    </MessageDetails>
    </ns0:TestHeader>
    </SOAP-ENV:Header>
    -<SOAP-ENV:Body>
    -<m:MT_CERT_IP xmlns:m="http://mydzit.gov.sa/zakat">
    <INPUT1>102140000007</INPUT1>
    </m:MT_CERT_IP>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Kindly let me know the steps, how can i achieve this ??
    I have referred the AddSOAPHeaderBean  module but still not received the needed output.
    Best Regards,
    Amit

    Hi Amit,
    My few cents.
    You have an example in Dimitri Sannen's blog Read SOAP header information doing the mapping with XSLT.
    Also, you have an other example like Dev Noronha suggestion, in William Li's blog How to Read SOAP Header Information
    Regards.

  • How to Capture Runtime SOAP Header in ABAP Webservice

    Hi All,
    I have created a WebService from a ABAP Function Module, and an external (Java Based) system is able consume to it. But while making the call, the external System enriches the SOAP header with certain values, and I need to capture these values in ABAP Function Module.
    How can read the enriched SOAP Header in my ABAP Function Module? is there any Class/Function Module which I can call to get the Runtime SOAP-HEADER or is the runtime SOAP-header available in one of the structures similar to SYST?
    Thanks,
    Ganesh

    Hi Ganesh,
    Please go through this link.
    http://www.sapag.co.in/SAP-XI-SOAP-Adapter-FAQ'S.html
    I think this would be helpful for you..
    Reward points if useful,
    Swamy Kunche

  • Add soap header in SALT

    Hi everyone!
    I want to send a soap header(an UUID) using SALT, and honestly, I didn't found a detailed explanation or an example on how to do that.
    The only thing I know so far is:
    - Add in the ".wsdf" file: <Property name="mapsoapheader" value="true" />
    - And then somehow using "TA_WS_SOAP_HEADER" (previously included by wssoapflds.h) I will get what I need.
    So, am I in a good way to solve my problem?
    If yes, how exactly I should set TA_WS_SOAP_HEADER in my C code?
    I don't know if you need more details, just ask me and I'll reply to you as fast as I can.
    Thanks in advance,
    Daniel.

    If want to use soap header, The data type must be FML32.
    SALT will add a field TA_WS_SOAP_HEADER in user's FML32 buffer type.
    The feature only in SALT version greater than 12c Release 1

  • 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.

  • Add R3TR element to the Transport Request

    Hello BW Experts,
    I am transporting a query and get the below error message.
    Element 40WVM5KB0OENRCAWG7PN2GHM3 is missing in version M
    Message no. R9132
    Diagnosis
    Element &1 in version &2 is referenced but is not available.
    System response
    The action had to be terminated.
    Procedure
    Please supply the missing elements to the system by transport.
    if i go to rsa1 > transport connection > query elements > query > select the query (options dataflow before / only necessary objects )
    i do not see the element 40WVM5KB0OENRCAWG7PN2GHM3 in that list given.
    I think there is a alternate way of adding particular elements to the request. Wondering if anyone remembers the transaction code / table for add a element to the request.
    Thanks,
    BWer

    dear BWer,
    use following program (create first) to locate the query element
    transport
    REPORT ZQUERY_DEF_TEST .
    Tables: rszeltdir, "query element table
    rszelttxt, "query element texts
    rszcompdir, "global query elements
    e071. "objects in transport requests
    *parameters
    parameters: Req_id like e071-trkorr.
    selection screen to input long ID 25 char generated name
    select-options: long_ID for rszeltdir-eltuid.
    *itab to hold related info
    data: begin of i_query_desc occurs 0,
    local, "Local to Query
    eltuid like rszeltdir-eltuid, "25 char generated ID
    compid like rszcompdir-compid, "technical name
    deftp like rszeltdir-deftp, "element type
    el_txt(16), "element type text
    txtsh like rszelttxt-txtsh, "short text
    txtlg like rszelttxt-txtlg, "long text
    owner like rszcompdir-owner, "owner
    end of i_query_desc.
    data: xlocal.
    sy-tvar0 = Req_id.
    *find all query objects for transport request entered
    select * from e071 where trkorr = req_id and
    object = 'ELEM'.
    add them to the select-options list
    long_ID-low = e071-obj_name.
    append long_ID.
    clear long_ID.
    endselect.
    *loop through select option table and find details of Query element
    Loop at long_ID.
    clear: i_query_desc,
    rszeltdir,
    rszelttxt,
    rszcompdir,
    xlocal.
    select single * from rszeltdir where eltuid = long_ID-low and
    objvers = 'A'.
    if sy-subrc <> 0.
    write: / long_ID-low, ' Query element not found.'.
    write: / .
    else.
    select single * from rszelttxt where eltuid = long_ID-low and
    objvers = 'A'.
    if sy-subrc <> 0.
    write: / long_ID-low, ' not found in table RSZELTTXT.'.
    endif.
    select single * from rszcompdir where compuid = long_ID-low and
    objvers = 'A'.
    if sy-subrc <> 0.
    write: / long_ID-low, ' not found in table RSZCOMPDIR.'.
    xlocal = 'X'.
    endif.
    fill itab for list
    i_query_desc-local = xlocal.
    i_query_desc-eltuid = rszeltdir-eltuid. "25 char generated ID
    i_query_desc-compid = rszcompdir-compid. "technical name
    i_query_desc-deftp = rszeltdir-deftp. "element type
    case i_query_desc-deftp.
    when 'SEL'.
    if xlocal = 'X'.
    i_query_desc-el_txt = 'Selection'.
    else.
    i_query_desc-el_txt = 'Restricted K/Fig'.
    endif.
    when 'REP'.
    i_query_desc-el_txt = 'Query'.
    when 'VAR'.
    i_query_desc-el_txt = 'Variable'.
    when 'STR'.
    i_query_desc-el_txt = 'Structure'.
    when 'CKF'.
    i_query_desc-el_txt = 'Calculated K/Fig'.
    when 'FML'.
    i_query_desc-el_txt = 'Formula'.
    endcase.
    i_query_desc-txtsh = rszelttxt-txtsh. "short text
    i_query_desc-txtlg = rszelttxt-txtlg. "long text
    i_query_desc-owner = rszcompdir-owner. "owner
    append i_query_desc.
    clear i_query_desc.
    endloop. "@ long_ID
    list results
    sort i_query_desc by local deftp owner.
    loop at i_query_desc.
    write: / sy-vline,
    i_query_desc-eltuid, sy-vline, "25 char generated ID
    i_query_desc-compid , sy-vline, "technical name
    i_query_desc-deftp , sy-vline, "element type
    i_query_desc-el_txt, sy-vline, "element text
    *write: / i_query_desc-txtsh , "short text
    i_query_desc-txtlg(40) , sy-vline, "long text
    i_query_desc-owner , sy-vline.
    write: sy-uline .
    endloop. "@ i_query_desc
    hope this helps.

Maybe you are looking for

  • How can I organize my bookmarks in order?

    I have Firefox version 11.0. When I bookmark a page it goes to the bottom of the bookmarks list. But not my older bookmarks. They are all in alphabetical order. (not in the order that I originally bookmarked them) How can I change them so they are in

  • Sys.fn_xe_file_target_read_file performance

    Hi, I am working with extended events and the function sys.fn_xe_file_target_read_file. I am using the file_name and file_offset to get new events, since the last time I queried the function. I am checking for new events once a minute like this: exec

  • S-video in

    Hi, I have a MSI G3Ti200 Pro-vt 128 video card which has a s-vid in outlet but then i don't know how to play my ps2 or whatever on the computer.. well the point is do i need some certain program or such so i can play games on my console to my monitor

  • How do I get a line out signal from my macpro mid-2012

    I went to Preferences, Sound, Output. The only option is HEADPHONES. I want to send music from iTunes to a sound mixing board. I can use the headphone port, but the signal is weak and poor sound quality. I used to use  my iPod which works well becaus

  • How do safari bookmarks sync with lion

    My iPhone and MacBookPro Lion sync my Safari bookmarks perfectly.  I just don't know how it does it?  Cannot find anything online that discusses it.  I know iCloud doe smy contacts, calenar, etc but doe snot appear to do Safara bookmarks.