You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Venkat <ve...@yahoo.com> on 2012/02/07 20:36:31 UTC

Re: Problem in creating Web Service in Eclipse using 2.1.8 Geronimo

Thanks Ivan for your help.

I changed the files in the Repository. But it is still not generating stubs.
It did not gave any exceptions, but also did not created it.

I can see my war in the "Web App Wars".

I googled on it and saw I need to change "jaxws" jars also, so I did changed
those and then I was back to the same exceptions.

If you don't mind can you tell me what are the jars that are needed for CXF
2.5.1 WSDL2Java stubs creation.

I have changed these files in the Geronimo Repo.


com.sun.xml.bind/jaxb-impl/2.1.7/jar     to     
com.sun.xml.bind/jaxb-impl/2.2.4-1/jar
com.sun.xml.bind/jaxb-xjc/2.1.7/jar      to     
com.sun.xml.bind/jaxb-xjc/2.2.4-1/jar  
org.apache.geronimo.specs/geronimo-jaxb_2.1_spec/1.0/jar        to   
org.apache.geronimo.specs/geronimo-jaxb_2.2_spec/1.0/jar


I did not change this jar
"org.apache.cxf/cxf-rt-databinding-jaxb/2.1.10/jar"


com.sun.xml.ws/jaxws-rt/2.1.4/jar    to    
com.sun.xml.ws/jaxws-rt/2.2.5/jar
com.sun.xml.ws/jaxws-tools/2.1.4/jar     to    
com.sun.xml.ws/jaxws-tools/2.2.5/jar
org.apache.geronimo.specs/geronimo-jaxws_2.1_spec/1.0/jar         to
org.apache.geronimo.specs/geronimo-jaxws_2.2_spec/1.0/jar

I did not change this jar "org.apache.cxf/cxf-rt-frontend-jaxws/2.1.10/jar"

Please let me know. I am new to this Geronimo. Actually this is my first
time ever using this.

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Problem-in-creating-Web-Service-in-Eclipse-using-2-1-8-Geronimo-tp3672504p3723633.html
Sent from the Users mailing list archive at Nabble.com.

Re: Problem in creating Web Service in Eclipse using 2.1.8 Geronimo

Posted by Ivan <xh...@gmail.com>.
Hmm, I am not familiar with the Eclipse Web Service creator. Here are some
ideas for your reference,
a. If those jaxb classes are not generated with the web service creator,
think that you may first to find how to solve it with the tool.
b. Not sure how you manged your web service providers, cxf has its own way
to configure and publish web service, like it could uses cxf-servlet.xml to
hold all those SEI implementations.
c. I would like to suggest you to follow the doc on Geronimo wiki,
https://cwiki.apache.org/GMOxDOC22/developing-web-services.html#DevelopingWebservices-WebServicestutorials

Hope it helps.

2012/2/14 Venkat <ve...@yahoo.com>

> Hi Ivan, sorry to confuse you.
>
> I am using Apache CXF 2.5.1 and Geronimo 2.2 (I know I told 2.1.8, sorry
> upgraded it) and Eclipse 3.7
>
> I am using Eclipse Web Service creator (Top Down approach)
>
> http://apache-geronimo.328035.n3.nabble.com/file/n3740671/Web_Service.jpg
> Web_Service.jpg
>
> When I am trying to create it, it is not able to create the stubs. It is
> only able to install onto the Geronimo but not able to run it.
>
> I Googled on this, and saw that Geronimo 2.2 is still using jaxb 2.1 and
> that is why it was suggested on that link to replace. So just tried that.
>
> Still not working. Don't know what is the problem.
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Problem-in-creating-Web-Service-in-Eclipse-using-2-1-8-Geronimo-tp3672504p3740671.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Ivan

Re: Problem in creating Web Service in Eclipse using 2.1.8 Geronimo

Posted by Venkat <ve...@yahoo.com>.
Hi Ivan, sorry to confuse you.

I am using Apache CXF 2.5.1 and Geronimo 2.2 (I know I told 2.1.8, sorry
upgraded it) and Eclipse 3.7

I am using Eclipse Web Service creator (Top Down approach)

http://apache-geronimo.328035.n3.nabble.com/file/n3740671/Web_Service.jpg
Web_Service.jpg 

When I am trying to create it, it is not able to create the stubs. It is
only able to install onto the Geronimo but not able to run it.

I Googled on this, and saw that Geronimo 2.2 is still using jaxb 2.1 and
that is why it was suggested on that link to replace. So just tried that.

Still not working. Don't know what is the problem.

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Problem-in-creating-Web-Service-in-Eclipse-using-2-1-8-Geronimo-tp3672504p3740671.html
Sent from the Users mailing list archive at Nabble.com.

Re: Problem in creating Web Service in Eclipse using 2.1.8 Geronimo

Posted by Ivan <xh...@gmail.com>.
Hi, I may need to make some things clear, as some responses in the previous
email made me confused.
a. which version and assembly did you use ? I saw you mentioned 2.1 and 2.2.
b. how do you generate the web service stuff ? where is the WSDL2Java  from
? if it is from CXF standalone released binary, why is required to replace
those jar files in Geronimo. and actually, I did not think it is a good
idea to replace those jar files in the repository, it may cause some issues.


2012/2/8 Venkat <ve...@yahoo.com>

> Thanks Ivan for your help.
>
> I changed the files in the Repository. But it is still not generating
> stubs.
> It did not gave any exceptions, but also did not created it.
>
> I can see my war in the "Web App Wars".
>
> I googled on it and saw I need to change "jaxws" jars also, so I did
> changed
> those and then I was back to the same exceptions.
>
> If you don't mind can you tell me what are the jars that are needed for CXF
> 2.5.1 WSDL2Java stubs creation.
>
> I have changed these files in the Geronimo Repo.
>
>
> com.sun.xml.bind/jaxb-impl/2.1.7/jar     to
> com.sun.xml.bind/jaxb-impl/2.2.4-1/jar
> com.sun.xml.bind/jaxb-xjc/2.1.7/jar      to
> com.sun.xml.bind/jaxb-xjc/2.2.4-1/jar
> org.apache.geronimo.specs/geronimo-jaxb_2.1_spec/1.0/jar        to
> org.apache.geronimo.specs/geronimo-jaxb_2.2_spec/1.0/jar
>
>
> I did not change this jar
> "org.apache.cxf/cxf-rt-databinding-jaxb/2.1.10/jar"
>
>
> com.sun.xml.ws/jaxws-rt/2.1.4/jar    to
> com.sun.xml.ws/jaxws-rt/2.2.5/jar
> com.sun.xml.ws/jaxws-tools/2.1.4/jar     to
> com.sun.xml.ws/jaxws-tools/2.2.5/jar
> org.apache.geronimo.specs/geronimo-jaxws_2.1_spec/1.0/jar         to
> org.apache.geronimo.specs/geronimo-jaxws_2.2_spec/1.0/jar
>
> I did not change this jar "org.apache.cxf/cxf-rt-frontend-jaxws/2.1.10/jar"
>
> Please let me know. I am new to this Geronimo. Actually this is my first
> time ever using this.
>
> --
> View this message in context:
> http://apache-geronimo.328035.n3.nabble.com/Problem-in-creating-Web-Service-in-Eclipse-using-2-1-8-Geronimo-tp3672504p3723633.html
> Sent from the Users mailing list archive at Nabble.com.
>



-- 
Ivan