problem with deserialization on client side, please help

2002-10-03 Thread Jan-Olav Eide
I am trying to return a bean as a result of a web-service call. Using TCP-monitor, I see that the XML response on the wire is correct. However, the client bombs out with the following stack-trace. To me it appears it cannot convert a String to a String ? Any ideas ? Could not convert java.lang.S

RE: very simple bean serialization not working

2002-10-02 Thread Jan-Olav Eide
That is *de*serialization, obviously... > I get a NullPointerException on the client when trying to > serialize a bean >

very simple bean serialization not working

2002-10-02 Thread Jan-Olav Eide
I get a NullPointerException on the client when trying to serialize a bean as a return value of a web-service call. TCPMonitor shows a correct response XML on the wire, so the problems lies in the client. Am I messing up with namespaces ? Any help appreciated. java.lang.NullPointerException

client-config.wsdd

2002-10-02 Thread Jan-Olav Eide
Under what circumstances is such a configuration file required on the client side ?

WSDL2Java error : java.io.IOException: Type http://lang.java:String is referenced but not defined

2002-10-01 Thread Jan-Olav Eide
What is this ? java org.apache.axis.wsdl.WSDL2Java -o API.wsdl http://localhost:7001/axis/services/APIServicePort?wsdl java.io.IOException: Type http://lang.java:String is referenced but not defined. at org.apache.axis.wsdl.toJava.SymbolTable.checkForUndefined(SymbolTable .java:392)

RE: MessageContext.setMaintainSession

2002-10-01 Thread Jan-Olav Eide
aintainSession > > > On Tuesday 01 October 2002 13:07, Jan-Olav Eide wrote: > > So I guess my question really is : What is the C# MS-SOAP > > equivalent of setMaintainSession ? > > The MS SOAP Toolkit does this automatically (at least the high-level > handler), I guess it is the same with .net.

RE: MessageContext.setMaintainSession

2002-10-01 Thread Jan-Olav Eide
> How does the handler detect the incoming request belongs to > some existing sessions ?? (is it assessible via MessageContext ?) And then > throw a SOAP Fault if not. I do that too with a login-service. The fact that a user is logged in is maintained as state in the object that implements t

RE: MessageContext.setMaintainSession

2002-09-30 Thread Jan-Olav Eide
> When using HTTP cookies for session management the MS SOAP library > 3.0 supports this automatically. As for .net clients I do not know > but I think they will do the same. So what is the best way to gracefully detect and reject requests from (MS SOAP or Java) clients that are not session-ena

RE: MessageContext.setMaintainSession

2002-09-30 Thread Jan-Olav Eide
Title: Message What about non-axis (or for that matter non-java, ie .Net clients) and session management ? -Original Message-From: Volanis, Alexander [mailto:[EMAIL PROTECTED]]Sent: 27. september 2002 16:48To: '[EMAIL PROTECTED]'Subject: RE: MessageContext.setMaintainSessi

method returning String[][] as a web-service ?

2002-09-24 Thread Jan-Olav Eide
Is this doable with Axis ? I get a "org.xml.sax.SAXException: No deserializer defined for array type" error -- jo Jan-Olav Eide, Seniorkonsulent ErgoSolutions AS, avdeling eTjenester Nydalsvn 28, Postboks 4364 Torshov, 0402 Oslo Telefon 23 14 54 49, Mobil 99 26 01 32