You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by sridhar veerappan <sr...@gmail.com> on 2009/04/15 14:59:21 UTC

Wsdl2java in cxf issue

Hi,
I am trying to extract stubs using the command line from , but system cannot
find the specified path.

C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
or
wsdl2java -p ContactService.wsdl
or
wsdl2java -client ContactService.wsdl


The system cannot find the path specified.

Can anyone help to solve this problem.

Thanks in Advance

Sridhar

Re: Wsdl2java in cxf issue

Posted by sridhar veerappan <sr...@gmail.com>.
Hi,
I tried that one too, but not working.

C:\apache-cxf-2.2\bin>set JAVA_HOME= C:\Program~1\Java\jdk1.5.0_18;
C:\apache-cxf-2.2\bin>set
PATH=C:\apache-cxf-2.2\bin;C:\Program~1\Java\jdk1.5.0_
18\bin;%PATH%
C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
The filename, directory name, or volume label syntax is incorrect.
C:\apache-cxf-2.2\bin>wsdl2java.bat ContactService.wsdl
The filename, directory name, or volume label syntax is incorrect.
C:\apache-cxf-2.2\bin>wsdl2java d:\ContactService.wsdl
The filename, directory name, or volume label syntax is incorrect.
C:\apache-cxf-2.2\bin>

wsdl i place in same bin directory as well d:\

Thanks
Sridhar

On Wed, Apr 15, 2009 at 7:40 PM, Sean O'Callaghan <SE...@progress.com>wrote:

> set JAVA_HOME= C:\Program~1\Java\jdk1.5.0_18
>
> set PATH=C:\apache-cxf-2.2\bin;C:\Program~1\Java\jdk1.5.0_18\bin;%PATH%
>
> -----Original Message-----
> From: sridhar veerappan [mailto:sriasarch@gmail.com]
> Sent: 15 April 2009 14:44
> To: users@cxf.apache.org; oreitsma@gmail.com
> Subject: Re: Wsdl2java in cxf issue
>
> I tried all the commands , but not working.
> C:\apache-cxf-2.2\bin>set JAVA_HOME=C:\Program~1\Java\jdk1.5.0_18\bin
> C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
> The system cannot find the path specified.
> C:\apache-cxf-2.2\bin>set JAVA_HOME="C:\Program~1\Java\jdk1.5.0_18\bin"
> C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
> The system cannot find the path specified.
> C:\apache-cxf-2.2\bin>set
> JAVA_HOME="C:\Program~1\Java\jdk1.5.0_18\bin\java"
> C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
> The system cannot find the path specified.
> C:\apache-cxf-2.2\bin>
>
> Thanks
> Sridhar
>
> On Wed, Apr 15, 2009 at 7:06 PM, Oscar Reitsma <or...@gmail.com>
> wrote:
>
> > Is your JAVA_HOME set to the correct location.
> > try typing: %JAVA_HOME%\bin\java
> > to check this
> >
> > On Wed, Apr 15, 2009 at 2:59 PM, sridhar veerappan
> <sriasarch@gmail.com
> > >wrote:
> >
> > > Hi,
> > > I am trying to extract stubs using the command line from , but
> system
> > > cannot
> > > find the specified path.
> > >
> > > C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
> > > or
> > > wsdl2java -p ContactService.wsdl
> > > or
> > > wsdl2java -client ContactService.wsdl
> > >
> > >
> > > The system cannot find the path specified.
> > >
> > > Can anyone help to solve this problem.
> > >
> > > Thanks in Advance
> > >
> > > Sridhar
> > >
> >
>

RE: Wsdl2java in cxf issue

Posted by Sean O'Callaghan <SE...@progress.com>.
set JAVA_HOME= C:\Program~1\Java\jdk1.5.0_18

set PATH=C:\apache-cxf-2.2\bin;C:\Program~1\Java\jdk1.5.0_18\bin;%PATH%

