Problem in assiging header to invoke an  external  webservice.

HI,
I want to assign some additional elements to the header when invoking an external webservice.
I am creating a variable named customHeader and it contains an element of anytype.
later in the assign activity i am assigning the following
<copy>
<from expression="ora:parseEscapedXML('&lt;payload>&lt;payloadManifest xmlns=&quot;http://www.starstandards.or/webservices/2003/12/transport&quot;>&lt;manifest xmlns=&quot;&quot; id=&quot;Content0&quot; namespaceURI=&quot;http://www.starstandards.org/STAR&quot; element=&quot;ProcessSalesLead&quot;/>&lt;/payloadManifest>&lt;/payload>')"/>
<to variable="customHeader"
query="/client:CustomHeader"/>
</copy>
so in the soapmessage the header is added as below:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:x
sd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchem
a-instance"><env:Header><CustomHeader xmlns="http://xmlns.oracle.com/BODMessageS
ender"><payload xmlns=""><payloadManifest xmlns="http://www.starstandards.or/web
services/2003/12/transport"><manifest id="Content0" namespaceURI="http://www.sta
rstandards.org/STAR" element="ProcessSalesLead" xmlns=""/></payloadManifest>
but I donot need that customHeader part to be added.My header should be like this:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Header>
<payloadManifest xmlns="http://www.starstandards.org/webservices/2003/12/transport">
<manifest id="Content0" namespaceURI="http://www.starstandards.org/STAR"
element="ProcessPartsOrder" />
</payloadManifest>
</soap:Header>
<soap:Body>
<ProcessMessage xmlns="http://www.starstandards.org/webservices/2003/12/transport">
<payload>
<content id="Content0">
<ProcessSalesLead>
</ProcessSalesLead>
</content>
</payload>
</ProcessMessage>
</soap:Body>
</soap:Envelope>
can anyone Please help me on this.This is very urgent.
Thanks in advance
deepthi.

anybody has idea about this .Please let me know.

