• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Webservices and arrays deserializer and WO 5.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Webservices and arrays deserializer and WO 5.4


  • Subject: Webservices and arrays deserializer and WO 5.4
  • From: Fabrice Pipart <email@hidden>
  • Date: Tue, 27 Nov 2007 16:22:15 +0100

Hi !

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?

Regards

Fabrice

www.easyshadow.com
EasyMediaOnline
Digital Signage Software

Easyshadow
Palais de la Scala
1 avenue Henri Dunant
Suite 1155
MC - 98000 Monaco

Skype: fabrice.pipart
Tel.  +377 97 98 21 04 (direct)
Fax. +377 97 70 88 07


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Webservices and arrays deserializer and WO 5.4
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Re: Object with globalID could not be found in the database, when it is there ??
  • Next by Date: Re: Deadlock [Fixed - we think!]
  • Previous by thread: Re: Deadlock [Fixed - we think!]
  • Next by thread: Re: Webservices and arrays deserializer and WO 5.4
  • Index(es):
    • Date
    • Thread