You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Venkatesan Krishnamoorthy <ve...@infosys.com> on 2004/05/13 14:39:17 UTC

wsrp4j and Weblogic Portal 8.1 interoperability

Hi:

 

I am trying to use Weblogic Portal 8.1 as the consumer for a remote
portlet on Apache's wsrp4j. I need to specify the URL for the producer
web service in weblogic. What is the URL I am supposed to give? Is it
the following?

 

http://localhost:8080/wsrp/wsrp4j/WSRPBaseService?wsdl

 

This is what weblogic portal documentation says:

 

=======================Quote=====================================

 

Adding WSRP Producer Support to Non-Portal Projects
You can add WSRP Producer support to Web projects using the following
steps. 

*                     Step 1: Using WebLogic Workshop, create a new Web
Project

*                     Step 2: Select your project in the Application
tree, right click, and select "Install | WSRP Producer". This will
update the project to be WSRP producer capable.

*                     Step 3: Drag the "redirect" folder in the sample
producer project and drop it in the new Web project created in Step 1. 

These steps add WSRP producer capabilities to your web projects.

 

Consuming Portlets from Producer


In order to use portlets offered by a WSRP producer, you must create
proxy portlets using WebLogic Workshop. Note that only Portal Web
Projects can consume remote portlets.

The following steps will let you create a portal with proxy portlets for
portlets offered by the sample producer.

*                     Step 1: Create a new Portal Web Project in the
application you created above.

*                     Step 2: Open the portlet wizard by selecting "File
| New | Portlet".

*                     Step 3: Enter a file name for the portlet, and
click on "Create". This will open a dialog with various portlet types

*                     Step 4: Select "Remote Portlet" and click "Next".

*                     Step 5: Enter
http://localhost:7001/sampleProducer/producer?WSDL in the text field
below "Find Producer" and click on "Retrieve". This will update Producer
Details below and show you some details of the producer, and the number
of portlets offered by the sample producer. 

*                     Step 6: The sample producer, by default, is set to
require registration. Click on "Register" to register the consumer with
the sample producer. This will open a dialog to enter certain
properties. Enter a name for the producer handle (unique for each
producer), a name for the Consumer Name and Consumer Agent, and click on
"Register". Note that, if you find the "Register" button, you must
register before clicking on "Next".

*                     Step 7: Click "Next" on the portlet wizard.

*                     Step 8: From the list of portlets offered by the
sample producer, select a portlet that you want to create a proxy for,
and click "Next".

*                     Step 9: Update the title if necessary, and click
"Finish". 


These steps will create proxy portlet in your consumer, and WebLogic
Workshop opens the portlet editor with the proxy portlet you just
created.

 

=======================End of Quote=====================================

 

Please do let me know. Thanks.

 

Venkat


Re: wsrp4j and Weblogic Portal 8.1 interoperability

Posted by Peter Fischer <pf...@apache.org>.
Hi,

i guess WebLogic requires the URL pointing to WSRP4j's WSDL file - this would be something like:

http://localhost:8080/wsrp/wsdl/wsrp4j_service.wsdl

Hope that helps.

