• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

JAXWS External Bindings File Issue

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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="http://schemas.xmlsoap.org/wsdl/"
node="wsdl:definitions/wsdl:portType/wsdl:operation/wsdl:fault[@name='WebServiceException']">
<jaxws:class name="common.exception.WebServiceException"/>
</jaxws:bindings>

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
 
Barry's not gonna like this. Barry's not gonna like this one bit. What is Barry's deal with tiny ads?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!