You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by jasminadesai <ja...@yahoo.com> on 2013/09/06 20:01:16 UTC
cxf 2.3.11 rest web service payload received as null
I am using cxf 2.3.11 and I send the following payload to one of the rest
methods:
<Invoice xmlns="http://myservice.com/transaction">
<InvoiceDate>2013-08-29</InvoiceDate>
<Items xmlns="http://myservice.com/transaction">
<Item>
<Sales>
<Dollars>300</Dollars>
</Sales>
</Item>
</Items>
<FromAddress>
<Address2>Irvine, CA 92612</Address2>
<Country>USA</Country>
</FromAddress>
<ToAddress>
<Address2>Irvine, CA 92604</Address2>
<Country>USA</Country>
</ToAddress>
</Invoice>
I receive invoice in the post method but all elements inside the invoice are
null.
I am not sure where am I going wrong.
The same payload works fine with soap, as we use the same object for both
soap as well as rest.
--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-2-3-11-rest-web-service-payload-received-as-null-tp5733647.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: cxf 2.3.11 rest web service payload received as null
Posted by jasminadesai <ja...@yahoo.com>.
I modified package info and it worked.
--
View this message in context: http://cxf.547215.n5.nabble.com/cxf-2-3-11-rest-web-service-payload-received-as-null-tp5733647p5733655.html
Sent from the cxf-user mailing list archive at Nabble.com.