Ws-addressing, callbacks, asynchronous services

Do callbacks in BEA 9.2.2 look in the SOAP header at the replyTo element to see where to callback to? If not what exactly is it looking at to know where to callback to?
Also, if not, does a web service programmed using asynchronous request-response use the replyTo element in the SOAP header to know where to callback to?
Thanks,
Brittany

Hi amo,
I thank you for your reply, but correlation was not the problem for me. I have been trying "109.CorrelationSets" example and it worked fine: it doesn't use WS-Addressing for correlation but I have observed (through a TCP monitor) that it still uses WS-Addressing for the "ReplyTo" address. So (once again):
Is there some way of receiving callbacks without the need of WS-Addressing?
Can I "hard wire" the return address to P1 in the second BPEL process (P2)?
Say P1 is initiated through operation "op1" in port type "pt1". Is it possible to receive the asynchronous callback from P2 in other operation (say "op2") in the same port type (pt1)?
Best regards and many thanks in advance,
Manuel

Similar Messages

  • BPEL and Axis2 Asynchronous service

    Does anybody have develope Oracle BPEL Asynchronous process and Axis2 Asynchronous service.
    Can somebody share their expreince??
    Thanks
    Gopal

    I have looked at BPELCallingAsyncAXIS sample it works fine with Axis 1.3, I was using this sample to start with Axis2.
    But BPELCallingAsyncAXIS sample required otn-jaxrpc.jar libaray which implement ws-addressing and asynchronous service call to BPEL for Axis 1.3.
    And otn-jaxrpc.jar library require all jaxrpc classes specific dependency.
    I am not sure whether this library otn-jaxrpc.jar is production ready and how stable it is
    Axis2 already have ws-addressing and asynchronous webservice implementation so I don't need to rely on otn-jaxrpc.jar
    And I think for future webservice (document style) development we will be using axis2 b'cos of WS-* support , Asynchronous webservice
    Thanks
    Gopal

  • Error using WS-Addressing during asynchronous callback

    I am using the BPEL PM (10.1.2) to call an asynchronous service, but I am not receiving the callback. This is the SOAP request message:
    <?xml version="1.0"?>
    <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soapenv:Header>
              <ns1:MessageID xmlns:ns1="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:ns2="http://schemas.oracle.com/bpel" ns2:rootId="3005" ns2:parentId="3005" ns2:priority="3" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">bpel://localhost/default/BPEL_Test_Async~1.0/3005-BpInv0-BpSeq1.6-2</ns1:MessageID>
              <ns3:ReplyTo xmlns:ns3="http://schemas.xmlsoap.org/ws/2003/03/addressing" soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0">
                   <ns3:Address>http://SRJONES011203:9700/orabpel/default/BPEL_Test_Async/1.0/PS_Async_PL/GetNamePortTypeCallback_Role</ns3:Address>
                   <ns3:ReferenceProperties xsi:nil="true"/>
                   <ns3:PortType xmlns:ns4="http://peoplesoft.com/BPEL_ASYNC_REQ">ns4:GetNamePortTypeCallback</ns3:PortType>
                   <ns3:ServiceName xmlns:ns5="http://peoplesoft.com/BPEL_ASYNC_REQ">ns5:GetNameCallbackService</ns3:ServiceName>
              </ns3:ReplyTo>
         </soapenv:Header>
         <soapenv:Body>
              <psGetName xmlns="http://peoplesoft.com/BPEL_ASYNC_REQ/">
                   <emplid xmlns="http://peoplesoft.com/BPEL_ASYNC_REQ/">SimonJones</emplid>
              </psGetName>
         </soapenv:Body>
    </soapenv:Envelope>
    and this is the response I'm generating:
    <?xml version="1.0"?>
    <SOAP-ENV:Envelope xmlns:ns1="http://peoplesoft.com/BPEL_ASYNC_REQ/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP-ENV:Header xmlns:ns2="http://schemas.oracle.com/bpel" ns2:rootId="3005" ns2:parentId="3005" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
              <wsa:MessageID>bpel://localhost/default/BPEL_Test_Async~1.0/3005-BpInv0-BpSeq1.6-2</wsa:MessageID>
              <wsa:RelatesTo>bpel://localhost/default/BPEL_Test_Async~1.0/3005-BpInv0-BpSeq1.6-2</wsa:RelatesTo>
              <wsa:To>http://SRJONES011203:9700/orabpel/default/BPEL_Test_Async/1.0/PS_Async_PL/GetNamePortTypeCallback_Role</wsa:To>
         </SOAP-ENV:Header>
         <SOAP-ENV:Body>
              <ns1:psGetNameResponse>
                   <ns1:personname>AsyncCallbackResponse</ns1:personname>
              </ns1:psGetNameResponse>
         </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Can anyone spot any errors with my use of WS-Addressing ?
    I have seen other posts on the forum e.g. you need to include rootId and parentId in the SOAP Header, but am wondering if I've missed something else out.
    Cheers.

    Bharat,
    You dont need a Business Event setup to invoke a BPEL process from PL/SQL unless you have a special case and you need to process the response from the BPEL process in a separate thread (or in background)..
    For a straight call to BPEL process from PL/SQL, here is a sample script -
    function "MYTEST0" return varchar2 AS
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    resp XMLType;
    i integer;
    helpStr varchar2(30000);
    BEGIN
    soap_request:= '<?xml version = ''1.0'' encoding = ''UTF-8''?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns0="
    http://xmlns.oracle.com/TestWS">
    <env:Body>
    <ns0:TestWSProcessRequest>
    <ns0:input>abc</ns0:input>
    </ns0:TestWSProcessRequest>
    </env:Body>
    </env:Envelope>
    /* the BPEL process name is TestWS */
    http_req:= utl_http.begin_request
    ( 'http://hostname:7777/orabpel/default/TestWS/1.0'
    , 'POST'
    , 'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml');
    utl_http.set_header(http_req, 'Content-Length', length(soap_request));
    utl_http.set_header(http_req, 'SOAPAction', 'process');
    utl_http.write_text(http_req, soap_request);
    http_resp:= utl_http.get_response(http_req);
    utl_http.read_text(http_resp, soap_respond);
    utl_http.end_response(http_resp);
    resp:= XMLType.createXML(soap_respond);
    resp:= resp.extract('/soap:Envelope/soap:Body/child::node()',
    'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"');
    helpStr := '';
    i:=0;
    loop
    helpStr := helpStr || substr(soap_respond,1+ i*255,250);
    i:= i+1;
    if i*250> length(soap_respond)
    then
    exit;
    end if;
    end loop;
    return helpStr;
    END;

  • How to make a Mediator deal with calling an external Asynchronous Service

    Hi,
    Using TP 4.
    I want my Mediator to invoke an Asynchronous Service that is external to the composite application. But I do not know how to get the reply from that service back into my Mediator.
    I have worked with the sample of calling an asynch BPEL component within the same composite - that is fairly easy to accomplish.
    What how can I tell the external service to invoke a callback porttype on my Mediator. Can the SCA container work out the correlation between the external service and the correct instance of the SCA composite? Should the Mediator publish the callback interface as an external service at the SCA Composite level? If so - how would the correlation work? If not, how does it work?
    Any suggestions - even the statement that I always need a BPEL component in between that will support correlation with external asynch services, if that is the case - will help.
    Thanks.
    Lucas

    Kylie, welcome to the discussion area!
    Cable modems behave differently than DSL modems in that they will "remember" the last device that they have associated with. Your modem is "remembering" your MacBook and when you connect the TC, the modem won't connect because it "remembers" the MacBook.
    You need to make the modem "forget" a previous device whenever you make a change in the device that is directly connected to the modem. Here's how:
    Push the reset button on the modem if it's present
    Pull the power cable on the modem
    Pull the battery from the modem if it is easily accessible
    Leave the modem powered down for 25-30 minutes
    Power down the rest of your network as well
    After the wait period, connect the modem to the WAN port on the TC with an ethernet cable
    Power up the modem first and let it run for 3-4 minutes by itself
    Then power up the TC the same way
    Power up the rest of your network the same way
    Depending on how you had your TC configured with the DSL modem previously, you may need to make a few changes in the settings.
    Post back on your progress.
    Message was edited by: Bob Timmons
    null

  • How to make use of asynchronous service in CAF development

    Hello SDNs,
    How can we make use of asynchronous service in CAF development;
    Actually i am new to CAF development; my business requirement suites for the service provided by SAP. But the service provided is asynchronous; is it not possible to use the asynchronous service in my CAF application? if it is possible, can any one please tell me the drawbacks of using it!
    You help would be highly appreciated.
    Thanks,
    Sireesha.B

    Hi,
    >> I have some portal service and how to use that in the web dynpro application.
    Yes. U can use Portal service in webdynpro. Check the link given by subathra.
    >> and also what is the main diff between Portal Component and web dynpro application
    Portal Components are components designed to run in portal server while webdynpro application can run in J2EE WebAS.
    >> do we required portal to run web dynpro application.
    No for general cases. Just WebAS is sufficient to run webdynpro appl. But if u use portal service in ur webdynpro appl, then make sure both (portal service and webdynpro appl) run on same J2EE engine. That is mandatory.
    Regards,
    Vijai

  • BPEL Callback issue in Asynchronous service

    Hi,
    I’m sporadically getting Callback service issue with Asynchronous BPEL service. (SOA version is 11.1.14)
    Appreciate inputs to resolve it.
    The service is working as expected in most cases and is able to make a callback to the parent service, but random few instances give error – “Unable to access endpoint”
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="summary">
    <summary>
    oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): https://xxxxx.com:14002/soa-infra/services/default/POServices!1.0*soa_2c3cea4d-8791-453c-aed1-0569a86fa268/WorkFlowSvc%23POProcess/WorkFlowSvc
    </summary>
    The endpoint URI opens up in browser, so endpoint exists; and as mentioned above, many instances have completed successfully too.
    The service continues to be in running state and hence the parent process also remains in running state, unlike in success case when both get completed..
    Now, one observation is that the binding port and endpoint location given in code is http uri; not https
    So not sure why the deployed service is pointing to https uri for callback to parent service.
    In success cases, I’m not able to see the endpoint uri for callback, only the message is seen.
    So I’m not able to confirm if it uses the same https uri when it completes successfully..
    -     Could the issue be related to https access/ owsm policy?
    -     How to check the endpoint point uri for async/ callback service in success case? The SOA logs don’t indicate it either, except in error cases (log level is development/ Trace32 fine)

    Hi,
    FabricInvocationException exception mostly occurs when process is trying to connect WS/Partnerlink service which is not accesible.
    I fixed this issue,
    1. After setting external WS certificate(Keystore) information in my weblogic server.
    2. I have made my weblogic url as public, after which wsdl url is accessible to my destination service.
    Hope this would help in fixing your issue.
    Regards,
    Ajay

  • Unable to receive message from an Asynchronous service - BPEL

    Hi
    I had developed a simple asynchronous BPEL Composite that takes in two parameters(firstName, lastName) and returns back fullName.
    I had used a wait activity(for 30 seconds) in the BPEL , after which the two inputs are concatenated, and returned finally. I could test this successfully thru EM, and check the response in the Flow Trace.
    The problem is occuring when I'm using this async service in another BPEL.
    In another BPEL(which is synchronous), i wanted to use this service, so I used an invoke activity to invoke it, and receive activity to get the response.
    But, I'm not getting the final response. Instead, getting the following error after some time(defenitely longer than 30 seconds which is the wait for the async service. Trace given at last)
    I think the problem is with the correlation of the response with the req, but the documentation says correlation is automatically enforced with ws-addressing and no need to correlate seperately. So, I haven't done anything extra for correlation. I tried with both transaction properties of BPEL (required and requiresNew), but none could solve. Please help me in this
    I checked the flow trace, and it is stopping after the async service invocation activity.
    Here is the BPEL Flow Trace
    ReceiveAsyncResp (pending)
    Waiting for the expiry time "9/20/12 4:55 PM".
    Waiting for "callback" from "FullNameAsyncService". Asynchronous callback.
    The transaction was rolled back. The work performed for bpel instance "310002" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.The transaction was rolled back. The work performed for bpel instance "310002" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message
    Here is the log message(highlighted for easy readability)
    [2012-09-20T16:53:33.718+05:30] [soa_server1] [NOTIFICATION] [] [oracle.integration.platform.blocks.tenant] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [component_instance_id: 310002] [component_name: BPELProcessForAsyncUsage] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] NM or Event does not contain property, apps.context.header or fabric.enterpriseId
    [2012-09-20T16:54:19.453+05:30] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.delivery] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] No response found for the reply for conversation id urn:9B8F42F0031511E2BFF01541EF21AC0F
    [2012-09-20T16:54:19.812+05:30] [soa_server1] [NOTIFICATION] [] [oracle.wsm.agent.WSMAgent] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] Message Type is normalized, exiting agent.processFault()
    [2012-09-20T16:54:19.812+05:30] [soa_server1] [NOTIFICATION] [] [oracle.wsm.agent.WSMAgent] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] Message Type is normalized, exiting agent.processFault()
    [2012-09-20T16:54:19.812+05:30] [soa_server1] [NOTIFICATION] [] [oracle.integration.platform.blocks.tenant] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [WEBSERVICE_PORT.name: BPELProcessForAsyncUsage_pt] [APP: soa-infra] [composite_name: UsingAsyncService] [J2EE_MODULE.name: fabric] [J2EE_APP.name: soa-infra] [WEBSERVICE.name: bpelprocessforasyncusage_client_ep] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] NM or Event does not contain property, apps.context.header or fabric.enterpriseId
    [2012-09-20T16:54:20.312+05:30] [soa_server1] [ERROR] [OWS-04086] [oracle.webservices.service] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [APP: soa-infra] [composite_name: UsingAsyncService] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] javax.xml.rpc.soap.SOAPFaultException: *Waiting for response has timed out. The conversation id is null. Please check the process instance for detail.[[*
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.generateSoapFaultException(WebServiceEntryBindingComponent.java:1193)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.processIncomingMessage(WebServiceEntryBindingComponent.java:971)
         at oracle.integration.platform.blocks.soap.FabricProvider.processMessage(FabricProvider.java:113)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:1187)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:1112)
         at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:581)
    [2012-09-20T16:54:20.421+05:30] [soa_server1] [ERROR] [OWS-04115] [oracle.webservices.service] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0:2] [APP: soa-infra] [composite_name: UsingAsyncService] [TARGET: /Farm_soa_domain/soa_domain/soa_server1/soa-infra] [TARGET_TYPE: oracle_soainfra] An error occurred for port: FabricProvider: javax.xml.rpc.soap.SOAPFaultException: Waiting for response has timed out. The conversation id is null. Please check the process instance for detail..
    [2012-09-20T16:54:20.500+05:30] [AdminServer] [ERROR] [] [oracle.webservices.jaxws] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Error while invoking endpoint "http://ravi:8001/soa-infra/services/Partition4MrPai/UsingAsyncService/bpelprocessforasyncusage_client_ep" from client; Security Subject: Administrators
    [2012-09-20T16:54:20.531+05:30] [AdminServer] [NOTIFICATION] [] [oracle.sysman.emSDK.webservices.wsdlapi.dispatch.DispatchUtil] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Dispatch.invoke failed.Exception stack trace written to trace file.
    [2012-09-20T16:54:20.578+05:30] [AdminServer] [ERROR] [EM-00453] [oracle.sysman.emas.model.wsmgt.WSTestModel] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Failed to invoke operation
    [2012-09-20T16:54:20.578+05:30] [AdminServer] [ERROR] [EM-00453] [oracle.sysman.emas.view.wsmgt.WSView] [host: rsavirig-idc] [nwaddr: 10.10.10.10] [tid: [ACTIVE].ExecuteThread: '22' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 3f3d2d8955322f32:3a1f20bc:139e2cf6c4c:-8000-0000000000000280,0] [APP: em] [TARGET: /Farm_soa_domain/soa_domain/AdminServer/em] [TARGET_TYPE: j2ee_application] Failed to invoke operation

    RaviKiran,
    I agree that the explanation oracle provided in the attach link, is a bit confusing. The main goal there is to describe the behavior of processes, when there is a need to combine, or split the transactions within those processes (or in some cases the processes themselves).
    The thing is - The default transaction for a synchronous process is requiresNew. That was until version 11.1.1.6. On this last version, you are asking to enter a Transaction parameter when creating a new synchronous bpel process. The default value being prompt is required and that's what causing the problem – You automatically accept the default.
    The assumption is, that developing bpel processes, should come with understanding of all those behaviors.
    The problem for my understanding is that some of those behaviors were not so cleared until now.
    Arik

  • WS-addressing through Oracle Service Bus

    Hi,
    I'm trying to setup a business process, which is running on IBM WebSphere Process Server, and this need to call a web service through Orcale Service Bus, asynchronously (since this is a long running web service, the process will call it and wait for the answer in a different process step). My scenario is just like the one described here in "Advanced Use Case: asynchronous - Calling Service Providers from Oracle BPEL Process Manager" http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/bpelpmtransport/transport.html... but the client is not Oracle BPEL Process Manager. So my question is, can I use this WS-Addressing based mechanism, in Oracle Service Bus, from another kind of client? Which are the main step to get this?

    If I'm not wrong, WS-Addressing is only supported in conjunction with WS-Transport (WSRM- Reliable messaging) http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15866/ws.htm#BACJJHBI
    Normal HTTP transport BS might not be of much help in your use-case. You can raise enhancement request for the same.
    Thanks
    Manoj

  • How to get client Ip address from web service

    Hello folks,
    I am quite new to web service and developing a web service using netbeans6.0 IDE, where i have to know which client called/used the service, After googling i got code snippet like below
    inject a WebServiceContext instance into your WebService class, and use it in each WebMethod to get the current request's MessageContext Map. Get the SERVLET_REQUEST item from that, cast as an HttpServletRequest. From that HttpServletRequest, you can invoke getRemoteAddr() to get the client's IP.
    @WebService
    public class MyService{
    @Resource
    WebServiceContext wsCtxt;
    @WebMethod
    public void myWebMethod(){
    MessageContext msgCtxt = wsCtxt.getMessageContext();
    HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
    String clientIP = req.getRemoteAddr();
    }But it throws error in my PC like
    Service invocation threw an exception with message : null; Refer to the server log for more details
    Exceptions details : java.lang.reflect.InvocationTargetExceptionIs there any way that says client pc ip address using netbeans6.0 Or what went wrong in my code?
    Largely Thanks in advance.
    SRI.

    I am afraid,
    javax.servlet.ServletException: java.lang.reflect.InvocationTargetException
    at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doPost(WebServiceTesterServlet.java:340)
    at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:121)
    at com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:148)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:270)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:339)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:261)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.reflect.InvocationTargetException 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.enterprise.webservice.monitoring.WebServiceTesterServlet.doPost(WebServiceTesterServlet.java:311) ... 35 more Caused by: javax.xml.ws.soap.SOAPFaultException: java.lang.NullPointerException at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:187) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117) at $Proxy102.processMessage999(Unknown Source) ... 40 more Caused by: java.lang.NullPointerException at org.shar.Handle.processMessage999(Handle.java:120) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:361) ... 2 more

  • Problem in customer address while creating service notification using IW51

    Hi Experts,
    I am trying to create a BDC recording for creating Service Notification using transaction IW51. I have done the recording as follows. On the First screen I am entering notification type. Then on the next screen I am entering the Sold to party  and its address by clicking on the icon besides it. After that i enter Functional location, equipment, priority and req end date and save it.  When I am running this recording after transferring it to a progam , somehow the address disappears for the newly created notification. I am not able to figure out the reason. Kindly guide me.
    Thanks,
    Sonal

    I assume you have tried this with update mode = 'A'-all and watched it actually work correctly?  May I ask why the BDC instead of BAPI?  Is it because you're creating a new partner?  If so, are you pressing save on that partner creation?

  • Ship to address on the service contract

    Hello
    The service contracts are getting created without ship to address from OM and IB.
    Is there a way to get the ship to on to service contract automatically?
    Regards
    Srini

    Hi Srini,
    The standard functionality is for Ship to details to be passed to Warranty contracts from OM but not IB.
    If this is not your experience please log an SR so support can investigate further.
    Regards,
    Mark.

  • Get client ip address from Web Service hosted on OAS 10.1.2

    Hi,
    Can anyone advice how to get the client IP from a web service (java) hosted on Oracle Application Server 10.1.2.
    The below code works if the web service is hosted on Tomcat.
    MessageContext msgCtxt = MessageContext.getCurrentMessageContext();
    String IP = (String)msgCtxt.getProperty("REMOTE_ADDR");
    This code is causes built errors on the OAS 10.1.2 since it needs Axis and many other Jars. I tried to insert the jars needed but unfortunately when i was able to compile it returned a java.lang.NullPointerException.
    Is there a way to get the IP address of the client that calls this web service ?
    Or is there a way to read the SOAP request maybe i can retrieve the client IP from it.
    Thanks for your support,
    regards

    http://forums.sun.com/thread.jspa?threadID=5371892&messageID=10636223
    Thank you!

  • Address For Customer Services in the

    Hi All,?I bought a Zen Vision:m 60GB in January 2007 and applied for the Free Docking Station under a promotion that they were doing.Sent it off 5 weeks ago Recorded Deli'very. It was signed for at their end, but so far nothing. I've kept a copy of all the paperwork which I intend to send off again, however I can't find an address for their Customer Services Dept in the UK.Can anybody point me in the right direction. Thanks?

    Hi,with me the same thing happened!! Half december I applied for this free docking station (they had the same promotion in the?Netherlands). However I never received anything (it wasn't recorded deli'very). Now the url for this promo isn't functioning anymore. Did anybody receive the docking station?Because I couldn't find an e-mail adress for customer services I just send an e-mail to support. I wonder if?Creative will?reply. If not I?'m afraid?some people at Creative?are misleading customers.

  • Add E-mail Address in Shared Services

    <p>Good Day,</p><p> </p><p>I am using NTLM and like to add e-mail address for my users inShared Services.  When i click on the user, i see the User Id,Last Name, First Name, Description and E-mail address field. I cannot change the user profile.</p><p> </p><p>I have asked my Network group who maintains the NT Domain, andthey cannot find any place where the e-mail address is stored. How can i ge the e-mail field populated.  I like to usethis function in BI+ Workspace, so that users can e-mail link forreports to other users.</p><p> </p><p>Thanks</p>

    That is correct.

  • ProcessControlExceptions in Asynchronous Services

    I have built an asynchronous web service (jws) that invokes a synchronous process (jpd) via a process control (jcx). I'm having trouble with my exception handling.
    My JPD has a global exception handler, which throws a SoapFaultException wrapping the exception that was caught. My JWS file has a try-catch block around the call to the process control, which catches a ProcessControlException, and extracts the relevent information from the contained SoapFaultException. I do not rethrow any exceptions.
    Despite the fact that I handle the exception in the JWS, it seems that once the method completes (in its entirety) if an exception was caught, the transaction is rolled back, and - since this method starts the conversation - the conversation is not created. This is a major problem, since polling the service will throw a ConversationNotFoundException.
    I have done some testing, and the issue only occurs when an exception is thrown from a process control within my jws method. My best guess is that since the transaction is passed to the control, and the control throws an exception, the transaction is set to be rolled-back, even though the exception is being handled at the JWS level. Am I doing something wrong? Is there a way for me to prevent the transaction from rolling back? Any help would be greatly appreciated.
    Thanks.
    -Brian

    Information at the following link may be helpful:
    http://forums.bea.com/bea/thread.jspa?messageID=600034865&#600034865
    Regards,
    Rommel Sharma

