You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by dsavatar <ds...@gmail.com> on 2012/12/18 07:17:26 UTC

Apache CXF Wsdl2java on Ubuntu

Hello,

I have a question, i downloaded the binaries of apache cxf and i used
wsdl2java.bat because i need to generate java classes from wsdl. On Windows
i used wsdl2java -verbose -autoNameResolution -d <output.dir> -p 
<my.set.package> file.wsdl  But now i need to do that on Ubuntu and i don't
know how because doesn't support files .bat.

I used this feature because I have to make a program that generates Java
classes from WSDL. And this program needs to run on Windows and Ubuntu.

Best Regards.



--
View this message in context: http://cxf.547215.n5.nabble.com/Apache-CXF-Wsdl2java-on-Ubuntu-tp5720433.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Apache CXF Wsdl2java on Ubuntu

Posted by Glen Mazza <gm...@talend.com>.
You may wish to start with Maven instead of command-line to generate 
your projects: http://www.jroller.com/gmazza/entry/web_service_tutorial.

Glen

On 12/18/2012 02:26 PM, Daniel Kulp wrote:
> On Dec 18, 2012, at 11:24 AM, dsavatar <ds...@gmail.com> wrote:
>
>> Thank you!, I have another question, I'm only using wsdl2java function could
>> erase some things to occupy less space? And if so, what would be if you
>> know?
> Should definitely be able to erase the samples and the javadoc.  If you remove the large cxf-#.#.#.jar from the lib dir and use the smaller modules in the modules directory, you could probably get it down to:
> cxf-manifest
> cxf-api
> xmlschema-core
> geronimo-javamail_1.4_spec
> wsdl4j
> cxf-tools-common
> velocity
> commons-collections
> commons-lang
> jaxb-xjc
> jaxb-impl
> cxf-rt-core
> cxf-tools-wsdlto-core
> cxf-tools-validator
> cxf-rt-bindings-soap
> cxf-rt-databinding-jaxb
> cxf-tools-wsdlto-databinding-jaxb
> cxf-tools-wsdlto-frontend-jaxws
> xml-resolver
>
> These MAY also be needed, not really sure:
> cxf-tools-wsdlto-frontend-javascript
> cxf-rt-javascript
> spring-core
> spring-asm
> commons-logging
> spring-beans
> spring-context
> spring-aop
> aopalliance
> spring-expression
>
>
>> Sorry for my english.
>>
>> Best Regards.
>>
>>
>>
>> --
>> View this message in context: http://cxf.547215.n5.nabble.com/Apache-CXF-Wsdl2java-on-Ubuntu-tp5720433p5720449.html
>> Sent from the cxf-user mailing list archive at Nabble.com.


-- 
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza


Re: Apache CXF Wsdl2java on Ubuntu

Posted by Daniel Kulp <dk...@apache.org>.
On Dec 18, 2012, at 11:24 AM, dsavatar <ds...@gmail.com> wrote:

> Thank you!, I have another question, I'm only using wsdl2java function could
> erase some things to occupy less space? And if so, what would be if you
> know?

Should definitely be able to erase the samples and the javadoc.  If you remove the large cxf-#.#.#.jar from the lib dir and use the smaller modules in the modules directory, you could probably get it down to:
cxf-manifest
cxf-api
xmlschema-core
geronimo-javamail_1.4_spec
wsdl4j
cxf-tools-common
velocity
commons-collections
commons-lang
jaxb-xjc
jaxb-impl
cxf-rt-core
cxf-tools-wsdlto-core
cxf-tools-validator
cxf-rt-bindings-soap
cxf-rt-databinding-jaxb
cxf-tools-wsdlto-databinding-jaxb
cxf-tools-wsdlto-frontend-jaxws
xml-resolver

These MAY also be needed, not really sure:
cxf-tools-wsdlto-frontend-javascript
cxf-rt-javascript
spring-core
spring-asm
commons-logging
spring-beans
spring-context
spring-aop
aopalliance
spring-expression


> 
> Sorry for my english.
> 
> Best Regards.
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Apache-CXF-Wsdl2java-on-Ubuntu-tp5720433p5720449.html
> Sent from the cxf-user mailing list archive at Nabble.com.

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Re: Apache CXF Wsdl2java on Ubuntu

Posted by dsavatar <ds...@gmail.com>.
Thank you!, I have another question, I'm only using wsdl2java function could
erase some things to occupy less space? And if so, what would be if you
know?

Sorry for my english.

Best Regards.



--
View this message in context: http://cxf.547215.n5.nabble.com/Apache-CXF-Wsdl2java-on-Ubuntu-tp5720433p5720449.html
Sent from the cxf-user mailing list archive at Nabble.com.

Re: Apache CXF Wsdl2java on Ubuntu

Posted by Freeman Fang <fr...@gmail.com>.
Hi,

For the unix/linux/mac platform, you need download the .tar.gz kit but not the .zip kit
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2012-12-18, at 下午2:17, dsavatar wrote:

> Hello,
> 
> I have a question, i downloaded the binaries of apache cxf and i used
> wsdl2java.bat because i need to generate java classes from wsdl. On Windows
> i used wsdl2java -verbose -autoNameResolution -d <output.dir> -p 
> <my.set.package> file.wsdl  But now i need to do that on Ubuntu and i don't
> know how because doesn't support files .bat.
> 
> I used this feature because I have to make a program that generates Java
> classes from WSDL. And this program needs to run on Windows and Ubuntu.
> 
> Best Regards.
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/Apache-CXF-Wsdl2java-on-Ubuntu-tp5720433.html
> Sent from the cxf-user mailing list archive at Nabble.com.