I assume that you are using an engine to expose your createBook(Book book) Java method as a Web service. This engine should also generate a WSDL file describing the Web service.
You should look at this WSDL file as it will tell you how to write an XML fragment for a "book" that your Web service implementation understands. If it is not obvious, please just forward the WSDL file in this list and I will have a look at it.
Alex
Monika Zeiser wrote:
Hi,
I want to send book-object to my webservice within the delegation processor. Till now, I can only send strings to my webservice, but I want to submit a "complex" dataobject.
extract of my model.xpl: ... <delegation:execute service="books" operation="createBook"> <book> <titel xsi:type="xsd:string">mytitle</titel> <price xsi:type="xsd:string">myprice</price> </book> </delegation:execute> ... <service id="books" type="webservice" endpoint="http://localhost:8080/soap/servlet/rpcrouter"> <operation nsuri="urn:xml-soap-greeter-demo" name="createBook"/> </service>
my javafile on the webservice looks like: public void createBook(Book book) { ....... }
my book-class: public class Book { private String title; private String price; ..... }
My Error Message: No Deserializer found to deserialize a ':book' using encoding style 'null'.
Ok, how can I give "book" a structure? (like xsi:type="xsd:string") Do I had to define a namespace for book? How? Where? What should I do? Can you help me? Do you need more information?
Thanks, Marcel
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
