"org.objectweb.hello_world_soap_http.types.GreetMeResponse",
respWrapperType);
}
public void testDefaults() throws Exception {
JAXBDataBindingCallback info = null;
Method[] declMethods = String.class.getDeclaredMethods();
for (Method method : declMethods) {
if (method.getName().equals("length")) {
info = new JAXBDataBindingCallback(method,
DataBindingCallback.Mode.PARTS,
null);
break;
}
}
assertNotNull(info);
assertEquals(SOAPBinding.Style.DOCUMENT, info.getSOAPStyle());
assertEquals(SOAPBinding.Use.LITERAL, info.getSOAPUse());
assertEquals(SOAPBinding.ParameterStyle.WRAPPED, info.getSOAPParameterStyle());
assertEquals("length", info.getOperationName());
assertEquals("", info.getSOAPAction());
assertNull(info.getWebResult());
assertEquals(SOAPConstants.EMPTY_QNAME, info.getWebResultQName());
assertNull(info.getWebParam(1));
assertEquals(SOAPConstants.EMPTY_QNAME, info.getRequestWrapperQName());
assertEquals(SOAPConstants.EMPTY_QNAME, info.getResponseWrapperQName());
assertEquals("", info.getRequestWrapperType());
assertEquals("", info.getResponseWrapperType());
}