I managed to isolate my changes to two classes. NamespaceHelper and
XmlBeansWSDLBuilder. I've given it a few tests and it appears that there is no
impact to existing service definitions and it solves my problem of no namespace.
However, I have found an issue with this solution when using it with an
Annotated WebService and the XmlBeansWSDLBuilderFactory. I've extended the
AnnotationServiceFactory and specified the XmlBeansWSDLBuilderFactory as the
WsdlBuilderFactory. Everything worked fine previously and it appears to generate
the WSDL correctly. It looks exactly the same as when I specify the
XmlBeansServiceFactory for my service. (Which made me very happy) But when I try
to send a document into the service it throws the following exception:
org.codehaus.xfire.fault.XFireFault: Parameter Pip3A4PurchaseOrderRequest does
not exist!
I need to figure out why I'm seeing this when I use Annotations. It seems to be
emitting from the AbstractBinding class when it tries to find the message part.
I'll keep working on it. The changes I made are very minor; just like you
predicted, but I'm not as familiar with the codebase as you and you might be
able to see my problem quicker than I would. If you would like I can send you my
changes.
Thanks for the help...
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email