Hi folks,

I've recently started experimenting with CXF, and I must say, I'm
liking it better than both Axis2 and Metro so far.

Onhe quick question though. I have read references to
automatically-generated javascript clients that can be provided at the
server side, but I can't make this work. I have a service generated
from a WSDL that lives at:

http://localhost:8080/cathws/services/SimpleTest

I know it's working okay because I can view its WSDL and invoke its
operations via SoapUI. I also discovered by accident that you can do
things like this:

http://localhost:8080/cathws/services/SimpleTest/TestEcho?stringToEcho=foobar

Perhaps this should be documented on the CXF site, the only reference
to it I found was on the Mule site, and then with a different syntax!
But anyway... If I understand right, I ought to be able to get a
JavaScript client of some sort by doing this:

http://localhost:8080/cathws/services/SimpleTest?js

However this just results in a fault:

<soap:Envelope>
<soap:Body>
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>No such operation: </faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>

Am I misunderstanding how this works or what it does? Is there
something special I need to add to my cxf-servlet.xml?

Thanks,

Andrew.

Reply via email to