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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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;
> > }
>
>
>
>

Reply via email to