Discussions
Getting raw soap message from AXIS proxy classes.
Hi,
I'm using proxy classes created with Axis from 2009.2 ... is there some property I can access that will let me access and log the raw soap messages for both requests and responses?
For example, I'm using this code below to fulfill a sales order and I'd like to get the response soap below to log locally. Is that possible?
Java:
========
RecordRef soRef = new RecordRef();
soRef.setType(RecordType.salesOrder);
soRef.setInternalId(salesOrderId);
itemFulfillment = new ItemFulfillment();
itemFulfillment.setCreatedFrom(soRef);
ItemFulfillmentItemList ifil = new ItemFulfillmentItemList();
ItemFulfillmentItem ifi;
for (int i = 0; i < so.getItemList().getItem().length; i++) {
ifi = new ItemFulfillmentItem();
ifi.setOrderLine(so.getItemList().getItem(i).getLine());