Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Services and the fly likes Webservice problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservice problem" Watch "Webservice problem" New topic
Author

Webservice problem

N. Ganapathy
Greenhorn

Joined: Apr 16, 2012
Posts: 22

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.
 
subject: Webservice problem
 
Similar Threads
JAXB 2.0 Problems
Dynamically pass the value to Annotation
Servlet image upload problem
How to set minOccurs="1" in wsdl for an input parameter to web service method.