Re: wsdl2java fault bug ?

2004-10-11 Thread Silvano Maffeis
.mypackage.com";, "NoSuchUserFault"), true)); try { // do stuff that might generate these exceptions } catch(NoSuchUserException nsue) { throw new com.mypackage.faults.NoSuchUserFault(nsue.getUsername()); } catch(SomeOtherException soe) { throw new com.mypackage.faults.SomeOtherFault(

Re: 2 way SSL with Axis and Tomcat as a Service

2004-10-11 Thread Silvano Maffeis
Hubble, Christopher wrote: Welp, after much trial and tribulation, I finally got axis using 2 way ssl. This required me to custom set up tomcat as a service, and I finally got that working. Once I get my code all cleaned up, I'll post the relavent details. Chris That would be much appreciated,

axis 1.2 beta with Jetty 5.0: IllegalStateException on session timeout

2004-10-01 Thread Silvano Maffeis
Hi I'm using axis 1.2 beta with Jetty 5.0. I'm getting the following exception when the HTTP session (created by an Axis client) is being destroyed: java.lang.IllegalStateException at org.mortbay.jetty.servlet.AbstractSessionManager$Session.getAttribute(AbstractSessionManager.java:663) at

Re: JDK1.5.0 and AXIS

2004-10-05 Thread Silvano Maffeis
Johan Meyer wrote: Hallo All Axis users Now that JDK1.5.0 has been release and is out of BETA when can we expect AXIS to be compatible with JDK1.5.0? Thanks in advance. Johan Meyer I got nullpointerxceptions in the unmarshaling on the server side. Had to install xercesImpl.jar, then the problem w

Re: JDK1.5.0 and AXIS

2004-10-06 Thread Silvano Maffeis
Johan Meyer wrote: Thanks for the quick reply. where can I download the xercesImpl.jar files? Johan See http://xml.apache.org/xerces2-j/ silvano

WSDL Sequence holding String[0] being received as Sequence holding null

2004-10-19 Thread Silvano Maffeis
uot; client actually will receive a StringArray holding a null reference. Meaning, on the client: StringArray ret = webservice.ping(); ret.getString() is null I would rather expect my client to also receive a StringArray bearing a String[0] Is this a bug or a feature? Cheers, Silvano -- Dr. Silva

Serializer bug? (Axis 1.2 RC1)

2004-10-21 Thread Silvano Maffeis
Hi. In Axis 1.2 RC1 I defined the following WSDL sequence: as well as a simple "ping" operation returning a StringArray: Now, if my WebService returns a StringArray holding a zero sized String[]: return new StringArray(new String[0]) my "ping" client actually will receive

Re: Web Services sessions with axis and tomcat

2004-10-26 Thread Silvano Maffeis
Suzy Fynes wrote: Hey, Does anyone have any ideas how best to manage sessions in Axis and tomcat? Thanks Suzy o Specify "session" deployscope when running wsdl2java o Let your web services class implement javax.xml.rpc.server.ServiceLifecycle to be notified when the session is initiat

Re: Web Services sessions with axis and tomcat

2004-10-26 Thread Silvano Maffeis
See javax.xml.rpc.server.ServiceLifecycle silvano Suzy Fynes wrote: Thanks for that. Is there anyway to monitor it from the server side? -Original Message- From: Silvano Maffeis [mailto:[EMAIL PROTECTED] Sent: 26 October 2004 10:45 To: [EMAIL PROTECTED] Subject: Re: Web Services sessions

Re: Automating web service

2004-10-28 Thread Silvano Maffeis
poll the web service periodically for new information. It might also be worth looking into JMS for this sort of application. Maybe SOAP is not ideal here. silvano -- Dr. Silvano Maffeis, Software Architect, Pyx Engineering AG Zurich http://www.maffeis.comhttp://www.pyx.ch phone:+41-1-404-1006

Re: PDA + AXIS + Tomcat

2004-11-11 Thread Silvano Maffeis
Also check out the following white paper http://download.vipera.com/doc/vipera-vision.pdf http://www.vipera.com/