W dniu 17.01.2010 19:34, amishera pisze:

Hi,

Is this possible to deploy the apache cxf without resorting to any
application server/web server? I just want to compile and run my code stand
alone.

Moreover, I have this following code fragment:

@javax.jws.WebService(name = "FreshProxy",

                serviceName = "FreshProxy",

                portName = "FreshProxySOAP",

                targetNamespace = "http://www.example.org/FreshProxy/";,

                wsdlLocation =
"F:\\Eclipse_WEB_Workspace\\ServerFinal\\src\\FreshProxy.wsdl",

                endpointInterface = "org.example.freshproxy.FreshProxy")



                public class FreshProxyImpl implements FreshProxy {...}

I am not sure what is the role of serviceName, portName, targetNamespace. It
seems like endpointInterface should be sufficient in identifying the
service. But I failed to locate sufficient information of the meaning and
necessity of the above properties.

Do some one care to help me out here? I would be very grateful to you.

Hello,
here is the answer: http://cxf.apache.org/docs/a-simple-jax-ws-service.html in "Publishing your service" section. More about WebService annotation http://cxf.apache.org/docs/developing-a-service.html in "Annotating the Code" section.

--
Best regards,
Bartłomiej Chmielewski

Reply via email to