Hi all,

I have developed a testing service with AXIS, deployed it on my tomcat http://localhost:8080

I've also written a small testing client in C# using Visual .NET and when I'm adding the web reference to my AXIS service, the Reference.cs contain a mistake that I have to fix everytime I update the web reference.

public class TestSOAPService : System.Web.Services.Protocols.SoapHttpClientProtocol {
/// <remarks/>
public TestSOAPService() {
this.Url = "http://localhost/axis/services/SOAPTest";;
}
...


I have to change the constructor to
/// <remarks/>
public TestSOAPService() {
this.Url = "http://localhost:8080/axis/services/SOAPTest";;
}


Seems the port 8080 is not added to the URL in the .NET wrapper. When I fixed that by hand ... everything is working fine after.
Any idea how I could fix this on the tomcat/AXIS/java side to get a correct wrapper of my AXIS service on the .NET side? Is it a bug in .NET interop?


Thanks,
Patrick.




Reply via email to