binding.marshal(objContext,
soapContext,
new JAXBDataBindingCallback(objContext.getMethod(),
DataBindingCallback.Mode.PARTS,
null));
SOAPMessage msg = soapContext.getMessage();
assertNotNull(msg);
assertTrue(msg.getSOAPBody().hasChildNodes());
NodeList list = msg.getSOAPBody().getChildNodes();
assertEquals(1, list.getLength());
list = list.item(0).getChildNodes();
assertEquals(2, list.getLength());
Node wrappedNode = list.item(0);
assertEquals(String.valueOf(arg0), wrappedNode.getFirstChild().getNodeValue());