• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

What is XML integer type ?  RSS feed

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to define QNAME_TYPE_INTEGER if you want to use it. A value of "int" should do nicely.
 
chaohua wang
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very mcuh,
If the vlaue is an Integer object, How can I do that?

Chaohua
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!