You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Cervi, Anthony (PCLN-NW)" <An...@priceline.com> on 2004/08/03 16:57:52 UTC

two questions...

first question might sound dumb since i'm not hip to the web service lingo but here it goes anyway.  when i generate the client classes from the wsdl, the webservice url (endpoint?) gets hard-coded right into the classes themselves.  i need to change that address when i move to the production server.  is there some way i can set that value through code or do i need to run wsdl2java on the wsdl that has the production url?

second question.  i'm using Stub.setTimeout and it doesn't seem to timeout even with very small timeout specified?  any known issues with this?

thanks.

Re: two questions...

Posted by Anand Natrajan <an...@cs.virginia.edu>.
The classes that have the web server hard-coded in them are purely
client-side stub classes. They are not necessary on the server side.

After you deploy your services on the production server, your clients can
get a WSDL, run wsdl2java and generate the stubs themselves. You should not
have to hand them the stubs as well.

Anand

On Tue, 3 Aug 2004, Cervi, Anthony (PCLN-NW) wrote:

:
: first question might sound dumb since i'm not hip to the web service lingo but here it goes anyway.  when i generate the client classes from the wsdl, the webservice url (endpoint?) gets hard-coded right into the classes themselves.  i need to change that address when i move to the production server.  is there some way i can set that value through code or do i need to run wsdl2java on the wsdl that has the production url?
:
: second question.  i'm using Stub.setTimeout and it doesn't seem to timeout even with very small timeout specified?  any known issues with this?
:
: thanks.