binding.marshal(objContext,
soapContext,
new JAXBDataBindingCallback(objContext.getMethod(),
DataBindingCallback.Mode.PARTS,
null));
SOAPMessage msg = soapContext.getMessage();
assertNotNull(msg);
//msg.writeTo(System.out);
assertTrue(msg.getSOAPBody().hasChildNodes());
NodeList list = msg.getSOAPBody().getChildNodes();
assertEquals(1, list.getLength());
Node msgnode = list.item(0).getFirstChild();
assertTrue(!msgnode.hasChildNodes());
assertEquals(arg0, msgnode.getNodeValue());
}