call.addParameter(new QName("", "inputInteger"),
Constants.XSD_INT, ParameterMode.IN);
call.addParameter(new QName("", "inputString"),
Constants.XSD_STRING, ParameterMode.IN);
call.setReturnType(SOAPSTRUCT_QNAME);
SOAPStruct ret = (SOAPStruct)call.invoke(
new QName(TEST_NS, "echoSimpleTypesAsStruct"),
new Object [] {
new Float(FLOAT_VAL),
new Integer(INT_VAL),
STRING_VAL
});
assertEquals(STRING_VAL, ret.getVarString());
assertEquals(FLOAT_VAL, ret.getVarFloat(), 0.0004F);
assertEquals(INT_VAL, ret.getVarInt());
}