Hi experts,

I developed a non-spring based secure web service. In my CXFServlet I used
ServerFactoryBean to set jax-ws params like this:
        ServerFactoryBean factory = new ServerFactoryBean();
        factory.setBus(bus);
        factory.setAddress("/EchoSecuService");
        factory.setServiceClass(EchoSecuImpl.class);
        factory.setServiceName(new QName("http://test.sztaki.hu";, "Echo"));
        factory.setWsdlLocation("/wsdl/Echo.wsdl");

Starting the server an error message arrived:
ServiceConstructionException: Could not find portType named
{http://test.sztaki.hu}EchoSecuImplPortType

I couldn't find the way to set porttype-name (actually
{http://test.sztaki.hu}TypePort ). What is the solution? 
Thanks in advanced

  A. http://old.nabble.com/file/p27756069/Echo.wsdl Echo.wsdl 
-- 
View this message in context: 
http://old.nabble.com/how-to-set-porttype-name-tp27756069p27756069.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to