Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reg. Multiple Ports on an Endpoint and WS-I

 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first para seems to be conflicting whats stated in the second para.

Multiple Ports on an Endpoint
When input messages destined for two different wsdl:ports at the same network endpoint are indistinguishable on the wire, it may not be possible to determine the wsdl:port being invoked by them. This may cause interoperability problems. However, there may be situations (e.g., SOAP versioning, application versioning, conformance to different profiles) where it is desirable to locate more than one port on an endpoint; therefore, the Profile allows this.

R271 A DESCRIPTION SHOULD NOT have more than one wsdl:port with the same value for the location attribute of the soapbind:address element.


Two port definitons CANNOT have soap:address location attribute under any circumstance, am I right? Why does the first para indicate that the WS-I does allow it? So what is conformant and what isnt???
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
No, two ports are, as far as the WS-I Basic Profile is concerned, allowed to have the same value for the location attribute.
This is not something that is recommended, as noted in the BP, which you quote.
Note that they use "SHOULD NOT" and not "MUST NOT".
Best wishes!
 
Sachet Varma
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Ivan !!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic