You need to update to a post 1.0 build: http://issues.apache.org/jira/browse/AXIS2-670?page=all

 - Dennis

Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117



Paul Ashton wrote:

Hi,

I have used WSDL2Java (with the xmlbeans data binding).  Sometimes
the web service call takes over 60 seconds, so I want to be able to
change the call timeout setting (without having to make any changes
to code generated by WSDL2Java).  I tried the following (setting a
very short timeout to check whether I was actually updating the
timeout), but seemingly this had no effect.

Can anyone tell me how I can change the timeout without having
to change any generated code?

Thanks, Paul.

TPServiceStub binding = new TPServiceStub("http://dev03/devtest204/Services/TPService.asmx";);

    Options axisOptions = binding._getServiceClient().getOptions();
    axisOptions.setTimeOutInMilliSeconds(1);
    binding._getServiceClient().setOptions(axisOptions);

    .....  setup gsrd to contain the parameters

    binding.GetScrollRate(gsrd)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to