For clients the best way I think is using wsdl2java. This is a tool provided by Apache CXF which generates interfaces to be used by clients. This interfaces contains as method the method calls of the WebService. And then you can use them with WebServices classes to get a Proxy around that stub interface and call methods as any other method. Internally they will create all connection to remote WS. For example:
QName qname = new QName(nameSpaceURI,localPart); Service service = Service.create(url, qname); GeneratedInterface interface = service.getPort(GeneratedInterface.class); interface.mybusinessmethd(); Any question in server part? 2014-08-08 7:50 GMT+02:00 john77eipe <[email protected]>: > I need help with CXF 2 web services. I'm using eclipse (luna) and tomee+. > > What are the steps involved in creating JAX-WS services and clients. > > Steps given tomee-examples > <http://tomee.apache.org/examples-trunk/simple-webservice/README.html> > are > incomplete. > > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/Need-a-sample-CXF-web-service-creation-steps-tp4670913.html > Sent from the TomEE Users mailing list archive at Nabble.com. > -- +----------------------------------------------------------+ Alex Soto Bueno - Computer Engineer www.lordofthejars.com +----------------------------------------------------------+
