Hi Glen,

thanks for your reply and for the link to your interesting article.

Sorry, I forgot to mention that during my tests I had a look at the POM
file of the
sample, and even without -all wsdl2java does not generate the async code.

Regards, Matteo

On 01/02/2013 17:35, Glen Mazza wrote:
Hi, comments below:

On 02/01/2013 07:45 AM, Pampolini Matteo wrote:
Hello there,

I'm working with async requests and I tried to regenerate the code
starting from CXF 2.7.2
sample jaxws_async. If I take both hello_world_async.wsdl and
async_binding.xml and
run:

wsdl2java -all -verbose -b async_binding.xml hello_world_async.wsdl
I guess because you're using the -all option (which might generate
additional artifacts not supported/relevant for async.)  Here's the
wsdl2java settings used by that very sample, if you use the same
commands, you should get the same from the command line wsdl2java tool:
http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_async/pom.xml?revision=1430865&view=markup#l54

the generated code is very different from the one provided by the
sample itself, moreover
the async call is not invoked at all (even the comment inside the code
says 'not called')

Please check this article:
http://www.jroller.com/gmazza/entry/asynchronous_web_service_calls ,
starting with the "Notably although the client..." sentence.

HTH,
Glen


Any suggestions?

Many thanks in advance,

Matteo

--
Write once, compile everywhere
Compile once, run somewhere...

This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
Questa e-mail e tutti i suoi allegati sono da intendersi inviati in
via riservata all'effettivo destinatario e possono essere soggetti a
restrizioni legali. Se non siete l'effettivo destinatario o avete
ricevuto il messaggio per errore siete pregati di cancellarlo dal
vostro sistema e di avvisare il mittente. E' vietata la duplicazione,
l'uso a qualsiasi titolo, la divulgazione o la distribuzione dei
contenuti di questa e-mail a qualunque altro soggetto.

Prima di stampare questa comunicazione consideratene, per favore,
l'impatto ambientale
Please consider the environment before printing this email




--
Write once, compile everywhere
Compile once, run somewhere...

This email and any attachments are confidential to the intended recipient and 
may also be privileged. If you are not the intended recipient please delete it 
from your system and notify the sender. You should not copy it or use it for 
any purpose nor disclose or distribute its contents to any other person.
Questa e-mail e tutti i suoi allegati sono da intendersi inviati in via 
riservata all'effettivo destinatario e possono essere soggetti a restrizioni 
legali. Se non siete l'effettivo destinatario o avete ricevuto il messaggio per 
errore siete pregati di cancellarlo dal vostro sistema e di avvisare il 
mittente. E' vietata la duplicazione, l'uso a qualsiasi titolo, la divulgazione 
o la distribuzione dei contenuti di questa e-mail a qualunque altro soggetto.

Prima di stampare questa comunicazione consideratene, per favore, l'impatto 
ambientale
Please consider the environment before printing this email

Reply via email to