JAX-WS Async web service call issue - Websphere

This is a discussion on JAX-WS Async web service call issue - Websphere ; Hi, I am trying to make a asynchronous web service call using JAX-WS and i tried the below methods with my desktop WAS 6.1 server (windows version) 1) Polling method - Async call success but i keep getting the following ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: JAX-WS Async web service call issue

  1. JAX-WS Async web service call issue

    Hi,

    I am trying to make a asynchronous web service call using JAX-WS and i tried the below methods with my desktop WAS 6.1 server (windows version)

    1) Polling method - Async call success but i keep getting the following messages in the console

    [7/8/09 8:27:57:213 EDT] 0000002a ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\server1 \logs\ffdc\server1_0000002a_09.07.08_08.27.57_0.tx t

    -----Start of DE processing------ = [7/8/09 8:04:45:546 EDT] , key = java.net.SocketTimeoutException com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSend er.sendSOAPRequest 554

    Exception = java.net.SocketTimeoutException
    Source = com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSend er.sendSOAPRequest
    probeid = 554
    Stack Dump = java.net.SocketTimeoutException: Async operation timed out
    at com.ibm.ws.tcp.channel.impl.AioTCPReadRequestConte xtImpl.processSyncReadRequest(AioTCPReadRequestCon textImpl.java:157)
    at com.ibm.ws.tcp.channel.impl.TCPReadRequestContextI mpl.read(TCPReadRequestContextImpl.java:109)


    2) Callback method
    7/8/09 8:04:45:655 EDT] 000000bc ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl initialize FFDC0009I: FFDC opened incident stream file C:\Program Files\IBM\SDP70\runtimes\base_v61\profiles\server1 \logs\ffdc\server1_000000bc_09.07.08_08.04.45_0.tx t
    Exception = java.net.SocketTimeoutException
    Source = com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSend er.sendSOAPRequest
    probeid = 554
    Stack Dump = java.net.SocketTimeoutException: Async operation timed out
    at com.ibm.ws.tcp.channel.impl.AioTCPReadRequestConte xtImpl.processSyncReadRequest(AioTCPReadRequestCon textImpl.java:157)

    3) aync call on wire (mep value set to TRUE)

    7/8/09 9:40:21:758 EDT] 0000002e SystemErr R org.apache.axis2.AxisFault: A message was added that is not valid. However, the operation context was complete.

    [7/8/09 9:40:21:758 EDT] 0000002e SystemErr R at org.apache.axis2.description.InOutAxisOperation.ad dMessageContext(InOutAxisOperation.java:47)

    [7/8/09 9:40:21:758 EDT] 0000002e SystemErr R at org.apache.axis2.context.OperationContext.addMessa geContext(OperationContext.java:214)

    [7/8/09 9:40:21:758 EDT] 0000002e SystemErr R at org.apache.axis2.jaxws.server.EndpointCallback.han dleFaultResponse(EndpointCallback.java:86)

    [7/8/09 9:40:21:758 EDT] 0000002e SystemErr R at org.apache.axis2.jaxws.server.EndpointCallback.han dleResponse(EndpointCallback.java:72)

    [7/8/09 9:40:21:758 EDT] 0000002e SystemErr R at org.apache.axis2.jaxws.server.dispatcher.JavaDispa tcher$AsyncInvocationWorker.call(JavaDispatcher.ja va:170)

    [7/8/09 9:40:21:758 EDT] 0000002e SystemErr R at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:284)

    [7/8/09 9:40:21:758 EDT] 0000002e SystemErr R at java.util.concurrent.FutureTask.run(FutureTask.jav a:138)



    Basically i would like to make a async web service call but i dont want any threads / listener to wait in the client runtime to get the response from the server. but all of the above 3 methods makes a thread to wait in the client runtime. Is there a way to avoid this and just make a call to service and exit. I tried to call cancel() method but no luck yet. I appreciate your help.

    Thanks
    Veer

  2. Re: JAX-WS Async web service call issue

    Hi.

    Looks like you need the WAS forum: http://www.ibm.com/developerworks/fo...pa?forumID=266

    Cheers, Matt.

+ Reply to Thread