Maybe you are looking for

  • Windows bactch job to trim the Listener log

    Hi All , Can you help me to write a Windows batch job to trim the listener.log on periodically. I have the below steps, which i do manually but i won't which needs to be put in batch. copy listener.log listener_<today>.log lsnrctl set log_file listen

  • Multiple desktops with key combination ctrl + win + arrow

    hi there it seems that i´ve accidentally activated a new feature (at last for me its new - but i love it!!) when i press the combination ctrl + win and press the right/left arrow i get a second and third screen. is this a new feature? how did i activ

  • How to connect to specific Airport

    I have a new Airport Extreme-N which is hardwired to the internet. In another room I have an Express that I use to connect to my DVR to get "on demand" programming. I am using the Extend this network option on the Express. I am noticing that the iMac

  • Can I make an e-brochure that scrolls horizontally from iPages.

    Hello, I am making an e-brochure in Apple iPages and will save to PDF. The customer wants the brouchure to scroll to each page horizonally rather than vertically. Is this something I can do when saving to a PDF? Any suggestiuons would be very welcome

  • SQL server 2008 restore and access error

    hi (provider: Named Pipes Provider, error: 40 – Could not open a connection to SQL Server I restored a backup which i was not created to a new database and if i connect above said issue is coming , if i generate script from restored DB and running wi