Win a copy of Murach's Python Programming this week in the Jython/Python 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!