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
That is *de*serialization, obviously...
> I get a NullPointerException on the client when trying to
> serialize a bean
>
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
Under what circumstances is such a configuration file required on the client
side ?
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)
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.
> 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
> 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
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
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
10 matches
Mail list logo