Hi - How do you convert a
String object into a
soap envelope with
org.apache.soap.*; ??
Receive soap message =
Envelope env = msg.receiveEnvelope();
Body retbody = env.getBody();
java.util.Vector v = retbody.getBodyEntries();
The avbove code works great when I receivce the envelope over http, but I'm trying to build a developemnt tool that can use a hard coded String like the below to test/develop with. Having a hard time getting into proper object type. Please advise??
String soapText =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
+ "<soap:Envelope "
+ "xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">"
+ "<soap:Body>"
+ "<TpclCommareaMethodResponse "
+ "xmlns=\"http://TpclCommareaMethod.SSZ0TPCL.x4mlsoa.com/CA/AAZ0ABCD/$ZL#D001\">"
+ "<DFHCOMMAREA "
+ "FULL-DATE-OUT=\"10/08/2007\" "
+ "FULL-TIME-OUT=\"10:32:22\" "
+ "APPLID-OUT=\"A07TPCIL\" "
+ "SYSID-OUT=\"TPCL\" "
+ "EIBTASKN-NBR-OUT=\"0004516\" "
+ " /> "
+ "</TpclCommareaMethodResponse>"
+ "</soap:Body>"
+ "</soap:Envelope>";