All pastes #29102 Raw Edit

Unnamed

public text v1 · immutable
#29102 ·published 2005-11-18 10:20 UTC
rendered paste body
using System;
using EnginFrameWS.EnginFrameWSService;
using EnginFrameWS.Authority;

namespace TestEnginFrameWS {

  public class Client {
    /// <summary>
    /// Default No argument constructor
    /// </summary>
    public Client() {
    }

    /// <summary>
    /// Entry Point to this Application
    /// </summary>
    public static void Main () {
      // Create a proxy
      EnginFrameWS.EnginFrameWSService server = new EnginFrameWS.EnginFrameWSService();
      string sdfURL = "http://192.168.136.128:8080/enginframe/demo/webservices/demo.ws.xml";

      Console.WriteLine ("SDF URL :" + sdfURL);  
      // Invoke generateOID() over SOAP and get the new OID
      Authority authority = server.getAuthority(sdfURL, "");

      // Print out the value
      Console.WriteLine ("Authority :" + authority);
    }
  }
}