-----Original Message-----
From: sridhar veerappan [mailto:sriasarch@gmail.com] 
Sent: 15 April 2009 14:44
To: users@cxf.apache.org; oreitsma@gmail.com
Subject: Re: Wsdl2java in cxf issue

I tried all the commands , but not working.
C:\apache-cxf-2.2\bin>set JAVA_HOME=C:\Program~1\Java\jdk1.5.0_18\bin
C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
The system cannot find the path specified.
C:\apache-cxf-2.2\bin>set JAVA_HOME="C:\Program~1\Java\jdk1.5.0_18\bin"
C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
The system cannot find the path specified.
C:\apache-cxf-2.2\bin>set
JAVA_HOME="C:\Program~1\Java\jdk1.5.0_18\bin\java"
C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
The system cannot find the path specified.
C:\apache-cxf-2.2\bin>

Thanks
Sridhar

On Wed, Apr 15, 2009 at 7:06 PM, Oscar Reitsma <or...@gmail.com>
wrote:

> Is your JAVA_HOME set to the correct location.
> try typing: %JAVA_HOME%\bin\java
> to check this
>
> On Wed, Apr 15, 2009 at 2:59 PM, sridhar veerappan
<sriasarch@gmail.com
> >wrote:
>
> > Hi,
> > I am trying to extract stubs using the command line from , but
system
> > cannot
> > find the specified path.
> >
> > C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
> > or
> > wsdl2java -p ContactService.wsdl
> > or
> > wsdl2java -client ContactService.wsdl
> >
> >
> > The system cannot find the path specified.
> >
> > Can anyone help to solve this problem.
> >
> > Thanks in Advance
> >
> > Sridhar
> >
>

Re: Wsdl2java in cxf issue

Posted by sridhar veerappan <sr...@gmail.com>.
I tried all the commands , but not working.
C:\apache-cxf-2.2\bin>set JAVA_HOME=C:\Program~1\Java\jdk1.5.0_18\bin
C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
The system cannot find the path specified.
C:\apache-cxf-2.2\bin>set JAVA_HOME="C:\Program~1\Java\jdk1.5.0_18\bin"
C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
The system cannot find the path specified.
C:\apache-cxf-2.2\bin>set JAVA_HOME="C:\Program~1\Java\jdk1.5.0_18\bin\java"
C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
The system cannot find the path specified.
C:\apache-cxf-2.2\bin>

Thanks
Sridhar

On Wed, Apr 15, 2009 at 7:06 PM, Oscar Reitsma <or...@gmail.com> wrote:

> Is your JAVA_HOME set to the correct location.
> try typing: %JAVA_HOME%\bin\java
> to check this
>
> On Wed, Apr 15, 2009 at 2:59 PM, sridhar veerappan <sriasarch@gmail.com
> >wrote:
>
> > Hi,
> > I am trying to extract stubs using the command line from , but system
> > cannot
> > find the specified path.
> >
> > C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
> > or
> > wsdl2java -p ContactService.wsdl
> > or
> > wsdl2java -client ContactService.wsdl
> >
> >
> > The system cannot find the path specified.
> >
> > Can anyone help to solve this problem.
> >
> > Thanks in Advance
> >
> > Sridhar
> >
>

Re: Wsdl2java in cxf issue

Posted by Oscar Reitsma <or...@gmail.com>.
Is your JAVA_HOME set to the correct location.
try typing: %JAVA_HOME%\bin\java
to check this

On Wed, Apr 15, 2009 at 2:59 PM, sridhar veerappan <sr...@gmail.com>wrote:

> Hi,
> I am trying to extract stubs using the command line from , but system
> cannot
> find the specified path.
>
> C:\apache-cxf-2.2\bin>wsdl2java ContactService.wsdl
> or
> wsdl2java -p ContactService.wsdl
> or
> wsdl2java -client ContactService.wsdl
>
>
> The system cannot find the path specified.
>
> Can anyone help to solve this problem.
>
> Thanks in Advance
>
> Sridhar
>