On Friday, July 08, 2011 8:35:29 AM David Hoffer wrote:
> I have some existing services developed and deployed with 2.1.2 using
> the java first annotation approach (JAX-WS).  After upgrading to 2.4.1
> existing PHP clients receive the following error:
> 
> INFO   | jvm 1    | 2011/07/08 04:22:03 | WARNING: Interceptor for
> {http://some_namespace/}IAPIService#{http://some_namespace/}calc has
> thrown exception, unwinding now
> INFO   | jvm 1    | 2011/07/08 04:22:03 | org.apache.cxf.interceptor.
> Fault: Unexpected wrapper element calc found.   Expected
> {http://some_namespace/}calc.
> 
> However Java CXF clients work just fine.  It seems that the PHP client
> (which code I did not write) is not using any namespace.  How can I
> configure CXF 2.4.1 to behave so it can work with existing PHP code?
> I have no need for namespaces so if disabling that would solve the
> problem that would be fine...how do I do that?

Sounds like the php client isn't generating a valid soap message.   Per SOAP 
spec, the children of the soap:Body must be namespace qualified.   Thus, if 
it's just sending "calc", it's definitely not doing something correctly.

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to