Solved: My cut/paste mangled the @WebService annotation On Mar 2, 2:11 pm, ken <kbowe...@gmail.com> wrote: > I'm attempting to follow the Server part of Mitch Rudominer's tutoral > HOW TO: Build a SOAP Server and a SOAP Client on Google App Engine > (http://code.google.com/appengine/articles/soap.html) but ran into a > problem early on. > My platform: MacBook with Java 1.6.0_22 and Eclipse Helios R1 with > AppEngine 1.4.2. > I followed the tutoral by cut/paste, except for naming the project -- > for convenience giving it a name already set up on GAE but as yet > unused. For ref, here is my runwsgen.sh: > > #!/bin/bash > class=com.example.Greeter > clpth='./war/WEB-INF/classes' > resourcedir='./war' > outsourcedir='./src' > outdir='./war/WEB-INF/classes' > wsgen -cp "$clpth" -wsdl -keep -r "$resourcedir" -d "$outdir" -s > "$outsourcedir" $class > > When I attempt to execute runwsgen.sh I get the following exception: > > $ sh runwsgen.sh > Problem encountered during annotation processing; > see stacktrace below for more information. > com.sun.tools.internal.ws.processor.modeler.ModelerException: [failed > to localize] A web service endpoint could not be found() > at > com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP.onError > (WebServiceAP.java: > 215) > at > com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP.buildMo > del(WebServiceAP.java: > 322) > at > com.sun.tools.internal.ws.processor.modeler.annotation.WebServiceAP.process > (WebServiceAP.java: > 256) > at com.sun.mirror.apt.AnnotationProcessors > $CompositeAnnotationProcessor.process(AnnotationProcessors.java:60) > at com.sun.tools.apt.comp.Apt.main(Apt.java:454) > at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:258) > at com.sun.tools.apt.main.Main.compile(Main.java:1102) > at com.sun.tools.apt.main.Main.compile(Main.java:964) > at com.sun.tools.apt.Main.processing(Main.java:95) > at com.sun.tools.apt.Main.process(Main.java:85) > at com.sun.tools.apt.Main.process(Main.java:67) > at > com.sun.tools.internal.ws.wscompile.WsgenTool.buildModel(WsgenTool.java: > 209) > at com.sun.tools.internal.ws.wscompile.WsgenTool.run(WsgenTool.java: > 112) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > 39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > l.java: > 25) > at java.lang.reflect.Method.invoke(Method.java:597) > at com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:111) > at com.sun.tools.internal.ws.WsGen.main(WsGen.java:41) > error: compilation failed, errors should have been reported > > The com.example.Greeter source and class are present as described. > Nothing is generated, in particular, no WSDL file is created. I'll > appreciate any pointers in getting past this. > Thanks in advance ...Ken
-- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.