Hi list !
I beg for some help because I think I will get crazy about this issue. I have a class registered as a WebService : WOWebServiceRegistrar.registerWebService(AssistantResponder.class, true);
I have a complex type registered with Bean Serializer and deserializer : WOWebServiceRegistrar.registerFactoriesForClassWithQName(new BeanSerializerFactory(com.easyshadow.client. MyClass.class, qname), new BeanDeserializerFactory(com.easyshadow.client. MyClass.class, qname), com.easyshadow.client. MyClass.class, qname);
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 :
No luck.
Yes I can list all the methods that can be called. But as soon as I try to invoke one, I get this : javax.xml.rpc.ServiceException: Error processing WSDL document: java.io.IOException: Type Number is referenced but not defined.
Here is the header of my generated wsdl file :
<wsdl:types> ... <complexType name="MyClass"> <sequence> <element name="duration" nillable="true" type="xsd:anyType"/> <element name="height" nillable="true" type="tns3:Number"/> ... </sequence> </complexType>
Note that tns3 is referenced but never "defined"... Is this a WO bug when generating the wsdl? I am not a WebService expert, so I may have misunderstood something...
Regards
Fabrice Pipart
www.easyshadow.com
International Corporate Consulting 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 |