axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Russo resowe" <Hans.Ru...@resowe.de>
Subject Re: java.net.ConnectException: Connection refused: connect (RESOLVED)
Date Wed, 02 Apr 2003 08:01:39 GMT
USING SLASH INSTAD OF BACKSLASH RESOLVED THE PROBLEM:

But the line for the variable Zeitansage_Service_address  was created from
tool WSDL2Java. So somebody should have a look if this a bug of WSDL2Java
for windows.

Thank you very much
Hans

----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
To: <axis-user@ws.apache.org>
Sent: Tuesday, April 01, 2003 9:29 PM
Subject: Re: java.net.ConnectException: Connection refused: connect


> you should be using forward / in urls and things; the backslash is a
> windows only hack.
>
> Hans Russo resowe wrote:
> > Maybe you are right but the file Zeitansageservislocator was generated
by
> > WSDL2Java.
> > Indeed there was a problem: WSDL2Java was not able to write the string
> > Zeitansage_Service_address
> > , see the listing bellow, correctly. I had to edtit the string
> > Zeitansage_Service_address. It was necessary
> > to write two slashes for a slash to be able to compile
> > Zeitansageservislocator with eclipse or javac without error.
> > Maybe there anything wrong now.
> >
> > Thanks in advance
> > Hans
> >
> > /**
> > * ZeitansageServiceLocator.java
> > *
> > * This file was auto-generated from WSDL
> > * by the Apache Axis WSDL2Java emitter.
> > */
> > package kapitel8.zeitansage_wsdl;
> > public class ZeitansageServiceLocator extends
org.apache.axis.client.Service
> > implements kapitel8.zeitansage_wsdl.ZeitansageService {
> > // Use to get a proxy class for Zeitansage_Service
> > private final java.lang.String Zeitansage_Service_address =
> > "http:\\\\localhost:8080\\axis\\services\\Zeitansage_Service";
> > public java.lang.String getZeitansage_ServiceAddress() {
> > return Zeitansage_Service_address;
> > }
>
>
>
>


Mime
View raw message