Suppose the server publish a service just like this:
HelloWorldImpl helloworldImpl = new HelloWorldImpl();
ServerFactoryBean svrFactory = new ServerFactoryBean();
svrFactory.setServiceClass(HelloWorld.class);
svrFactory.setAddress("http://localhost:9000/Hello");
svrFactory.setServiceBean(helloworldImpl);
svrFactory.create();
How to get the list of the parameter class type of a special operation?? I
try to walk through like this:
OperationInfo of =
endpoint.getEndpointInfo().getInterface().getOperation(new
QName("http://server/", "sayHi"));
of.getInput().getMessageParts().get(0).getTypeClass();
it always return null! !
Is there any thing that I miss ?
Thanks,
--
View this message in context:
http://www.nabble.com/messagePartInfo.getTypeClass%28%29-always-null---tp25510527p25510527.html
Sent from the cxf-user mailing list archive at Nabble.com.