It looks like the URL you are hitting is actually wrong. It looks like you might be setting it to hit the "?wsdl" URL and not the actually endpoint URL as it's returning the WSDL, not a proper SOAP response.

Dan



On Jun 30, 2008, at 4:29 PM, 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
--
View this message in context: 
http://www.nabble.com/org.apache.cxf.binding.soap.SoapFault%3A-%22http%3A--schemas.xmlsoap.org-wsdl-%22%2C-the-namespace-on-the-%22definitions%22-element%2C-is-not-a-valid-SOAP-version.-tp18203717p18203717.html
Sent from the cxf-user mailing list archive at Nabble.com.


---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to