I'm trying to create my first web service using wsdl that was generated from an outside source (remote wsdl). The wsdl looks like the following:
<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://Sirit/ETTM/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://Sirit/ETTM/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <wsdl:types> <s:schema elementFormDefault="qualified" targetNamespace="http://Sirit/ETTM/"> . . . <wsdl:service name="TZCService"> <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">External Access Web Services for Hybrid Tolling</documentation> <wsdl:port name="TZCServiceSoap" binding="tns:TZCServiceSoap"> <soap:address location="http://localhost/ETTMServices/TZCService.asmx" /> </wsdl:port> </wsdl:service> I ran wsdl2java and generated both the client and server stub and skeleton code, added my implementation code, and modified the target url in many places. Would it be easier to just modify the original wsdl and change the url to my localhost? What do I change the soap:address location to? Should it be "http://localhost:8080/axis/TZCService"? And should I change "http://Sirit/ETTM/" to "http://localhost:8080"? Thanks for your help, Jan
