Package gr.ntua.irmos.stubs.MapService_instance.service

Examples of gr.ntua.irmos.stubs.MapService_instance.service.MapServiceAddressingLocator


  // Client program for accessing the Mapping Service
  //critical to set the time out of the client according to the maximum value needed for the estimation method
 
  public static void main(String[] args) {
    MapServiceAddressingLocator locator = new MapServiceAddressingLocator();

    try {
      String serviceURI = args[0];

      // Create endpoint reference to service
      EndpointReferenceType endpoint = new EndpointReferenceType();
      endpoint.setAddress(new Address(serviceURI));
      MapPortType map = locator.getMapPortTypePort(endpoint);

      // Get PortType
      map = locator.getMapPortTypePort(endpoint);
     
      //necessary to set the client timeout, so that it does not occur during the create model phase
     
      HTTPUtils.setTimeout((Stub)map, 1000 * 60 * 120);

 
View Full Code Here

TOP

Related Classes of gr.ntua.irmos.stubs.MapService_instance.service.MapServiceAddressingLocator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.