Hi,
we're writing a webservice intensive app and ran into the following
problem:
when using null values in arguments to calls, we get a deserializer
excption.
It looks to me like the generic NSKeyValueCoding<String> expression it
wants to use
has no deserializer. I'm slighly amazed to see that anyway, since
we're developing
on WO53 due to the shocking mess that are webservices under WO54.
Can anyone shed some light on this?
[2008-05-29 15:38:00 CEST] <WorkerThread11> AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/
envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: Bad types (class
com.webobjects.foundation.NSKeyValueCoding$Null -> class
java.lang.String)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXException:
Bad types (class com.webobjects.foundation.NSKeyValueCoding$Null ->
class java.lang.String)
at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:311)
at
org
.apache
.axis
.encoding
.DeserializationContextImpl
.startElement(DeserializationContextImpl.java:963)
at
org
.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:
198)
at
org
.apache
.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
at
org
.apache
.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:184)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
333)
at
org
.apache
.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:
481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at
com
.webobjects
.appserver._private.WOWebService.performActionNamed(WOWebService.java:
375)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:240)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:142)
at
com
.webobjects
.appserver
._private
.WOWebServiceRequestHandler
.handleRequest(WOWebServiceRequestHandler.java:95)
at
com
.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:
1306)
at
er
.extensions
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1501)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:
1465)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
254)
at java.lang.Thread.run(Thread.java:613)
org.xml.sax.SAXException: Bad types (class
com.webobjects.foundation.NSKeyValueCoding$Null -> class
java.lang.String)
at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
340)
at
org
.apache
.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:
481)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:323)
at
com
.webobjects
.appserver._private.WOWebService.performActionNamed(WOWebService.java:
375)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:240)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:142)
at
com
.webobjects
.appserver
._private
.WOWebServiceRequestHandler
.handleRequest(WOWebServiceRequestHandler.java:95)
at
com
.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:
1306)
at
er
.extensions
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1501)
at er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:
1465)
at
com
.webobjects
.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
at
com
.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:
254)
at java.lang.Thread.run(Thread.java:613)
Caused by: org.xml.sax.SAXException: Bad types (class
com.webobjects.foundation.NSKeyValueCoding$Null -> class
java.lang.String)
at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:311)
at
org
.apache
.axis
.encoding
.DeserializationContextImpl
.startElement(DeserializationContextImpl.java:963)
at
org
.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:
198)
at
org
.apache
.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
at
org
.apache
.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:184)
at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:
333)
... 15 more
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]