I am building a POC code-first JAX-WS server application. I defined 3 xsds for all my POJOs, Request1, Request2 and RequestMeta. Both Request1 and Request2 extends RequestMeta.
All 3 xsds are in the same targent NS. I used maven-jaxb2-plugin to build 3 classes, Request1, Request2 and RequestMeta. My pom.xml has the plugin configuration as. All 3 classes generated successfully.
Now I have IHello interface and HelloImpl
I got my wsdl file as below,
Here is my question, I only used Request1 as input parameter in IHello.hello(). However, since both Request1 and Request2 extends RequestMeta, I see Request2 is also in my wsdl file. Is there any way that I can get rid of Request2 from this wsdl because it should not be part of this wsdl.
SCJP SE 6.0, SCWCD J2EE 5
I wish to win the lottery. I wish for a lovely piece of pie. And I wish for a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop