Port port = def.getService(new QName("http://objectweb.org/hello_world_rpclit",
"SOAPServiceRPCLit1")).getPort("SoapPortRPCLit1");
WSDLMetaDataCache wsdl = new WSDLMetaDataCache(def, port);
for (Method method : cls.getDeclaredMethods()) {
DataBindingCallback c1 = new JAXBDataBindingCallback(method, Mode.PARTS, ctx);
WSDLOperationInfo info = wsdl.getOperationInfo(c1.getOperationName());
assertNotNull("Could not find operation info in wsdl: " + c1.getOperationName(), info);
DataBindingCallback c2 = new WSDLOperationDataBindingCallback(info);
compareDataBindingCallbacks(c1, c2);
}
}