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

Similar Messages

  • Username and password through SOAP header

    Hi Gurus
    I am developing web service model in webdynpro by consuming third-party WSDL. This third party web service expecting me to send the user name &password through SOAP header.
    Can any body tell me how to pass the username password through SOAP header using webdynpro model?

    Hi,
       In WD there's no direct way to access the SOAP message header. If the web service defines implicit headers in JAX-RPC then you have to use the setProperty methods of the javax.xml.rpc.Stub interface so that the JAX-RPC handler can retrieve these via the getProperty methods.
    Regards,
    Satyajit.

  • Pass parameter through standard page "import xml content and actions"

    Dear Portal experts,
    As you know, a standard portal page is configured to allow the import of XML file. It is located in the portal in the path system admin -> transport -> xml content and actions -> import
    I configured a quick link u201Cimportu201D to the page so now the link http://myserver:port/irj/portal/import allows me to access directly to this screen.
    What I would like to do now is to pass the parameter related to u201Cfile nameu201D through this screen meaning that I would like that http://myserver:port/irj/portal/ import/filename=C:\test.xml  fills automatically the fields u201CXML fileu201D with  C:\test.xml 
    Please do you know how to achieve this ?
    Thank you very much and regards

    hi,
    @Maksim :
    When user launch an URL like http://myserver:port/irj/portal/ import/*filename=C:\test.xml, he is requested to provide username and password; as this link is a shortcut for the upload xml page, there is a check of authorization and only portal admin that have authorization and permission on this page/iview will be able to upload xml file through the URL. Hope this clarify.
    @Kumar :
    thank you for your answer. What a pity to not be able to pass parameter through standard portal page/iview particularly knowing that we can pass paramater through many kinds of iviews (transactional iview, url iview, VC iview...). I explored some option on file com.sap.portal.ivs.init.par but this was unsuccessful. However, thanks to this [link bellow|http://wiki.sdn.sap.com/wiki/display/Snippets/ComponenttouploadXMLfilewithPCD+objects], I was able to upload through URL the XML file.
    The problem is that I can upload only XML file that are stored in the server not in the local user computer. My requirement is to be able to upload local XML file stored on user's computer.
    If someone could provide and idea/solution, I would be very grateful.
    Cheers

  • 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

  • Pass Parameter Through REST API into PivotChart in Excel Services 2013

    Is it possible to pass a parameter through the REST API into the filter of a PivotChart and return a filtered view of the chart?  I've figured it out mechanically, and can pass the parameter in - but the chart doesn't refresh with the new filter.
    For the record, I've looked at all of the online documentation on passing parameters and you'll note those all depict passing parameters into a table - not a PivotTable.
    Curious if Excel Services 2013 has made any progress in that regard.
    Thanks in advance...
    Andrew Lavinsky [MVP] Blog: http://azlav.umtblog.com Twitter: @alavinsky

    Obviously it's not working for pivot tables/charts. Just found this in the SharePoint logs:
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    d64g Medium  
    UserOperation.Dispose: Disposing Microsoft.Office.Excel.Server.CalculationServer.Operations.RestChartPngOperation, WebMethod: ProcessRestRequest.
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    04/06/2014 22:21:36.01 w3wp.exe (0x0920)                      
    0x1428
    Excel Services Application     Excel Calculation Services    
    ecc4 Medium  
    ExcelServiceBase.EndProcessOperation: Found an exception on the AsyncResult of an operation which has not been departed from. Exception is Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceBase+EcsFaultException:
    Cannot change cells in a PivotTable report. (Fault Detail is equal to Microsoft.Office.Excel.Server.ExcelServerMessage).
    09ae849c-bf78-50fd-d9b9-915fd27bf5e1
    Disappointing...

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

  • Sending parameters through SOAP header

    Hi all..
    Iam using web services model in my web dynpro application. How will i send some paramters/info in SOAP header??

    Hello Sujesh,
    In your last thread of SOAP Headers I tried to paste the link containing some information on it's usage, but today when i navigated to the link it took me to different location , so the below message
    The SOAP Headers Protocol
    Definition
    In some scenarios, the client may need to add SOAP headers to the request. This can be done using the SOAP headers protocol, which can be accessed by SOAP Web services. This protocol is not available to Web services with HTTP GET or POST bindings.
    The SOAP headers protocol is a client runtime plugin located in com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.SoapHeadersProtocol.
    Use
    To get an instance of the protocol, use:
    SoapHeadersProtocol headers = (SoapHeadersProtocol) ((BaseGeneratedStub) client)._getGlobalProtocols().getProtocol("SoapHeadersProtocol");
    Structure
    The Service Endpoint Interface (SEI) is typecasted to BaseGeneratedStub, which exposes the internal plugin methods of the client:
    com.sap.engine.services.webservices.jaxrpc.wsdl2java.BaseGeneratedStub
    The basic methods of the SOAP headers protocol are as follows:
    ·        headers.setOutputHeader(new Name("urn:myuri.com","myHeader"),value) – With this method you can pass, as a value, any schema-derived element type that is generated by the proxy generator for your client or generic DOM element.
    Remember that all header elements must be namespace-qualified and, if you use a schema-derived value, it must be declared by the schema element as follows:
    <xs:element name="myHeader" namespace="urn:myuri.com" type=”tns:myType”/>
    ·        The methods for getting response headers are as follows:
    ¡        headers.getInputHeader(headerName:QName):Element – Returns the DOM element with the header content response
    ¡        headers.getInputHeader(headerName:QName,headerClass:Class):Object – Deserializes the schema-declared header in the response class
    and once again the link http://help.sap.com/saphelp_nw04/helpdata/en/45/f957507cb343f78e818c50620ed5ca/frameset.htm
    Good Luck,
    Dharmi

  • Passing parameter through url to report

    Hi
    I'm sorry if this question already exist anywhere in forum i didnt found it.
    so my question is:
    CAN I PASS PARAMETER VIA URL TO REPORT USING WEBFORM
    i don have RAS(Because in beta version of 2008 is this not included)
    I tried
    http://localhost/CRWEB/Default.aspx?param0="value" ->here i'm prompt for value instead of showing report with set value
    and
    http://localhost/CRWEB/DocumentDoc.rpt?param0=krneki&init=html_page -> here i prompt to save rpt file
    so But both doesnt work!
    OR it is necessery to have RAS to pass parameters through url
    thanks for quick answer

    URL reporting and RAS are not available with CR2008. To view reports over the web you will need to use the Crsytal Reports for .NET runtime engine inside a .NET app. This engine is licensed with CR 2008.
    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

  • How to pass parameter through URL to bounded task flow with page fragment

    I want to pass parameter to Bounded Task Flow With Page Fragment trough URL
    as I start this taks flow with router and according to this Param I will rout the user.
    I added input param to taks flow named direction and make the task flow called URL invoke url-invoke-allowed
      <input-parameter-definition id="__41">
          <name id="__42">direction</name>
          <value>#{pageFlowScope.direction}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>but I don't know how to add this to the JSPX that I will add the bounded task flow Inside.
    and How to pass this from URL

    Hi,
    url-invoke-allowed is only required if the task flow itself is directly accessible from a browser (which is not the case at all if the task flow uses page fragments). To pass input parameters to a task flow that is embedded in a region and that has input parameters, you define the input parameters on the taskFlow Id that is created in the PageDef file of the containing page. To learn ADF task flows, have a look at the videos below. They also contain a sample for passing parameters to a region
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p1/taskflow-overview-p1.html
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p2/taskflow-overview-p2.html
    Frank

  • Passing parameter through when mouse click trigger

    I have a detail block.This block fetching multiple records.My query is how can i pass parameter though WMC trigger.
    My details block displaying data from 4 tables.
    When i click on any field all the data on that row must be my parameters.

    In first form in when mouse click trigger:
    SELECT xyz
    INTO :GLOBAL.xyz,
    FROM abc
    WHERE v.po_no = :SYSTEM.MOUSE_ITEM
    AND IMT21_SIT.C_SIT_NO = IMT22_RECT_HD.C_SIT_NO;
    EXCEPTION WHEN NO_DATA_FOUND THEN
         MESSAGE('PLEASE CLICK ON PO NO');
    logout;
    logon('abc','[email protected]');
    open_form ('C:\CUSTOMER_SERVICES\SUPL_FAS');
    in second form in when new form instance trigger:
    block_name.field_name := :GLOBAL.xyz;
    it show error..........

  • 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

  • Exception "main" javax.xml.ws.soap.SOAPFaultException: Missing SOAP Header

    Hi
    I need to integrate E-Business Suite with ADF using JAX-WS proxy client. When I tried to invoke a method exposed in webservices, I am getting the below error
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Missing in SOAP Header
    how to pass password with SOAP header?
    In a thread "https://forums.oracle.com/forums/thread.jspa?threadID=2125723", they mentioned to include "wss_username_token_client_policy" and to set override property to set user/pw from a csf key. I included that policy while generating the proxy client in "Step 7" and after then what should I do?
    Is it the only way to invoke secured webservices? if not what are the ways to do it?
    Can anyone give me good example or sample codes to invoke secured webservice through "JAX-WS Proxy client"
    Thanks

    I suppose that this is duplicate of How to pass username/password through WebService proxy client to E-BS.
    For full example check: http://www.javadb.com/using-a-message-handler-to-alter-the-soap-header-in-a-web-service-client
    Dario

  • SOAP Header in web dynpro

    Hi,
    Iam using web service model. I have to send some parameters through SOAP header. How can i do this?? pls help.

    Hello Sujesh,
    There is a posibility to use SOAP Header if you are using PHP. If yes have a look at this link
    http://uk.php.net/manual/nl/function.soapheader-soapheader.php
    if no, sorry I have no clue.
    Regards,
    Dharmi

  • Split/Join, Invoke Service and SOAP Header in osb10.3 wls10.3

    Hi gurus,
    Are Split/Join able to invoke external services with a custom SOAP header?
    I have a split join to call 2 external business services in parallel. Those 2 external services requires a custom SOAP Header
    <soapenv:Header>
    <v1:ConsumerRequestHeader>
    <v1:requestSessionID>TEST_1</v1:requestSessionID>
    <v1:requestTimestamp>2011-06-16T16:57:54.943+02:00</v1:requestTimestamp>
    </v1:ConsumerRequestHeader>
    </soapenv:Header>
    All WSDLs were configured by the instructions of this link : http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/eclipsehelp/tasks.html#wp1150628, but in my debuging, the SOAP header is disappeared when calling those external services from the splitjoin. (No problem if designing and testing with the ProxyService. but Proxyservice is useless here because of parallel processing)
    When designing with OSB Workshop IDE, there is no way to pass the custom SOAP header to the "Invoke Service", only the body request/response message.
    My question is, Split/Join automatically uses its header to pass it into the invoke call ?
    Please advise...
    Thanks,

    see this :https://forums.oracle.com/thread/951618
    not the most fancy way, but you can create some sort of  wrapper proxyservice in front of your business service to make it work

Maybe you are looking for

  • Unable to load php file into native window..

    Hi Guys, Im using flash cs3 as my development environment. what i was trying to do is creating a small login application using Air. I must say im still a newbie to flash air. as far as my login system concern i have managed following tasks, 1. send u

  • Colour looks wrong

    I am not sure if this is normal or if I had not noticed it before but the colours and not clear. I is like is you set a Windows PC to use 16 bit color! This appears to have happened after using a Mini DVI to Video converter. Is it just me?

  • MOVED: 880gm-e43 with Crucial SSD = very slow windows boot times

    This topic has been moved to Windows 64bit. https://forum-en.msi.com/index.php?topic=155325.0

  • Flash videos play in preview, but not live website...

    I have embedded .FLV video files into my website.  The videos play in my preview browser with no problems.  When I upload them to my live site, and try to view them on the web, there is just a white space where they are supposed to be, and they do no

  • Always get disconnected?

    I have a macbook and i am using a linksys system N wireless router. Its 2 feet away. Now the problem i am having is i am always getting disconnected at night from everything. I will be on yahoo instant messenger, aol instant messenger and the enterne