Hi there
I'm new to the web service stuff and try to work myself into the Spring Web Services. So i tried to modify a step-by-step tutorial I found ( http://springtips.blogspot.com/2007/...spring-ws.html ) which worked fine. The service runs in an Apache Tomcat and can receive (and responds to) SOAP messages via SoapUI locally as well as remote. I should add that the WSDL is generated dynamically.
Now I'm required to code a small client which uses generated code form the WSDL (Wsdl2Java) as a basis to access the methods form the webservice. The generation seems to work just fine. I'm able to access my method pretty easily. But when I try to run my client (which uses Axis2 libs) it fails with
"XPath expression uses unbound namespace prefix"
I only use one custom namespace which (afaics) is declared right. So my problem is for once that i don't really know how Spring-ws handles namespaces and for the other that i don't really know how Axis2 handles namespaces. I already tried to upgrade some xml-related libraries (namely xalan and xerces) but that didn't do the trick.
So I'm pretty stuck right now and hoping someone is able to help me out.
Feel free to ask for details.
Thank you for you attention.
foo
ps: English isn't my mother tongue


Reply With Quote
