cancel
Showing results for 
Search instead for 
Did you mean: 

Exposing JSP as Web Service

Former Member
0 Kudos

Is there a way we can expose our JSP file as a Web Service? Thanks Experts!

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member182372
Active Contributor
0 Kudos

Well, you can crack nuts with your iPad and you can expose JSP as webservice. If you really want it - you can do WS and there call JSP as regular http request using java.net.URLConnection or apache http client lib.

Former Member
0 Kudos

out of curiosity what is that you are trying to achieve?

Former Member
0 Kudos

We have a JSP file that calls/triggers functions for a html. We would like it to somehow work to be like or act as a web service for a NWDS App. I was wondering if there is a way, like importing a JSP file to our NWDS App and from there make our way through it as a web service.

We're using NWDS 2004s. Thanks!

Former Member
0 Kudos

you can use a portlet to run the jsp via jspdyn page and trigger it from the portal if you have portla in your landscape

Former Member
0 Kudos

And how about if we're not using a portal?

Former Member
0 Kudos

You can try creating a J2EE webmodule and you can deploy your jsp file, but you still have to access the application via resource URL

Former Member
0 Kudos

Any tutorial on this, Senon?

Former Member
0 Kudos

Oh and also for this one, "to run the jsp via jspdyn page and trigger it from the portal" thanks for the help.