I ended up answering my own question... Still wondering if there is a better solution.
Got the "solution" from: http://www.nabble.com/Restful-HTTP-Binding%3A-Wrapped-Mode---Put-Method-td19082206.html#a19082206 I modified the client as follows: method.setRequestBody(readFile("D:/code/ws/rest/Account.txt")); int result = client.executeMethod(method); I also had to modify the content of Account.txt as follows: <?xml version="1.0" encoding="ISO-8859-1"?> <tns:insert xmlns:tns="http://account.subscriber.ws.solegy.com/"> <tns:account > <tns:accountID>someVal</tns:accountID> <!-- other fields go here --> </tns:account> </tns:insert> "account" tag is case-sensitive and should match as stated in the wsdl. Now, considering that the said method is deprecated, I am wondering if there is a solution which uses the non-deprecated methods. (now with that irritating feeling im missing something extremely basic) Atleast now I could move forward... :clap: -- View this message in context: http://www.nabble.com/-REST--HTTP-BINDING-Service-does-not-receive-Post-parameter-tp19986914p19987189.html Sent from the cxf-user mailing list archive at Nabble.com.
