public class SRWGuiClient extends JFrame implements HyperlinkListener,
ActionListener {
public static void main(String[] args) {
try {
SRWSampleServiceLocator service=new SRWSampleServiceLocator();
String urlString=
"http://alcme.oclc.org/srw/search/SOAR";
//"http://localhost:8082/srw/search/SOAR";
//"http://localhost:8082/SRW/search/SOAR";
//"http://localhost:8080/SRW/search/SOAR";
//"http://srw.cheshire3.org:8080/l5r";
//"http://localhost:8082/l5r";
//"http://www.rdn.ac.uk:8080/xxdefault";
//"http://localhost:8082/xxdefault";
if(args.length==1)
urlString=args[0];
new SRWGuiClient(urlString);
URL url=new URL(urlString);
ExplainPort explain=service.getExplainSOAP(url);
ExplainRequestType explainRequest=new ExplainRequestType();
explainRequest.setRecordPacking("xml");
explainRequest.setVersion("1.1");
ExplainResponseType explainResponse=explain.explainOperation(explainRequest);
System.out.println("explainResponse="+explainResponse);
SRWPort port=service.getSRW(url);
ScanRequestType scanRequest=new ScanRequestType();
scanRequest.setVersion("1.1");
scanRequest.setScanClause("education");
ScanResponseType scanResponse=port.scanOperation(scanRequest);
if(scanResponse!=null) {