| Author |
What is XML integer type ?
|
chaohua wang
Ranch Hand
Joined: Dec 22, 2002
Posts: 61
|
|
Hi ALL, I have mathod like this void setCommandKey(Integer akey) I am using DII . Call call = service.createCall(port); ...... call.setOperationName(new QName(BODY_NAMESPACE_VALUE, "setCommandKey")); call.addParameter("Integer_1", QNAME_TYPE_INTEGER , ParameterMode.IN); Integer[] params = { new Integer(240) }; call.invoke(params); but error meesage says can not find 'QNAME_TYPE_INTEGER' this symbols. I tried integer, or INTEGER, still has the error message. Please let me know what is type for Integer in XML ? Thank you! Chaohua
|
 |
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32767
|
posted

0
|
|
You need to define QNAME_TYPE_INTEGER if you want to use it. A value of "int" should do nicely.
|
Android apps – ImageJ plugins – Java web charts
|
 |
chaohua wang
Ranch Hand
Joined: Dec 22, 2002
Posts: 61
|
|
Thank you very mcuh, If the vlaue is an Integer object, How can I do that? Chaohua
|
 |
 |
|
|
subject: What is XML integer type ?
|
|
|