RE: Bug in samples/service_creation/hello_world WSDL

2007-01-18 Thread Ma, Erqiang \(Jim\)
This is a known issue in WCF svcutil utility. FYI: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=675996&SiteID=1 Regards Jim -Original Message- From: Ted Neward [mailto:[EMAIL PROTECTED] Sent: Thu 1/18/2007 2:17 AM To: cxf-user@incubator.apache.org Subject: RE: Bug in samples

RE: Getting started with JAX-WS

2007-01-18 Thread Liu, Jervis
Hi Cameron, the hello_world samples are located under trunk\distribution\src\main\release\samples or \cxf-2.0-incubator-RC-SNAPSHOT\samples in your cxf distribution. Cheers, Jervis From: Cameron Taggart [mailto:[EMAIL PROTECTED] Sent: Thu 1/18/2007 4:01 PM To

Re: Existing Bean as Service

2007-01-18 Thread Dan Diephouse
OK, well sounds like a bug then. I'll take a peek tomorrow. I'm not sure if you can pass in a Jetty instance. I do know you can use the servlet transport to tie into your existing container though. Re: Spring MVC - its on the TODO list. I've gone as far as to create a ServletController. Which ba

Re: Existing Bean as Service

2007-01-18 Thread Cameron Taggart
When I use the JAX-WS API and CXF as the provider, it works as expected! Seems pretty darn easy: Hello hello = new Hello(); hello.addGreeting("Hola"); Endpoint endpoint = Endpoint.create(hello); endpoint.publish("http://localhost:9000/hello";); You were right about what the spec says and CX

Re: Existing Bean as Service

2007-01-18 Thread Dan Diephouse
Hi Cameron, Hmm, are you using the M1 release or whats in SVN? I just looked at SVN and it seems to be corrected now, but I could be wrong :-) Regarding the @WebMethod annotation, yes, it seems that is what the spec says. You can exclude a method by doing @WebMethod(exclude=true). Hope that hel

Existing Bean as Service

2007-01-18 Thread Cameron Taggart
When you call setServiceBean, I would think that it would use that instance. Instead, the Invoker is a FactoryInvoker which creates a new instance each time. Here is my workaround to what I think is a bug: JaxWsServerFactoryBean sf = new JaxWsServerFactoryBean(){

RE: Bug in samples/service_creation/hello_world WSDL

2007-01-18 Thread Lin, Bozhong
FYI, interop test definitely is a high priority for CXF and we have been working on this, see JIRA issue CXF-150 [1]. Thanks, Bo [1] https://issues.apache.org/jira/browse/CXF-150 > -Original Message- > From: Ted Neward [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 18, 2007 3:18 PM

Re: Getting started with JAX-WS

2007-01-18 Thread Cameron Taggart
Hi Willem, Thanks for your help. Where do I find the hello_world JAX-WS example? I've been hacking away. This is partially working: Bus bus = BusFactoryHelper.newInstance().createBus(); SoapTransportFactory soap = new SoapTransportFactory(); soap.setBus(bus); HTTPTransportFactory http = new