• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP using .asmx web services, How?

 
Mohd Hafiz Ishak
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
some one please help me,
i want to put a CurrencyConvertor from web services "http://www.webservicex.net/CurrencyConvertor.asmx" into my JSP.

i search in google, there are so many thing come out like, xml, xls, soap, sax, ajax. but none of this document show how to use these .asmx web services in JSP.

any sugestion
TQ
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are trying to do too much at one step, a common problem for beginners.

First you should work on creating a Java class that can access that web service and interpret the results. Just a plain Java class taking input from the command line and writing to System.out.

If you make that class compatible with JavaBean conventions it will be easy to make the next step of taking HTML input and creating HTML output in a JSP.

Jumping straight into JSP is just asking for trouble.

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