Peter

  ----- Original Message ----- 
  From: Venkatesan Krishnamoorthy 
  To: wsrp4j-user@ws.apache.org 
  Sent: Thursday, May 13, 2004 2:39 PM
  Subject: wsrp4j and Weblogic Portal 8.1 interoperability


  Hi:

   

  I am trying to use Weblogic Portal 8.1 as the consumer for a remote portlet on Apache's wsrp4j. I need to specify the URL for the producer web service in weblogic. What is the URL I am supposed to give? Is it the following?

   

  http://localhost:8080/wsrp/wsrp4j/WSRPBaseService?wsdl

   

  This is what weblogic portal documentation says:

   

  =======================Quote=====================================

   

  Adding WSRP Producer Support to Non-Portal Projects
  You can add WSRP Producer support to Web projects using the following steps. 

  ·                     Step 1: Using WebLogic Workshop, create a new Web Project

  ·                     Step 2: Select your project in the Application tree, right click, and select "Install | WSRP Producer". This will update the project to be WSRP producer capable.

  ·                     Step 3: Drag the "redirect" folder in the sample producer project and drop it in the new Web project created in Step 1. 

  These steps add WSRP producer capabilities to your web projects.

   

  Consuming Portlets from Producer


  In order to use portlets offered by a WSRP producer, you must create proxy portlets using WebLogic Workshop. Note that only Portal Web Projects can consume remote portlets.

  The following steps will let you create a portal with proxy portlets for portlets offered by the sample producer.

  ·                     Step 1: Create a new Portal Web Project in the application you created above.

  ·                     Step 2: Open the portlet wizard by selecting "File | New | Portlet".

  ·                     Step 3: Enter a file name for the portlet, and click on "Create". This will open a dialog with various portlet types

  ·                     Step 4: Select "Remote Portlet" and click "Next".

  ·                     Step 5: Enter http://localhost:7001/sampleProducer/producer?WSDL in the text field below "Find Producer" and click on "Retrieve". This will update Producer Details below and show you some details of the producer, and the number of portlets offered by the sample producer. 

  ·                     Step 6: The sample producer, by default, is set to require registration. Click on "Register" to register the consumer with the sample producer. This will open a dialog to enter certain properties. Enter a name for the producer handle (unique for each producer), a name for the Consumer Name and Consumer Agent, and click on "Register". Note that, if you find the "Register" button, you must register before clicking on "Next".

  ·                     Step 7: Click "Next" on the portlet wizard.

  ·                     Step 8: From the list of portlets offered by the sample producer, select a portlet that you want to create a proxy for, and click "Next".

  ·                     Step 9: Update the title if necessary, and click "Finish". 


  These steps will create proxy portlet in your consumer, and WebLogic Workshop opens the portlet editor with the proxy portlet you just created.

   

  =======================End of Quote=====================================

   

  Please do let me know. Thanks.

   

  Venkat

Re: IBM WebSphere Portal Server

Posted by Punit Pandey <pa...@hotmail.com>.
Hello,

