"soap:address" - Location of Service

This section describes 'soap:address', a SOAP extension element that specifies an address where Web service is located.

"soap:address" is a SOAP extension element used as a sub element of the "wsdl:port" element inside the "wsdl:service" element. "soap:address" is used to specify an address where the Web service can be accessed. The syntax of "soap:address" looks like this:

<wsdl:definitions ...>
  <wsdl:address ...>
    <wsdl:port ...>
      <soap:address location="uri"/>
    </wsdl:port>
  </wsdl:address>
</wsdl:definitions>

Notes on the "soap:address" element:

Here is an example of "soap:operation" element:

  <wsdl:service name="helloService">
    <wsdl:port name="helloPort" binding="hy:helloBinding">
      <soap:address
location="http://www.herongyang.com/Service/Hello_SOAP_11.php"/>
    </wsdl:port>
  </wsdl:service>

In this example,

Last update: 2007.

Table of Contents

 About This Book

 Introduction to WSDL 2.0

 WSDL 2.0 Document Structure and Syntax

 WSDL Version 2.0 Part 2: Adjuncts

 WSDL 2.0 Document Examples with SOAP Binding

 WSDL 20 Programming APIs and Testing Tools

 Introduction to WSDL 1.1

 WSDL 1.1 Document Structure and Syntax

WSDL 1.1 Binding Extension for SOAP 1.1

 What Is WSDL 1.1 SOAP Extension?

 "soap:binding" - Binding Message Style and Transportation

 "soap:operation" - SOAPAction Header Line

 "soap:body" - Binding for SOAP Body

 "soap:fault" - Binding for SOAP Fault Details

 "soap:header" - Binding for SOAP Header

"soap:address" - Location of Service

 soapUI 3.0.1 - Web Service Testing Tool

 WSDL 1.1 and SOAP 1.1 Examples - Document and RPC Styles

 PHP SOAP Extension in PHP 5.3.1

 Using WSDL in Perl with SOAP::Lite 0.710

 Using WSDL Document in Java with Axis2 1.4.1

 Using WSDL2Java to Generate Web Service Stub Classes

 WSDL 1.1 Binding Extension for SOAP 1.2

 WSDL 1.1 and SOAP 1.2 Examples - Document and RPC Styles

 SOAP 1.2 Binding - PHP, Java and Perl Clients

 WSDL Related Terminologies

 References

 PDF Printing Version