• 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:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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: 42974
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!