Home > Ask the SOA Experts > Questions & Answers > I have developed a portal and I need to know how to connect to a Web service?
Ask The SOA Expert: Questions & Answers
EMAIL THIS

I have developed a portal and I need to know how to connect to a Web service?

Jeff  Hanson EXPERT RESPONSE FROM: Jeff Hanson

Pose a Question
Other SOA Categories
Meet all SOA Experts
Become an Expert for this site
>
QUESTION POSED ON: 08 August 2002
I have developed a portal and I need to know how to connect to a Web service?

>
A portal is a Web site that contains a variety of content that can either be configured by a user or by a domain administrator. Portals pages generally contain multiple small windows of information that can be updated autonomously from the rest of the page.

Web services are a natural fit for a portal site because content can be retrieved from any arbitrary site using the technologies and features that Web services offer.

Web services, today, are typically embodied within the following four operations:

1) Implement - Web services are currently generally developed using the SOAP-over-HTTP protocol. This involves packaging content as an XML document with remote procedure call (RPC) encodings or as one discreet XML document. Either type of packaging embeds the payload contents within an entity called a "SOAP Envelope."

2) Describe - Once a Web service has been implemented, its content and semantics need to be described in order to be effectively used by external parties.

3) Publish - Web services can be published to registries, such as UDDI or ebXML, in order to be located by interested consumers.

4) Locate - Once a Web service has been published and described, consumers can locate the Web service and make remote calls to it to retrieve the data.

Using these four operations, a portal site can effectively find content and publish content. Within a J2EE environment, a portal site can expose content to client browsers as sets of related business services that are implemented using the Java programming language.

A typical scenario might involve a user directing a Web browser to the portal site, where a Java servlet can field the HTTP request and dispatch it to the appropriate business service. The business service can retrieve the desired content from a particular Web service using a variety of available technologies including AXIS, Apache SOAP and the Java Web Services Developer Pack. Once the content has been retrieved, it can be formatted appropriately for the user's browser and returned.

AXIS, Apache SOAP and the Java Web Services Developer Pack all provide the necessary tools for implementing a full-scale portal site within the J2EE environment. To avoid the costs and headaches of building a portal site entirely from scratch, I recommend that you start with a commercial platform that does a lot of the work for you such as the Zareus Application Platform from Zareus, Inc., the WASP Server for Java from Systinet, CapeConnect from Cape Clear and others.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SOA Governance White Papers - BPM, EDA, IT Governance
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2001 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts