I'm not sure if that WSDL will work with JAX-WS implementations like CXF
or Metro--Yahoo recommends using Axis 1.4.  However, that WSDL does not
appear to be rpc/encoded, so it possibly can work with JAX-WS
implementations.

The WSDL uses implicit headers
(http://www.jroller.com/gmazza/entry/sending_soap_headers_using_jax#genoptions)
so you may will probably need to use the -exsh true option when calling
wsdl2java in generating the artifacts.

Beyond that, I'm not sure.

HTH,
Glen


2008-06-30 nmt999 wrote:
> Hi
> 
> I'm new to using apache cxf. I'm trying to develop a client to yahoo
> searchmarketing services using cxf. I'm trying to make a simple call to
> getAccountStatus
> (http://searchmarketing.yahoo.com/developer/docs/V4/wsdl/V4/AccountService.wsdl).
> I get the following error message in ReadHeadersInterceptors.java when the
> response is being read. 
> 
>      [java] Jun 30, 2008 3:16:38 PM
> org.apache.cxf.phase.PhaseInterceptorChain doIntercept
>      [java] INFO: Interceptor has thrown exception, unwinding now
>      [java] org.apache.cxf.binding.soap.SoapFault:
> "http://schemas.xmlsoap.org/wsdl/";, the namespace on the "definitions"
> element, is not a valid SOAP version.
>      [java] at
> org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:92)
> 
> I have intercepted both the outgoing and incoming messages and logged some
> information. Detailed Error message log is in the attached file. I have no
> idea how to resovle this issue. Any help is appreciated
> 
> Regards http://www.nabble.com/file/p18203717/error.txt error.txt 
> nmt

Reply via email to