Re: Webservices client problem

2008-06-10 Thread sainath chowdary
Hi Lin, Thanks for the help. I downloaded 2.1.1 from geronimo site and its working flawlessly. On Tue, Jun 10, 2008 at 7:49 PM, Lin Sun <[EMAIL PROTECTED]> wrote: > Right - you are using 2.1 below (I think this is a known prob in 2.1). > I am just saying it is fixed in 2.1. trunk now when I tr

Re: Webservices client problem

2008-06-10 Thread Lin Sun
Right - you are using 2.1 below (I think this is a known prob in 2.1). I am just saying it is fixed in 2.1. trunk now when I tried it last week. Lin On Tue, Jun 10, 2008 at 9:45 AM, sainath chowdary <[EMAIL PROTECTED]> wrote: > This is the error its throwing to me. > C:\geronimo-tomcat6-javaee5

Re: Webservices client problem

2008-06-10 Thread sainath chowdary
This is the error its throwing to me. C:\geronimo-tomcat6-javaee5-2.1\bin>jaxws-tools.bat wsgen Using GERONIMO_BASE: C:\geronimo-tomcat6-javaee5-2.1 Using GERONIMO_HOME: C:\geronimo-tomcat6-javaee5-2.1 Using GERONIMO_TMPDIR: var\temp Using JRE_HOME:C:\jdk1.5.0_11\jre Exception in thread

Re: Webservices client problem

2008-06-10 Thread Lin Sun
Hi, you can just type "jaxws-tools.bat wsgen" at the bin directory, and it should list all avail options to you, like below - Usage: wsgen [options] where [options] include: -classpath specify where to find input class files -cp same as -classpath -d

Re: Webservices client problem

2008-06-10 Thread sainath chowdary
Thanks all for the support, I solved the problem by downloading axis2 and adding the jars necessary. Then I searched for the same jars in geronimo and it worked flawlessly. The jars necessary are: axiom-api, axiom-dom, axiom-impl, axis2-adb, axis2-java2wsdl, axis2-jaxws, axis2-jaxws-api, axis2-ker

Re: Webservices client problem

2008-06-09 Thread sainath chowdary
Hi, I tried jaxws-tools.bat by building latest trunk also. Can you please explain me how to use it? May be I am not using it in the right way. On Mon, Jun 9, 2008 at 7:12 PM, Lin Sun <[EMAIL PROTECTED]> wrote: > Hi, > > Regarding the jaxws-tools.bat prob, it is working in 2.1 trunk when I > trie

Re: Webservices client problem

2008-06-09 Thread Lin Sun
Hi, Regarding the jaxws-tools.bat prob, it is working in 2.1 trunk when I tried late last week. Might be a limitation in the version of geronimo that you are using. Lin On Mon, Jun 9, 2008 at 6:24 AM, sainath chowdary <[EMAIL PROTECTED]> wrote: > Also if I try running from jaxws-tools.bat util

Re: Webservices client problem

2008-06-09 Thread sainath chowdary
Also if I try running from jaxws-tools.bat utility in server bin directory..then i get a error message like this: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/geronimo/c ommon/DeploymentException at org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.run(JAXWSToolsCLI.j

Re: Webservices client problem

2008-06-08 Thread sainath chowdary
I just wanted to give this information to know whether this has any relation with the problem. http://cwiki.apache.org/GMOxDOC21/developing-a-simple-calculator-web-service.html As pointed by the above link, when i start gsh and i type jaxws/wsgen its giving me an error Error: NotFoundException: ja

Re: Webservices client problem

2008-06-08 Thread Jarek Gawor
You have to figure out what sort of jars you need based on the NoClassDefFoundError exceptions. This error indicates that you need wsdl4j.jar. You might also need to add a few axiom-*.jar, XmlSchema-*.jar, neethi-*.jar, etc. Jarek On Mon, Jun 9, 2008 at 1:49 AM, sainath chowdary <[EMAIL PROTECTED

Re: Webservices client problem

2008-06-08 Thread sainath chowdary
Ya, Its a standalone client in Java 5. I have added all the jar's from the directory org/apache/axis2 in geronimo installation directory. Now its throwing me a new error Exception in thread "main" java.lang.NoClassDefFoundError: javax/wsdl/xml/WSDLLocator at org.apache.axis2.context.Configurat

Re: Webservices client problem

2008-06-06 Thread Jarek Gawor
That's a standalone client on Java 5, right? You will need to add a bunch of Axis2 (or CXF depending which engine you want to use) jars to the classpath. For example, for Axis2 you will need to add axis2-jaxws-*.jar, axis2-kernel-*.jar, axis2-saaj-*.jar, and a bunch of others jars. Also, if possibl

Webservices client problem

2008-06-06 Thread sainath chowdary
hi, I have the following code in my java class which basically is trying to access the webservice deployed. -->URL url = new URL(" http://localhost:8080/jaxws-calculator-1.0/calculator?wsdl";); QName qname = new QName("http://jws.samples.geronimo.apache.org";, "Calculator"); Service service