I'm sorry, after I made the posting, I realize that I've paste the wrong piece of code in java_client section, instead of call.setMethodName("testReturnInt"); it should be call.setMethodName("testInteger") as the server side piece of code
testReturnInt is just my another attempt to get an Integer as a return value, which is successful. please help. thanks a lot in advance. dcc> <java_client> dcc> call.setMethodName("testReturnInt"); dcc> call.setEncodingStyleURI(encodingStyleURI); dcc> Vector params = new Vector(); dcc> int arg = 10; dcc> Integer arg1 = new Integer(arg); dcc> params.addElement(new Parameter("arg123", Integer.class, dcc> arg1, null)); dcc> call.setParams(params); dcc> // Invoke the call. dcc> Response resp; dcc> // other irrelevant codes dcc> </java_client> -- Best regards, dion mailto:[EMAIL PROTECTED]