Humm,
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
That is interesting.... Sorry I don't have an immediate answer for
that.
On Apr 13, 2007, at 4:45 PM, Fabrice Pipart wrote:
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 :
http://developer.apple.com/documentation/WebObjects/Web_Services/
Web_Services/chapter_4_section_3.html
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 PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/robertwalker1%
40mac.com
This email sent to [EMAIL PROTECTED]
--
Robert Walker
[EMAIL PROTECTED]
_______________________________________________
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]