This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

namespace in soap request  RSS feed

 
Andrew Cane
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


this is a sample of SOAP request message. my question is, as far as I know, namespaces are just a concatenation of strings. I could very well use xmlns:frt="snckjsnckscnks", right? but if I change the frt namespace definition, the request would fail to send. Can anybody explain this to me?
thanks
 
Par Sharma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe it should be proper URL, though imaginary.
 
Andrew Cane
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it would still fail even if I changed it to :


instead of
 
Par Sharma
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, It should match in both places i.e. where you declare and where you use. So, it should be same in wsdl and soap message. Because generated artifacts (from wsdl) at client and server side, reference it back to wsdl.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!