• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Webservice problem

 
Greenhorn
Posts: 25
Netbeans IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am facing problem while giving input to the webservice through servlet. the below code shows some of the variable for which we pass the input . i can't pass input to the variable "Engine" which has datatype ENGINETYPE


@XmlElement(name = "Engine", required = true)
protected EngineType engine;
@XmlElement(name = "Layout")
protected String layout;

how to give input to the variable which is set as protected. please help me out with the above datatype "ENGINETYPE" and the variable is "engine".
the other variable which has datatype String can be given input. This code is in webservice. please help me out to pass the input to the variable "Engine".

Thanks in Advance
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic