Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting the usesGetMethod in PortletDescription

user3446577Oct 10 2008 — edited Oct 10 2008
Hi!

I'm trying out WSRP with the following setup:

Box 1: WLPortal 10.2 hosting a JSF-portlet acting as a WSRP producer.

Box 2: JBoss portal 2.7, WSRP consumer of the JSF-portlet on Box 1.

My problem is that JBoss refuses dealing with producers that have the "usesMethodGet=true" set, which portlets deployed on WLPortal have by default (even though the WSRP spec states the opposite).

How can I alter the usesMethodGet parameter? I've found the parameter in the IPortletDescription interface where it is only possible to read the value.

/Staffan

Comments

648832
In WEB-INF/wsrp-producer-config.xml, in the service-description element (under the service-config element), you can set the supports-method-get attribute to "false".

<service-config>
<service-description secure="false" supports-method-get="false"/>
</service-config>

George
1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 7 2008
Added on Oct 10 2008
1 comment
287 views