FileDocCategorySizeDatePackage
FaultServiceClient.javaAPI DocExample874Wed Feb 27 11:13:54 GMT 2002javasoap.book.ch7

FaultServiceClient

public class FaultServiceClient extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

      try {
         IAnotherFaultService srv = 
           (IAnotherFaultService)Registry.bind(
             "http://georgetown:8004/glue/urn:AnotherFaultService.wsdl",
             IAnotherFaultService.class);
         srv.generateFault();
        
      }
      catch (SOAPException se) {
         System.out.println(se.getSOAPCode());
         System.out.println(se.getMessage());
         System.out.println(se.getSOAPActor());
         System.out.println(se.getSOAPDetailElement());
      }
      catch (RegistryException e) {
         System.out.println(e);
      }