Hi ! Actually, I do mot generate any stub from the wsdl.I generate the xml myself (somehow simpler for the small requests I have).
I also noted a WebObjects app that tries to use the WebServices of the initial WO app (this one parses the wsdl) fails with that error : Caused by: javax.xml.rpc.ServiceException: Error processing WSDL document: java.io.IOException: Type {http://xml.apache.org/axis/ wsdd/}ArrayOf_xsd_int is referenced but not defined.
The wsdl looks like this :
<wsdl:message name="myMethodRequest">
<wsdl:part name="myarray" type="impl:ArrayOf_xsd_int"/>
</wsdl:message>
What could I pass as xml to be able to call "myMethod" ?
Is it now impossible to have a WebObjects app consume another
WebObjects webservice with that kind of parameters?
Regards Fabrice On Nov 28, 2007, at 1:13 AM, Lachlan Deck wrote:
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/fabrice%40easyshadow.com This email sent to [EMAIL PROTECTED]
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
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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]
