>From running tcpmon, it looks like Visual Studio .net doesn't specify the correct URL in it's HTTP Host: line. Instead of specifying "Host: localhost:8081" it specifies "Host: localhost". This is probably why the wsdl comes back with the incorrect url.
I'm running tomcat 4.0.3. I'll download Tomcat 4.0.2 and try it again to see if there are any differences. --Barry -----Original Message----- From: Sam Ruby [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 02, 2002 10:52 AM To: [EMAIL PROTECTED] Subject: Re: Strange bug: Axis in Tomcat 4.0.4 and .NET Arne M. Degenring wrote: > Hi everybody, > > I recently upgraded to Tomcat 4.0.4 and found out a problem with .NET. > I'm running Tomcat on port 8081. When I access a WSDL file via IE 6.0 > at: > > http://localhost:8081/axis/services/SomeWS?wsdl > > I get back the WSDL file which contains the correct adress location: > > <wsdlsoap:address > location="http://localhost:8081/axis/services/SomeWS"/> > > No problem so far. BUT: When I access the same WSDL URL from the > Microsoft .NET platform, e.g. via .NET WebService Studio or via .NET's > wsdl.exe tool, the port number is missing in the WSDL's adress > location!! > > <wsdlsoap:address location="http://localhost/axis/services/SomeWS"/> > > .NET's generated proxy class (SubmitWSService.cs) does not work, of > course, because of the missing port number. This strange behaviour first > occured after I upgraded to Tomcat 4.0.4. No problem with 4.0.3. > > BTW: I'm using the Axis build 2002-07-01. > > Any ideas? I'll try to reproduce. I've verified that 2002-07-01 w/Tomcat 4.0.3 works, running wsdl.exe against http://nagoya.apache.org:5049/axis/services/SoapInteropImport1Port?wsdl results in public Import1() { this.Url = "http://nagoya.apache.org:5049/axis/services/SoapInteropImport1Port"; } - Sam Ruby
smime.p7s
Description: application/pkcs7-signature