Dynamic Partnerlink with WSIF HTTP Binding

Hi,
I have been trying to change the endpoint location details of my HTTP Binding Partnerlink during runtime / deploy-time. AFAIK, there are two ways to do this.
1. Deployment Descriptor : Change the "location" property in bpel.xml to point to a different location. Ideally this can be done at deployment using ant or use the Java APIs to change them during runtime. This works for partnerlinks which use a SOAP Binding, but does not work for HTTP Get/Post Bindings.
2. Using WS-Addressing : Again this works with a SOAP WSDL, but no go with HTTP GET/POST WSDLs.
Has anybody been able to get dynamic partnerlinks working for non SOAP Partnerlinks?
Regards,
DK
Oracle SOA Suite 10.1.3.3.0
AIA For Communications 2.0.1

I get a collection of endpoint url and have created a single dummy WSDL and invoked in a parallel flow within a scope.
I have created partner reference variable, input and out variable for the service within the scope.
You can find the code snippet below.
<bpelx:flowN name="FlowN_1"
N="count(bpws:getVariableData('UserUpdateRoutingService_OutputVariable','payload','/ns9:UserUpdateProviderInfoCollection/ns9:UserUpdateProviderInfo'))"
indexVariable="flowIndex">
<sequence name="Sequence_1">
<scope name="Scope_1">
<variables>
<variable name="InvokeEnterprisePingService_pingUserBySmsId_InputVariable"
messageType="ns5:EnterprisePingServiceRequestMessage"/>
<variable name="InvokeEnterprisePingService_pingUserBySmsId_OutputVariable"
messageType="ns5:EnterprisePingServiceResponseMessage"/>
<variable name="partnerReference"
element="wsa:EndpointReference"/>
</variables>
<sequence name="Sequence_2">
<assign name="ClearEndpointEnterprisePingService">
<copy>
<from>
<EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing"
xmlns:ns7="http://services.otn.com">
<Address/>
</EndpointReference>
</from>
<to variable="partnerReference"/>
</copy>
</assign>
<assign name="SetEndpointEnterprisePingService">
<copy>
<from expression="bpws:getVariableData('UserUpdateRoutingService_OutputVariable','payload','/ns9:UserUpdateProviderInfoCollection/ns9:UserUpdateProviderInfo[bpws:getVariableData(&quot;flowIndex&quot;)]/ns9:enterprisepingurl') "/>
<to variable="partnerReference"
query="/ns7:EndpointReference/ns7:Address"/>
</copy>
</assign>
<assign name="DoPartnerlinkEnterprisePingService">
<copy>
<from variable="partnerReference"/>
<to partnerLink="EnterprisePingService"/>
</copy>
</assign>
<assign name="AssignEnterprisePingServiceInput">
<copy>
<from variable="inputVariable" part="payload"
query="/ns2:updatePersonRequest/ns2:person/ns3:userId/ns4:userIdValue"/>
<to variable="InvokeEnterprisePingService_pingUserBySmsId_InputVariable"
part="payload"
query="/ns6:pingUserBySmsId/ns6:smsUserId"/>
</copy>
</assign>
<invoke name="InvokeEnterprisePingService"
partnerLink="EnterprisePingService"
portType="ns5:EnterprisePingService"
operation="pingUserBySmsId"
inputVariable="InvokeEnterprisePingService_pingUserBySmsId_InputVariable"
outputVariable="InvokeEnterprisePingService_pingUserBySmsId_OutputVariable"/>
</sequence>
</scope>
</sequence>
</bpelx:flowN>

