mstk3round2interoptest.java
来自「开源的axis2框架的源码。用于开发WEBSERVER」· Java 代码 · 共 709 行 · 第 1/2 页
JAVA
709 行
util = new Round2EchoStringArrayClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedStringArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoInteger
*/
public void testR2BaseTypedEchoInteger() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoIntegerClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedIntegerRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoIntegerArray
*/
public void testR2BaseTypedEchoIntegerArray() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoIntegerArrayclientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedIntegerArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoFloat
*/
public void testR2BaseTypedEchoFloat() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoFloatClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedFloatRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoFloatArray
*/
public void testR2BaseTypedEchoFloatArray() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoFloatArrayClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedFloatArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoStruct
*/
public void testRBaseTypedEchoStruct() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoStructClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoStructArray
*/
public void testR2BaseTypedEchoStructArray() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoStructArrayClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedStructArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoVoid
*/
public void testR2BaseTypedEchoVoid() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoVoidClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedVoidRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoBase64
*/
public void testR2BaseTypedEchoBase64() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoBase64ClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedBase64Res.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoBase64
*/
public void testR2BaseTypedEchoDate() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoDateClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedDateRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoHexBinary
*/
public void testR2BaseTypedEchoHexBinary() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoHexBinaryClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedHexBinaryRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoDecimal
*/
public void testR2BaseTypedEchoDecimal() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoDecimalClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedDecimalRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group Base Typed
* operation echoBoolean
*/
public void testR2BaseTypedEchoBoolean() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/InteropTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new Round2EchoBooleanClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3BaseTypedBooleanRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echoStructAsSimpleTypes
*/
public void testR2GBEchoStructAsSimpleTypes() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopB.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoStructAsSimpleTypesUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbStructAsSimpleTypesRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echoSimpleTypesAsStruct
*/
public void testR2GBEchoSimpleTypesAsStruct() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopB.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoSimpleTypesAsStructUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbSimpletypesAsStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echo2DStringArray
*/
public void testR2GBEcho2DStringArray() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopB.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEcho2DStringArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3Groupb2DStringArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echoNestedStruct
*/
public void testR2GBEchoNestedStruct() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopB.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoNestedStructUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbNestedStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echoNestedArray
*/
public void testR2GBEchoNestedArray() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopB.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoNestedArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbNestedArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B Typed
* operation echoStructAsSimpleTypes
*/
public void testR2GBTypedEchoStructAsSimpleTypes() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopBTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoStructAsSimpleTypesUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbTypedStructAsSimpleTypesRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B Typed
* operation echoSimpleTypesAsStruct
*/
public void testR2GBTypedEchoSimpleTypesAsStruct() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopBTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoSimpleTypesAsStructUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbTypedSimpletypesAsStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B Typed
* operation echo2DStringArray
*/
public void testR2GBTypedEcho2DStringArray() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopBTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEcho2DStringArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbTyped2DStringArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B Typed
* operation echoNestedStruct
*/
public void testR2GBTypedEchoNestedStruct() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopBTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoNestedStructUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbTypedNestedStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B Typed
* operation echoNestedArray
*/
public void testR2GBTypedEchoNestedArray() throws AxisFault {
url = "http://mssoapinterop.org/stkV3/interopBTyped.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoNestedArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupbTypedNestedArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoVoid
*/
public void testR2GCEchoVoid() throws AxisFault {
url = "http://mssoapinterop.org/stk/InteropC.wsdl";
soapAction = "http://soapinterop.org/";
util = new GroupcVoidUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "MStk3GroupcVoidRes.xml";
compareXML(retEnv, tempPath);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?