|
package com.mes.dasSPCValueService;
|
|
/**
|
* Please modify this class to meet your needs
|
* This class is not complete
|
*/
|
|
import java.io.File;
|
import java.net.MalformedURLException;
|
import java.net.URL;
|
import javax.xml.namespace.QName;
|
import javax.jws.WebMethod;
|
import javax.jws.WebParam;
|
import javax.jws.WebResult;
|
import javax.jws.WebService;
|
import javax.xml.bind.annotation.XmlSeeAlso;
|
import javax.xml.ws.RequestWrapper;
|
import javax.xml.ws.ResponseWrapper;
|
|
/**
|
* This class was generated by Apache CXF 3.3.4
|
* 2021-10-21T15:45:13.689+08:00
|
* Generated source version: 3.3.4
|
*
|
*/
|
public final class IQualityData_IQualityDataPort_Client {
|
|
private static final QName SERVICE_NAME = new QName("http://das.service.eihub.rockwell.com/", "IQualityDataService");
|
|
private IQualityData_IQualityDataPort_Client() {
|
}
|
|
public static void main(String args[]) throws Exception {
|
URL wsdlURL = IQualityDataService.WSDL_LOCATION;
|
if (args.length > 0 && args[0] != null && !"".equals(args[0])) {
|
File wsdlFile = new File(args[0]);
|
try {
|
if (wsdlFile.exists()) {
|
wsdlURL = wsdlFile.toURI().toURL();
|
} else {
|
wsdlURL = new URL(args[0]);
|
}
|
} catch (MalformedURLException e) {
|
e.printStackTrace();
|
}
|
}
|
|
IQualityDataService ss = new IQualityDataService(wsdlURL, SERVICE_NAME);
|
IQualityData port = ss.getIQualityDataPort();
|
|
{
|
System.out.println("Invoking receiveDasSPCValue...");
|
String _receiveDasSPCValue_qualitydata = "";
|
String _receiveDasSPCValue__return = port.receiveDasSPCValue(_receiveDasSPCValue_qualitydata);
|
System.out.println("receiveDasSPCValue.result=" + _receiveDasSPCValue__return);
|
|
|
}
|
{
|
System.out.println("Invoking receivePRValue...");
|
String _receivePRValue_prData = "";
|
String _receivePRValue__return = port.receivePRValue(_receivePRValue_prData);
|
System.out.println("receivePRValue.result=" + _receivePRValue__return);
|
|
|
}
|
|
System.exit(0);
|
}
|
|
}
|