Pass additional parameter to SOAP header?

We are using webservice datawindows to pass request xmls to call webservices. Additionally we use 'wsconnection' objects authenticationmode, username and password property to send information to SOAP header.
Now we have to send one more value to SOAP header. This new value will be a string(like username).
I checked the wsConnection properties and did not find anything which could be used. Can anyone please advise on it.

If they constructed the web service correctly, the WSDL should include information on the custom header attributes you need to pass.  If it's there, any version of PowerBuilder 10.5.1 or later will provide a method you can call to pass it.
Custom header support for .NET Web services

Similar Messages

  • Passing Parameter through SOAP Header in ODIInvokeWebService

    How to pass parameters in SOAP Header in ODIInvokeWebService and not just in SOAP Body?
    Background:
    One of our web service provider expects certain parameters set in SOAP Header. Currently, ODIInvokeWebService allows to set parameters through SOAP (Request) Body and not through SOAP Header.
    How can we set and send parameters in SOAP Header when using ODIInvokeWebService. Can we set this in a request file. Any workaround?
    BTW is this a limitation in the tool. If yes, I am looking for a work around. I can setup a proxy service/servlet and re-route the request to the provider but I would like to know if there is a work that can be done easily through ODIInvokeWebService before I look for other options.
    Appreciate your help.
    Thank you.
    -Muthu

    Hi Muthu ,
    This is not supported by the ODIInvokeWS Tool.
    There are some ER logged against this and may be it will get implemented in ODI 11g
    Sutirtha

  • Passing authentication info in soap header

    We need to integrate a webservice in ALSB 2.6. This webservice needs authentication information (username and password) to be passed inside the soap header.
    I imported the wsdl into ALSB and created a business service on it. When I try to test one of the webservice's method using the test console, I am not sure how do I pass the authentication fields inside the soap header.
    Can anyone please provide some inputs.
    Regards,
    Rishi

    The best way to do that is to create an XML file and register it as an Xquery resource in ALSB. You can then access the Xquery file from your pipeline to update your message.
    An alternative way is to use th Xquery function "doc" to read files from the file system. However I discourage you to do that since this file will need to be present on your server and won't be managed by the config framework which is going to increase the maintenance burden.
    Gregory Haardt
    ALSB Prg. Manager
    [email protected]

  • How to use XHeaderName1 in SOAP header

    I have a scenario in which im passing the target URL of a webservice dynamically in my mapping udf.
    I have to pass the URL to the TServerLocation parameter in SOAP header. But the error i get is that the URL is too long for TServerLocation. So i have to split it and send it using XHeaderName1,XHeaderName2 and XHeaderName3.
    Can anyone tell me how to do this.
    i saw this blog which gives me some idea but still my scenario is not working
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    please Help

    Hi Sivasakthi Danasekaran,
    URL is an environment variable I think it will take 256 charecters only. You need to split it compulsorly.
    Reward points if needful.
    Thanks,
    RamuV

  • How to Capture SOAP Header in BPEL

    Hi All,
    I have a requirement to pass a value from SOAP Header to BPEL and has to capture the value in BPEL and manipulate the data.
    In the receive activity i created a variable and assigned Header to it, but iam getting NULL value when i check the instance, this is the code i used in receive
    activity.
    <receive name="receiveInput" partnerLink="bpelsensor_client" portType="client:BPELSensor" operation="process" variable="inputVariable" createInstance="yes"
    bpelx:inputHeaderVariable="headerID"/>
    Any suggestions how to do this?

    How did you define headerID?
    You can also see an example here:
    http://java.net/projects/oraclesoasuite11g/pages/BPEL
    Arik

  • Post user and pass to SOAP Header message in ABAP Proxy

    Hi Folks!
    I'm trying to post user and pass to SOAP Header on an ABAP proxy. I've already read the thread [Consume web service in ABAP proxy with SOAP header|Re: Consume web service in ABAP proxy with SOAP header; and I see that is possible to manipulate SOAP Header but I cannot understand how I work with function module SDIXML_XML_TO_DOM.
    Do I need pass to parameter xml a complete SOAP Envelope? If it is right how can I get the complete xml message to pass to this parameter? I think I don't need the build the xml strucuture as I did on WebAS 6.40, isn't it?
    Thanks in advanced.

    Hi Rafael,
    I would be interested in the solution... could you please post it into forum.
    Thanks and best regards
    Stefan Bosshard

  • How do pass the UserID and Password in the SOAP header for web services

    I am encountering issues trying to pass the userid and password in the SOAP header when consuming a 3rd party web service.  Rostewitz posted something similiar but I don't know how to type iv_xml.  Any help would be greatly appreciated.
    Thank you,
    jpina

    It helps to post a link to a thread when you refer to it.  If you are trying to implement that solution though, you can look at the parameter of the corresponding method being called.  The parameter has type 'SIMPLE' which means that it is compatible with all of the predefined elementary ABAP types.  In this case, you should use 'STRING'.

  • Passing SOAP header while invoking a web service partner link from BPEL

    I followed the steps of adding bpelx.inputheadervariable. Which is supposed to add the soad header. But after running the BPEL process if I see the message in the console, I don't see the SOAP header. Is there any way to see how the SOAP header is passed or did I set it incorrectly?
    This is what the message looks like:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
    <ns0:Context xmlns:ns0="http://www.informatica.com/wsh">
    <SessionId>[string]</SessionId>
    </ns0:Context>
    </soap:Header>
    <soap:Body>
    <ns0:StartWorkflow xmlns:ns0="http://www.informatica.com/wsh">
    <DIServiceInfo>
    <DomainName>[string]</DomainName>
    <ServiceName>[string]</ServiceName>
    </DIServiceInfo>
    <FolderName>[string]</FolderName>
    <WorkflowName>[string]</WorkflowName>
    <WorkflowRunId>[int]</WorkflowRunId>
    <WorkflowRunInstanceName>[string]</WorkflowRunInstanceName>
    <Reason>[string]</Reason>
    <Attribute>
    <Name>[string]</Name>
    <Value>[string]</Value>
    </Attribute>
    <Key>
    <Key>[string]</Key>
    <mustUse>[boolean]</mustUse>
    </Key>
    <ParameterFileName>[string]</ParameterFileName>
    <Parameters>
    <Parameters>
    <Scope>[string]</Scope>
    <Name>[string]</Name>
    <Value>[string]</Value>
    </Parameters>
    </Parameters>
    <RequestMode>[ETaskRunMode]</RequestMode>
    <TaskInstancePath>[string]</TaskInstancePath>
    <IsAbort>[boolean]</IsAbort>
    <OSUser>[string]</OSUser>
    </ns0:StartWorkflow>
    </soap:Body>
    </soap:Envelope>
    I am trying to invoke the 'startworkflow' operation of Informatica web service Dataintegration.wsdl
    Edited by: user611166 on Apr 1, 2010 10:10 AM

    Hi,
    Try using obtunnel with your bepl console.
    Alternatively, if your server is on unix/ linux, try tcpdump to capture packets to a particular server and then open the file in wireshark to analyse the contents.
    Wish SOA suite would allow us to view this by default!
    Regards,
    Sappy

  • Passing Soap Header in Web Service

    Hi Team,
    In our application, we have used web service through webservice proxy wizard using the WSDL file.  Now due to security reasons we need to pass Soap Header in the webservice call. Can you please help on how to pass soap header in the webservice call ?
    Please find the below webservice code/
    Long ll_ret
    edpmdata ll_ReturnVal
    edpmreq lnv_Request_data
    //filter lnv_filter
    Datawindowchild dwc_child
    str_pass l_str_pass
    long l_l_row_count, l_l_row
    String l_s_code, l_s_modify, l_l_ret
    String str_proxy_name = "sohedpmservice"
    String l_s_delivery_pref, l_s_email
    String ls_url, l_s_ini_file
    l_s_ini_file = g_nv_ini.fnv_get_name ()
    ls_url = ProfileString(l_s_ini_file,"External", "EDPM_URL", "")
    Soapconnection lsc_Conn
    sohedpmservice lproxy_obj
    lsc_Conn = create Soapconnection
    SetPointer (Hourglass!)
    Try
    ll_ret = lsc_Conn.CreateInstance(lproxy_obj, str_proxy_name, ls_url)
    Catch (SoapException e )
    Error.fnv_error("0001", This, "ue_process_fields","Error Creating Instance","",FALSE,1,0)
    Message.ReturnValue = -1
    RETURN -1
    end try
    IF ll_ret <> 0 THEN
    Error.fnv_error("0001", This, "ue_process_fields","Error Creating Instance","",FALSE,1,0)
    Message.ReturnValue = -1
    RETURN -1
    END IF
    Try
    lnv_Request_data = create edpmreq
    lnv_Request_data.value = l_s_party_key
    ll_ReturnVal = lproxy_obj.getcommpref(lnv_Request_data)
    If ll_ReturnVal.ws_serviceresult.resultcode = '5' Then
       Error.fnv_error("0001", This, "ue_process_fields",String(ll_returnval.ws_serviceresult.ws_resultinfo) ,"Error Response ", FALSE, 1,0)
       Message.ReturnValue = -1
    RETURN -1
    End if
    l_s_delivery_pref = ll_ReturnVal.deliverymethod
    l_s_email = ll_ReturnVal.emailaddr
    i_str_pass.s[86] =  l_s_delivery_pref
    i_str_pass.s[87] =  l_s_email
    i_str_pass.s[88] = l_s_party_key
    Catch ( SoapException a )
    Error.fnv_error("0001", This, "ue_process_fields","Error Response","Error Response",FALSE,1,0)
    Message.ReturnValue = -1
    RETURN -1
    end try
    Destroy lsc_Conn
    Return 1

    What version of PowerBuilder?
    PB.Net or Classic?
    Are you using the SOAP or .Net Engine (if using Classic)?
    What kind of header?
    There is limited support for passing custom headers in the .Net engine in Classic.  The header would need to be defined in the WSDL for the service.
    Anything beyond that (e.g., WS-Security) would need to be handled in a WCF client in PB.Net.

  • Soap Header in Xcelsius: How to pass Credentials

    Using Xcelcius 2008 (Excelcius Engage)  We are making a dashboard application which uses the Web service connection to call SOAP based web services.
    Is there a way to Authenticate the Web Services passing User ID pwd from within one of the excel cells?
    The idea is to suppress the authentication and pass the credentials from within the excel cell or any other way which doesn't require user to log in to the Web services while running the Dashboards?
    Also I found out an option in Web Service Connection -> Advanced Tab to add a soap header which can include credentials. Is there a format in which I need to create this soap header? Any sample Soap Header would be of great help.

    I'd like to know how to do this also, seems silly to have the option to use web services but give no way of passing Basic Authentication credentials.
    Cheers
    Craig

  • Passing data in SOAP Header

    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,
    Harsh

    Hi 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>

  • Consume web service in ABAP proxy with SOAP header

    Hi Thomas ,
    I am trying to consume web service in  ABAP . I have followed the procedure from one of your web blog <a href="/people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap a Developer's Journal Part XIV - Consuming WebServices with ABAP</a> . (640 release).
    I need to pass SOAP header along with SOAP body. As you mentioned I have used if_wsprotocol_ws_header interface to pass header but it is still failing.
    Please see below code and please give some direction to fix the issue.
    1.Create ABAP proxy for WSDL (http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL). It has created structures only for SOAP body.
    2.Create Logical port
    3.Create following program to call proxy
    REPORT  zproxy.
    DATA: ref_stock TYPE REF TO zzco_stock_quotes_soap ,
          ws_header TYPE REF TO if_wsprotocol_ws_header,
          name TYPE string,
          namespace TYPE string.
    TRY.
        CREATE OBJECT ref_stock
      get WS_HEADER protocol
        ws_header ?= ref_stock->get_protocol('IF_WSPROTOCOL_WS_HEADER').
      set somehow header as iXML-DOM tree
        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.
        DATA l_xstring        TYPE xstring.
        DATA l_string         TYPE string.
        FIELD-SYMBOLS <fs_xstring> TYPE xstring.
      Additional Header:
        CONCATENATE
    '<soap:Header>'
    '<s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">'
    '<s1:RegisteredUser>'
    '<s1:UserID>[email protected]</s1:UserID>'
    '<s1:Password>aaaaaaaa</s1:Password>'
    '</s1:RegisteredUser></s1:LicenseInfo>'
    '</soap:Header>' INTO l_string.
      convert to xstring
        l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
        IF NOT l_string IS INITIAL.
        create iXML DOM document from XML xstring
          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( ).
          add header element by element to SOAP header
            WHILE NOT xml_element IS INITIAL.
              name = xml_element->get_name( ).
              namespace = 'http://swanandmokashi.com' . "xml_element->get_namespace_uri( ).
              IF NOT xml_element IS INITIAL.
              ENDIF.
              ws_header->set_request_header(
                          name = name
                          namespace = namespace
                          dom = xml_element ).
              xml_element ?= xml_element->get_next( ).
            ENDWHILE.
          ENDIF.
        ENDIF.
      CATCH cx_ai_system_fault .
    ENDTRY.
    *Call soap body using abap proxy class.
    DATA: get_quotes TYPE zzget_quotes_soap_out .
    DATA: get_quotes1 TYPE zzget_quotes_soap_in .
    get_quotes1-quote_ticker = 'GE'.
    TRY.
        CALL METHOD ref_stock->get_stock_quotes
          EXPORTING
            get_quotes1 = get_quotes1
          IMPORTING
            get_quotes  = get_quotes.
      CATCH cx_ai_system_fault .
      CATCH cx_ai_application_fault .
    ENDTRY.
    4.It is throwing cx_ai_system_fault error.
    SOAP details:
    Input:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding" >
    <soap:Header>
    <s1:LicenseInfo xmlns:s1="http://ws.strikeiron.com">
    <s1:RegisteredUser>
    <s1:UserID>[email protected]</s1:UserID>
    <s1:Password>aaaaaaaa</s1:Password>
    </s1:RegisteredUser>
    </s1:LicenseInfo>
    </soap:Header>
    <soap:Body>
    <tns:GetQuotes xmlns:tns="http://swanandmokashi.com">
    <tns:QuoteTicker>GE</tns:QuoteTicker>
    </tns:GetQuotes>
    </soap:Body>
    </soap:Envelope>
    Thanks,
    Kavitha.

    Hi ,
    Thank you for the response. Did you passed user email and password ([email protected] /aaaaaaaa) part of licenseinfo->resisteredUser along with Quoteticker GE in analyzer?
    <a href="http://www.strikeiron.com/Analyzer/OnlineAnalyzer.aspx?WSDL=http://ws.strikeiron.com/SwanandMokashi/StockQuotes?WSDL">ANALYZER</a>
    Thanks,
    Kavitha.

  • Add field inside SOAP header PI 7.1

    Hello,
    by proyect needs we need to add into SOAP header some dynamic information
    (Web Services calls to target systems from PI 7.1). This information is
    needed in target application for validating permissions of the web
    services calls.
    The tags are
    <soap:Header>
    <CarHeader xmlns="http://xxxxx.xxxxxxxx.xxx.org/">
    <TicketCar>xxxxxxxxxxxxxxxxxxxxxx......</TicketCar>
    </CarHeader>
    </soap:Header>
    TicketCar's value (xxxxxx....) will be different in each call.
    We think that this is not possible with standar or Axis PI SOAP receiverchannel and a solution could be making a Abap mapping for composing the
    SOAP call with this tags and values, and in the comunication channel
    check the parameter "Do not use SOAP Envelope".
    It's rigth? Is there any other solution for doing it?
    An example of a call will be:
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
    <CarHeader xmlns="http://xxxxx.xxxxxxxx.xxx.org/">
    <TicketCar>C4A8A61D86C56DC27......</TicketCar>
    </CarHeader>
    </soap:Header>
    <soap:Body>
    <E000xx xmlns="http://xxxxx.xxxxxxxx.xxx.org/">
    <_request>
    <NumeroExpedienteAdministrativo>xxx</NumeroExpedienteAdministrativo>
    <CodigoDocumentoInterno>xxx</CodigoDocumentoInterno>
    <Status>xx</Status>
    <NumeroExpedienteContable>xxx</NumeroExpedienteContable>
    </_request>
    </E000xx>
    </soap:Body>
    </soap:Envelope>
    Any idea will be welcome
    Edited by: Ramon Coma Alcantara on Feb 2, 2010 4:15 PM

    Hi Ramon,
    The axis adapter comes with a convenient header insertion handler where you can insert an arbitrary header using a template.
    For example, you can define a template like this in the module configuration.
    <x:header xmlns:x="urn:x"><me>i say </me><you>you say </you></x:header>
    where , , ... are variable place holders.
    and you associate these variables with any context value available in the message.
    For example, when you pass Hello and Bye for these variables, you soap message will get the header:
    <x:header xmlns:x="urn:x"><me>i say Hello</me><you>you say Bye</you></x:header>
    You can look at the examples described in Note 1039369 Axis Adapter FAQ.
    As I said before, the mileage you can go with the do-not-use-envelope mode is very limited. But if you are happy with it, why not.
    Best regards, Yza

  • Handling SOAP HEADER using SOAP Receiver Adapter

    Hi Experts,
    I need to implement SOAP Receiver Scenario and passing ( Header fields  User, Password and token)  I have seen a lot of scenario using a XSLT Mapping, to handling the SOAP Header. So  need to help to understand some details:
    Suppose I need to implement the SOAP Header below? In this case I need add only the fields u201CUsername, Password and AuthenticationTokenu201D. I created the XSLT Transform, the source XML? Where I put it? Or can create it into Message Interface?
    Is it possible to do this in Java Mapping?
    Thanks!
    Best Regards
    Fábio Ferri
    <soap:Header>
          <v1:ExecutionHintHeader>
             <v1:Name></v1:Name>
             <!Optional:>
             <v1:Arguments>
                <!1 or more repetitions:>
                <v1:Argument Name="?" Value="?"/>
             </v1:Arguments>
          </v1:ExecutionHintHeader>
          <v1:CredentialsHeader>
             <!Optional:>
             <v1:Username>pi</v1:Username>
             <!Optional:>
             <v1:Password>jhjhjjhjhjius</v1:Password>
             <!Optional:>
             <v1:AuthenticationToken></v1:AuthenticationToken>
          </v1:CredentialsHeader>
       </soap:Header>

    You need to put XSLT mapping in 2° step mapping in request.
    SourceMessageRequest -> Message Mapping -> XSLT Mapping -> DestinationMessageRequest
    If you test mapping program, this should be working fine.
    In adapter module, put localejbs/AF_Modules/MessageTransformBean with parameter value text/xml; charset=utf-8 and correctly set Conversion Parameter "Do not use Soap Envelop"
    XSLT Request Mapping
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Header>
    <ServiceAuthHeader  xmlns="http://WIND.WEBSERVICES.DMS/">
    <Username>USER</Username>
    <Password>PASSWORD</Password>
    </ServiceAuthHeader>
    </soap:Header>
    <soap:Body>
    <xsl:copy-of select="*"/>
    </soap:Body></soap:Envelope>
    </xsl:template>
    </xsl:stylesheet>

  • Consume web service in ABAP with SOAP header

    I'm trying to call a SalesForce Web Service from ABAP.
    After the login I use the WS_HEADER to pass header information.
      TRY.
    Additional Header:
          CONCATENATE
          '<soap:Header>'
          '<s1:SessionHeader>'
          '<s1:sessionId>' login_output-result-session_id '</s1:sessionId>'
          '</s1:SessionHeader>'
          '</soap:Header>' INTO l_string.
    convert to xstring
          l_xstring = cl_proxy_service=>cstring2xstring( l_string ).
          ws_header ?= obj_add->get_protocol('IF_WSPROTOCOL_WS_HEADER').
          IF NOT l_string IS INITIAL.
    create iXML DOM document from XML xstring
            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( ).
    add header element by element to SOAP header
              WHILE NOT xml_element IS INITIAL.
                name = xml_element->get_name( ).
                namespace = xml_element->get_namespace_uri( ).
                namespace = 'urn:partner.soap.sforce.com'."xml_element->get_namespace_uri( ).
                IF NOT xml_element IS INITIAL.
                ENDIF.
    get WS_HEADER protocol
                ws_header->set_request_header(
                name = name
                namespace = namespace
                dom = xml_element ).
                xml_element ?= xml_element->get_next( ).
              ENDWHILE.
            ENDIF.
          ENDIF.
        CATCH cx_ai_system_fault .
      ENDTRY.
    I get the following exception: CX_SXML_PARSE_ERROR
    I guess the error has to do with the wrong description of the additional header.
    In soapUI the header looks like that:
       <soapenv:Header>
          <urn:SessionHeader>
             <urn:sessionId>1234567890</urn:sessionId>
          </urn:SessionHeader>
       </soapenv:Header>
    Is there somebody who knows how I should "translate" this to ABAP?
    Thanks,
    Daniel

    Hi Jelena
    Thanks for your answer.
    I've already created the proxy.
    The question is how or where I get the correct format for the header of this string in ABAP:
    CONCATENATE
    '<soap:Header>'
    '<s1:SessionHeader>'
    '<s1:sessionId>' login_output-result-session_id '</s1:sessionId>'
    '</s1:SessionHeader>'
    '</soap:Header>' INTO l_string.
    This example is wrong. I get the following error: CX_SXML_PARSE_ERROR
    As I mentioned before in soapUI the header looks like that:
    <soapenv:Header>
    <urn:SessionHeader>
    <urn:sessionId>1234567890</urn:sessionId>
    </urn:SessionHeader>
    </soapenv:Header>
    Daniel

Maybe you are looking for

  • 'BAPI_POEC_CREATE' function doesn't work with extended classic scenario

    Hi everybody. Antecedents: We are working in an extended classic scenario. When we create a Purchase Order via ITS in SRM, the system works ok, the PO is replicated in the ERP system. But when we execute “BAPI_POEC_CREATE” function module in order to

  • SAP Retail Project - Assembly Order configuration

    Dear all, We are into SAP Retail Project, as per the process we have to generate an assembly order to our internal workshop to assemble the product. this assembly order has to generate from sales order. Articles required to assembly will be maintaine

  • Correct mapping of NUMC

    Hi, After upgrade to SAP_GWFND 740 SP7 we are getting some errors due to mapping of NUMC to edm.string. Can anyone tell me the correct and recommended way of mapping NUMC to an EDM datatype? From the best practices here OData Best Practices - SAP Net

  • How to delete the photo that had been sync into iphone from windows

    I have sync my picture from Computer into the iphone, the it automatically sync 2 same folder into the photo album. Im trying to delete it but cant, cant even find the file using the computer. Pls help

  • Problem Using GetNetText when accessing secured (https) sites

    I have been having trouble getting GetNetText & PostNetText to work with a secured (https) server. I need to execute PHP files located on this server. I have heard of SecureNet Xtra but before I try it I want to ask if there are other ways to do this