 |
JAXB/JAX-WS/Metro support in IntelliJ IDEA 7.0
Posted by kohsuke on October 16, 2007 at 02:49 PM | Comments (2)
I was looking at IntelliJ 7.0 new features list and noticed that JAXB/WS support is there, so I gave it a try.
First when you create a project, it asks for the toolkit that you want to use. GlassFish/JAX-WS combo is the default.
IDEA now comes with the built-in sun-jaxws.xml editor with auto-completion and what not.
You can also create a new web service (which creates a skeleton class and updates necessary entries in sun-jaxws.xml), or create a client (which invokes wsimport internally.)
It is IntelliJ's first shot at web service support and it shows — The UI is crude and there are some rough edges. But nevertheless it's great that web service support is spreading. (And I should also note that all in all NetBeans web service support is much better)
Bookmark blog post: del.icio.us Digg DZone Furl Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
-
Hi,
Thank you for the feedback you provided.
Btw, JaxWS 2.1 RI still has problems with webservice
https://cafe.services.bevocal.com/EchoService_v1/services/EchoService_v1?WSDL
namely
Exception in thread "main" java.lang.NullPointerException
at com.sun.tools.xjc.reader.internalizer.SCDBasedBindingSet.apply(SCDBasedBindingSet.java:201)
at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:502)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:216)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:69)
at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:120)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2159)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:179)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:127)
at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:146)
Posted by: advtools on October 22, 2007 at 05:26 AM
-
This is a bug in recovering from earlier errors, and I fixed this toward 2.1.6.
Posted by: kohsuke on October 22, 2007 at 09:30 AM
|