troubleshooting Question

Use java applet to get response result from batch file in command line

Avatar of johnnywong71
johnnywong71 asked on
Microsoft DOSJava
5 Comments1 Solution862 ViewsLast Modified:
I use java to create batch file to get SOAP service and get response.

Batch file as below:
SET PATH=%PATH%;
set CLASSPATH=D:/SOAP Connection Sample/lib;log4j-1.2.8.jar;j2ee.jar;db2jcc.jar;db2jcc_license_cisuz.jar;db2jcc_license_cu.jar;
java HttpConnectionTestTT http://170.65.186.162/WebServiceNew/recordingservice.asmx C:/telenet.txt


C:/telenet.txt as below:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetRecordingID xmlns="http://tempuri.org/">
<extension>150702</extension>
<line>0</line>
<ruleName>AAA</ruleName>
</GetRecordingID>
</soap:Body>
</soap:Envelope>

Can I use applet to call this batch file and get the response in my applet?
I don't want to put them into applet.
Please show me a sample, thanks!

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros