private String marhsall(TxnRequest order) throws IOException, MarshalException, ValidationException {
StringWriter writer = new StringWriter();
Marshaller marshaller = xmlContext.createMarshaller();
marshaller.setNamespaceMapping("","ns1");
marshaller.setWriter(writer);
marshaller.marshal(order);
return writer.toString();
}
private TxnResult unmarshall(String response) throws IOException, MarshalException, ValidationException {
Unmarshaller unmarshaller = xmlContext.createUnmarshaller();