PROVISION.JSP part of the code:
.....
Try
{
String xmldata = "";
// xmldata = request.getQueryString ();
BufferedReader Reader = Request.getReader ();
String s = "";
Try {
While ((s = reader.readline ())! = null)
{
XMLDATA = (S "/ n");
}
}
Catch (Exception E) {}
Reader.Close ();
Xmldata = XmLData.trim ();
Log.debug (xmldata);
// Parse XML
String Mid = XmlParser.GetXmlValue (XMLDATA, "MID");
String transid = getXmlValue (strXml, "transactionID");
LOG.DEBUG ("MID:" MID);
IF (MID! = null && mid.trim (). Length () == 14)
{
MID = mid.trim ();
String action = XmlParser.GetXmlValue (XmLData, "ActionID");
IF (action! = null)
{
Action = action.trim ();
INT AC = 0;
Try
{
ac = integer.parseint (action);
}
Catch (Exception E)
{
}
String serviceId = XmlParser.GetXmlValue (XmlData, "SpServiceID");
//System.out.println ("Provision !Mid:" mid "action_id:" Action "
Service: " serviceID);
// miscid = misc.getuserarea (MID);
String Mobile = XmlParser.GetXmlValue (xmlData, "Mobile_ID");
IF (Mobile! = null && Mobile.Length () <11)
{
Mobile = Request.getParameter ("http_x_up_calling_line_id");
}
...........