Hi guys,

I have some problems using Web Services with Apache CXF with Spring
integration. I couldnt find a solution for this problem, so I decided to
post a message here. 

My reference for integration Apache CXF with spring was this tutorial:
http://cxf.apache.org/docs/writing-a-service-with-spring.html. I use Apache
CXF 2.2.7 and I deployed my application on a Tomcat Server 5.5.28.

When accessing the method of my proxy I receive the following error:
WARNING: Interceptor for
{http://client.meinremotepckg/}StateCapitalServiceIFService#{http://client.meinremotepckg/}getCapital
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Response was of unexpected text/html
ContentType.  Incoming portion of HTML stream: <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";><HTML><HEAD><LINK type="text/css"
rel="stylesheet"
href="/springremote/statescapitalservice/?stylesheet=1"><meta
http-equiv=content-type content="text/html; charset=UTF-8"><title>CXF -
Service list</title></head><body>Available SOAP services:<br/><table
cellpadding="1" cellspacing="1" border="1"
width="100%"><tr><td>StateCapitalServiceIF<ul><li>getCapital</li></ul></td><td>Endpoint
address:
http://localhost:8080/springremote/statescapitalservice/statescapitalservice<br/>WSDL
: 
http://localhost:8080/springremote/statescapitalservice/statescapitalservice?wsdl
{http://server.meinremotepckg/}StateCapitalServiceService <br/>Target
namespace:
http://server.meinremotepckg/</td></tr></table><br/><br/></body></html>
        at
org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:77)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
        at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:672)
        ...

Hope you can help me!

Greets,
xetrix


-- 
View this message in context: 
http://old.nabble.com/Interceptor-...-has-thrown-exception%2C-unwinding-now%3A-org.apache.cxf.interceptor.Fault%3A-Response-was-of-unexpected-text-html-ContentType-tp28287979p28287979.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to