Remove SOAP Header Element from ALSB Proxy Service Response

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

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

Similar Messages

  • How to create SOAP Header elements using SAAJ??

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

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

  • 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 to Serve HTML from a Proxy Service?

    I am trying to serve HTML from a proxy service.
    I set up a Messaging Service with request type = 'None' and response type = 'Text'; with Endpoint URL = '/OSB_Project/Proxy_Services/InfoPingerProxyService.html'.
    In my incoming request pipeline I set an html Transport Header action to define Content-Type = 'text/html'.
    In the response pipeline I replace the body with the html document contents...
    Trouble is, when I access the proxy (via a standard browser GET), I always produce an XML file with an <?xml...?> processing instruction:
    <?xml version="1.0" encoding="UTF-8"?>
    <html>
    Also: the browser always sees an XML response regardless, it seems.
    Any suggestions gratefully accepted.
    Cheers,
    Alph

    More on this.
    I made an "educated guess' that the path should be
    {code}./ctx:transport/ctx:response/tp:headers/http:Content-Type{code}
    But take a look at the following, you will see that the content type IS now text/html, but the XML processing instruction is still there...
    {code}
    :\BIN\wget-1.11.4-1-bin\bin>wget -d http://localhost:7001/Test_Project/ProxySe
    rvice1?q=1
    SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
    syswgetrc = C:\BIN\wget-1.11.4-1-bin/etc/wgetrc
    DEBUG output created by Wget 1.11.4 on Windows-MinGW.
    --2010-09-15 15:33:17-- http://localhost:7001/Test_Project/ProxyService1?q=1
    Resolving localhost... seconds 0.00, 127.0.0.1
    Caching localhost => 127.0.0.1
    Connecting to localhost|127.0.0.1|:7001... seconds 0.00, connected.
    Created socket 268.
    Releasing 0x0063a620 (new refcount 1).
    ---request begin---
    GET /Test_Project/ProxyService1?q=1 HTTP/1.0
    User-Agent: Wget/1.11.4
    Accept: */*
    Host: localhost:7001
    Connection: Keep-Alive
    ---request end---
    HTTP request sent, awaiting response...
    ---response begin---
    HTTP/1.1 200 OK
    Connection: Keep-Alive
    Date: Wed, 15 Sep 2010 05:33:17 GMT
    Content-Length: 61
    Content-Type: text/html; charset=utf-8
    X-Powered-By: Servlet/2.5 JSP/2.1
    ---response end---
    200 OK
    Registered socket 268 for persistent reuse.
    Length: 61 [text/html]
    Saving to: `ProxyService1@q=1'
    100%[=====================================> ] 61 --.-K/s in 0s
    2010-09-15 15:33:17 (1.23 MB/s) - `ProxyService1@q=1' saved [61/61]
    C:\BIN\wget-1.11.4-1-bin\bin>type "ProxyService1@q=1"
    <?xml version="1.0" encoding="UTF-8"?>
    <server>8088</server>
    C:\BIN\wget-1.11.4-1-bin\bin>
    {code}
    (I know that the actual CONTENT [ie "<server>8088</server"] is not really HTML at the moment...this is just intermediate testing content...)
    Back to the issue of how to get rid of that processing instruction...
    The proxy service is configured as a messaging service with request = none and response = text.
    Cheers,
    Alph

  • Call proxy service from other proxy service with attachment

    Hi!
    I have got an email sending proxy service I would like to call this from an other proxy service and I want to send attachment in email. I can send email with attachment if i call this proxy as a webservice (e.g. from soapUI)
    But if i want to call this email proxy service from other proxy service, the attachment in email is empty. I put a log action (expression: $attachments) in the beginning of email proxy service, and I saw this in the log file:
    +<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>+
    So the attachment is really empty...
    I use service callout. I put an insert action in request action of service callout:
    In Variable:
    attachments
    XPath:
    +.+
    Location:
    as first child of
    Expression:
    +<con:attachment xmlns:con="http://www.bea.com/wli/sb/context">+
    +     <con:Content-Type>application/octet-stream</con:Content-Type>+
    +     <con:Content-Disposition>attachment; filename="{$v_fileName}"</con:Content-Disposition>+
    +     <con:Content-Transfer-Encoding>base64</con:Content-Transfer-Encoding>     +
    +     <con:body>{$attachments/ctx:attachment/ctx:body/*}</con:body>+
    +</con:attachment>+
    Why cannot I call this email proxy service from other proxy service for sending email with attachment?
    I tried to solve this other. I called an email sending business service from this proxy service. But in this case I cannot set the body of email. If I put just one Transport Header action in publish action, I could send the email (with empty body). But If I put a replace action in publish action as well then the OSB didn't send the email and I couldn't find any error message in log file... How could I set the body of email in publish action?
    Thanks!
    Viktor

    You should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
    user = SPWeb.Users.GetByID(properties.CurrentUserId)
    SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
    https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • ALSB Proxy Service

    Hi all,
    We are not able to invoke ALSB proxy service from BPEL ? Please help me on this issue.
    Thanks & Regards,
    Bharathy.

    Can u make me clear , how to use business service in OSB pipeline ?http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/concepts/wwimages/msgflow_layers.gif
    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/concepts/wwimages/msgprocess.gif
    1)Client ----->2)Transport End Point -------->3)Pipeline---4) ServiceCallout/Publish/Route-----5) BS--------->6)Transport End Point----7) Service
    2&3 combined is Proxy definition; BS is abstraction of the actual end-point outside of OSB. BS cannot be directly invoked. BS can only be invoked from the pipeline.
    How to invoke this proxy service from BPEL ? Depending on your use-case. Simplest would be to use http transport. Get some WSDL, create proxy using the wsdl. From this proxy create get an effective WSDL
    http://HOSTNAME:7001/websvctestproject/cmplx_proxy_svc?wsdl. Use this WSDL to invoke the proxy. You can also use BPEL transport or any other transport JMS, ftp etc

  • 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

  • Remove Soap Header while calling a WS from BPEL 11g

    Hi
    My requirement is to remove the entire SOAP Header tag in the invoke activity. How this can be achieved? Please help
    thanks
    Sesha

    Note sure if this possible.. but just wondering if you can try using <bpelx:remove> extention to delete the soap header variables..
    Other viable option is to write SOAP Message handlers on your outbound webservices...

  • ALSB Proxy Service error calling Business service

    I have an external webservice on Weblogic 8.1 SP5, and I configured Business Service in ALSB 2.6, that is able to invoke the external webservice. But When I create Proxy Service based on the existing Business service and try to invoke the proxy service I get "no SOAP Action Header" error in WebLogic 8.1 SP5 External webservice.
    AxisFault
    faultCode: {http://xml.apache.org/axis/}Client.NoSOAPAction
    faultSubcode:
    faultString: no SOAPAction header!
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:no SOAPAction header!
    at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1004)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    {http://xml.apache.org/axis/}hostname:ossinv1d
    no SOAPAction header!
    at org.apache.axis.transport.http.AxisServlet.getSoapAction(AxisServlet.java:1004)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:678)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6981)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Also I get
    com.bea.wli.sb.pipeline.PipelineException in the ALSB.
    Is it a known issue ?

    The back end service basically complains the SOAPAction http header was not included in the request. Typically this header is added automatically by ALSB if the proxy is of type SOAP and the wsdl contain the SOAPAction value for the operation invoked.
    Alternatively you can force the SOAPAction header to be set to the correct value by adding a transport header action in the request part of the routing node.
    Gregory Haardt
    ALSB Prg. Manager
    [email protected]

  • Not receiving MQ custom header (PutDateTime) in OSB Proxy service using MQ

    Hi,
    I am using OSB 11g and Websphere MQ version 7.0.
    I am trying to get PutDateTime header of message which is being polled from MQ through OSB proxy service using MQ transport.
    While logging inbound variable i found out that except this put date time header i am getting all other headers.
    Please suggest me something to get this header also.
    Regards,
    Naveen

    Hi Anuj,
    I am using OSB 11.1.0.3 version.
    By MQ client libraries, do you mean com.ibm.mq jar? i have this jar file put in lib section of my OSB home.
    Its really happening like when i am trying to log inbound variable for MQ request headers i am not getting put date time in that.
    ####<Sep 23, 2011 1:40:34 PM IST> <Error> <ALSB Logging> <wcrbtcsinbom222> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <647137b87487c06a:2875c7c7:13290bb7c1c:-8000-000000000000238b> <1316765434885> <BEA-000000> < [RouteToJMSQueue, null, null, REQUEST] inbound>>>>>>>>>>>>>>>: <con:endpoint name="ProxyService$CSPSPrj$EBooking$ProxyServices$AT_MQFrontRunner" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service/>
    <con:transport>
    <con:uri>mq://CSPS_GCS_DEV_TST?conn=CSPSPrj/EBooking/Utils/MQConnectionResource</con:uri>
    <con:mode>request</con:mode>
    <con:qualityOfService>exactly-once</con:qualityOfService>
    <con:request xsi:type="mq:MQRequestMetaData" xmlns:mq="http://www.bea.com/wli/sb/transports/mq" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="mq:MQRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <mq:AccountingToken>FgEFFQAAACrQN1yT42JIgoumKNeOEgAAAAAAAAAAAAs=</mq:AccountingToken>
    <mq:ApplicationIdData></mq:ApplicationIdData>
    <mq:ApplicationOriginData></mq:ApplicationOriginData>
    <mq:BackoutCount>0</mq:BackoutCount>
    <mq:CharacterSet>1208</mq:CharacterSet>
    <mq:CorrelationId>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</mq:CorrelationId>
    <mq:Encoding>546</mq:Encoding>
    <mq:Expiry>-1</mq:Expiry>
    <mq:Feedback>0</mq:Feedback>
    <mq:Format>MQSTR</mq:Format>
    <mq:GroupId>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</mq:GroupId>
    <mq:MessageFlags>0</mq:MessageFlags>
    <mq:MessageId>QU1RIENTUFNfR0NTX0RFVsqwcE4gEaMC</mq:MessageId>
    <mq:MessageSequenceNumber>1</mq:MessageSequenceNumber>
    <mq:MessageType>8</mq:MessageType>
    <mq:Offset>0</mq:Offset>
    <mq:OriginalLength>-1</mq:OriginalLength>
    <mq:Persistence>0</mq:Persistence>
    <mq:Priority>0</mq:Priority>
    <mq:PutApplicationName>re MQ\java\jre\bin\javaw.exe</mq:PutApplicationName>
    <mq:PutApplicationType>11</mq:PutApplicationType>
    <mq:ReplyToQueueName></mq:ReplyToQueueName>
    <mq:ReplyToQueueManagerName>CSPS_GCS_DEV_QM</mq:ReplyToQueueManagerName>
    <mq:Report>0</mq:Report>
    <mq:UserId>SACRBTCSDEFR</mq:UserId>
    </tran:headers>
    </con:request>
    </con:transport>
    <con:security>
    <con:transportClient>
    <con:username>&lt;WLS Kernel></con:username>
    </con:transportClient>
    </con:security>
    </con:endpoint>>

  • Can't find where to update SOAP header request on a Web Service

    Hello,
    I am consuming a certain Web Service from a remote Server and succefully created a client proxy for it.
    This Web Service requires a String parameter (which is the licence key) to be inserted in the SOAP request header. I've searched at the client proxy I created under Virtual Interface, Web Service Definition and under Web Service Configuration but couldn't find an option which allows me to modify the SOAP header request.
    At this link:
    http://help.sap.com/saphelp_nw04/helpdata/EN/a2/99af4e693dee43a0519e029549647b/content.htm
    There is an explanation on how to transfer existing request parameters from the SOAP body to the SOAP header, but I want to add the header new parameter except the exsiting parameters the Web Service request expects.
    I can of course write the request myself but than I loose the whole wizard advantage...
    Can someone please tell me where can I find it?
    Roy

    Ralph Landry1, your link just sends them to the links I provided.
    If you have an iPod touch:
    For Windows: See iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    For Mac OS X: See iPhone, iPad, iPod touch: Device not recognized in iTunes for Mac OS X

  • How to invoke ALSB proxy service externaly

    Hello,
    I.m trying to understand the ALSB and stumble across an issue and hope one of you guys (from BEA) can help out?
    I've created the services from the Mortgage services tutorial successfully and now I'm trying to invoke the proxy services externally. By externally I mean as a partner link from within Oracle BPEL. So far this does not work. The error message states a missing protocol in the service URL. I checked this and it is true: the wsdl of the proxy service contains only a relative path (/loan/gateway1), so the protocol and server name and port are missing. Further, I tried to change the URI of the proxy service, but ALSB does only allow a relative URI.
    My question is: what am I missing so the proxy service can be invoked externally?
    I am on the right solution path to invoke a proxy service instead of a business service, right!?
    Thank in advance.
    Regards,
    Harm Verschuren

    I tracked down the problem. The proxy service and the business service it routes to use rpc encoded. The RPC encoded message comes to the proxy service from BPEL which transmits it without modification to the business service. The WLS web service that impements the business service is unable to decode the message persumably because it did not like the way BPEL encoded the message. Below is the message part that BPEL sent: All the xsitype attributes are part of RPC encoding.If you use the alsb test console to pass this message directly to the business service, you will see the decoding error thrown by wls.
    <loanRequest xmlns:pns0="java:normal.client"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns0="http://example.org"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <pns0:Name xsi:type="xsd:string">Joe</pns0:Name>
    <pns0:SSN xsi:type="xsd:string">123456789</pns0:SSN>
    <pns0:Rate xsi:type="xsd:double">3</pns0:Rate>
    <pns0:Amount xsi:type="xsd:long">50000</pns0:Amount>
    <pns0:NumOfYear xsi:type="xsd:int">20</pns0:NumOfYear>
    <pns0:Notes xsi:type="xsd:string">test</pns0:Notes>
    </loanRequest>

  • Split-Join, unable to set SOAP:HEADER in OSB at Invoke Service Component.

    Hi Experts,
        i created a Split-join for parallel processing and invoke third party services, but this service requires some mandatory elements in soap:header like WS-Addressing and, WSA-TO and some security infomation, but i don't know  how to pass header in invoke service step. Please help me to setup Header for Invoke services in split join.
    Please help me to resolve this issue.
    Thanks
    Ankit

    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

  • OSB Setting SOAP Body Id value in proxy service when calling out to another service

    I have a proxy service deployed in OSB.  I need to set the Id attribute value on the SOAP Body element to a specific value prior to invoking the business service.
    In the service callout I currently has  "Configure Payload Document" selected.
    Do I need to do an XPath / XQuery transformation in an Insert or Update message processing action in a prior step of the message flow before the callout to the business service?

    Suppose below is your request you are passing to Business Service :
    <math:input
    xmlns:math="http://www.math.org">
        <math:inp1>100</math:inp1>
        <math:inp2>1</math:inp2>
        </math:input>
    Now before passing it to BS you need to change the value of inp2 to let say 200.
    So just before service callout , add a replace action
    Replace [ node contents ] of [ ./math:input/math:inp2 ] in [ body ] with [ 200 ]
    Your new request will become:
    <math:input
    xmlns:math="http://www.math.org">
    <math:inp1>100</math:inp1>
    <math:inp2>200</math:inp2>
    </math:input>
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Adding header info from JPD Proxy client

    We have created a JPD RMI Proxy. The JPD has a JMS execution path and an
    http execution path. We set the headers by actually creating the http
    message themselves. We can use the generated proxy jar and call it from a
    client. It does work. The problem is, we want to set the headers in the
    client but there appears to be no interface to do so. It is a simple hello
    world application with a clientRequest() method that takes an XMLBean as a
    parameter.

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

Maybe you are looking for