Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » HTTP Call from Plugin
HTTP Call from Plugin [message #55623] Wed, 08 December 2004 11:51 Go to next message
Eclipse UserFriend
Originally posted by: jasonus.us.ibm.com

Looking for an eclipse plugin (with source code preferibly) that will
> allow me to post an HTTP request. I am trying to integrate Eclipse with a
proprietary Server side app and want to be able to pass a large
> string as a parameter to a JSP page.
> Any help is greatly appreciated.


Jason
Re: HTTP Call from Plugin [message #57831 is a reply to message #55623] Thu, 23 December 2004 15:45 Go to previous message
Eclipse UserFriend
Jason Us wrote:

> Looking for an eclipse plugin (with source code preferibly) that will
>
>> allow me to post an HTTP request. I am trying to integrate Eclipse with a
>
> proprietary Server side app and want to be able to pass a large
>
>> string as a parameter to a JSP page.
>> Any help is greatly appreciated.
>
>
>
> Jason
>
>
Jason,

The java.net.URL class allows you to retrieve content from a Web server.
There are some WTP plugins that do that (e.g. Web Service Explorer). Try
searching the source for uses of java.net.URL.

However, the best way to do this is to turn your server-side app into a
Web service. This amounts to having it generate XML (wrapped in a SOAP
envelope) and creating a WSDL file to describe it. Then use the Web
service client tools to generate a client proxy and simply use that just
like you were calling a local method. If you want an Open Source
runtime, use Apache Axis. If your server-side app is running on a
commercial Web app server (e.g. WebSphere) then it comes with a Web
service runtime.

Web service tools will appear in WTP in M3.

-- Arthur
Previous Topic:Tomcat 5.5 icon
Next Topic:Re: Problem with code assist
Goto Forum:
  


Current Time: Thu May 15 22:53:22 EDT 2025

Powered by FUDForum. Page generated in 0.03411 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top