Similar Messages

  • ESB: WSIF HTTP Binding support

    Hi,
    Is there a way to perform HTTP POST/GET a non-SOAP XML message from ESB? I know BPEL supports this via WSIF HTTP binding. Looking for a way to do the same in ESB.
    Thanks in advance.
    Regards,
    Rajesh
    Message was edited by:
    Rajesh

    I tested the WSIF HTTP provider from ESB using following binding and port definitions. My test case involves simple ESB RS forwarding the request to SOAP service configured using WSIF HTTP binding.
    <message name="orderRequest_request">
    <part name="orderRequest" element="inp1:orderRequest"/>
    </message>
    <portType name="execute_ppt">
    <operation name="execute">
    <input message="tns:orderRequest_request"/>
    <output message="tns:orderRequest_request"/>
    </operation>
    </portType>
    <binding name="OrderRequestHTTPPost_binding" type="tns:execute_ppt">
    <http:binding verb="POST"/>
    <operation name="execute">
    <http:operation location="/execute"/>
    <input>
    <mime:mimeXml part="orderRequest"/>
    <mime:content type="text/xml"/>
    </input>
    <output>
    <mime:mimeXml part="orderRequest"/>
    <mime:content type="text/xml"/>
    </output>
    </operation>
    </binding>
    <service name="OrderRequestHTTPPostService">
    <port binding="tns:OrderRequestHTTPPost_binding" name="OrderRequestHTTPPost_port">
    <http:address location="http://<host>:<port>/testPost/httppostservlet"/>
    </port>
    </service>
    When I run this I am getting the following exception. I tested the same WSDL in BPEL successfully.
    I tried to enable the TRC for WSIF logging by setting debug level to 'all' in both domain.log and system log settings. But not much success so far.
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
         java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
         ... 43 more
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.createWSIFOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
         at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
         at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: Could not create connection; nested exception is:
         java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:175)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFOperation_HTTP.<init>(WSIFOperation_HTTP.java:80)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getDynamicWSIFOperation(WSIFPort_HTTP.java:110)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:79)
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.createOperation(WSIFPort_HTTP.java:67)
         ... 39 more
    Caused by: java.lang.ClassCastException: java.util.Properties
         at com.collaxa.cube.ws.wsif.providers.http.WSIFPort_HTTP.getHTTPConnector(WSIFPort_HTTP.java:165)
         ... 43 more
    </faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
    Has anybody tried HTTP bindng iin ESB?
    Regards,
    Rajesh
    Message was edited by:
    Rajesh

  • Dynamic partner link for http binding

    Hi all,
    I'm writing BPEL code to call a web service with dynamic partner link.
    I'm succesful in soap binding but fail in http binding, it does not run with new given address.
    Could you please help me to solve this problem? Is the trouble coming from http binding?
    This is the successful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://152.78.239.173/FusionWPS/Fusionservice.asmx</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="WPS_Provider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="WPS_Provider" portType="nsxml0:FusionServiceSoap" operation="getCapabilities" inputVariable="getCapRequest" outputVariable="getCapResponse"/>
    - Binding and service:
    <wsdl:binding name="FusionServiceSoap" type="tns:FusionServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getCapabilities">
    <soap:operation soapAction="http://www.opengis.net/wps/getCapabilities" style="document" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="FusionService">
    <wsdl:port name="FusionServiceSoap" binding="tns:FusionServiceSoap">
    <soap:address location="http://1acb152.78.239.173/FusionWPS/Fusionservice1.asmx" />
    </wsdl:port>
    </wsdl:service>
    This is the unsuccessful part:
    - BPEL code:
    <assign name="assign-Address">
    <copy>
    <from>
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">
    <Address>http://153.96.8.132:80/52N-SOSv2-01-00/sos</Address>
    </EndpointReference>
    </from>
    <to variable="partnerReference"/>
    </copy>
    <copy>
    <from variable="partnerReference"></from>
    <to partnerLink="SOSProvider"></to>
    </copy>
    </assign>
    <invoke name="invoke-1" partnerLink="SOSProvider" portType="nsxml0:SOS" operation="GetObservation" inputVariable="getObservationREQ" outputVariable="getObservationRES"/>
    - Binding and service:
    <binding name="SOSBinding" type="tns:SOS">
    <operation name="GetObservation">
    <http:operation location=""/>
    <input>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </input>
    <output>
    <mime:mimeXml part="parameters"/>
    <mime:content type="text/xml"/>
    </output>
    </operation>
    </binding>
    <service name="SOS">
    <port name="SOS" binding="tns:SOSBinding">
    <http:address location="http://153.96.8.132:80/52N-SOSv2-01-00/sos1"/>
    </port>
    </service>
    Thanks for your help.
    An Le

    Dear all,
    Thanks for your pay attention on my question.
    I'm sorry, I have just taken my vacation, so I couldn't check your reply.
    c|3k: If the server is not available, it must be throw an error message. But in my case, it took the old address to run and give me a unexpected result.
    sashwat: I copied service name before, but it didn't work.
    But let me try again.
    Thank you all very much.
    An Le

  • Dynamic tables with XML schema binding

    Hello,
    I'm currently fighting a strange issue dealing with a complex dynamic form. This form contains multiple dynamic tables to which the user may add new lines or delete lines that are no longer needed. This is being implemented using the instanceManager and works just fine.
    However, if I try to bind XML based data to this table, it looks like if rows added by the instance manager are always bound to the same record (they all contain identical values). The XML schema is correct, the issue also happens with sample XML data files.
    This seems to have something to do with the programatically added lines, but I have run out of ideas ... Can anyone provide some pointers?
    Thanks a million,
    Steffen.

    Thanks for the reply, Paul.
    I have the question about the schema,
    say i have a table like this:
    Item | Cost
    A   | 10.3
    B   | 21.1
    Total| 31.4
    and my schema is:
    so when I bind the table row should it be $.ItemTable[*].Item ?

  • Dynamic partnerlink binding problem

    I am trying to create a dynamic partnerlink as in http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html .
    When I am trying to create this with LoanService.wsdl, it works correctly for me but when I try to create it for my own service, it is showing up some errors which I fail to understand.
    I have three services service1,service2,service3.
    I have created another web service called CallPartnerService in which I have imported the service.wsdl to create the partnerlink. After that I am following the instructions in the cookbook to create the create the partner reference variable, copy the partnerReference variable into the Service partner link etc
    However, when I run it, I get the following error on invoking the partner service.
    Cannot find binding operation.
    in WSDL located at "file:/D:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_CallPartnerService_1.0_a8cb48601311c51027d61ee288d499df.tmp/Service.wsdl", cannot find a binding operation of "process", portType "{http://xmlns.oracle.com/}Service"
    Please make sure the WSDL is valid.
    Any suggestions
    This is the structure of my Service.wsdl.
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="Service"
    targetNamespace="http://xmlns.oracle.com/"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
                   xmlns:tns="http://xmlns.oracle.com/"
    xmlns:client="http://xmlns.oracle.com/Service"
         xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
         xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
    xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         TYPE DEFINITION - List of services participating in this BPEL process
         The default output of the BPEL designer uses strings as input and
         output to the BPEL Process. But you can define or import any XML
         Schema type and use them as part of the message types.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <types>
              <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://schemas.xmlsoap.org/wsdl/"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing"
    schemaLocation="http://CWSEOW01:8888/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    <schema attributeFormDefault="unqualified"
         elementFormDefault="qualified"
         targetNamespace="http://xmlns.oracle.com/Service"
         xmlns="http://www.w3.org/2001/XMLSchema">
    <!--     <element name="ServiceProcessRequest" type="ServiceProcessRequestType"/>
    <element name="ServiceProcessResponse" type="ServiceProcessResponseType"/> -->
         <element name="ServiceProcessRequest">
              <complexType >
                   <sequence>
                        <element name="input" type="string"/>
                   </sequence>
              </complexType>
         </element>
         <element name="ServiceProcessResponse">
              <complexType >
                   <sequence>
                        <element name="result" type="string"/>
                   </sequence>
              </complexType>
         </element>
    </schema>
         </types>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         MESSAGE TYPE DEFINITION - Definition of the message types used as
         part of the port type defintions
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <message name="RelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    <message name="MessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    <message name="ReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
         <message name="ServiceRequestMessage">
              <part name="payload" element="client:ServiceProcessRequest"/>
         </message>
         <message name="ServiceResponseMessage">
              <part name="payload" element="client:ServiceProcessResponse"/>
         </message>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PORT TYPE DEFINITION - A port type groups a set of operations into
         a logical service unit.
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <portType name="Service">
              <operation name="process">
                   <input message="tns:ServiceRequestMessage" />
                   <output message="tns:ServiceResponseMessage"/>
              </operation>
         </portType>
    <binding name="ServiceBinding" type="tns:Service">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="process">
    <soap:operation soapAction="tns:process" style="document"/>
    <input>
    <soap:header message="tns:MessageIDHeader" part="MessageID" use="literal" />
    <soap:header message="tns:ReplyToHeader" part="ReplyTo" use="literal" />
    <soap:body use="literal"/>
    </input>
         <output>
    <soap:body use="literal"/>
         </output>
    </operation>
    </binding>
    <!--binding name="ServiceCallbackBinding" type="client:ServiceCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="onResult">
    <soap:operation soapAction="onResult" style="document"/>
    <input>
    <soap:header message="tns:RelatesToHeader" part="RelatesTo" use="literal" required="false"/>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding-->
    <service name="Service1">
    <port name="ServiceCallbackPort" binding="tns:ServiceBinding">
    <soap:address location="http://CWSEOW01:8888/orabpel/default/Service1"/>
    </port>
    </service>
    <service name="Service2">
    <port name="ServiceCallbackPort" binding="tns:ServiceBinding">
    <soap:address location="http://CWSEOW01:8888/orabpel/default/Service2"/>
    </port>
    </service>
    <service name="Service3">
    <port name="ServiceCallbackPort" binding="tns:ServiceBinding">
    <soap:address location="http://CWSEOW01:8888/orabpel/default/Service3"/>
    </port>
    </service>
         <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         PARTNER LINK TYPE DEFINITION
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
         <plnk:partnerLinkType name="Service">
              <plnk:role name="ServiceProvider">
                   <plnk:portType name="tns:Service"/>
              </plnk:role>
         </plnk:partnerLinkType>
    </definitions>

    Hi Kavitha,
    //Iterate to get the attributes
           Iterator itr1 = wdContext.nodeDetails().getNodeInfo().iterateAttributes();
           IWDTransparentContainer container = (IWDTransparentContainer)view.getElement("<Your Root Container>");
           while(itr1.hasNext())
           //  Input Field for each attribute
           IWDInputField input= (IWDInputField)view.createElement(IWDInputField.class,null);
           IWDAttributeInfo iWDInfo = (IWDAttributeInfo) itr1.next();
           input.bindValue("Details."+iWDInfo.getName());
           //Add to the container
           container.addChild(input);
    Regards
    Ayyapparaj

  • Contents of HTTP POST is ignored for http:binding

    Hi,
    We are calling a legacy system utilizing WSIF http:binding with the POST method.
    The input of the service is defined by a DTD which was transformed to the corresponding XSD. Generally it works, except that the called service returns a HTTP 201 (No Content) most likely due bpel includes the namescope of the passed message part. Furthermore the "Content-type" in the HTTP header is undefined (Content-type: null). The HTTP Log is attached below, the BPEL-Version is 10.1.3.1.
    Adding the following lines in the XSD (that solved similar problems with the adapters) have no effect:
    nxsd:version="DTD"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    The <input> of the <http:binding> is defined by <mime:mimeXml part="dataPart"/>
    How can BPEL-PM suppress the namescope that we get an XML like the following:
    <DATA>
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    Cheers,
    Lars
    HTTP-LOG
    ========
    POST /myservice HTTP/1.1
    Host: dev1.internal
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    wsdlLocation: Sample.wsdl
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: null
    Content-length: 494
    <DATA xmlns="http://bpel/ns">
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    HTTP/1.1 204 No Content
    Date: Mon, 12 Feb 2007 15:09:25 GMT
    Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
    Content-Language: de
    Cache-Control: private
    Content-Length: 0
    Content-Type: text/html;charset=UTF-8

    Hi,
    We are calling a legacy system utilizing WSIF http:binding with the POST method.
    The input of the service is defined by a DTD which was transformed to the corresponding XSD. Generally it works, except that the called service returns a HTTP 201 (No Content) most likely due bpel includes the namescope of the passed message part. Furthermore the "Content-type" in the HTTP header is undefined (Content-type: null). The HTTP Log is attached below, the BPEL-Version is 10.1.3.1.
    Adding the following lines in the XSD (that solved similar problems with the adapters) have no effect:
    nxsd:version="DTD"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    The <input> of the <http:binding> is defined by <mime:mimeXml part="dataPart"/>
    How can BPEL-PM suppress the namescope that we get an XML like the following:
    <DATA>
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    Cheers,
    Lars
    HTTP-LOG
    ========
    POST /myservice HTTP/1.1
    Host: dev1.internal
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    wsdlLocation: Sample.wsdl
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    Content-type: null
    Content-length: 494
    <DATA xmlns="http://bpel/ns">
    <ACTION NAME="Amount" VALUE="100"/>
    </DATA>
    HTTP/1.1 204 No Content
    Date: Mon, 12 Feb 2007 15:09:25 GMT
    Server: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47 (Unix)
    Content-Language: de
    Cache-Control: private
    Content-Length: 0
    Content-Type: text/html;charset=UTF-8

  • LOV with a query Bind Parameter

    Hello,
    I am following the JHeadStart PDF tutorial over the HR Schema. On the page 45 this tutorial shows how to make a Dynamic Lookup with a Query Bind Parameter to choose the employees of a department with the expresion "p_dpt_id=#{bindings.DepartmentsDepartmentId.inputValue}".
    After that I tried to make the same using a LOV instead of a Lookup but on the popup window opened with the LOV table the "#{bindings.DepartmentsDepartmentId.inputValue}" value is null and I can´t access to this information. If on the LOV definition I write for example "p_dpt_id=30" this work ok and filters the query for the employees of the departen 30, but not with "p_dpt_id=#{bindings.DepartmentsDepartmentId.inputValue}"
    There is another way to do that?
    Thank you very much

    I have done this task using the aid of the JHeadstart manual and these two previously posted threads,
    Group Used as LOV does not return records
    Query Bind Parameters and LOV's [JHS 10.1.3.1]
    The actual process to do it feels rather unintuitive and complicated, but I've tested it and thus far is works flawlessly.
    I whipped up a demo of this using the HR schema and JHeadstart, maybe I will post it on here.

  • Dynamic call to a partnerlink using WSIF.

    Hi,
    I've already seen the "DynamicPartnerLink" sample and the "Making BPEL Processes Dynamic" cookbook.
    I want to do something similar, but using WSIF. I want to be able to change binding information in runtime to be able to call Java/EJB using WSIF.
    According to a Edwin (ekhodaba) post, "The only think that you can change at runtime in the address/binding information". But I don't know if this is only possible for SOAP binding.
    First, I tried a similar approach to the Dynamic cookbook and example. I had a parterlink to a service with Java binding information. This worked fine. Then I changed the service name (like in the cookbook using a reference variable to change the service name, no address) to use another service with the same binding information but a different implementation Java class and I got a binding exception.
    Eventually I will also wanto to do that with EJB.
    Is there any way to change in runtime the WSIF binding information to call a EJB/Java class ? Any suggestions to get it? I want to have several Java classes or EJB with the same interface and be able to choose in runtime which one to call using WSIF.
    Furthermore, It'd be interesting to change the Java/EJB classname, jndiName, initialContextFactory, jndiProviderURL, etc. (e.g. reading from DB or a configuration file)
    Strictly speaking, this information is not needed in development time, it's only binding information so it is only useful in runtime.
    I've also tried a service per Java class, but the service name can't be changed in the partnerlink in runtime, you'll get a binding error.
    Thanks.

    Hi, sure you will need to register your private certificate with ADF Mobile's embedded JVM. This is a security mechanism - the JVM we embed will only recognize certificates from well-know CA out of box. However, you can register your private certificate with the JVM. The steps are described in the ADF Mobile Developer Guide: http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/security.htm#CDDCCDFF.
    Please note that you will need to be very careful when registering the JVM - extra spaces for example will cause certificate error and it could be hard to diagnose. Please ensure all the fields matches exactly with your private certificate's fields.
    Thanks,
    Joe Huang

  • How can i set dynamic properties in HTTP Binding adapter  at run time

    Hi,
    I am trying to put dynamic properties in HTTP Binding adapter at run time. I am able to Set endpointURI, UserName and Password dynamically using below code.
    Is it possible to set Version , Retry Count, timeout, authentication type at run time.
    below is code for setting endpointURI, UserName and Password dynamically.
    <invoke name="HttpInvoke" bpelx:invokeAsDetail="no"
    partnerLink="SACS_Http_Adapter"
    portType="ns1:Request_Response_ptt" operation="Request-Response"
    inputVariable="HttpInvoke_Request-Response_InputVariable"
    outputVariable="HttpInvoke_Request-Response_OutputVariable">
    <bpelx:toProperties>
    <bpelx:toProperty name="endpointURI" variable="inputVariable"
    part="payload" query="@endpoint"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.username"
    variable="inputVariable" part="payload"
    query="@username"/>
    <bpelx:toProperty name="javax.xml.ws.security.auth.password"
    variable="inputVariable" part="payload"
    query="@password"/>
    </bpelx:toProperties>
    </invoke>
    Thanks,
    Siva
    Edited by: 929920 on Apr 25, 2012 7:45 AM

    Hi Bastain,
    Assuming your using the Batch Process Model, you can programatically insert a new SN into the correct parameter in the postUUT callback sequence.
    This sequence has access to the UUT.SerialNumber parameter so you can use a File Global to pass the SN from the main sequence to the postUUT callback. 
    Here is an example of what I mean. 
    Adam
    Attachments:
    set SN within Main Sequence.seq ‏80 KB

  • Problem with WCF-Custom adapter (WS HTTP Binding with reliable messaaging) - Error event logged, even though transaction completed Sucessfully

    Hi All
    I am using WCF-Custom (WS HTTP Binding) with Message security as Windows and using Reliable messaging in the send port. Its a static Port. 
    Every thing works fine as expected for the interface. ie the transaction is success. After a min of the transaction completion. I am getting the following error
    01. I have not checked Propagate Fault message (as a solution provided in another blog)
    02. Its a static Port
    03. I am using reliable messaging
    The below error events are logged in the event viewer
    The Message Engine Encountered an error while suspending one or more Messages ( ID 5677)
    Event  ID : 5796
    The transport proxy method MoveToNextTransport() failed for adapter WCF-Custom: Reason: “Messaging engine has no record of delivering the message to the adapter. This could happen if MoveToNextTransport() is called multiple times for the same message by
    the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine”. Contact the adapter vendor
    Should I have log this issue with Microsoft through Service request ? or is there any work around is there. Unfortunate is I cannot remove the reliable messaging from the service.
    Arun

    Hi,
    Is there any solution to this problem?
    I am getting the same issue "The transport proxy method MoveToNextTransport() failed for adapter WCF-NetTcp: Reason: "Messaging engine has no record of delivering the message to the adapter.
    This could happen if MoveToNextTransport() is called multiple times for the same message by the adapter or if it is called for a message which was never delivered to the adapter by the messaging engine". Contact the adapter vendor"
    I checked this link http://rajwebjunky.blogspot.be/2011/09/biztalk-dynamic-request-response-port.html, but
    in my case i am not using dynamic port.
    In my scenario, i have a number of dehydrated orchestrations that become active every Monday 6:00 AM UTC and make to calls to a WCF service, to spread out the load I have implemented a load distribution logic where orchestrations send request to service
    in every 1 minute (not at the same time). but still i get this error sometime.
    I have opened a ticket with MS support but thought that someone might have already found the root cause.
    Let me know if there is one.
    Thanks,
    Rahul
    Best Regards, Rahul Dubey MCTS BizTalk Server

  • Error with HTTP binding - 11g

    Hi all ,
    I am getting below error while calling existing RESTful webservice from BPEL SOA composite, using HTTP Binding:
    *“null schema location for ns=null [Cause=null schema location for ns=null] at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:575)”*
    WSDL file for HTTP service is
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions name="CASPaymentService"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/CSGetPaymentProvABCS/CASPaymentService"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/CSGetPaymentProvABCS/CASPaymentService"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <plt:partnerLinkType name="Request_Response_plt">
    <plt:role name="Request-Response_role">
    <plt:portType name="tns:Request_Response_ptt"/>
    </plt:role>
    </plt:partnerLinkType>
    <wsdl:types>
    *<schema xmlns="http://www.w3.org/2001/XMLSchema">*
    *<include schemaLocation="xsd/InputOutputFault.xsd"/>*
    *</schema>*
    </wsdl:types>
    *<wsdl:message name="envelope_msg_in">*
    *<wsdl:part name="input" element="envelope"/>*
    *</wsdl:message>*
    *<wsdl:message name="envelope_msg_out">*
    *<wsdl:part name="envelope" element="envelope"/>*
    *</wsdl:message>*
    <wsdl:portType name="Request_Response_ptt">
    <wsdl:operation name="Request-Response">
    <wsdl:input message="tns:envelope_msg_in"/>
    <wsdl:output message="tns:envelope_msg_out"/>
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    Input schema  ( InputOutputFault.xsd) is like below: Please note it has no namespace
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="envelope">
    </xsd:element>
    </xsd:schema>
    binding in composite.xml is :
    <reference name="GetPaymentCAS" ui:wsdlLocation="GetPaymentCAS.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/GetPaymentCASServiceCall/GetPaymentCAS#wsdl.interface(Request_Response_ptt)"/>
    <binding.ws port="http://xmlns.oracle.com/pcbpel/adapter/http/HelloWorldServlet/GetPaymentCASServiceCall/GetPaymentCAS#wsdl.endpoint(GetPaymentCAS/Request_Response_pt)"
    location="GetPaymentCAS.wsdl" supports="http">
    <property name="http.verb" type="xs:string" many="false">POST</property>
    <property name="endpointURI" type="xs:string" many="false">http://testaia:9111/CAS/servlets/PaymentServicesServlet</property>
    <property name="http.payload" type="xs:string" many="false">xml</property>
    </binding.ws>
    </reference>
    It seems like HTTP binding in 11g works with XSD with some namespace only. And if we provide the schema details in either <wsdl:types> or via “including schema in wsdl” as shown above, at runtime it still try to look for schema file.
    Any workaround/solution for same is highly appreciated.
    Thanks & Regards
    Pintoo

    hi,
    I depolyd my ProvideABCS into EM here i ubable to invoke the serveses i get below error
    webservices invoikesfail:
    The selected operation ProcessEcoproduct could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException
    addtionalinfo:
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:808) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:384) at oracle.sysman.emas.view.wsmgt.WSView.invokeOperation(WSView.java:301) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53) at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:362) at oracle.sysman.emSDK.webservices.wsdlparser.OperationInfoImpl.invokeWithDispatch(OperationInfoImpl.java:1004) at oracle.sysman.emas.model.wsmgt.PortName.invokeOperation(PortName.java:750) at oracle.sysman.emas.model.wsmgt.WSTestModel.invokeOperation(WSTestModel.java:802) ... 79 more Caused by: oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException at oracle.j2ee.ws.client.jaxws.DispatchImpl.throwJAXWSSoapFaultException(DispatchImpl.java:1040) at oracle.j2ee.ws.client.jaxws.DispatchImpl.invoke(DispatchImpl.java:826) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.synchronousInvocationWithRetry(OracleDispatchImpl.java:235) at oracle.j2ee.ws.client.jaxws.OracleDispatchImpl.invoke(OracleDispatchImpl.java:106) at oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil.invoke(DispatchUtil.java:358) ... 82 more
    please help on it

  • URL of  BPEL exposed with Http Binding

    Hi,
    Http binding adapter allows bpel to be invoked from url using GET method. But where to find that http url?
    I have a bpel connected to http binding that has below wsdl generated after deploying -
    <wsdl:binding name="Process1HttpGET" type="imp1:Process1">
         <http:binding xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" verb="GET"/>
         <wsdl:operation name="acknowledge">
              <http:operation xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" location=""/>
              <wsdl:input>
                   <http:urlEncoded xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"/>
              </wsdl:input>
         </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="Service1">
         <wsdl:port name="acknowledge_pt" binding="tns:Process1HttpGET">
              <http:address xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" location="*http://xxxxxx:7001/soa-infra/services/default/MessageHandler/Service1*"/>
         </wsdl:port>
    </wsdl:service>
    Tried with url http://xxxxxx:7001/soa-infra/services/default/MessageHandler/Service but that doesn't invokes the service.
    I am sure someone has already tried this... if yes please help.
    Regards,
    Viv
    Edited by: user564736 on Jan 9, 2013 11:37 PM

    This is how it worked from me. Take the endpoint url from the deployed service wsdl. Remove the operation name from the last.
    http://server.dev.com:7001/soa-infra/services/default/AcknowledgementHandler/AcknowledgeService/ Send
    Append the message part name from the wsdl and the operationName as below
    http://server.dev.com:7001/soa-infra/services/default/AcknowledgementHandler/AcknowledgeService? input =33323835303038373936353739323436&*operationName=Send*
    In my case wsdl message type was defined as -
    <wsdl:message name="root_msg_in">
    <wsdl:part name="input" type="xsd:string"/>
    </wsdl:message>
    Hope this will work for you too.
    Regards,
    Ashish
    [http://talksoa.blogspot.com]

  • Binding parameters to dynamic VO with PL/SQL API call with no where clause

    Hi all,
    I am required to change exisiting queries to queries with "bind" parameters. Some of our VOs are dynamic and with PL/SQL api calls like below:
    String stmtStr = "selectXXX_API_UTILS.chk_urg_since_last_prg("
    + projectId + "," + PPCId + ",'XYZ_TASKS'," + taskId+ ")"
    +" from dual ";
    ViewObject tmpVO = transaction.createViewObjectFromQueryStmt(stmtStr);
    In this regard, I am unsure how to bind the PPCId and taskId parameters to the VO. setWhereClauseParams() would not work here as there is now where clause.
    Thanks in advance,
    Srini

    In case of preparedStatement, we mention bind parameters to be passed using "?". Then we pass paramters sequencially.
    But in the your case following is enough:
    int projectId = 100 ; (hardcoding values for example)
    int taskId = 500 ;
    String stmtStr = "selectXXX_API_UTILS.chk_urg_since_last_prg("
    + projectId + "," + PPCId + ",'XYZ_TASKS'," + taskId+ ")"
    +" from dual ";
    -Anand

  • Unable to get the response from dynamic partnerlink

    Hi
    I used dynamic partnerlink, in this i am able to invoke the services dynamcially but i am unable to get the response from the services which i had invoked dynamically. In my dynamic partnerlink wsdl i had included callback binding and call back service in the wsdl you can see them below
    <binding name="LoanServiceCallbackBinding" type="tns:LoanServiceCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="onResult">
    <soap:operation soapAction="onResult" style="document"/>
    <input>
    <soap:header message="tns:RelatesToHeader" part="RelatesTo" use="literal" required="false"/>
    <soap:body use="literal"/>
    </input>
    </operation>
    </binding>
    <service name="LoanServiceCallbackService">
    <port name="LoanServiceCallbackPort" binding="tns:LoanServiceCallbackBinding">
    <soap:address location="http://openuri.org"/>
    </port>
    </service>
    please help me on this
    thanks
    Srikanth

    Hi, thanks for the input
    Actually My partnerLink had two messageTypes one for Input message request and the other for the Output message request and for the input message i had used the operation as initiate also for the output messsage type operation as result.For both of them binding is defined.
    With these am passing the values from myBPELl to the service which am nvoking dynamically but unable to capture the response the variables are local to myBPEL.

  • Dynamic Partnerlink Properties?

    I am doing a HTTP Post "web service" call - and setting up some necessary HTTP header properties by adding them in my bpel.xml as custom partnerLink properties...
    <partnerLinkBinding name="MyHTTPWebService">
    <property name="From">DIATOCCD</property>
    <property name="MessageName">D8_REQ_CREATE</property>
    <property name="OrigUser">MyUsername</property>
    <property name="Password">MyPassword</property>
    </partnerLinkBinding>
    This works fine. These properties come across in the HTTP Post as HTTP Headers. Now the customer wants me to add a new HTTP Header - and make the value dynamic at run-time. As far as I can tell, this is not possible. But maybe I'm missing something obvious. So they'd want something like this ...
    <partnerLinkBinding name="MyHTTPWebService">
    <property name="From">DIATOCCD</property>
    <property name="MessageName">D8_REQ_CREATE</property>
    <property name="OrigUser">MyUsername</property>
    <property name="Password">MyPassword</property>
    <property name="TransactionID">10001</property> (this value would be determined at run-time)
    </partnerLinkBinding>
    Any ideas?
    Thanks!
    Rod

    I am now attacking this a bit differently. I have abandoned the WSIF method of doing HTTP Binding - and am writing some Java code in a Java Embedding component to do the HTTP POST "manually". Not pretty - but it allows me to dynamically set my HTTP Headers in the Java code. Does anyone know what disadvantages this may cause (performance, robustness, etc.)?
    Thanks for any help.
    Rod

Maybe you are looking for

  • How can i call a bean methos using h:commandlink or h:commandButton?

    Hi i want to call a methos in the bean class throught h:commandbutton action my code is <h:commandLink action="#{sample.tryStuff1}" immediate="true" rendered="true"> <h:outputText value="add" /> </h:commandLink> <h:commandButton id="ad" action="#{sam

  • X220 i5-2410M msata work or not?

    Hi, I have just ordered a X220 with the i5-2410m, and was about to also order a 64GB msata SSD. At first I thought i would be fine because the msata problems were only on i7 models, but now i have found a few people saying it also affects some i5 mod

  • FAQ: I'm an Elements Plus member. How can I claim my complimentary one-year subscription to Revel?

    Q: I'm an Elements Plus member. How can I claim my complimentary one-year subscription to Revel Premium? A: We will create your Revel Premium account for you. Simply go to Adoberevel.com to download the free Revel app to your iPhone, iPad, or Mac. Si

  • Smartform1

    hi , iam creating new form in existing in form i.e adding supplentmental form to existing ,this means adding page to existing smartform ,iam i correct ? 1.now do i need change the driver program ? 2.can add new form in existing one r copy original on

  • CPU used by oracle user

    Hi, on 10 g R2, on Windows SEVER 2003 oracle user SCOTT connect from SQLPLUS and runs a large query. Is there any way to see how much CPU does he use ? Thanks.