This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes JAXWS External Bindings File Issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "JAXWS External Bindings File Issue" Watch "JAXWS External Bindings File Issue" New topic

JAXWS External Bindings File Issue

Michael Love

Joined: Oct 22, 2010
Posts: 1
I am new to JAXWS, so bear with me!

I am using an external bindings file to "trick" my generated code to reference a class in a parent project as such:

<jaxws:bindings xmlns:wsdl=""
<jaxws:class name="common.exception.WebServiceException"/>

The reason I am doing this is to move this method up to a common project so other sibling projects can use it as well.

This works great as all of my generated WebServiceException references now use the fully qualified path.

My issue is that it creates a package common.exception and WebServiceException class in my project. I can delete the package and it works fine, but I want to have it not create the class. Any ideas?

Thanks, Mike
It is sorta covered in the JavaRanch Style Guide.
subject: JAXWS External Bindings File Issue
Similar Threads
Wsimport and jaxb binding issue
invalid element extension for package name customization
Soap Handlers in JAX-WS 2.0
Where to use wsgen?
JAX-WS handlerchain annotaion