users@jax-ws.java.net

Re: for asynchronous service from WSDL

From: yuyin Song <yuyinsong_at_yahoo.com>
Date: Fri, 12 Jan 2007 12:35:27 -0800 (PST)

Hi Vivek,

Thanks for your message.
I am talking about async web service endpoint. For
example,

The service definition looks like:
int startReadData(int commId, Time triggertime, Time
timeout, int samplingMode, Callback callback, in
operationId)

The callback definition looks like:
int callback(int operationId, String[] values, int
status)

The client calls startReadData() service, when process
of service is done, Service calls callback to send
data to client.


How to describe service and callback in WSDL file?

You mentioned AsyncProvider sample that looks not
available.

Regards,

Yin




--- Vivek Pandey <Vivek.Pandey_at_Sun.COM> wrote:


---------------------------------
  If you are talking about creating a client from a
WSDL, you dont haveto do anything specific to the
WSDL. All you would need to do is toprovide
customization to the wsimport. such as this:

<bindings
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
wsdlLocation="http://localhost:8080/jaxws-external-customize/addnumbers?WSDL"
   xmlns="http://java.sun.com/xml/ns/jaxws">
<enableAsyncMapping>true</enableAsyncMapping></bindings>See,
https://jax-ws.dev.java.net/nonav/jax-ws-21-ea3/docs/customizations.html#2.1_Global_bindingsIf
you are talking about async web service endpoint, you
would still not do anything in the WSDL, rather
implement AsyncProvider. For details see the
documentation on AsyncProvider
at:https://jax-ws.dev.java.net/nonav/jax-ws-21-ea3/docs/asyncprovider.html-vivek.

yuyin Song wrote:
Hi All,I am working on creating asynchronous web
service fromWSDL using NetBean 5.5. I am thinking
about usingcallback approach. Who knows how to
describeasynchronous web service and callback in WSDL?
Thanks a lot.Regards,yin
____________________________________________________________________________________The
fish are biting. Get more visitors on your site using
Yahoo! Search
Marketing.http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php---------------------------------------------------------------------To
unsubscribe, e-mail:
users-unsubscribe_at_jax-ws.dev.java.netFor additional
commands, e-mail: users-help_at_jax-ws.dev.java.net
---------------------------------------------------------------------To
unsubscribe, e-mail:
users-unsubscribe_at_jax-ws.dev.java.netFor additional
commands, e-mail: users-help_at_jax-ws.dev.java.net



 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited