You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Ted Stevens <ts...@earthlink.net> on 2011/01/09 04:20:40 UTC

java2wsdl ?

I am struggling with java2wsdl - I think I have my environment vars set
correctly but can't seem to get the command line right:

 

When I do something like java2wsdl -o  MyServices.wsdl . MyServices.class I
get the following:

 

                Exception in .  class name must present - which doesn't make
sense to me since I am running java2wsdl in the class directory.

 

Any help appreciated,


Re: java2wsdl ?

Posted by Simon Nash <na...@apache.org>.
Ted Stevens wrote:
> I am struggling with java2wsdl – I think I have my environment vars set 
> correctly but can’t seem to get the command line right:
> 
>  
> 
> When I do something like java2wsdl –o  MyServices.wsdl . 
> MyServices.class I get the following:
> 
>  
> 
>                 Exception in …  class name must present – which doesn’t 
> make sense to me since I am running java2wsdl in the class directory.
> 
>  
> 
> Any help appreciated,
> 
Is this the java2wsdl that's part of Axis2?

If so, I'd suggest using the JDK 6 wsgen command instead.  This
is what the Tuscany samples and integration tests use.

   Simon