Freeman,

I was just trying out various alternatives. My class now looks like:

package org.CXF.SE;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;


@WebService(serviceName = "ExampleService", targetNamespace = "http://example.com",portName="ExampleServicePort",name="ExampleService";)
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public class ExampleService {

   @WebMethod
   public String sayHello(@WebParam (name="name")String name) {
       System.out.println("INVOKED with string" + name);
       return name;
   }
}

and it works great! Thanks for all the help!

Sylvester

Reply via email to