On 28/11/2007, at 2:22 AM, Fabrice Pipart wrote:

I have a WebObjects application talking to some Objective C code via WebServices. I used to pass some arguments to the WO registered webservices as int[] like this :
<myarray>
        <item xsi:type='xs:int'>1</item>
        <item xsi:type='xs:int'>2</item>
        <item xsi:type='xs:int'>3</item>
        <item xsi:type='xs:int'>4</item>
        <item xsi:type='xs:int'>5</item>
</myarray>
It called a method like this one :
public static void mymethod(int[] myarray)

But now it does not work any more.
I get an exception like this one :
Caused by: org.xml.sax.SAXException: Deserializing parameter 'myarray': could not find deserializer for type {http:// schemas.xmlsoap.org/soap/encoding/}Array at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java: 277) at org.apache.axis.encoding.DeserializationContext.startElement (DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay (SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler (MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java: 236)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.providers.java.RPCProvider.processMessage (RPCProvider.java:81) at org.apache.axis.providers.java.JavaProvider.invoke (JavaProvider.java:323)
        ... 15 more

Anyone understands what is happening?
Something was offered by default in WO 5.3 that I should specify now?

Have you tried re-generating your stubs from a WSDL produced by your udpated app?

with regards,
--

Lachlan Deck



_______________________________________________
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]

Reply via email to