[jboss-user] [JBoss Portal] - error while doing performBlockingInteraction between sharepo

jan.hoeve do-not-reply at jboss.com
Tue Feb 10 09:42:15 EST 2009


Currently we have a jboss portal 2.7.1 which produces a portlet. That portlet is to be consumed by a sharepoint portal.

The portlet correctly shows up in sharepoint, and also navigation is working correctly. 
But when I try to do some action which triggers a performBlockingInteraction, the jboss portal complains with a ERROR [STDERR] Bad Base64 input character at 92: 38(decimal)
  | javax.xml.rpc.soap.SOAPFaultException: Could not perform action on portlet '/x.y'. javax.servlet.ServletException.

After doing some debugging, it seems i'm getting a strange , and jboss portal is trying to base64 decode the value in it (after JBPNS_).
<interactionState>JBPNS_rO0ABXc_AAliaS1hY3Rpb24AAAABACVwb3J0bGV0L0NsaWVudGRvc3NpZXIvQWFubWFrZW5kb3NzaWVyAAdfX0VPRl9f&[2]=JBPNS_rO0ABXdPAA5iaS1yZWRpcmVjdC10bwAAAAEAMC9wb3J0bGV0L0NsaWVudGRvc3NpZXIvQWFubWFrZW5kb3NzaWVyP2luaXQ9dHJ1ZQAHX19FT0ZfXw**</interactionState>

When i look into the soap messages which is coming back from sharepoint, it looks the navigationalState is the [2] in the interactionState... Somehow sharepoint seems to be messing up the states.

How can this happen? Do I have to configure something in sharepoint?

The form action looks like: action=&quot;wsrp_rewrite?wsrp-urlType=blockingAction&amp;wsrp-interactionState=JBPNS_rO0ABXdFAAliaS1hY3Rpb24AAAABACtwb3J0bGV0L3BvcnRsZXQvQ2xpZW50ZG9zc2llci9zaW1wbGUtc2VhcmNoAAdfX0VPRl9f&amp;wsrp-navigationalState=JBPNS_rO0ABXdPAA5iaS1yZWRpcmVjdC10bwAAAAEAMC9wb3J0bGV0L0NsaWVudGRvc3NpZXIvQWFubWFrZW5kb3NzaWVyP2luaXQ9dHJ1ZQAHX19FT0ZfXw**&amp;/wsrp_rewrite&quot;

I do not understand the *'s in the navigationalState, my own base64 decoder complains on this one.

When I look at the templates I see the following (in soap msg to sharepoint):

  | <templates>
  | 	<defaultTemplate>wsrp_rewrite?wsrp-urlType={wsrp-urlType}&wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}&wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}&wsrp-secureURL={wsrp-secureURL}/wsrp_rewrite</defaultTemplate>
  | 	<blockingActionTemplate>wsrp_rewrite?wsrp-urlType={wsrp-urlType}&wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}&wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}&wsrp-secureURL={wsrp-secureURL}/wsrp_rewrite</blockingActionTemplate>
  | 	<renderTemplate>wsrp_rewrite?wsrp-urlType={wsrp-urlType}&wsrp-url={wsrp-url}&wsrp-requiresRewrite={wsrp-requiresRewrite}&wsrp-navigationalState={wsrp-navigationalState}&wsrp-interactionState={wsrp-interactionState}&wsrp-mode={wsrp-mode}&wsrp-windowState={wsrp-windowState}&wsrp-fragmentID={wsrp-fragmentID}&wsrp-secureURL={wsrp-secureURL}/wsrp_rewrite</renderTemplate>
  |  ...
  | </templates>
  | 

Question on these templates: 
should i change the & to &'s ? 
  | should i add wsrp-ampEntity to the template?
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208591#4208591

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208591



More information about the jboss-user mailing list