Hello Xinjun,

Multiple ports can map to one binding. I.e. you make the same service available through different URLs.

 <wsdl:service name="YourService">

  <wsdl:port binding="impl:YourSoapBinding" name="YourServicePortA">
<wsdlsoap:address location="http://localhost/yourmodule/services/port_a"/>
  </wsdl:port>

  <wsdl:port binding="impl:YourSoapBinding" name="YourServicePortB">
<wsdlsoap:address location="https://differenthost/yourmodule/webservices/port_b"/>
  </wsdl:port>

 </wsdl:service>

Regards,
Dies


Xinjun Chen wrote:
In WSDL we may have multiple bindings for a single portType. Every service
may have multiple ports.
Is the mapping from port to binding is one to one?

Regards,
Xinjun


Reply via email to