wmround2interoptest.java
来自「开源的axis2框架的源码。用于开发WEBSERVER」· Java 代码 · 共 572 行 · 第 1/2 页
JAVA
572 行
* operation echoHexBinary
*/
public void testR2BaseEchoHexBinary() throws AxisFault {
url = "http://www.whitemesa.net/interop/std";
soapAction = "http://soapinterop.org/";
util = new Round2EchoHexBinaryClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMBaseHexBinaryRes.xml";
assertR2DefaultEchoHexBinaryResult(retEnv);
}
/**
* Round2
* Group Base
* operation echoBoolean
*/
public void testR2BaseEchoBoolean() throws AxisFault {
url = "http://www.whitemesa.net/interop/std";
soapAction = "http://soapinterop.org/";
util = new Round2EchoBooleanClientUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMBaseBooleanRes.xml";
String booleanResult = "1";
assertValueIsInThePayload(retEnv,booleanResult);
}
/**
* Round2
* Group B
* operation echoStructAsSimpleTypes
*/
public void testR2GBEchoStructAsSimpleTypes() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/groupB";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoStructAsSimpleTypesUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGroupbStructAsSimpleTypesRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echoSimpleTypesAsStruct
*/
public void testR2GBEchoSimpleTypesAsStruct() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/groupB";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoSimpleTypesAsStructUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGroupbSimpletypesAsStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echo2DStringArray
*/
public void testR2GBEcho2DStringArray() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/groupB";
soapAction = "http://soapinterop.org/";
util = new GroupbEcho2DStringArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGroupb2DStringArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echoNestedStruct
*/
public void testR2GBEchoNestedStruct() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/groupB";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoNestedStructUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGroupbNestedStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group B
* operation echoNestedArray
*/
public void testR2GBEchoNestedArray() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/groupB";
soapAction = "http://soapinterop.org/";
util = new GroupbEchoNestedArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGroupbNestedArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoString
*/
public void testR2GCEchoString() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcEchoStringUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcEchoStringRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoInterger
*/
public void testR2GCEchoInterger() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcIntergerUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcIntergerRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoStringArray
*/
public void testR2GCEchoStringArray() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcStringArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcStringArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoIntergerArray
*/
public void testR2GCEchoIntergerArray() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcIntegerArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcIntegerArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoFloat
*/
public void testR2GCEchoFloat() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcFloatUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcFloatRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoFloatArray
*/
public void testR2GCEchoFloatArray() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcFloatArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcFloatArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoStruct
*/
public void testR2GCEchoStruct() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcStructUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcStructRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoStructArray
*/
public void testR2GCEchoStructArray() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcStructArrayUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcStructArrayRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoVoid
*/
public void testR2GCEchoVoid() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcVoidUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcVoidRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoBase64
*/
public void testR2GCEchoBase64() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcBase64Util();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcBase64Res.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoHexBinary
*/
public void testR2GCEchoHexBinary() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcHexBinaryUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcHexBinaryRes.xml";
compareXML(retEnv, tempPath);
}
/**
* Round2
* Group C
* operation echoBoolean
*/
public void testR2GCEchoBoolean() throws AxisFault {
url = "http://www.whitemesa.net/interop/std/echohdr";
soapAction = "http://soapinterop.org/";
util = new GroupcBooleanUtil();
retEnv = client.sendMsg(util, url, soapAction);
tempPath = resFilePath + "WMGcBooleanRes.xml";
compareXML(retEnv, tempPath);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?