上文的wsdl文件
<wsdl:message name="getAddressRequest">
        <wsdl:part name="parameters" element="ns1:getAddress"/>
    </wsdl:message>
    <wsdl:message name="getAddressResponse">
        <wsdl:part name="parameters" element="ns1:getAddressResponse"/>
    </wsdl:message>
    <wsdl:portType name="AddressServicePortType">
        <wsdl:operation name="getAddress">
            <wsdl:input message="ns1:getAddressRequest" wsaw:Action="urn:getAddress"/>
            <wsdl:output message="ns1:getAddressResponse" wsaw:Action="urn:getAddressResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="AddressServiceSOAP11Binding" type="ns1:AddressServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="getAddress">
            <soap:operation soapAction="urn:getAddress" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="AddressServiceSOAP12Binding" type="ns1:AddressServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="getAddress">
            <soap12:operation soapAction="urn:getAddress" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="AddressServiceHttpBinding" type="ns1:AddressServicePortType">
        <http:binding verb="POST"/>
        <wsdl:operation name="getAddress">
            <http:operation location="AddressService/getAddress"/>
            <wsdl:input>
                <mime:content type="text/xml" part="getAddress"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="getAddress"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="AddressService">
        <wsdl:port name="AddressServiceSOAP11port_http" binding="ns1:AddressServiceSOAP11Binding">
            <soap:address location="http://localhost:9080/axis2/services/AddressService"/>
        </wsdl:port>
        <wsdl:port name="AddressServiceSOAP12port_http" binding="ns1:AddressServiceSOAP12Binding">
            <soap12:address location="http://localhost:9080/axis2/services/AddressService"/>
        </wsdl:port>
        <wsdl:port name="AddressServiceHttpport" binding="ns1:AddressServiceHttpBinding">
            <http:address location="http://localhost:9080/axis2/services/AddressService"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>
修改后的wsdl文件如下:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns0="http://bm.customerservice.demo/xsd" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://addressservice.demo" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://addressservice.demo">
    <wsdl:documentation>AddressService</wsdl:documentation>
    <wsdl:types>
                <xs:schema xmlns:ns="http://addressservice.demo" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://addressservice.demo">
            <xs:element name="getAddress">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="addressId" type="xs:int"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="getAddressResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="return" nillable="true" type="ns:Address"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:complexType name="Address">
                <xs:sequence>
                    <xs:element minOccurs="0" name="country" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="id" type="xs:int"/>
                    <xs:element minOccurs="0" name="street" nillable="true" type="xs:string"/>
                    <xs:element minOccurs="0" name="zip" type="xs:int"/>
                </xs:sequence>
            </xs:complexType>        </xs:schema>
    </wsdl:types>
    <wsdl:message name="getAddressRequest">
        <wsdl:part name="parameters" element="ns1:getAddress"/>
    </wsdl:message>
    <wsdl:message name="getAddressResponse">
        <wsdl:part name="parameters" element="ns1:getAddressResponse"/>
    </wsdl:message>
    <wsdl:portType name="AddressServicePortType">
        <wsdl:operation name="getAddress">
            <wsdl:input message="ns1:getAddressRequest" wsaw:Action="urn:getAddress"/>
            <wsdl:output message="ns1:getAddressResponse" wsaw:Action="urn:getAddressResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="AddressServiceSOAP11Binding" type="ns1:AddressServicePortType">
        <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="getAddress">
            <soap:operation soapAction="urn:getAddress" style="document"/>
            <wsdl:input>
                <soap:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="AddressServiceSOAP12Binding" type="ns1:AddressServicePortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="getAddress">
            <soap12:operation soapAction="urn:getAddress" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="AddressServiceHttpBinding" type="ns1:AddressServicePortType">
        <http:binding verb="POST"/>
        <wsdl:operation name="getAddress">
            <http:operation location="AddressService/getAddress"/>
            <wsdl:input>
                <mime:content type="text/xml" part="getAddress"/>
            </wsdl:input>
            <wsdl:output>
                <mime:content type="text/xml" part="getAddress"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="AddressService">
        <wsdl:port name="AddressServiceSOAP11port_http" binding="ns1:AddressServiceSOAP11Binding">
            <soap:address location="http://localhost:9080/axis2/services/AddressService"/>
        </wsdl:port>
        <wsdl:port name="AddressServiceSOAP12port_http" binding="ns1:AddressServiceSOAP12Binding">
            <soap12:address location="http://localhost:9080/axis2/services/AddressService"/>
        </wsdl:port>
        <wsdl:port name="AddressServiceHttpport" binding="ns1:AddressServiceHttpBinding">
            <http:address location="http://localhost:9080/axis2/services/AddressService"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>