Re: cannot implement service using Provider

2007-06-20 Thread Freeman Fang
Hi Conrad, It is working now. Cheers Freeman Freeman Fang wrote: Hi Conrad, I will take care of this issue. Cheers Freeman Conrad O'Dea wrote: Howdy, I'm trying to create a service with Provider which is published using XML/HTTP. I can publish the endpoint without problem but invoking on

Re: cannot implement service using Provider

2007-06-20 Thread Freeman Fang
Hi Conrad, I will take care of this issue. Cheers Freeman Conrad O'Dea wrote: Howdy, I'm trying to create a service with Provider which is published using XML/HTTP. I can publish the endpoint without problem but invoking on the service does not work. My Provider is declared as follows: @We

Re: Maven Java2WSDL Plugin

2007-06-20 Thread James Mao
One thing that i would like to mention, is that why the java2wsdl looking for the jaxws frontend, It's that the MyService is annotated with the jaxws annotation, so the tool detected it should use the jaxws frontend to generate the wsdl. If you feed a plain java class without any annotations, t

Re: REST & XPath

2007-06-20 Thread Dan Diephouse
Willem: the test case that you raised fails for me. It really stems from a problem with expectations about how wrapped mode should work. You're operating in unwrapped mode. Which means that the expression in the brackets {} is mapped to the field on the first parameter. That is, instead of this:

Re: REST & XPath

2007-06-20 Thread Dan Diephouse
OK I spent some time digging into this - you may also want to see my post to Willem. Your test case works for me. I have to ask though - are you sticking an xpath expression in the URL? If so, are you escaping it? If not, the additional "/"s in the URL are likely to confuse the URI parser inside

[U] RE: wsdlLocation attribute

2007-06-20 Thread Ridgway, Jamie Mr CONT USAAC
UNCLASSIFIED This didn't work for me. I now get an exception saying "Invalid protocol". I have tried not including the attribute at all (picks up the classpath of the wsdl in my dev environment so it fails) and giving the relative path based on my WEB-INF directory which does form a classpat

Documentation Feedback

2007-06-20 Thread Dan Diephouse
Hi All, I've been working on some meta guides for CXF to help people get oriented: http://cwiki.apache.org/CXF20DOC/how-do-i-develop-a-service.html http://cwiki.apache.org/CXF20DOC/how-do-i-develop-a-client.html They aren't 100% finished yet - but do you see them as useful? Any suggestions? I

Re: [U] wsdlLocation attribute

2007-06-20 Thread Dan Diephouse
Try: It might work without the classpath: as well, but I'm pretty sure the above at least works. Cheers, - Dan On 6/20/07, Ridgway, Jamie Mr CONT USAAC <[EMAIL PROTECTED]> wrote: UNCLASSIFIED Could someone show an example of how to setup a classpath wsdlLocation attribute for ? Thanks

[U] wsdlLocation attribute

2007-06-20 Thread Ridgway, Jamie Mr CONT USAAC
UNCLASSIFIED Could someone show an example of how to setup a classpath wsdlLocation attribute for ? Thanks, Jamie UNCLASSIFIED

RE: Maven Java2WSDL Plugin

2007-06-20 Thread Joel Turkel
Thanks James. Adding that dependency to the plugin configuration did the trick i.e. org.apache.cxf cxf-codegen-plugin ${cxfVersion} org.apache.cxf cxf-rt-frontend-jaxws ${cxfVersi

Re: cannot implement service using Provider

2007-06-20 Thread Sergey Beryozkin
Hi It's in trunk/systests/src/test/java/org/apache/cxf/systest/provider/ AttachmentProviderXMLClientServerTest.java AttachmentStreamSourceXMLProvider.java Unfortunately this test does'not use DataSource as I thought Cheers, Sergey - Original Message - From: "Conrad O'Dea" <[EMAIL PR

Re: cannot implement service using Provider

2007-06-20 Thread Conrad O'Dea
Hi Sergey, On 6/20/07, Sergey Beryozkin <[EMAIL PROTECTED]> wrote: Hi I remember adding a system test as part of the patch where a provider is parameterized with DataSource, I'm wondering is it still there ? The only references to DataSource appear to be in relation to SwA support and a Cont

Re: cannot implement service using Provider

2007-06-20 Thread Sergey Beryozkin
Hi I remember adding a system test as part of the patch where a provider is parameterized with DataSource, I'm wondering is it still there ? Cheers, Sergey - Original Message - From: "Conrad O'Dea" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 20, 2007 11:23 AM Subject: cannot imple

cannot implement service using Provider

2007-06-20 Thread Conrad O'Dea
Howdy, I'm trying to create a service with Provider which is published using XML/HTTP. I can publish the endpoint without problem but invoking on the service does not work. My Provider is declared as follows: @WebServiceProvider(serviceName = "FooProvider") @ServiceMode(value = Service.Mode.ME

RE: REST & XPath

2007-06-20 Thread Shaw, Richard A
My service is as follows - @WebService public interface ChannelStoreRestService { @Get @HttpResource(location = "/rest/{xPathQuery}") GetData getData(@WebParam(name = "GetDataQuery") GetDataQuery query) throws GetDataFault; } My bean is - @XmlRootElement(name = "GetDataQuery") public class