Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Webservices and arrays deserializer and WO 5.4



WO 5.4 uses Axis 1.4. There is a bug in the wsdl generation that is fixed with the next update. The current "automatic" wsdl generation is missing type information for all custom types including foundation ones.

Pierre
--
Pierre Frisch
email@hidden


On Nov 28, 2007, at 20:47, Lachlan Deck wrote:

On 28/11/2007, at 8:06 PM, Fabrice Pipart wrote:

Actually, I do mot generate any stub from the wsdl.
I generate the xml myself (somehow simpler for the small requests I have).

Ok.

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.

Sometimes it'll depend on what version of axis you're using to generate the wsdl. Anyhow...


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" ?

You might want to have a look at these for testing... - http://ditchnet.org/soapclient/ - http://ditchnet.org/xmlrpc

Is it now impossible to have a WebObjects app consume another WebObjects webservice with that kind of parameters?

I using wsdl / WSDL2Java, so I can't help with other approaches. But I'd try different axis versions to see what you get (i.e., for generating your wsdl).


I had a problem where attachments wouldn't work properly without a more current axis version, but generating the wsdl from a more recent version was problematic. :-/

You might want to try asking your questions on the axis mailing list.

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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.