Yes, I tried to follow the exact procedure. But when we install WAS 5.0.2.3, Portal becomes inaccessible. I found IBM terrible in there updates policy. It is difficult to find fixes and fixpacks :(

Thanks & Regards,

Punit Pandey
Yash Technologies, Inc. 
  ----- Original Message ----- 
  From: Peter Fischer 
  To: wsrp4j-user@ws.apache.org 
  Sent: Thursday, May 13, 2004 6:47 PM
  Subject: Re: IBM WebSphere Portal Server


  Hi,

  did you follow the instructions for the WSRP setup?
  You can find them here:

  http://www-106.ibm.com/developerworks/websphere/zones/portal/proddoc.html#webpub5

  Cheers

  Peter


    ----- Original Message ----- 
    From: Punit Pandey 
    To: wsrp4j-user@ws.apache.org 
    Sent: Thursday, May 13, 2004 3:04 PM
    Subject: IBM WebSphere Portal Server


    Hi,

    Has anyone tried to install IBM Portal 5.2 or 5.2.1 for WSRP in recent past? We tried to install both the versions but are not able to use it as producer. Consumer is working fine.

    Any help will be higly appreciated.

    Thanks in advance,

    Punit Pandey
    Yash Technologies, Inc. 

      ----- Original Message ----- 
      From: Venkatesan Krishnamoorthy 
      To: wsrp4j-user@ws.apache.org 
      Sent: Thursday, May 13, 2004 6:09 PM
      Subject: wsrp4j and Weblogic Portal 8.1 interoperability


      Hi:

       

      I am trying to use Weblogic Portal 8.1 as the consumer for a remote portlet on Apache's wsrp4j. I need to specify the URL for the producer web service in weblogic. What is the URL I am supposed to give? Is it the following?

       

      http://localhost:8080/wsrp/wsrp4j/WSRPBaseService?wsdl

       

      This is what weblogic portal documentation says:

       

      =======================Quote=====================================

       

      Adding WSRP Producer Support to Non-Portal Projects
      You can add WSRP Producer support to Web projects using the following steps. 

      ·                     Step 1: Using WebLogic Workshop, create a new Web Project

      ·                     Step 2: Select your project in the Application tree, right click, and select "Install | WSRP Producer". This will update the project to be WSRP producer capable.

      ·                     Step 3: Drag the "redirect" folder in the sample producer project and drop it in the new Web project created in Step 1. 

      These steps add WSRP producer capabilities to your web projects.

       

      Consuming Portlets from Producer


      In order to use portlets offered by a WSRP producer, you must create proxy portlets using WebLogic Workshop. Note that only Portal Web Projects can consume remote portlets.

      The following steps will let you create a portal with proxy portlets for portlets offered by the sample producer.

      ·                     Step 1: Create a new Portal Web Project in the application you created above.

      ·                     Step 2: Open the portlet wizard by selecting "File | New | Portlet".

      ·                     Step 3: Enter a file name for the portlet, and click on "Create". This will open a dialog with various portlet types

      ·                     Step 4: Select "Remote Portlet" and click "Next".

      ·                     Step 5: Enter http://localhost:7001/sampleProducer/producer?WSDL in the text field below "Find Producer" and click on "Retrieve". This will update Producer Details below and show you some details of the producer, and the number of portlets offered by the sample producer. 

      ·                     Step 6: The sample producer, by default, is set to require registration. Click on "Register" to register the consumer with the sample producer. This will open a dialog to enter certain properties. Enter a name for the producer handle (unique for each producer), a name for the Consumer Name and Consumer Agent, and click on "Register". Note that, if you find the "Register" button, you must register before clicking on "Next".

      ·                     Step 7: Click "Next" on the portlet wizard.

      ·                     Step 8: From the list of portlets offered by the sample producer, select a portlet that you want to create a proxy for, and click "Next".

      ·                     Step 9: Update the title if necessary, and click "Finish". 


      These steps will create proxy portlet in your consumer, and WebLogic Workshop opens the portlet editor with the proxy portlet you just created.

       

      =======================End of Quote=====================================

       

      Please do let me know. Thanks.

       

      Venkat


Re: IBM WebSphere Portal Server

Posted by Peter Fischer <pf...@apache.org>.
Hi,

did you follow the instructions for the WSRP setup?
You can find them here:

http://www-106.ibm.com/developerworks/websphere/zones/portal/proddoc.html#webpub5

Cheers

Peter


  ----- Original Message ----- 
  From: Punit Pandey 
  To: wsrp4j-user@ws.apache.org 
  Sent: Thursday, May 13, 2004 3:04 PM
  Subject: IBM WebSphere Portal Server


  Hi,

  Has anyone tried to install IBM Portal 5.2 or 5.2.1 for WSRP in recent past? We tried to install both the versions but are not able to use it as producer. Consumer is working fine.

  Any help will be higly appreciated.

  Thanks in advance,

  Punit Pandey
  Yash Technologies, Inc. 

    ----- Original Message ----- 
    From: Venkatesan Krishnamoorthy 
    To: wsrp4j-user@ws.apache.org 
    Sent: Thursday, May 13, 2004 6:09 PM
    Subject: wsrp4j and Weblogic Portal 8.1 interoperability


    Hi:

     

    I am trying to use Weblogic Portal 8.1 as the consumer for a remote portlet on Apache's wsrp4j. I need to specify the URL for the producer web service in weblogic. What is the URL I am supposed to give? Is it the following?

     

    http://localhost:8080/wsrp/wsrp4j/WSRPBaseService?wsdl

     

    This is what weblogic portal documentation says:

     

    =======================Quote=====================================

     

    Adding WSRP Producer Support to Non-Portal Projects
    You can add WSRP Producer support to Web projects using the following steps. 

    ·                     Step 1: Using WebLogic Workshop, create a new Web Project

    ·                     Step 2: Select your project in the Application tree, right click, and select "Install | WSRP Producer". This will update the project to be WSRP producer capable.

    ·                     Step 3: Drag the "redirect" folder in the sample producer project and drop it in the new Web project created in Step 1. 

    These steps add WSRP producer capabilities to your web projects.

     

    Consuming Portlets from Producer


    In order to use portlets offered by a WSRP producer, you must create proxy portlets using WebLogic Workshop. Note that only Portal Web Projects can consume remote portlets.

    The following steps will let you create a portal with proxy portlets for portlets offered by the sample producer.

    ·                     Step 1: Create a new Portal Web Project in the application you created above.

    ·                     Step 2: Open the portlet wizard by selecting "File | New | Portlet".

    ·                     Step 3: Enter a file name for the portlet, and click on "Create". This will open a dialog with various portlet types

    ·                     Step 4: Select "Remote Portlet" and click "Next".

    ·                     Step 5: Enter http://localhost:7001/sampleProducer/producer?WSDL in the text field below "Find Producer" and click on "Retrieve". This will update Producer Details below and show you some details of the producer, and the number of portlets offered by the sample producer. 

    ·                     Step 6: The sample producer, by default, is set to require registration. Click on "Register" to register the consumer with the sample producer. This will open a dialog to enter certain properties. Enter a name for the producer handle (unique for each producer), a name for the Consumer Name and Consumer Agent, and click on "Register". Note that, if you find the "Register" button, you must register before clicking on "Next".

    ·                     Step 7: Click "Next" on the portlet wizard.

    ·                     Step 8: From the list of portlets offered by the sample producer, select a portlet that you want to create a proxy for, and click "Next".

    ·                     Step 9: Update the title if necessary, and click "Finish". 


    These steps will create proxy portlet in your consumer, and WebLogic Workshop opens the portlet editor with the proxy portlet you just created.

     

    =======================End of Quote=====================================

     

    Please do let me know. Thanks.

     

    Venkat

IBM WebSphere Portal Server

Posted by Punit Pandey <pa...@hotmail.com>.
Hi,

Has anyone tried to install IBM Portal 5.2 or 5.2.1 for WSRP in recent past? We tried to install both the versions but are not able to use it as producer. Consumer is working fine.

Any help will be higly appreciated.

Thanks in advance,

Punit Pandey
Yash Technologies, Inc. 

  ----- Original Message ----- 
  From: Venkatesan Krishnamoorthy 
  To: wsrp4j-user@ws.apache.org 
  Sent: Thursday, May 13, 2004 6:09 PM
  Subject: wsrp4j and Weblogic Portal 8.1 interoperability


  Hi:

   

  I am trying to use Weblogic Portal 8.1 as the consumer for a remote portlet on Apache's wsrp4j. I need to specify the URL for the producer web service in weblogic. What is the URL I am supposed to give? Is it the following?

   

  http://localhost:8080/wsrp/wsrp4j/WSRPBaseService?wsdl

   

  This is what weblogic portal documentation says:

   

  =======================Quote=====================================

   

  Adding WSRP Producer Support to Non-Portal Projects
  You can add WSRP Producer support to Web projects using the following steps. 

  ·                     Step 1: Using WebLogic Workshop, create a new Web Project

  ·                     Step 2: Select your project in the Application tree, right click, and select "Install | WSRP Producer". This will update the project to be WSRP producer capable.

  ·                     Step 3: Drag the "redirect" folder in the sample producer project and drop it in the new Web project created in Step 1. 

  These steps add WSRP producer capabilities to your web projects.

   

  Consuming Portlets from Producer


  In order to use portlets offered by a WSRP producer, you must create proxy portlets using WebLogic Workshop. Note that only Portal Web Projects can consume remote portlets.

  The following steps will let you create a portal with proxy portlets for portlets offered by the sample producer.

  ·                     Step 1: Create a new Portal Web Project in the application you created above.

  ·                     Step 2: Open the portlet wizard by selecting "File | New | Portlet".

  ·                     Step 3: Enter a file name for the portlet, and click on "Create". This will open a dialog with various portlet types

  ·                     Step 4: Select "Remote Portlet" and click "Next".

  ·                     Step 5: Enter http://localhost:7001/sampleProducer/producer?WSDL in the text field below "Find Producer" and click on "Retrieve". This will update Producer Details below and show you some details of the producer, and the number of portlets offered by the sample producer. 

  ·                     Step 6: The sample producer, by default, is set to require registration. Click on "Register" to register the consumer with the sample producer. This will open a dialog to enter certain properties. Enter a name for the producer handle (unique for each producer), a name for the Consumer Name and Consumer Agent, and click on "Register". Note that, if you find the "Register" button, you must register before clicking on "Next".

  ·                     Step 7: Click "Next" on the portlet wizard.

  ·                     Step 8: From the list of portlets offered by the sample producer, select a portlet that you want to create a proxy for, and click "Next".

  ·                     Step 9: Update the title if necessary, and click "Finish". 


  These steps will create proxy portlet in your consumer, and WebLogic Workshop opens the portlet editor with the proxy portlet you just created.

   

  =======================End of Quote=====================================

   

  Please do let me know. Thanks.

   

  Venkat