On 7/18/07, shaoguang geng <[EMAIL PROTECTED]> wrote:

When I work on the svn code, I found that the service address of a <
binding.ws> depends on it's uri attribute, not the <soap:address> inside
the wsdl file. If the <soap:address> is some thing different from the <
binding.ws>'s uri, or it does not exists absolutely, the client will get a
confusion form it http://[host]:[port]/[servicename]?wsdl,

  If I don't give a <soap:address>, I will see a warn, but without the <
binding.ws>' uri, Tuscany runs without any message.


The WS service address is calculated based on section 2.1.1 of the WS
binding spec and section 1.7.2.1 of the assembly spec (see [1]), and there's
a bit about it in the Tuscany doc at [2]. From that, Tuscany should be using
the <soap:address> from the WSDL if you reference the WSDL port from the <
binding.ws wsdlElement= ...>, the uri attribute is only used if you don't
reference the wsdl port or if it is a relative url. Not sure if that answers
you question though?

  ...ant

[1]
http://osoa.org/display/Main/Service+Component+Architecture+Specifications
[2] http://incubator.apache.org/tuscany/sca-java-bindingws.html

Reply via email to