Options opts = new Options(args);
String action = opts.isValueSet('a");
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(opts.getURL()) );
if (action != null ) {
call.setUseSOAPAction( true );
call.setSOAPActionURI( action );
}
args = opts.getRemainingArgs();
for (int i=0; i<args.length; i++) {
FileInputStream stream = new FileInputStream(new File(args[i]));
call.setRequestMessage(new Message(stream));
call.invoke();
System.out.println(call.getResponseMessage().getSOAPPartAsString());
}