Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-WS with Jdk1.6. problem with body content going in header while consuming  RSS feed

Mayank Soni
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to consume web service using dynamic proxy JAX-WS API with JDK1.6 .I have written a handler to log request xml created. I am surprised to see all contents which should be in soap body is going in soap header resulting in wrong xml.

CreateRequest node should be in soapbody as opposed to header in below xml

XML from log..

<S:Envelope xmlns:S=""><S:Header><CreateRequest xmlns="urn:xxxxxxxx" FromWebservice="whekwhj" Status="xxxxxl"><Number/><Description/><ReqBy_LoginID/><ReqFor_LoginID/><Category/><Item>dsfjjdsf</Item><Product_Name/></CreateRequest></S:Header><S:Body/></S:Envelope>

JDK version used to generate client is 1.6 update 31

Any Pointer to above problem?


It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!