replace soap:address and soap12:address in "?wsdl"
--------------------------------------------------

         Key: AXIS2-145
         URL: http://issues.apache.org/jira/browse/AXIS2-145
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
    Reporter: Davanum Srinivas


Suppose i add a service.wsdl that has the following:

  <wsdl:service name="BinaryDataMTOMService">
    <wsdl:port name="BinaryDataMTOMServiceSoap" 
binding="tns:BinaryDataMTOMServiceSoap">
      <soap:address 
location="http://localhost/BinaryDataMTOMService/BinaryDataMTOMService.asmx"; />
    </wsdl:port>
    <wsdl:port name="BinaryDataMTOMServiceSoap12" 
binding="tns:BinaryDataMTOMServiceSoap12">
      <soap12:address 
location="http://localhost/BinaryDataMTOMService/BinaryDataMTOMService.asmx"; />
    </wsdl:port>
  </wsdl:service>

At runtime this has to be replaced with the actual endpoint

  <wsdl:service name="BinaryDataMTOMService">
    <wsdl:port name="BinaryDataMTOMServiceSoap" 
binding="tns:BinaryDataMTOMServiceSoap">
      <soap:address 
location="http://localhost:8080/axis2/services/BinaryDataMTOMService"/>
    </wsdl:port>
    <wsdl:port name="BinaryDataMTOMServiceSoap12" 
binding="tns:BinaryDataMTOMServiceSoap12">
      <soap12:address 
location="http://localhost:8080/axis2/services/BinaryDataMTOMService"; />
    </wsdl:port>
  </wsdl:service>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to