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

JAX-WS Client request- xsi:type with the type having a namespace?  RSS feed

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used JAXWS to generate web service client. When running client code, it produces following request-



But i would like the request to look like-



I want xsi:type value to have namespace, i.e. xsi:type="ns1:BbBType" What change should i do in java program for this to happen?

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
resolved. now creating object bbB using object factory rather than plain new bbB()
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!