• 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
Re: Webservices and arrays deserializer and WO 5.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webservices and arrays deserializer and WO 5.4


  • Subject: Re: Webservices and arrays deserializer and WO 5.4
  • From: Lachlan Deck <email@hidden>
  • Date: Wed, 28 Nov 2007 11:13:20 +1100

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Webservices and arrays deserializer and WO 5.4
      • From: Fabrice Pipart <email@hidden>
References: 
 >Webservices and arrays deserializer and WO 5.4 (From: Fabrice Pipart <email@hidden>)

  • Prev by Date: Re: Object with globalID could not be found in the database, when it is there ??
  • Next by Date: Re: Object with globalID could not be found in the database, when it is there ??
  • Previous by thread: Webservices and arrays deserializer and WO 5.4
  • Next by thread: Re: Webservices and arrays deserializer and WO 5.4
  • Index(es):
    • Date
    • Thread