Thank you so much Amila!
I will try it.
Damin
Amila Suriarachchi wrote:
>
> On Fri, Aug 29, 2008 at 6:20 PM, Damin <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Amila Suriarachchi,
> WSO2 Inc.
>
>
--
View this message in context:
http://www.nabble.com/can-not-generate-async-server-sode-code-tp19219233p19378075.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]