Package org.ogce.gfac.type

Examples of org.ogce.gfac.type.StringParameter


     
      ct.setServiceName("{http://www.extreme.indiana.edu/namespaces/2004/01/gFac}Echo_Service");
     
      //parameter
      ParameterContextImpl x = new ParameterContextImpl();
      StringParameter parameter = new StringParameter();
      parameter.fromString("Hello");
      x.addParameter("echo", parameter.getTypeName(), parameter);
      ct.addMessageContext("input", x);
     
      PropertiesBasedServiceImpl service = new PropertiesBasedServiceImpl();
      service.init();
      service.execute(ct);
View Full Code Here


        // output parameter
        //TODO type mapping
        if (serviceMap.getPortTypeArray(0).getMethodArray(0).getOutputParameterArray() != null) {
          ParameterContextImpl outtmp = new ParameterContextImpl();
          for (OutputParameterType output : serviceMap.getPortTypeArray(0).getMethodArray(0).getOutputParameterArray()) {
            outtmp.addParameter(output.getParameterName(), output.getParameterType().toString(), new StringParameter());
          }
          context.addMessageContext(OUTPUT_MESSAGE_CONTEXT, outtmp);
        }

      } catch (XmlException e) {
View Full Code Here

TOP

Related Classes of org.ogce.gfac.type.StringParameter

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.