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

adding xmlns to calls made by wsdl2java stubs

 
Wei Hsu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am using wsdl2java to generate client side stubs that would make calls in SOAP. I was looking through the documentations and the API's, and i can't seem to locate a function that would add a namespace declaration to the soap envelope.
Are there any ways at all? As in, through client-side code calling or wsdl declaration (more preferable)? Thanks in advance!
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
wsdl2java should generate everything you need to communicate with the service -- why do you need to add namespaces manually?
 
Wei Hsu
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to create a wsdl for an existing service. The service has some dumb hardcoding of namespace prefixes - so that's why i need to figure out how to change the namespace prefix and add namespace declaration to an element in the body of the soap. Hope that makes sense.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic