Re: Plain Old Xml over Http

2007-07-31 Thread Brad Harper
thx ray! On 7/31/07, Ray Krueger <[EMAIL PROTECTED]> wrote: > > OK the final tweaks were as follows... > I added > I didn't have that and was getting the error... > org.apache.cxf.BusException: No binding factory for namespace > http://cxf.apache.org/bindings/xformat registered. > > My final xml

Re: Plain Old Xml over Http

2007-07-31 Thread Ray Krueger
OK the final tweaks were as follows... I added I didn't have that and was getting the error... org.apache.cxf.BusException: No binding factory for namespace http://cxf.apache.org/bindings/xformat registered. My final xml looks like this... http://schemas.xmlsoap.org/soap/";> http://cxf.ap

Re: Plain Old Xml over Http

2007-07-31 Thread Ray Krueger
wow James that's fantastic, thanks! I'll give this a shot this morning (CST) and let you know how it goes. On 7/30/07, James Mao <[EMAIL PROTECTED]> wrote: > Modify the cxf-servlet.xml as the following > > id="hello_world_xml" > implementor="demo.hw.server.GreeterImpl" >

Re: Plain Old Xml over Http

2007-07-30 Thread James Mao
Modify the cxf-servlet.xml as the following http://cxf.apache.org/bindings/xformat";> http://apache.org/cxf/binding/http";> Your impl should look like this package demo.hw.server; @javax.jws.WebService public class GreeterImpl { public String greetMe(String me) {

Re: Plain Old Xml over Http

2007-07-30 Thread James Mao
OK, I see now that the trick to getting what I want to work involves using the xformat:binding element in my wsdl:bindings. Does this mean that I can't support both POX and SOAP using the same @WebService impl? Yes, you have to specify the @WebService and also @BindingType determine the b

Re: Plain Old Xml over Http

2007-07-30 Thread James Mao
Was just playing around with the hello_world_xml_bare, the functionality is about what I want. But I'd like to be able to run it in the servlet container, not using that Endpoint.publish stuff. The xml binding do work in the servlet, in the demo, just do this in case of tomcat on windows

Re: Plain Old Xml over Http

2007-07-30 Thread Ray Krueger
OK, I see now that the trick to getting what I want to work involves using the xformat:binding element in my wsdl:bindings. Does this mean that I can't support both POX and SOAP using the same @WebService impl? On 7/30/07, Ray Krueger <[EMAIL PROTECTED]> wrote: > Was just playing around with the

Re: Plain Old Xml over Http

2007-07-30 Thread Ray Krueger
Was just playing around with the hello_world_xml_bare, the functionality is about what I want. But I'd like to be able to run it in the servlet container, not using that Endpoint.publish stuff. I have a working jaxws endpoint, I would like CXF to handle an incoming xml POST, unmarshall the payload

Re: Plain Old Xml over Http

2007-07-30 Thread James Mao
wsdl2java tools only support the jax-ws frontend, it does not support the RESTful service, at moment, but we're working on it. We have a XML binding in cxf, you can check out the samples hello_world_xml_bare and hello_world_xml_wrapped, Don't know if it's what you're looking for? James I'm

Re: Plain Old Xml over Http

2007-07-30 Thread Ray Krueger
t; > > > > > > > Cheers, > > Jervis > > > > -Original Message----- > > From: Ray Krueger [mailto:[EMAIL PROTECTED] > > Sent: 2007?7?30? 19:26 > > To: cxf-user@incubator.apache.org > > Subject: Plain Old Xml over Http > > >

Re: Plain Old Xml over Http

2007-07-30 Thread Ray Krueger
e.org/CXF20DOC/rest-with-jax-ws-provider-and-dispatch.html > > > > Cheers, > Jervis > > -Original Message- > From: Ray Krueger [mailto:[EMAIL PROTECTED] > Sent: 2007?7?30? 19:26 > To: cxf-user@incubator.apache.org > Subject: Plain Old Xml over Http > > > I'

RE: Plain Old Xml over Http

2007-07-30 Thread Liu, Jervis
r/Dispatch approach: http://cwiki.apache.org/CXF20DOC/rest-with-jax-ws-provider-and-dispatch.html Cheers, Jervis -Original Message- From: Ray Krueger [mailto:[EMAIL PROTECTED] Sent: 2007?7?30? 19:26 To: cxf-user@incubator.apache.org Subject: Plain Old Xml over Http I'm loving CXF r

Plain Old Xml over Http

2007-07-30 Thread Ray Krueger
I'm loving CXF right now by the way, so thanks for that :) I'd like to be able to send my current WSDL types over the wire without soap envelopes as plain-old-xml via http POST operations. I started with a WSDL and a pair of Request/Response type objects... Running wsdl2java generates a perfectl