Similar Messages

  • Facing issue in invoking an external webservice from 11G Bpel

    Hi,
    I am facing an issue in Invoking PIM webservice from 11G soa.. getting the following error in the invoke activity(Invoke calls PIM webservice).. the same thing used to work in 10.1.3.4 where i set username/pwd in the bpel.xml for that partnerlink. here in 11G i did it through "Configure WS policy"     and setting oracle/wss_username_token_client_policy to true..
    the error message is
    <messages>
    <input>
    <PublicationService_GetBatchSystems_InputVariable>
    <part name="body">
    <PublicationService_GetBatchSystems>
    <batchAndLang>
    <BatchId>1543</BatchId>
    </batchAndLang>
    </PublicationService_GetBatchSystems>
    </part>
    <part name="header">
    <ServiceBean_Header/>
    </part>
    </PublicationService_GetBatchSystems_InputVariable>
    </input>
    <fault>
    <bpelFault>
    <faultType>
    <message>0</message>
    </faultType>
    <remoteFault>
    <part name="summary">
    <summary>InvalidHeader: Invalid or missing header in request.</summary>
    </part>
    <part name="detail">
    <detail>javax.xml.ws.soap.SOAPFaultException: InvalidHeader: Invalid or missing header in request.</detail>
    </part>
    <part name="code">
    <code>null</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    <faultType>
    <message>0</message>
    </faultType>
    </messages>
    i compared the payload from 10G and 11G the only difference i could find is the order of soap body and header is different.. is it because of this??
    i checked in wsdlt the order is correctly declared (first header then body).. but whenever i am creating a variable on this Msg type.. and expanding the variable in jdev the order is getting reveresed.. not sure why?? there is no change in the flow from 10G to 11G.. apart from the migration.

    Thanks.. This works..
    But it gets lost whenever we redeploy that process..
    And of course even though I am seeing http user & http password can be configured in composite.xml.. It is not taking effect..
    After redeploy, still the HTTP UserName & Password is blank.
    <reference name="ABC"
    ui:wsdlLocation="ABC.wsdl">
    <interface.wsdl interface="http://oracle.abc/#wsdl.interface(WSDL_INTERFACE)"/>
    <binding.ws port="http://oracle.abc/#wsdl.endpoint(ABC/ABCHttpPort)"
    location="ABC.wsdl">
    <wsp:PolicyReference URI="oracle/wss_username_token_client_policy"
    orawsp:category="security" orawsp:status="enabled"/>
    <wsp:PolicyReference URI="oracle/log_policy" orawsp:category="management"
    orawsp:status="enabled"/>
    </binding.ws>
    <property name="oracle.webservices.auth.username" type="xs:string"
    many="false" override="may">username</property>
    <property name="oracle.webservices.auth.password" type="xs:string"
    many="false" override="may">password.xxxxx</property>
    </reference>
    Client is interested in solving only through code not through UI..
    Any thoughts..
    Edited by: Raj.Sunnyvale on Mar 24, 2010 11:26 AM

  • Invoking an external webservice in OBIEE 11G

    I'm trying to create a very basic action to invoke an free external web service. But no matter what WSDL URL I use, I'm getting a SOAP Invocation error saying "Failed to read wsdl file at https://.... "
    I've used the following test URLs, but both result in the same SOAP invocation error
    http://www.webservicex.net/ConvertTemperature.asmx?WSDL
    https://ws.cdyne.com/creditcardverify/luhnchecker.asmx?wsdl 
    However, both these WSDL URLs can be accessed if I plug them into my browser address field. So I'm thinking I need to change my OBI web proxy settings or something to that effect..
    Appreciate any advise on this.
    thanks,
    Akshay

    Would really appreciate some help with this issue. Thanks!

  • BPEL or OSB consume external webservices

    Hello all ,
    After I look over documentation and - Getting Started With Oracle SOA Suite 11g R1: A Hands-On Tutorial: Fast-Track Your SOA Adoption: Build a Service-Oriented Composite Application in Just Hours - still is not clear how can I consume a web-service hosted on other system - for example Websphere or SharePoint .
    I had a example one web service register
    <service name="DonateBeanService">
    <port binding="tns:DonateBeanPortBinding" name="DonateBeanPort">
    <soap:address location="http://localhost:8888/TestTopDown/services/DonateBeanPort"/>
    </port>
    </service>
    on my WAS CEE server .
    When I tried to made a business service in OSB - I imported the wsdl - create a new business service -add monitor capabilities but the call is not made to the service endpoint .
    Also inside BPEL how can I invoke a external webservice .
    Can anyone help me please with some points or advices ? What is wrong in the approach ? In the end OSB capabilities should allow me to integrate with other systems very easy .
    Many thanks in advance for all .
    And a HAPPY NEW YEAR .
    Best regards,
    Stefan

    how can invoke from inside a BPEL the same service ? or in the BPEL is better to have only local web-services BPEL can also invoke the same service. To know more about BPEL, please refer -
    http://www.oracle.com/technetwork/middleware/bpel/overview/index-088867.html
    Post BPEL related questions in BPEL forum -
    BPEL
    And the last one - if I need to read information from a file and send parameters to this webservice - how I will do it on the OSB ?Create a messaging type/Any XML proxy service in OSB with FILE/FTP transport (as per your requirement). In message flow of proxy service you may use XQuery/XSLT/MFL to transform the content of the pulled file into the XML required for calling web-service. Use communication actions to call business service from proxy service message flow. You may like to refer -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/toc.htm
    Regards,
    Anuj

  • Problems backing up I-tunes library to external hard drive.

    Help - I'm having problems backing up I-tunes library to external hard drive. The drive appears on the desktop but when I try to drag in my i-tunes music folder I just get the circle with a line through it symbol. I can drag items from my mac to a different 4 gig memory stick with no problems. I put some music onto the hard drive from a windows p.c. and that dragged into my i-tunes fine. Any help would be much appreciated.

    i'm guessing the external HD is NTFS formatted, which your Mac cannot write to (read only).
    you will either have to reformat it (FAT32 or, better yet, for Mac) or install the _*NTFS 3G*_ driver.
    JGG

  • Invoking an external web service through a JCD with Basic Authentication

    Group,
    I am trying to invoke an external web service (written in ASP.Net) from a jcd (5.1.2). The web service is guarded by Basic Authentication. I have entered the crudentials into the External Web service environment component and deployed the project. I receive the following error from the .invoke() method:
    request requires HTTP authentication: Unauthorized
    I have tried the same request through SoapUI using the same crudentials and get back the response correctly. Has anyone tried invoking an external web service with basic authentication through a jcd in 5.1.2 before?
    One other item of note. I have another jcd calling a different external web service deployed on the same domain. I hope that this isn't interfering with the execution of this service as it doesn't require any crudentials to execute.

    Hey Chris.
    I am just starting to write a jcd that calls an external web service but cannot find any sample code nor instructions on how to do it in the supplied documentation. Could you send me a code sample from your one?
    Cheers
    Matt

  • Adding authentication in header while consuming external webservice

    Hi,
    I am using oracle soa suite 11g, while consuming an external webservice i have to add authentication in header before sending request.
    I want my header in request to look like this:
    <soapenv:Header>
    <urn:Authentication>
    <urn:username>user1</urn:username>
    <urn:password>pass1</urn:password>
    </urn:Authentication>
    </soapenv:Header>
    if anyone has any idea then please share.
    Regards

    please look at this and see whether that helps you..
    Re: Creating a partnerlink  from a secure webservice

  • I have a 17" Macbook pro with flickering red and cyan(blue) lines across the screen. The issue disappears temporarily when I tap on the computer, and the problem does not occur when I use external display or try to screen capture the problem.

    I purchased my Macbook (17") through a certified apple tecnition in August 2012, it was refurbished and the motherboard was completely replaced. I do a lot of photo editing, but I have been unable to do so because of the red vibrating lines that interrupt my screen. The issue disappears temporarily when I tap on the computer, and the problem does not occur when I use external display or try to screen capture the problem. I brought the computer back to the technition I purchased it from and he said that it was a problem with my fan, so I have two new fans but the issue is still occuring. He says he doesnt know whats wrong. Does anyone have any information on this issue?
    Here is an image of the issue
    http://www.flickr.com/photos/67839707@N08/8884847081/

    I recommend having your Mac serviced by someone competent. A force sufficient to "blow apart" the fans was clearly excessive and may have damaged the display cable, as well as any number of other problems.
    Dust is properly cleaned with a vacuum, preferably one designed for computer service, and they are not cheap.
    Compressed air should never be used. It just blows dust everywhere, often into places where it can no longer be removed.

  • Problem: Invalid BTree Header

    I don't use 9.2.2 much but could it be a problem for 10.4.7? on 9.2.2 I get: Problem: Invalid BTree Header all the time after running Disk first aid again and again. It says it fixed the problem but the error keeps comming back.
    I know this has been disscussed elsewhere but I could not find a definite answer on what to do. I will not use Norton. Please help.
    W.W.

    Hi Walter;
    If DW can touch the problem, about the only solution left is to reformat and reinstall now.
    One question, you did run DW while booted from another disk? If not, DW is not able to repair the disk that the operating system is running from.
    Allan

  • Problem invoking document type webservices with SAAJ

    I cannot invoke document type webservices with SAAJ. No problems invoking rpc-style services. Can anyone help me to invoke doc-type webservices with SAAJ. Very urgent. Thank you.

    Siva Sankar
    You may use Field Exit to do this enhancement. You can create fieldexit from report RSMODPRF.
    In order to use field exit check/activate Profile Parameter abap/fieldexit using t code RZ11.
    Thanks & regards
    Amol Lohade

  • XML Parse problem consuming external webservice

    Hi all,
    I'm testing consuming an external webservice from a WAS 6.40 client. I generated an ABAP proxy for it .
    I managed to get the correct soap request out and receiving the response, but while parsing the SOAP XML response back into the output parameter, I'm running into a parse error :
    - <CX_XMS_SYSTEM_ERROR>
      <ID>PARSE_APPLICATION_DATA</ID>
      <P1>Response Message</P1>
      <P2>CX_ST_MATCH_TYPE</P2>
      <P3>/1SAI/TXS00000000000000000003</P3>
      <P4>XML Bytepos.: 354 XML Path: root(1)ns1:checkValidSerialNumbersResponse(1)checkValidSerialNumbersReturn(1) Error Text: System expected a value for the type g</P4>
      <INFO />
      <CATEGORY>XIProxy</CATEGORY>
      <AREA>ABAP</AREA>
      <RETRY>M</RETRY>
      </CX_XMS_SYSTEM_ERROR>
    - <CX_XMS_SYSERR_PROXY>
      <CO_AREA_ABAP>ABAP</CO_AREA_ABAP>
      </CX_XMS_SYSERR_PROXY>
      </cls:CX_XMS_SYSERR_PROXY>
    - <cls:CX_ST_MATCH_TYPE id="o163">
    The response parameter is defined as xsd:string ( and string in the generated ABAP structure ).
    IF the byteposition is correct there would be a problem
    with the '?' characeter being in  the response.
    What does the datatype 'g' mean ?
    see also in the error message :
      <ACTUAL_NAMESPACE />
      <ACTUAL_VALUE />
      </CX_ST_MATCH>
    - <CX_ST_MATCH_TYPE>
      <EXPECTED_TYPE>g</EXPECTED_TYPE>
      </CX_ST_MATCH_TYPE>
    Any ideas ? Using 2 other soap clients give no issue what soever...:(

    <wsdl:definitions targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
    u2212
    <wsdl:types>
    u2212
    <s:schema elementFormDefault="qualified" targetNamespace="http://shareTax.DataExchange.NonLiveSchema.Web.Service/">
    u2212
    <s:element name="processInputXML">
    u2212
    <s:complexType>
    u2212
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="InputXML" type="s:string"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    u2212
    <s:element name="processInputXMLResponse">
    u2212
    <s:complexType>
    u2212
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="processInputXMLResult" type="s:string"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    </s:schema>
    </wsdl:types>
    u2212
    <wsdl:message name="processInputXMLSoapIn">
    <wsdl:part name="parameters" element="tns:processInputXML"/>
    </wsdl:message>
    u2212
    <wsdl:message name="processInputXMLSoapOut">
    <wsdl:part name="parameters" element="tns:processInputXMLResponse"/>
    </wsdl:message>
    u2212
    <wsdl:portType name="NonLiveSchemaSoap">
    u2212
    <wsdl:operation name="processInputXML">
    <wsdl:input message="tns:processInputXMLSoapIn"/>
    <wsdl:output message="tns:processInputXMLSoapOut"/>
    </wsdl:operation>
    </wsdl:portType>
    u2212
    <wsdl:binding name="NonLiveSchemaSoap" type="tns:NonLiveSchemaSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    u2212
    <wsdl:operation name="processInputXML">
    <soap:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
    u2212
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    u2212
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    u2212
    <wsdl:binding name="NonLiveSchemaSoap12" type="tns:NonLiveSchemaSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
    u2212
    <wsdl:operation name="processInputXML">
    <soap12:operation soapAction="http://shareTax.DataExchange.NonLiveSchema.Web.Service/processInputXML" style="document"/>
    u2212
    <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
    u2212
    <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    u2212
    <wsdl:service name="NonLiveSchema">
    u2212
    <wsdl:port name="NonLiveSchemaSoap" binding="tns:NonLiveSchemaSoap">
    <soap:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
    </wsdl:port>
    u2212
    <wsdl:port name="NonLiveSchemaSoap12" binding="tns:NonLiveSchemaSoap12">
    <soap12:address location="http://89.234.8.200:8085/shareTaxDataExchangeWebService/NonLiveSchema.asmx"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    I am facing same problem.
    This is WSDL. Could you please tell if anything is wrong in WSDL?
    I am not aware of WSDL files.

  • Maverick Mail Printing Problem: prints email header on separate page from body of email.  Why?!

    Maverick Mail Printing Problem: prints email header on separate page from body of email.  Why?!

    For what it's worth, I can report exactly the same problem.  I just recently converted from Outlook for Mac 2011 to Mail.  I did the conversion while running Yosemite.  I like pretty much everything about Mail EXCEPT that it take 2 pages to print a 1 page email!!  The header appears on the top of p.1, followed by a blank space.  The message begins at the top of p.2.
    If you scale it down, you can get the message to begin to appear on the bottom of p.1, but clearly, Mail is inserting BIG SPACE between the header and the message.  Changing the display fonts for Mail had no apparent effect (except that the font DID change, of course)....still a BIG SPACE between the header and the message. 
    Coming to Mail for the first time, I would have assumed that this was just a quirk of Mail, but am I understanding that some of you Mail users out there USED TO NOT have this problem??  I think it's pretty clear that it's Mail that's causing the problem, not the message, because I went over to my old Outlook and printed the same couple of messages with no such space between the header and the message.  So Mail is inserting a space into the print formatted email message that is NOT there in Outlook's print formatted same message.
    Be really nice to get rid of this problem, but my Apple Care free support has expired.  Not sure I want to pay for something that's generic to Mail!!  Anyone else made any progress on this?

  • Problems with sources of supply determination for external requirements.

    Hi gurus...
    My scenario is  SRM Classic Extended.
    We have a problems with sources of supply determination for external
    requirements comes from ECC. The shopping cart is created with successful
    based in the purchase requisition at ECC, but when i try to make the
    determination of sources of supply the system doesnt find any source of
    supply.
    There are a lot sources of supply creates for these parameters. The
    contracts were already replicated to ECC.
    This problem only occurs with external requirements comes from ECC, if i
    created a shopping cart directly at SRM, using the same parameters, the
    system propose the sources of supply correctly.
    Is there something that we can do?? This is the normal comportment for the souces of supply?
    Tks,
    Gustavo Nogueira

    Hello Gustavo Nogueira
    Then it is an issue.
    How are you searching the source of supply in sourcing cockpit.
    Can you replicate the issue?
    Let me know step by step,
    as per standard SAP , source of supply data must be available for shopping carts so that buyer can assign the source of supply.
    please share what source of supply you have there .

  • SchedulerTask and external webservice problems

    Hi,
    I need to build an application that fetches some report from an external webservice (Axis) on the net and stores some data in a portal database.
    However, I picked the KM-residing SchedulerTask to solve this issue because you can run it just like cron-jobs and the like.
    In my SchedulerTasks code - it has been tested standalone and does a great job fetching data from webservice - the calls fails due to a "connection refused", see stacktrace way below.
    My portal is a development machine and is therefore talking to and with everyone, fully open, un-proxied and should not hinder me from accessing such a webservice, I think.
    I checked the webservice URL (wsdl-ended) is accessible from within my SchedulerTask by opening a simple java.net.URL on it which worked really nice.
    My questions are:
    - Did someone experience a similar behaviour and if so how did you solve this?
    - Is there any additional configuration needed to make portal/KM speak with external webservices?
    - Any other thoughts?
    Thanks for your help!
    regards,
    Christian
    The essential lines from the stacktrace:
    {0}#1#AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.ConnectException: Connection refused
    faultActor:
    faultNode:
    faultDetail:
            {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection refused
            at java.net.PlainSocketImpl.socketConnect(Native Method)
            at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
            at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
            at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
            at java.net.Socket.connect(Socket.java:461)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    For iSight help, consider http://support.apple.com/kb/HT2090
    In addition to testing with iMovie, you can also test video recording with QuickTime Pro if you have it.
    Because you have similar problems with Photo Booth when using another camera, you may be rushing Photo Booth. Consider the suggestions offered here:
      http://discussions.apple.com/thread.jspa?messageID=7018319&#7018319
    If apps other than Photo Booth record properly but you do not want to use one of those that work properly, it is possible that a corrupted Photo Booth Preferences file is causing your problem. Quit Photo Booth (and all other applications) and throw away the Photo Booth Preferences file (com.apple.photobooth.plist) from your Home / Library / Preferences folder. A new preferences folder will be generated when you restart Photo Booth to test whether it works now.
    If resetting preferences did not help but you still want to use Photo Booth, reinstalling the Photo Booth app might help.
    If no app works properly, see your Apple Authorized Service Provider for professional help.
    EZ Jim
    G5 DP 1.8GHz w/Mac OS X (10.5.7) PowerBook 1.67GHz (10.4.11)   iBookSE 366MHz (10.3.9)  External iSight

  • Exception - Trying to invoke an External Java Function

    Hi,
    Can any one Please Help me out am Stuck up with the following Exception While trying to invoke a External java Function.
    Step 1: Written the attached Java Class from "Oracle WorkFlow's Developers's" guide.
    Ref: http://www.stanford.edu/dept/itss/docs/oracle/10g/workflow.101/b10284/deffa02.htm#stdjfa
    Step 2: In builder created a process and created a Java Function
    <package-name>.<class-name>
    Step 3: Compiled the Java Class,and Created a jar file and included the jar and the required .jar files [which are required to make that class compile free] in the class path.
    Step 4: We modified the wfjvlsnr.bat by including the custom jar file which was created and the dependent jar files in the classpath and ran the Java Agent.
    Step 5: Invoked the Process from client, once the process is invoked we are getting
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    java.lang.ClassNotFoundException: gov.oracle.apps.fnd.wf.SampleWF
    Tue Oct 10 14:33:38 GMT+05:30 2006 Enqueuing VAC02/VAC02 gov.oracle.apps.fnd.wf.SampleWF
    null
    Unable to load class gov.oracle.apps.fnd.wf.SampleWF
    : java.lang.ClassNotFoundEx
    ception: gov.oracle.apps.fnd.wf.SampleWF
    Regards
    Varma

    The engine doesn't see your jar file,
    try to change the path where you put your jar file, or try to call it for first in the set classpath

Maybe you are looking for