axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trond Hjelmaas <thje...@cse.unsw.EDU.AU>
Subject Async web services, do they exist?
Date Wed, 27 Nov 2002 03:29:08 GMT

I have a problem with finding relevant info regarding asynch Web Services.

For example, I've got this javaclass, all it does is wait 10 seconds

public class delay{
	public void wait10sec(){
		/*some code for 10 sec delay*/


it has WSDL like:
   <message name="wait10sec0Request"/>
   <portType name="blahPortType">
      <operation name="wait10sec">
         <input name="wait10sec0Request" message="tns:wait10sec0Request"/>
   <binding name="blahBinding" type="tns:blahPortType">
      <soap:binding style="rpc"
      <operation name="wait10sec">
         <soap:operation soapAction="" style="rpc"/>
         <input name="wait10sec0Request">
            <soap:body use="encoded" namespace="blah"
   <service name="blah">
      <port name="blahPort" binding="tns:blahBinding">

NOTE: I have change WSDL to have no response, the original has reponse
message listed, but is was empty.....

According to some mail I read Web Services are async if they don't have
any reponse method.

I uploaded this and invoke the method using Oracle9ias (, the
invocation halts for 10 seconds, and does NOT return ASAP (which is what I

Any suggestions about how to make asynch Web Services are very

Regards, Trond

View raw message