Geoff, I think I see a "//" instead of a "/" after localhost. That is not allowed and may force the protocol to be stripped off? -jeff _____
From: WALKER-GEOFF [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 1:35 PM To: [email protected] Subject: RE: MalformedURLException with cookieless .NET web service Hi, I'm sorry to double-post, but I've had no responses and I'm really under the gun. Does anybody have any ideas about how to get rid of this exception? Is this some kind of a configuration issue? Thanks, Geoff _____ From: WALKER-GEOFF Sent: Wednesday, October 17, 2007 10:15 AM To: '[email protected]' Subject: MalformedURLException with cookieless .NET web service Hi, I have had years of experience as a Java developer, but I am relatively new to setting up web services/clients. I am trying to consume a cookieless .NET web service with WSDL2Java generated classes, and when my stub call invokes a web service method, I get the following exception: java.net.MalformedURLException: no protocol: /MyWebService/(S(ieyrnf55xs45pd55yi0mjd55))/Service1.asmx All of the strings in the generated "Locator" class used to set the endpoint URL correctly include the fully qualified path (http://localhost//MyWebService/Service1.asmx <http://localhost/MyWebService/Service1.asmx> ). As you can probably guess from the useless default names, the web service is also mine, and when I change the web.config sessionState properties to use cookies (which I'd rather not do), I don't get the exception. I will also add that I find dealing with sessions in .NET a thorough pain! So, why is Axis trying to create a URL with the sessionID-stamped path sans protocol/server? Thanks in advance for your help. - Geoff
