Results 1 to 2 of 2
- 02-10-2009, 06:23 AM #1
web service using visual jsf page
how can i get the value from the visual jsf textfield,
instead of just hard code the data like "Honda".
i cant be everything change the name of the car by exploring the data source and change it .
isit correct by using or other way
java.lang.String carModel = textfield1.toString;
try {
// Call Web Service Operation
com.probeans.car.services.NewCarWebServ port = service.getNewCarWebServPort();
// TODO initialize WS operation arguments here
java.lang.String carModel = "Honda";
// TODO process result here
com.probeans.car.services.NewCarInfoJava result = port.getCarInfo(carModel);
System.out.println("Result = "+result);
label1.setText(result.getCarID() + result.getCarModel() + result.getCarDescription() +
result.getCarTransmission() + result.getCarPrice());
} catch (Exception ex) {
label2.setText(ex);
// TODO handle custom exceptions here
}Last edited by fiqueudrue; 02-10-2009 at 06:34 AM. Reason: [SOLVED]
VTEC may be long gone... but the power of MZR is coming...
- 02-10-2009, 06:33 AM #2
Similar Threads
-
Go back to previous page using session in JSP page
By gopikarikati009 in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 06-23-2011, 10:30 AM -
Redirect page in web service
By bluesheeva in forum Advanced JavaReplies: 3Last Post: 02-03-2009, 11:56 PM -
How to get back from Visual Design to Visual MIDlet?
By sknn in forum NetBeansReplies: 0Last Post: 12-08-2008, 02:30 PM -
setting the view to a jsp page from a self refeshing page
By deepal_205 in forum JavaServer Pages (JSP) and JSTLReplies: 3Last Post: 08-15-2008, 04:41 PM -
warning that page has expired and i need to refresh the page again
By 82rathi.angara in forum JavaServer Pages (JSP) and JSTLReplies: 5Last Post: 07-15-2008, 01:48 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks