WSDL Tutorials - Herong's Tutorial Examples - Version 2.10, by Dr. Herong Yang
"soap12:address" - Location of Service
This section describes 'soap12:address', a SOAP extension element that specifies an address where Web service is located.
"soap12:address" is a SOAP extension element used as a sub element of the "wsdl:port" element inside the "wsdl:service" element. "soap12:address" is used to specify an address where the Web service can be accessed. The syntax of "soap12:address" looks like this:
<wsdl:definitions ...> <wsdl:address ...> <wsdl:port ...> <soap12:address location="uri"/> </wsdl:port> </wsdl:address> </wsdl:definitions>
Notes on the "soap12:address" element:
Here is an example of "soap12:operation" element:
<wsdl:service name="helloService"> <wsdl:port name="helloPort" binding="hy:helloBinding"> <soap12:address location="http://www.herongyang.com/Service/Hello_SOAP_11.php"/> </wsdl:port> </wsdl:service>
In this example,
Last update: 2007.
Table of Contents