I have a two enet addresses on a server. When I request the wsdl file from my 
browser:

http://gcnss2.atsdev.sensis.com/DBRI/services/AssetInfoService?wsdl

this is an excerpt of what I see: 

 

….

  <wsdl:output name="getAllAssetsResponse">

      <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";  
        
namespace="http://gcnss.atsdev.sensis.com/DBRI/services/AssetInfoService"; 
use="encoded"/>

     </wsdl:output>

   </wsdl:operation>

</wsdl:binding>

−

<wsdl:service name="AssetInfoService">

   <wsdl:port binding="impl:AssetInfoServiceSoapBinding" 
name="AssetInfoService">

     <wsdlsoap:address 
location="http://gcnss2.atsdev.sensis.com/DBRI/services/AssetInfoService"/>

  </wsdl:port>

</wsdl:service>

</wsdl:definitions>

 

Notice that the wsdl returned both gcnss and gcnss2 in the url. 

I don’t hardcode the address or port anywhere for portability.

Is there a way to enforce which enet address gets implemented from the 

server-config.wsdd file?

Thanks,

Bill 

Reply via email to