Sorry to be unclear.  I'm trying to set up a REST service.  Since the
original is just very simple, I'd like to keep the message format
similar.

I went back and tried another third time and realized that I was
probably creating a soap service the third time.  Armed with that
knowledge I went back and tried the user guide again.

I got a simple Get method to work.  However, the response still looks
SOAPy.
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><sayHi
Response xmlns="http://service.videocopy.nakika.envysion.com/";><return>a
HA!</return></sayHiResponse></soap:Body></soap:Envelope>

The web page that fronts these services makes it look like there is a
namespace involved that is the implementation package name.

Target namespace: http://impl.service.videocopy.nakika.envysion.com/

But cxf still does not recognize the name space.

wget --post-data="<mess
xmlns='http://impl.service.videocopy.nakika.envysion.com/'
>asdfasdfasdf</mess>"
http://localhost/video-copy-agent/services/DummyServiceAddress/getEcho
-O -

Oct 28, 2008 4:33:18 PM org.apache.cxf.phase.PhaseInterceptorChain
doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault:
"http://impl.service.videocopy.nakika.envysion.com/";, the namespace on
the "mess" element, is not a valid SOAP version.
        at
org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMes
sage(ReadHeadersInterceptor.java:94)


So my question now is:

What can I use for a valid soap version?

Joe


-----Original Message-----
From: Andrew Clegg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 28, 2008 4:16 PM
To: [email protected]
Subject: Re: New CXF User question: Need a replacement for a PHP web
service

I'm not entirely sure what you want to do -- are you after a SOAP or
REST service?

Reply via email to