It seems that the service port of the hello sample is http://localhost:8080/axis/services/HelloPort?wsdl
But the locator class code generated by WSDL2Java is http://localhost:8080/axis/Hello In general, why does AXIS maps the endpoint from http://localhost:8080/axis/XXXX, as specified in the HelloWorld.wsdl to http://localhost:8080/axis/services/XXXX > -----Original Message----- > From: Alex Chen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 08, 2003 12:41 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Stub class > > > Will there be a bug open against this problem? > > > -----Original Message----- > > From: Gary L Peskin [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 08, 2003 9:17 AM > > To: [EMAIL PROTECTED] > > Subject: RE: Stub class > > > > > > It looks to me like the default URL built into the > > HelloWorldLocator comes > > from the WSDL which is http://localhost:8080/axis/Hello. > This is not > > correct. It should match your UrlString. It looks like > the WSDL file > > soap:address element is just wrong. > > > > As a workaround, you could code > > service.getHelloPort(UrlString) which should > > solve this problem. If that works, you could change > > HelloWorld.wsdl match > > your URL and then run WSDL2Java to regenerate a new > > HelloWorldLocator that > > you could deploy into Tomcat. > > > > HTH, > > Gary > >
