axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Suriarachchi" <amilasuriarach...@gmail.com>
Subject Re: can not generate async server sode code
Date Mon, 01 Sep 2008 09:27:55 GMT
On Fri, Aug 29, 2008 at 6:20 PM, Damin <daminwang06@hotmail.com> wrote:

>
> I am trying to generate asynchronous server side code with the following
> ant
> script:
>
> ...
>
>                <java classname="org.apache.axis2.wsdl.WSDL2Java">
>                        <arg value="-uri" />
>                        <arg value="${basedir}/resources/Kiosk.wsdl" />
>                        <arg value="-a" />
>                        <arg value="-ss" />
>                        <arg value="-ap" />
>                        <arg value="-sd" />
>                        <arg value="-p" />
>                        <arg value="pax.ge.axis2.http.inbound" />
>                        <arg value="-o" />
>                        <arg value="${service.dir}" />
>                        <classpath refid="class.path" />
>                </java>
> ...
>
> I expect to get the generated class like:
>
>  public class KioskMessageReceiverInOut extends
> org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver {


this is an Depricated class. you can not generate a AsyncMessage receiver.
set the messageReceiver.invokeOnSeparateThread parameter in the services.xml
file.

thanks,
Amila.

>
>
> However, I still got the class like:
>
>  public class KioskMessageReceiverInOut extends
> org.apache.axis2.receivers.AbstractInOutMessageReceiver{
>
> That is, the -a option has no effect to the code gegeration result.
>
> Could any one give me a solution?
>
> Thanks a lot!
>
> -Damin
>
>
>
> --
> View this message in context:
> http://www.nabble.com/can-not-generate-async-server-sode-code-tp19219233p19219233.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Mime
View raw message