Invoke Asynchronous Web Services

I used to work with Axis1.4 Web Services and now transfer to
Axis2 which supports asynchronous web services. I would like to try
to invoke asynchronous web services in Flex/FDS. Does Flex support
it? Does anyone have experience in this? Please give some
suggestions. Thanks.

That's pitty. But I tested a simple helloWorld service, it
works. However, not work with the other one.

Similar Messages

  • Invoking Asynchronous Web Service from BPEL Process

    Hi,
    I have been working on the BPEL Process Manager for some time and now facing problem in invoking asynchronous web service from a BPEL Process. I have implemented a web service in Java using Axis but wasn't able to invoke it.
    I have gone through all the meterial available on this site but couldn't get any great help.
    Can some one help me in resolving this issue. A pointer to any example or sample material/tutorial will be appreciated.
    thanks
    Farooq

    I do the same thing.
    Take wsdl from axis and save it somewhere.
    Then you can create a standard project in Oracle BPEL PM. Create partnerlink, give a name and click on first icon to take your wsdl. It will add some needed code, you answer always yes. Then you can create receive, assign, invoke, assign and callback or similar and deploy it.
    Try it through BPEL Console...
    Ema

  • 10g: Invoking a web service asynchronously from BPEL

    Hello,
    I am trying to figure out a good, generic method for making a previously synchronous web service asynchronous and changing the way in which it is invoked from BPEL. I am using SOA Suite 10g (10.1.3.5)
    As I understand, one possible method to achieve this is to use IDeliveryService.post() to deliver the web service's response to the BPEL process. For this route, the standard practice of correlation seems to be to supply a correlation Id when invoking the web service and returning the same correlation id as a part of the web service's response message. However, I want to avoid this since it would mean that all response messages from the web service (10+) would have to be modified to include a correlationId, which is problematic in the special case of this web service. Including a correlationId in the request message is possible, however.
    I have tried the approach of using the conversation Id directly instead of the correlation Id, by reading the value of ora:getConversationId(), passing this to the web service and setting the property CONVERSATION_ID of the response NormalizedMessage to the same value when returning. However, I cannot seem to get this approach right. Is this possible at all?
    An alternative might be to use WS-Addressing, but I do not know if I can make the web service support this - it is written using the EJB WebService-Annotations feature and runs on OC4J as well.
    Do you have any suggestions on how this problem could be resolved?
    Edited by: 901765 on 12.12.2011 06:01

    I have found the following tutorial that implements something similiar to what I am trying to do: http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/odi/10g/10135/odiscenario_bpelcallback/odiscenario_bpelcallback.htm#t3
    Because of this, I am now confident that the conversation IDs can be used to achieve correlation. I have implemented the pattern by performing
    an invoke activity on the web service, passing the result of ora:getConversationId() as part of the message. The conversation Id returned is of UUID-Form.
    After the invoke activity, I have added a pick activity to receive the response message supplied by the web service through IDeliveryService.post(...). I can see that the message is received correctly by loooking at the contents of DLV_MESSAGE. However, the pick activity times out every time (after 10m). Looking at DLV_SUBSCRIPTION reveals that the conversation_id for the pick/receive activity is set to a value of the form bpel://localhost/default/MyBpelProcessName~1.0/7610001-BpInv0-BpSeq2.7-2. As far as I know, this should instead be set to the UUID that ora:getConversationId() returned before performing the invoke activity. What is going wrong here?
    Thanks for your help!

  • Invoking a web service asynchronously

    We can not invoke a web service asynchronously from a standalone java client and a client web service is needed for that.I am not clear why is it so??plz tell me.

    you can write an asynchronous client with JAXWS Dispatch. There are two styles: Polling and callback.

  • How to invoke a web service asynchronously using ws-addressing model?

    Hi Gurus,
    We are invoking an external web service asynchronously using Oracle Work Flow Business events using the following mechanism -
    1)Created a web service invoker event to invoke the web service.
    2)Created a subscription that invokes the web service (provided the wsdl address, operation info).
    3)Defined a subscription parameter WFBES_CALLBACK_EVENT with value pointing to a recieve event.
    4)Created a receive event(parameter value for WFBES_CALLBACK_EVENT) and a subscription that directs the response to a custom PL/SQL function to process response.
    so far so good. We were able to invoke the web service and get and process the response.
    Problem: The external web service can take upto 10 hrs to process the request. A time out of 2 hrs is set on the server hosting the external web service. So when the external web service takes more than 2 hrs to process the request and it times out and we get the following error on EBS side -
    'l_error_message:oracle.apps.fnd.wf.bes.InvokerException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=iso-8859-1'
    Now the external web service providers are suggesting that we are not calling their web service asynchronously and we should use ws-addressing model to do so.
    Is there a way to invoke this web service using ws-addressing model using business events or from PL/SQL or OA middle-tier?
    Regards,
    Sunil
    CMRO Development.
    I am providing here the WSDL of the external web service -
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://service.sdk.webservices.enigma.com" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax21="http://service.sdk.webservices.enigma.com/xsd" xmlns:ns="http://service.sdk.webservices.enigma.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <wsdl:types>
    <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.sdk.webservices.enigma.com/xsd" xmlns:ax22="http://service.sdk.webservices.enigma.com">
    <xs:import namespace="http://service.sdk.webservices.enigma.com"/>
    <xs:complexType name="JCGWebServicesException">
    <xs:complexContent>
    <xs:extension base="ax22:Exception">
    <xs:sequence>
    <xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>
    <xs:complexType name="JCGServiceReply">
    <xs:sequence>
    <xs:element maxOccurs="unbounded" minOccurs="0" name="pdfStatus" nillable="true" type="ax21:PdfStatus"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="PdfStatus">
    <xs:sequence>
    <xs:element minOccurs="0" name="jobCardID" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="pdfPath" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="status" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.sdk.webservices.enigma.com" xmlns:ax23="http://service.sdk.webservices.enigma.com/xsd">
    <xs:import namespace="http://service.sdk.webservices.enigma.com/xsd"/>
    <xs:complexType name="Exception">
    <xs:sequence>
    <xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
    </xs:sequence>
    </xs:complexType>
    <xs:element name="JCGWebServicesException">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="JCGWebServicesException" nillable="true" type="ax21:JCGWebServicesException"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="runJobCard">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="a_WorkpackageFilePath" nillable="true" type="xs:string"/>
    <xs:element minOccurs="0" name="a_userName" nillable="true" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    <xs:element name="runJobCardResponse">
    <xs:complexType>
    <xs:sequence>
    <xs:element minOccurs="0" name="return" nillable="true" type="ax21:JCGServiceReply"/>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    </wsdl:types>
    <wsdl:message name="JCGWebServicesException">
    <wsdl:part name="parameters" element="ns:JCGWebServicesException">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="runJobCardResponse">
    <wsdl:part name="parameters" element="ns:runJobCardResponse">
    </wsdl:part>
    </wsdl:message>
    <wsdl:message name="runJobCardRequest">
    <wsdl:part name="parameters" element="ns:runJobCard">
    </wsdl:part>
    </wsdl:message>
    <wsdl:portType name="JCGServicePortType">
    <wsdl:operation name="runJobCard">
    <wsdl:input message="ns:runJobCardRequest" wsaw:Action="urn:runJobCard">
    </wsdl:input>
    <wsdl:output message="ns:runJobCardResponse" wsaw:Action="urn:runJobCardResponse">
    </wsdl:output>
    <wsdl:fault name="JCGWebServicesException" message="ns:JCGWebServicesException" wsaw:Action="urn:runJobCardJCGWebServicesException">
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="JCGServiceSoap11Binding" type="ns:JCGServicePortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="runJobCard">
    <soap:operation soapAction="urn:runJobCard" style="document"/>
    <wsdl:input>
    <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="JCGWebServicesException">
    <soap:fault name="JCGWebServicesException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="JCGServiceSoap12Binding" type="ns:JCGServicePortType">
    <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="runJobCard">
    <soap12:operation soapAction="urn:runJobCard" style="document"/>
    <wsdl:input>
    <soap12:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
    <soap12:body use="literal"/>
    </wsdl:output>
    <wsdl:fault name="JCGWebServicesException">
    <soap12:fault name="JCGWebServicesException" use="literal"/>
    </wsdl:fault>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="JCGService">
    <wsdl:port name="JCGServiceHttpSoap12Endpoint" binding="ns:JCGServiceSoap12Binding">
    <soap12:address location="http://localhost:8080/JCG/services/JCGService"/>
    </wsdl:port>
    <wsdl:port name="JCGServiceHttpSoap11Endpoint" binding="ns:JCGServiceSoap11Binding">
    <soap:address location="http://localhost:8080/JCG/services/JCGService"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Edited by: sikumar on Jun 22, 2010 1:50 PM

    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;

  • 11G - invoking an asynchronous Web service that is not a BPEL process

    Hi all,
    Is there an 11G example of implementing and invoking an asynchronous Web service that is not a BPEL process ? . In 10g there is an example for Axis web service (Oracle_Home\integration\orabpel\samples\interop\axis\BPELCallingAsyncAXIS ) but I can't find anything related to 11G so far.
    Thanks in advance,
    sasha

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

  • Asynchronous Web Service

    I am looking for an approach to decouple my sytem. Traditional approach I have done before is to construct custom xml message, send the message to JMS queue. Another process (MDB) retrieve the message from the queue, parse the message and invoke the corresponding services.
    This approach is working, however, it involves a lot of work (to construct and parse the xml message).
    I am looking for the new approach based on asynchronous Web Service.
    Read through the document:
    http://e-docs.bea.com/wls/docs81/webserv/jmstransport.html#1054482
    In weblogic 8.1, you can use JMS transport to invoke a webLogic web service. Also, you can create asynchronous client to invoke web service. Have some questions here:
    1. the document did not emphasize the advantage to use JMS based web service. It sounds like it's just an alternative approach comparing the traditional http based approach. does JMS based web service mean more reliable?
    2. for me, to use JMS base web service with RPC (synchronous) type of client sounds funky. Is there a way to specify that the JMS based web service is for aynchronous client only?
    3. the way asynchronous client work is to create a temp response queue to receive the web service response. Is there any performance penalty? For my case, I never expect any result to come back - all actions return void (why? cause all the services interact with the same database).
    4. continue to question 3. Is there a way to specify that the asynchronous client never expect any result and don't create a temp response queue? Also, if the return result is void, whether or not the response queue is still created?
    Ok, here's the short question - what I am looking for is an alternative approach to replace the traditional approach. Sounds for me, it should be a combination of JMS based web service and asynchronous client. Weblogic seperate them into two seperate features. How to efficiently use them together?
    thanks.

    1. the document did not emphasize the advantage to
    use JMS based web service. It sounds like it's just
    an alternative approach comparing the traditional
    http based approach. does JMS based web service mean
    more reliable? JMS transport is not emphaized because it is not a
    standard. You can not use JMS transport and interop
    with other vendors.
    >
    2. for me, to use JMS base web service with RPC
    (synchronous) type of client sounds funky. Is there a
    way to specify that the JMS based web service is for
    aynchronous client only? Sorry, no.
    >
    3. the way asynchronous client work is to create a
    temp response queue to receive the web service
    response. Is there any performance penalty? For my
    case, I never expect any result to come back - all
    actions return void (why? cause all the services
    interact with the same database).
    4. continue to question 3. Is there a way to specify
    that the asynchronous client never expect any result
    and don't create a temp response queue? Also, if the
    return result is void, whether or not the response
    queue is still created?The response queue is created when the JMS connection is
    created. Hence the temp queue is created always. I agree
    that it is nice to have an option to turn it off. Will try
    to add it in 9.0
    >
    Ok, here's the short question - what I am looking for
    is an alternative approach to replace the traditional
    approach. Sounds for me, it should be a combination
    of JMS based web service and asynchronous client.
    Weblogic seperate them into two seperate features.
    How to efficiently use them together? You are right, JMS transport and async client can be
    combined to form a scalable system. It is not
    optimized for this use case in 8.1, because the focus
    was on portability (async client is WLS specific) and
    interop.
    An alternate approach will be to expose a POJO as
    web service. POJO can drop the incoming data to a
    JMS queue. Then use an MDB to drain the queue to
    do the actual work. This way, the client will have
    a typed interface (in WSDL) to work with and it can
    use the normal HTTP transport. Since the POJO is
    just doing an enqueue, I think it can scale well too.
    Regards,
    http://manojc.com

  • Asynchronous web service call using PL/SQL

    Hi Guys,
    i'm using Apex 4.1.
    Is that possible to invoke a web service asynchronously within PL/SQL code block ? If so,
    How can i access the return value of the service when execution of that web service completes ?

    Bolev wrote:
    We have (Oracle 10g) automated process (ETL) based on internal data. Now there is an offer to incorporate existing web service call (let's say for additional record verification) in this process. Service call (I do not know what type of it yet) is using data from remote database which is not ours.Web service calls from PL/SQL is not that complex. You can use the standard UTL_HTTP package as shown in {message:id=4205205}.
    I never heard anybody goes this way especially for ETL processes.Well, if you push a million rows through the ETL process and the call overhead for the web service call (assuming perfect network and web server response) is 1 sec, that translates into 277+ hours of runtime alone for the validation to be done via web service.
    So yeah - it would seem kind of silly to use something like a web service to validate large volumes ETL data.

  • Asynchronous Web Services in BEA

    I need to build an asynchronous web services SOAP message reciever and an asynchronous
    web services SOAP message sender. Over HTTPS.
    I know how I would do it with JAXM and the Sun RI, but can not seem to find any
    implementation or equivelent in WebLogic (though many of the interfaces and abstract
    classes are in the BEA jar files). We are on WebLogic 7.

    I don't understand what you mean in step 5 that the client does not change. I
    want the client to send a SOAP message instead of call a remote process.
    Steve
    "manoj cheenath" <[email protected]> wrote:
    7.0 supports one-way and it is same as in 8.1.
    You got the steps to write a one-way service right.
    Here is it again:
    1. write the backend component. The method
    that you want to make one-way should return void.
    2. Either run servicegen or autotype+source2wsdd
    to generate the XML codecs and web-services.xml
    DD file.
    3. edit the DD file to change invocation-style as
    shown below.
    <operation name="helloOnewayWorld"
    invocation-style="one-way"...
    4. package and deploy.
    5. There is no change required on the client side. Client
    will knows that an operation is one-way by looking at
    the WSDL.
    -manoj.
    "Steve Watson" <[email protected]> wrote in message
    news:[email protected]...
    Can you send me the WL 8.1 example? How has support for one way messagingchanged
    in 8.1? Would there be any advantage for us to move to 8.1?
    Thanks everyones help so far. I am trying to assemble the rules oncreating one
    way messages - from this thread and bits and peices in the documentationI
    have
    found:
    "a document-oriented Weblogic Web Service operation can have only oneparameter,
    of any supported data type"
    "The backend component that implements the operation must explicitlyreturn void."
    "You specify this type of behavior with the invocation-style attributeof
    the
    <operation> element in web-services.xml"
    Have I missed anything?
    Steve Watson
    "manoj cheenath" <[email protected]> wrote:
    You need to set invocation-style="one-way" in the
    operation element of the web-services.xml dd file [1]
    You can use source2wsdd ant task to generate this DD [2].
    I dont have an example that runs on 7.0. But here is an
    example that works with 8.1.
    -manoj
    [1] http://edocs.bea.com/wls/docs70/webserv/wsp.html#1001373
    [2] http://edocs.bea.com/wls/docs70/webserv/anttasks.html#1080421
    "Steve Watson" <[email protected]> wrote in message
    news:[email protected]...
    I can find very little in the documentation on how to do this -
    is
    there a
    cook
    book?
    Steve Watson
    "manoj cheenath" <[email protected]> wrote:
    WLS only supports JAX-RPC. One can do one-way invokes
    using JAX-RPC. So, you can implement your receiver as a
    web service that accept one way invokes.
    Will this fit your use case?
    -manoj
    "Steve Watson" <[email protected]> wrote in message
    news:[email protected]...
    I need to build an asynchronous web services SOAP message recieverand an
    asynchronous
    web services SOAP message sender. Over HTTPS.
    I know how I would do it with JAXM and the Sun RI, but can not
    seem
    to
    find any
    implementation or equivelent in WebLogic (though many of the
    interfaces
    and abstract
    classes are in the BEA jar files). We are on WebLogic 7.
    begin 666 sample3.zip
    M4$L#!!0`" `(`/>!@BX````````````````)``0`345402U)3D8O_LH```,`
    M4$L'" `````"`````````%!+`P04``@`" #W@8(N````````````````% ``
    M`$U%5$$M24Y&+TU!3DE&15-4+DU&\TW,RTQ++2[1#4LM*L[,S[-2,-0SX.5R
    M+DI-+$E-T76J! F8Z!G&&QCIIB8J: 27YBGX9B87Y1=7%I>DYA8K>.8EZVGR
    M<O%R`0!02P<(V@!HADH```!*````4$L#!!0`" `(`$!U@BX`````````````
    M```.````<')O<&5R=&EE<RYT>'2%4$UKPS ,O0?R'P3==5-W&@1Z&AD4!BL[
    M]1;<1&T]',O(RMHR]M]G)RNL'6PZV4_O0]+L]L\JBQF,%80#B5J*"?I/DRA*
    M?8#."K7*<@)EX$'#H+ C3V*4.MA:E]TRLTG,!6H?<!2;$)QMC5KV,9L`;T'W
    M!)'DG>3NDC%JNPHW9'!(C":-^I9B(^J0LJUQ^-.O+*ZU8^[!'2*V[+=VA_VI
    MX]Y8?Z5+L1L3"09QOP::'DUJ+?:JH4)TW!JWYZC5PWQ^/^V5L6QVEF^$#TD)
    M=*2R^/XL'BM<">_$]/"4+X1+KR2>%.IC<"PDN*S7J^>7U_JN7M?9>#KMN,S-
    MQ_F>GSC!9=$Z2UZ;UID8*5Y0+EME\0502P<(3D:RZ!$!```/`@``4$L#! H`
    M`````.R!@BX````````````````(````<V%M<&QE,R]02P,$% `(``@`VX&"
    M+@```````````````!<```!S86UP;&4S+V)U:6QD+7=E8G-S+GAM;*U6VV[;
    M, Q]+]!_((R]Q@;V[ SH+@4R8$6P"_:L2'2B5K8,24X6#/GW49;MV$F<2]<W
    M2SJ'I,@CTFEI]#-R!P7+<1IM<&%M! (S5BDWC1:55"+Z<']W?P>0.F:6.(#&
    M`0`-@C"L<)PI!0';PO@*^4L$LEBAD>Y!J6GD3(41)#UFY;3;E@AA#?#,UNR3
    MSDM=8.'L-'KW-QBS:-:28UPR_L*6N(L/#WR NZ@U(]"ZS]+L^;IR9>5B(<TN
    M^?WEXV3V])APQ:Q%NGK+:HP_U7<=\^PS$^!I;:!D;M5MT:9?H\*<X@>E.7-2
    M%U?&D?R?'2479VSX;\_W&8YKE['?VO4I:7)XI31I2]06+;6Z,AS?;ZP0;>8H
    MW=S(,H3(#3*'0'%"D[ON7!M@A0"B*LB,SB'8@DPJ;&OGX_M1;Q_7(,!W7<6$
    M>"3F^:S0R:3AV_A/KEH__DYV5F3ZJN(D-;S/;VS^^CX[CK,R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0A<%C80;7D_]0ZWOAJ50_&#L"U)FN5)
    MD>5%DA8[U_#TN*-,@_7>,J<!$FLC&>@+4?$DZB<[3FI08VZ^%+PA4]IZ+$#<
    MSG;X87+^J^!=94EDQOB^I:_D'>@7;=\+4$L'"(@-B!+/````WP$``%!+`0(4
    M`!0`" `(`/>!@BX``````@`````````)``0```````````````````!-151!
    M+4E.1B_^R@``4$L!`A0`% `(``@`]X&"+MH`:(9*````2@```!0`````````
    M````````/0```$U%5$$M24Y&+TU!3DE&15-4+DU&4$L!`A0`% `(``@`0'6"
    M+DY&LN@1`0``#P(```X`````````````````R0```'!R;W!E<G1I97,N='AT
    M4$L!`@H`"@``````[(&"+@````````````````@`````````````````%@(`
    M`'-A;7!L93,O4$L!`A0`% `(``@`VX&"+H9Q71=\`@``, D``!<`````````
    M````````/ (``'-A;7!L93,O8G5I;&0M=V5B<W,N>&UL4$L!`A0`% `(``@`
    MVX&"+F$3A>,H`P``30L``!$`````````````````_00``'-A;7!L93,O8G5I
    M;&0N>&UL4$L!`@H`"@``````VX&"+@````````````````\`````````````
    M````9 @``'-A;7!L93,O8VQI96YT+U!+`0(4`!0`" `(`-N!@BY5MM$EK@$`
    M`-\#```8`````````````````)$(``!S86UP;&4S+V-L:65N="]-86EN+FIA
    M=F%02P$"% `4``@`" #;@8(N4'P0;$H!``#8`@``'@````````````````"%
    M"@``<V%M<&QE,R](96QL;U=O<FQD4V5R=FEC92YJ879A4$L!`A0`% `(``@`
    MVX&"+H@-B!+/````WP$``!(`````````````````&PP``'-A;7!L93,O5V]R
    =;&0N:F%V85!+!08`````"@`*`(("```J#0``````
    `
    end

  • Implementation of Asynchronous Web Services using JDeveloper

    Various articles and tutorials, which I have read, are talking about asynchronous BPEL processes. These asynch BPEL processes are result of the orchestration of different synch and asynch atomic services (web services in specific). There are even tutorials as part of Oracle SOA Suite and JDeveloper explaining how to consume asynchronous services in a BPEL process. Well and good.
    But unfortunately I haven’t seen any tutorial or article talks about the implementation of asynchronous web services (How to implement an asynchronous service?). All what they talk about is the consumption side of it and the applicability of WS-Addressing or Correlation ID for the consumption of the Service.
    As part of my research, I delved further into the sample BPEL processes comes out with Oracle BPEL Process Manager. For example; I have had a look into the Asynchronous Loan Processor process, where it is orchestrating a Synch Credit Rating Service and three asynch services namely Star Loan, United Loan and American Loans. But as I delved down into those, I realized that these services are simply BPEL Processes where it is implemented as a sequence of Receive, Assign and Invoke activities, where each of the activities does the following.
    Receive -- Receives the request from the client
    Assign -- Does some manipulation on the Input variable and set the output variable
    Invoke -- Invokes the client back (call back)
    These kinds of asynch services are pretty fine to demonstrate theory.
    But if we put ourselves more into practical scenarios, where we invoke a service from some application and the result of that invocation shall happen after some time (minutes to hours) in the form of a callback. In that case we WON’T be able to realize the service simply by a simple BPEL Process, rather we will have to implement as a Web Service with two port types implemented, where one port type is for the request and another one for the callback.
    I do understand these kinds of services can be implemented using JAX-WS.
    Question Here: How I do it using Oracle JDeveloper and Oracle Application Server???
    If anyone have done it, the REAL implementation of ASYNCH Web Services *(NOT BY USING BPEL or BPEL Wrapper)* using JDeveloper to deploy on Oracle Application Server or on Oracle SOA Suite, please post the know-how. If someone else is interested in taking it forward, we can take it further together.
    -Sudheer
    P.S: I am NOT at all interested in theory, as I had enough. Here I don’t want to be Conceptual; rather I am talking about hands-on.

    Hi Sudheer,
    I am not sure if this will help you
    If you take Oracle SOA Suite Order Booking Tutorial and go to Chapter 5 Creating the CreditService Project ( http://download.oracle.com/docs/cd/B31017_01/core.1013/b28937/creditservice.htm ), you learn how to create a synchronous Web service from a WSDL file.
    If you take the wsdl and delete output and fault tags (you can see it below) and follow the steps you'll generate an asynchronous web service.
    The generated Java method will be a void method
    public class ValidateCreditCardImpl {
    public void verifyCC(CreditCard creditCard) {
    Inside this void method you can try to call to a Receive BPEL Activity.
    I hope this will be useful . Regards,
    J
    <definitions targetNamespace="http://www.globalcompany.com/ns/credit"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://www.globalcompany.com/ns/credit"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:types="http://www.globalcompany.com/ns/credit.xsd">
    <types>
    <schema targetNamespace="http://www.globalcompany.com/ns/credit.xsd"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
    <complexType name="CreditCard">
    <sequence>
    <element name="ccType" type="string"/>
    <element name="ccNum" type="string"/>
    </sequence>
    </complexType>
    <element name="CreditCard" type="types:CreditCard"/>
    <element name="valid" type="boolean"/>
    <element name="error" type="string"/>
    </schema>
    </types>
    <message name="CreditCardValidationRequestMessage">
    <part name="CreditCard" element="types:CreditCard"/>
    </message>
    <message name="CreditCardValidationResponseMessage">
    <part name="valid" element="types:valid"/>
    </message>
    <message name="CreditCardValidationFaultMessage">
    <part name="error" element="types:error"/>
    </message>
    <portType name="ValidateCreditCard">
    <operation name="VerifyCC">
    <input message="tns:CreditCardValidationRequestMessage"
    name="CreditCardInfo"/>
    </operation>
    </portType>
    <binding name="ValidateCreditCardSoapHttp" type="tns:ValidateCreditCard">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="VerifyCC">
    <soap:operation soapAction="http://www.globalcompany.com/ns/credit/VerifyCC"/>
    <input name="CreditCardInfo">
    <soap:body use="literal" parts="CreditCard"/>
    </input>
    </operation>
    </binding>
    <service name="CreditService">
    <port name="ValidateCreditCardServiceSoapHttp"
    binding="tns:ValidateCreditCardSoapHttp">
    <soap:address location="http://localhost:8888/CreditService"/>
    </port>
    </service>
    </definitions>
    Edited by: user10262974 on 30-mar-2009 16:19

  • Asynchronous web services

    If I set up an asynchronous web service using JMS transport, would I be able to receive the callbacks in the business service that invokes the ws?
    Is this the only approach to callbacks that I can use?

    If I set up an asynchronous web service using JMS transport, would I be able to receive the callbacks in the business service that invokes the ws?
    Is this the only approach to callbacks that I can use?

  • Problem invoking a web service from soa11g BPEL.

    Hi ,
    I am trying to invoke a web service from soa bpel 11g composite.
    We have the wsdl, wsdl URL of the web service along with the user name , password credentials.
    Initially w/o any WS policy attached and testing the composite, it fails with the below message
    *<fault>*
    *<bpelFault>*
    *<faultType>0</faultType>*
    *<remoteFault>*
    *<part name="summary">*
    *<summary>An Authentication object was not found in the SecurityContext</summary>*
    *</part>*
    *<part name="detail">*
    *<detail>javax.xml.ws.soap.SOAPFaultException: An Authentication object was not found in the SecurityContext</detail>*
    *</part>*
    *<part name="code">*
    *<code>soap:Server</code>*
    *</part>*
    *</remoteFault>*
    *</bpelFault>*
    *</fault>*
    *<faultType>*
    *<message>0</message>*
    *</faultType>*
    *</messages>*
    So I have gone back to the composite and added the WS policy (oracle/wss_username_token_client_policy) by Right clicking on web service -> Configure WS Policy -> Security -> oracle/wss_username_token_client_policy -> OK.
    After this I have added the following binding properties 'oracle.webservices.auth.username' , 'oracle.webservices.auth.password' with the respective values and deployed it again.
    Even then I face the same issue. I have looked into the EM console and found the HTTP username and password properties were blank for this Web service even though the WS policy was attached.
    Later I have tried editing the username pwd from the EM console, only to find out that the composite was now failing in the previous step (an ordinary db adapter with a select statement) even before it reaches the web service invocation.
    If I redeploy the composite, the http username and pwd properties in the EM console are erased and when i test it, it errors out at the web service invocation with the same issue again.
    Any pointers on how to solve this issue ??
    How can I figure out what is the security policy the web service is using ??
    Regards,
    Shiva Kiran

    Hi,
    Can anyone help me with this ??
    I guess I am not able to send the authorization credentials via the request to the web service invocation.
    Plz help ! This is a bit urgent..
    Regards,
    Shiva Kiran

  • Extra Tag Getting Added while invoking a Web service

    Hi all,
    We are facing an issue while trying to invoke a web service. We are assigning values to invoke input variable of the invoke. The issue is that while invoking an Extra element named “input” is getting added.
    For Eg: The required one is
    <messages>
    <invoke_Webservice_Input>
    Payload
    </invoke_Webservice_Input>
    </messages>
    But what is getting passed is :
    <messages>
    *<input>*
    <invoke_Webservice_Input>
    Payload
    </invoke_Webservice_Input>
    *</input>*
    </messages>
    Due to this, the invoke is failing and we are not able to proceed. The error which we are getting is "*exception on JaxRpc invoke: unexpected null*"
    If any has faced similar issues, please share your experience.
    PS: The same wsdl is working in other environments. only thing we changed is the Endpoint URI and that endpoint URI is also accessible.
    Thanks
    Mohan

    can u re import the wsdl into the process and then change the endpoint uri... undeploy the previous process.. bounce the server and then deploy the new process and try

  • Unexpected element name: expected error while invoking external web service

    Hi,
    In JDeveloper when I invoke external web service call, I am getting following exception
    "unexpected element name: expected=..."
    But the same application works fine in .NET. Can someone help me as to why I am getting the exception only in JDeveloper and how to fix this exception.
    Thanks.

    Hi,
    Without more information, it will be hard to help, and tell you what could be teh issue.
    Usually, this kind of error occurs when the payload and the WSDL schema are out of sync, for example if the order of the element on the wire do not match the order in a sequence declaration, you may get this error.
    In such case, .NET handle the XML as if it was a 'all' -- no specific order -- and deserialize the message properly.
    Hope this helps,
    -eric

  • Web Service Proxy client to invoke a Web service on SSL (Jdev 10.1.3.1)

    Hi,
    I have to develope a Web Service proxy client to invoke a web service on SSL. First I'm testing with OC4J 10.1.3.1 and JDEV 10.1.3.1 and did this:
    1) Developed a basic PL/SQL Web Service with JDEV and publish on my standalone OC4J.
    2) Made a test with a browser, it worked OK
    3) Generated a proxy client from JDev 10.1.3.1 to invoke web service, it worked OK
    --- Now make it work on SSL----
    4) Then, added SSL configuration to oc4j , generated a certificate with keytool (updated server.xml, secure-web-site.xml), and shutting down and starting the OC4j instance.
    5) Import the certificate to JAVA_HOME/jre/lib/security/cacerts
    6) Test web service from browser on https and worked OK.
    7) When tried to modified proxy client (generated in step 3) to make it work on SSL, I realized that just changing the END_POINT to the new url (https) it worked!
    Questions----
    1.- By default the proxy client generated from JDEV 10.1.3.1 knows how to deal with SSL conections?
    2.- If I dont have previously the server certificate to import it into JAVA keystore (cacerts) how could I ,from proxy client code, capture it and import it before the validation occurs... because if the certificate is not in keystore , the program fails.
    Thanks in advance
    J.

    Hi,
    Could you please provide me with the steps necessary to create a web service proxy client through JDeveloper or any other mechanism when 2 way SSL (requiring client authentication) is enabled.
    Thanks a lot in advance
    Nilesh

Maybe you are looking for

  • Safari crashes every time I open a PDF online

    Every time I try to open a PDF file from a web page Safari crashes immediately and the "Unexpected error" message appears. Please help!!! When i open the log file I get Date/Time: 2007-09-27 20:56:47.754 +0100 OS Version: 10.4.10 (Build 8R218) Report

  • Move & Lock DW CS3 Panels from the right of screen (default) to the LEFT

    how do i change the default layout of the DW CS3 panels from the right to the left like DW8 so that when i open the program they will be on the left by default. everytime i move them over to the left and close the program they alwasy appear on the ri

  • How does Group Message work?  How do you stop it?

    Me, my husband and son all use the same iTunes account.  We all have iPhones.  Just yesterday, when I sent my husband a message, my son got it too even though he was not copied by me.  My son responded and it came to me labeled as my husband's text.

  • CS4 properties panel not completely visible

    The dreamweaver CS4 properties panel is not completely visible, some parts of it don't show up completely. In vista I have my fonts set at 110%, 106 dpi. When I change them back to 100% 96dpi, it becomes visible. I'm just curious why doesn't dreamwea

  • Bridge connection problems

    I am connecting an old aironet 340 to a new Aironet 1300. I can get the association working and aironets talking. The problem is the 340 will not forward on any TCIP data. The association is connected and you can ping from the 1300 to the 340 and bac