Re: Type Number in WO WebServices
Re: Type Number in WO WebServices
- Subject: Re: Type Number in WO WebServices
- From: Fabrice Pipart <email@hidden>
- Date: Fri, 13 Apr 2007 22:45:10 +0200
Thanks for the answers ! Though I think you missed something : On Apr 13, 2007, at 11:24 AM, Fabrice Pipart wrote: I can access the WebService without problem from a Cocoa app. I thought it would be even easier to access the same Web Service from another WO app. I tried to base my code on Apple docs :
I am not trying to consume that web service from a Cocoa app (that part works) but from Web Objects. And unfortunately WO itself cannot consume a web service it provides itself :-(
But the tips might be useful to improve the Cocoa part ;-)
Le 13 avr. 07 à 22:00, Robert Walker a écrit : <element name="height" nillable="true" type="tns3:Number"/>
If you look here you can see the your are referring to a Java "Number" class which is also a complex class and Cocoa is not going to understand.
Here is a simple type from one of my WSDL files: <wsdl:message name="logsProcessedTodayResponse"> <wsdl:part name="logsProcessedTodayReturn" type="xsd:int"/>
xsd:int will be understood fine by the core services frameworks. Number will not.
Make sure that whatever value you are sending for height is one of the known "simple" types like xsd:int or xsd:float.
Is there any possibility to register that complex type like I did for "MyClass" ? I guess it would be easier to change my numbers to ints but that app is versioned and I would prefer leaving it like this
Fabrice
|
_______________________________________________
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