You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by Peter Rajesh <ra...@siptech.co.in> on 2001/10/03 07:23:36 UTC
Webservice in Jetspeed Portlet : Exception Thrown
Hi,
I am using tomcat322 and Jetspeed 1.3a2. I tried to implement a portlet
which uses the WEBSERVICES from http://www.xmethods.com . My portlet
entry in the registry, is as below:
<portlet-entry name="ZipCodesPortlet" hidden="false" type="instance"
application="false">
<meta-info>
<title>ZipCode to County</title>
</meta-info>
<classname>ZipCodesPortlet</classname>
<parameter name="provider-name" value="jetspeed"
hidden="false"/>
<media-type ref="html"/>
</portlet-entry>
I compiled and coped the ZipCodesPortlet.class in the /Web-Inf/classes
dir. .
But when the portlet is displayed it is not contacting the URL and
giving the following exception:
"Get Zipcode Details Error opening socket: Host unreachable: no further
information "
Attached the Java file for reference. Please let me know if you have any
idea.
Regards
Peter Rajesh
Re: Webservice in Jetspeed Portlet : Exception Thrown
Posted by Peter Rajesh <ra...@siptech.co.in>.
Hi Scott,
While i try to run the soap service standalone in tomcat, it is working fine. But when i use it in the Jetspeed Portlet, it not contacting the server. Do you have any idea?
"Scott A. Roehrig" wrote:
> Perhaps the proxy server is not being contacted. Have you been able to verify that part of the code is working?
>
> Scott
> ----- Original Message -----
> From: Peter Rajesh
> To: jetspeed
> Sent: Wednesday, October 03, 2001 1:23 AM
> Subject: Webservice in Jetspeed Portlet : Exception Thrown
>
> Hi,
> I am using tomcat322 and Jetspeed 1.3a2. I tried to implement a portlet which uses the WEBSERVICES from http://www.xmethods.com . My portlet entry in the registry, is as below:
>
> <portlet-entry name="ZipCodesPortlet" hidden="false" type="instance" application="false">
> <meta-info>
> <title>ZipCode to County</title>
> </meta-info>
> <classname>ZipCodesPortlet</classname>
> <parameter name="provider-name" value="jetspeed" hidden="false"/>
> <media-type ref="html"/>
> </portlet-entry>
>
> I compiled and coped the ZipCodesPortlet.class in the /Web-Inf/classes dir. .
> But when the portlet is displayed it is not contacting the URL and giving the following exception:
>
> "Get Zipcode Details Error opening socket: Host unreachable: no further information "
> Attached the Java file for reference. Please let me know if you have any idea.
>
>
> Regards
>
> Peter Rajesh
>
> ------------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Webservice in Jetspeed Portlet : Exception Thrown
Posted by "Scott A. Roehrig" <sa...@hotmail.com>.
Perhaps the proxy server is not being contacted. Have you been able to verify that part of the code is working?
Scott
----- Original Message -----
From: Peter Rajesh
To: jetspeed
Sent: Wednesday, October 03, 2001 1:23 AM
Subject: Webservice in Jetspeed Portlet : Exception Thrown
Hi,
I am using tomcat322 and Jetspeed 1.3a2. I tried to implement a portlet which uses the WEBSERVICES from http://www.xmethods.com . My portlet entry in the registry, is as below:
<portlet-entry name="ZipCodesPortlet" hidden="false" type="instance" application="false">
<meta-info>
<title>ZipCode to County</title>
</meta-info>
<classname>ZipCodesPortlet</classname>
<parameter name="provider-name" value="jetspeed" hidden="false"/>
<media-type ref="html"/>
</portlet-entry>
I compiled and coped the ZipCodesPortlet.class in the /Web-Inf/classes dir. .
But when the portlet is displayed it is not contacting the URL and giving the following exception:
"Get Zipcode Details Error opening socket: Host unreachable: no further information "
Attached the Java file for reference. Please let me know if you have any idea.
Regards
Peter Rajesh
------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org