- This topic has 7 replies, 2 voices, and was last updated 17 years, 1 month ago by
singaraju.
-
AuthorPosts
-
singarajuMemberHi,
Trying to generate classes from WSDL file and get “error generating services”, when I try to create “new webservice client” from within MyEclipse IDE. Any idea where the logs for this error would be?
-Srini
Loyal WaterMemberThe logs can be found under <workspace>/.metadata/.log file.
singarajuMemberThanks Nipun.
Following errors in the .log file. I was just trying to generate client classes from WSDL. Any ideas?!SESSION 2008-01-15 10:09:58.869 ———————————————–
eclipse.buildId=M20070212-1330
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY org.eclipse.wst.internet.cache 1 0 2008-01-15 10:28:16.256
!MESSAGE wtp.autotest.noninteractive is set. Licenses dialogs will not be displayed.!ENTRY com.genuitec.eclipse.ws.xfire 4 0 2008-01-15 10:28:22.876
!MESSAGE Error generating services
!STACK 0
java.lang.NullPointerException
at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.getExceptionClass(AbstractServiceGenerator.java:428)
at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generateFaults(AbstractServiceGenerator.java:407)
at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generateOperation(AbstractServiceGenerator.java:366)
at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:123)
at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:67)
at org.codehaus.xfire.gen.jsr181.ServiceInterfaceGenerator.generate(ServiceInterfaceGenerator.java:49)
at org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator.generate(AbstractServiceGenerator.java:54)
at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:167)
at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:209)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Loyal WaterMembersingaraju,
Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.Do you get a similar error when you follow the steps mentioned in this doc ?
http://www.myeclipseide.com/documentation/quickstarts/webservicesclient/
singarajuMember*** Date:
Tuesday, January 15, 2008 2:53:30 PM EST** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 5.5.1 GA
Build id: 20070521-5.5.1-GA*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.5.1 GA
Build id: 20070521-5.5.1-GA
——————————————
Generation of the cient classes as per the URL you gave, seemed to work just fine.
Loyal WaterMemberAre you sure the wsdl has no errors ? The stack trace is giving no information about the error.
singarajuMemberJust want to clarify, that my previous posting meant that creating classes for webservice covered in http://www.myeclipseide.com/documentation/quickstarts/webservicesclient/ , works fine. I still get the same errors for my webservice.
singarajuMemberI used WSDL2Java with axis and it generated the classes fine for the same WSDL. So I guess it is not a WSDL issue
-
AuthorPosts