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

Reply via email to