如何用JAVA代码取代WebService的WSDL文件中的soap:address 元素?下面的WSDL是我用JAX-WS生成的,红体字部分就是我想去掉的,因为这样写死地址,可移植性与可配置性太差了。<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3-hudson-390-. -->
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://mult.ws.xueruan.com/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MultServiceImplService" targetNamespace="http://mult.ws.xueruan.com/">
  <types>
    <xsd:schema>
      <xsd:import namespace="http://mult.ws.xueruan.com/" schemaLocation="MultServiceImplService_schema1.xsd"/>
    </xsd:schema>
  </types>
  <message name="mult">
    <part element="tns:mult" name="parameters"/>
  </message>
  <message name="multResponse">
    <part element="tns:multResponse" name="parameters"/>
  </message>
  <portType name="MultServiceImplDelegate">
    <operation name="mult">
      <input message="tns:mult"/>
      <output message="tns:multResponse"/>
    </operation>
  </portType>
  <binding name="MultServiceImplPortBinding" type="tns:MultServiceImplDelegate">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="mult">
      <soap:operation soapAction=""/>
      <input>
        <soap:body use="literal"/>
      </input>
      <output>
        <soap:body use="literal"/>
      </output>
    </operation>
  </binding>
  <service name="MultServiceImplService">
    <port binding="tns:MultServiceImplPortBinding" name="MultServiceImplPort">
      <soap:address location="http://localhost:8080/ws/MultServiceImplPort"/>
    </port>
  </service>
</definitions>