3 Replies Latest reply on Dec 7, 2006 1:03 PM by claprun

    WSRP consumer

    jboss_ms

      Hi,

      I am using jboss 2.6 as a WSRP consumer. I am behind a proxy. I have configured my run.bat to set the proxy host, port,user,password. But I am always getting authentication needed as an error message.


      Can anyone please help me out on this?

      regards,
      M.S

        • 1. Re: WSRP consumer
          jboss_ms

          I am using jboss portal 2.6.

          If I am accessing a remotable portlet which is running within the same domain( without the proxy), I am not able to create an instance of it from the admin page?

          My question is

          1)if I make a portlet as a remotable( portlet.xml) , does it become a WSRP Producer. So does it implement the 4 interfaces and we need not write any code to make it a WSRP producer. I am not able to understand how jboss portal supports WSRP from the documentation provided.

          2) Is it only the admin can create an instance and become a WSRP consumer? What is the role of other users with respect to WSRP....


          Any help in this regard is highly appreciated.

          Thanks in advance for the help.

          regards,
          M.S

          • 2. Re: WSRP consumer
            claprun

             

            "jboss_ms" wrote:
            I am using jboss 2.6 as a WSRP consumer. I am behind a proxy. I have configured my run.bat to set the proxy host, port,user,password. But I am always getting authentication needed as an error message.


            Which version of JBoss AS are you using? If you're using 4.0.4.GA, please upgrade to 4.0.5.GA (or upgrade JBoss WS). Have you looked at:
            http://wiki.jboss.org/wiki/Wiki.jsp?page=WSRPOfflineInstructions?

            • 3. Re: WSRP consumer
              claprun

               

              "jboss_ms" wrote:
              I am using jboss portal 2.6.


              Note that we don't currently support 2.6. That said...

              "jboss_ms" wrote:

              1)if I make a portlet as a remotable( portlet.xml) , does it become a WSRP Producer. So does it implement the 4 interfaces and we need not write any code to make it a WSRP producer. I am not able to understand how jboss portal supports WSRP from the documentation provided.


              Making a portlet remotable makes it available for remote publishing via Portal's WSRP producer. If your portlet is correctly deployed and made remotable, it should appear in the "self" portlet provider in the admin interface. This means that it is now available to be consumed by remote consumers that connect to Portal's producer. "self" is a WSRP consumer connected to Portal's WSRP producer so you should be able to see your portlet there. If not, there is a problem. Look at the doc for more details. However, it does seem like you might be misunderstanding how WSRP works... I suggest reading the WSRP primer at http://www.oasis-open.org/committees/download.php/21178/wsrp-primer-1.0.html if you haven't already done so.

              "jboss_ms" wrote:

              2) Is it only the admin can create an instance and become a WSRP consumer? What is the role of other users with respect to WSRP....


              Just like only admins can create and deploy portlets, the same holds true for WSRP portlets. Users can use WSRP portlets just like regular portlets.

              Hope this helps.