Re: Webservices and arrays deserializer and WO 5.4
Re: Webservices and arrays deserializer and WO 5.4
- Subject: Re: Webservices and arrays deserializer and WO 5.4
- From: "Mr. Pierre Frisch" <email@hidden>
- Date: Sat, 1 Dec 2007 19:09:46 -0800
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:
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:
This email sent to email@hidden