5 Replies Latest reply on May 5, 2010 10:00 AM by claprun

    Accessing the WSRP portlet

    gateinuser

      Hey,

      I am trying to access a remote portlet deployed in another GateIn server thro WSRP in my local GateIn server.

      I have deployed a HelloWorld portlet in GateIn Server1 and made it remotable(jus by adding <remotable>true</remotable> in portlet.xml) and configured the WSRP producer for registration.

      In GateIn server2, i used the WSRP configuration portlet and did the consumer configuration and it showed successful and i activated it aslo.

      But now i want to add this configured remote portlet to one of my pages. Here i am stuck. I am not clear where i can find this configured portlet in Server2?

      Also at what location can we find the WSDL of the remotable portlet in Server1?

        • 1. Re: Accessing the WSRP portlet
          anil.kolhe

          <remotable>true</remotable> is no more used for making portlet remotable instead use

          <container-runtime-option>
                  <name>org.gatein.pc.remotable</name>
                  <value>true</value>
              </container-runtime-option>

          in portlet.xml

          Also url is

          http://{hostname}:{port}/wsrp-producer/MarkupService?wsdl

          • 2. Re: Accessing the WSRP portlet
            gateinuser

            Anil,

            Thanks for ur reply. Chris Laprun had replied the same for my earlier post abt WSRP & i got my WSRP working.

            • 3. Re: Accessing the WSRP portlet
              anil.kolhe

              Hey even I am new to JBoss Gatein portals.

              When you say WSRP is working on which portal server did you consume the Gatein Portlet.

              • 4. Re: Accessing the WSRP portlet
                gateinuser

                Initially i tried to produce in Liferay(5.2.3) and consume in GateIn and also viceversa...but both dint work:((..got to know that Liferay supports 2.0 WSRP implementation while GateIn is still implementing v1.0 ....so abandoned that combination and i tried GateIn as producer and another GateIn as consumer & got it working....lemme know if u have tried any other portal servr for WSRP

                • 5. Re: Accessing the WSRP portlet
                  claprun

                  There are no known reasons that our implementation wouldn't work with any other conforming WSRP 1 implementation (we have tested with Oracle/BEA's portal both as producer and consumer, as well as NetUnity as a producer). Please let us know if you find any problems with any other WSRP implementation.

                  Finally, WSRP 2 support should be on its way…