xml - What should be targetNamespace in API that is being versioned? -


our team developing api being versioned. have following naming schema:

http://example.com/remote/soap/vx.y/wsdl 

where x.y version number. question is: should targetnamespace contain whole wsdl address or i.e. http://example.com/remote/soap part?

digging through inernet, have found following tutorial 1 can read:

the value of targetnamespace unique identifier, typically companies use there url followed qualify it. in principle namespace has no meaning, companies have used url schema stored, targetnamespace , xml parsers use hint path schema [...]

taking under consideration fact our api can change among different versions, think better provide version number in targetnamespace uri.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -