On Mon, Feb 22, 2010 at 5:17 PM, emengy <[email protected]> wrote:

>
>
> Amila Suriarachchi wrote:
> >
> > On Sun, Feb 21, 2010 at 3:46 PM, emengy <[email protected]> wrote:
> >
> > you need to set the  "messageReceiver.invokeOnSeparateThread" parameter
> to
> > the service at the server side.
> > i.e. set this parameter value true at services.xml
> >
> > what is the axis2 version you use?
> >
> > Amila.
> >
> >
> >
>
> Hi Amila,
>
> I'm using axis2.4.1  and generate the service.xml with this ant command
> <target name="generate.skeleton">
>        <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
>                <arg line="-uri ../wsdl/MyService.wsdl"/>
>                <arg line="-o ../src-new"/>
>                <arg line="-p com.my.webservices.sdk.service.axis"/>
>                <arg line="-d adb"/>
>                <arg line="-ss"/>
>                <arg line="-ssi"/>
>                <arg line="-sd"/>
>                <arg line="--noBuildXML"/>
>                <classpath>
>                        <path refid="axis.classpath"/>
>                </classpath>
>        </java>
> </target>
>
> but I don't have messageReceiver.invokeOnSeparateThread in my service.xml .
> Is it possible to generate service.xml automatically with SeparateThread
> parameters?
>

no you need to manually add that. As I remember Axis2 1.4.1 does not support
this. try with Axis2 1.5.

thanks,
Amila.


>
> Thanks
>
> --
> View this message in context:
> http://old.nabble.com/Timeout-when-using-setUseSeparateListener%28true%29-tp27674313p27686070.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to