How to set a service timeout? -> java.net.ConnectException: Connection timed out: connect

2003-12-04 Thread Leonardo Mena
Somebody can tell me how can I change the default timout a web service has? I tried the following but didn't work:   YAESystemServiceLocator locator = new YAESystemServiceLocator(); YAESystem system = locator.getYAESystem(myURL); ((org.apache.axis.client.Stub) system).setTimeout(myTimeout);

Re: Why choose Axis?

2003-11-21 Thread Leonardo Mena
Anybody knows if the JWSDP handles interfaces well? Because it appears that Axis does not.   Thanks in advance, Leonardo

Can't find prefix for...

2003-11-18 Thread Leonardo Mena
Hi, I am trying to deploy a WS with Axis, but an error message comes instead of the WSDL when I request it:   Nov 18, 2003 4:31:14 PM org.apache.axis.providers.java.JavaProvider generateWSDLINFO: Mapping Exception to AxisFaultWSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http:

Re: Session problem.

2003-10-31 Thread Leonardo Mena
You have to explicity set the intention to maintain the session in the client too (is not enough the WSDL). To do that take your ServiceLocator (locator) and do locator.setMaintainSession(true); Leo - Original Message - From: "Walid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frida

Re: newbie question : List vs. ArrayList vs. []

2003-10-21 Thread Leonardo Mena
At least until Generics comes to life in JDK 1.5... - Original Message - From: "Navneet Joneja" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 9:39 PM Subject: RE: newbie question : List vs. ArrayList vs. [] > Speaking as a webservices consumer and publisher,

Re: Hashtable and Vector Question

2003-10-21 Thread Leonardo Mena
Hi Joao, I suposse a better approach to expose a Hashtable than 2 Vectors one with keys and the other with values or using multidimensional Arrays is to export your Hashtable via a Vector or JavaBeans or an Arrays of JavaBeans. Each JavaBean will have 2 proporties: key and value. Whis way yo

Problems returning interfaces

2003-10-20 Thread Leonardo Mena
I have been trying to expose my app as a set of web services with Axis but can't resolve how to correctly export an interface. That is, some web service method returns an interface instead of a JavaBean (of course the concrete implementation is a JavaBean).   I tried mapping the interface to