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 Schelling Bernhard <Be...@lemon42.com> on 2006/03/07 13:32:55 UTC
performblockinginteraction ...
hi,
i'trying to implement a simple consumer for our cms, using
tomcat & wsrp4j as a consumer.
everything worked ok so far but now i'm stuck: the action url quits
with an errormessage.
Since I'm struggling for a while now - maybe
someone can point me in the right direction....
This is my request:
POST /wsrp/wsrp4j/WSRPBaseService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.2beta
Host: {host}:{port}
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:oasis:names:tc:wsrp:v1:performBlockingInteraction"
Content-Length: 1996
Cookie: JSESSIONID=29E56A42D69AE110E51B2EDFCD4D323F
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<performBlockingInteraction xmlns="urn:oasis:names:tc:wsrp:v1:types">
<registrationContext><registrationHandle>80.81.129.37_1141734274525_10</
registrationHandle></registrationContext>
<portletContext>
<portletHandle>0.2</portletHandle>
<portletState/>
</portletContext>
<runtimeContext>
<userAuthentication>wsrp:none</userAuthentication>
<portletInstanceKey>ProxyTest_row1_col1_p1</portletInstanceKey>
<namespacePrefix>Pluto_ProxyTest_row1_col1_p1_</namespacePrefix>
</runtimeContext>
<userContext>
<userContextKey>dummyUserContextKey</userContextKey>
</userContext>
<markupParams>
<secureClientCommunication>false</secureClientCommunication>
<locales>en</locales>
<locales>de</locales>
<mimeTypes>text/html</mimeTypes>
<mode>wsrp:view</mode>
<windowState>wsrp:normal</windowState>
<clientData>
<userAgent>WSRP4J Proxy Portlet</userAgent>
</clientData>
<markupCharacterSets>UTF-8</markupCharacterSets>
<validNewModes>wsrp:view</validNewModes>
<validNewModes>wsrp:help</validNewModes>
<validNewModes>wsrp:edit</validNewModes>
<validNewWindowStates>wsrp:normal</validNewWindowStates>
<validNewWindowStates>wsrp:maximized</validNewWindowStates>
<validNewWindowStates>wsrp:minimized</validNewWindowStates>
</markupParams>
<interactionParams>
<portletStateChange>readWrite</portletStateChange>
<interactionState>rO0ABXNyABFqYXZhLnV0aWwuSGFzaE1hcAUH2sHDFmDRAwACRgAKbG
9hZEZhY3RvckkACXRocmVzaG9sZHhwP0AAAAAAAAx3CAAAABAAAAABdAAGQUNUSU9OdXIAE1
tMamF2YS5sYW5nLlN0cmluZzut0lbn6R17RwIAAHhwAAAAAXQAATF4</interactionState
>
</interactionParams>
</performBlockingInteraction>
</soapenv:Body>
</soapenv:Envelope>
And thats what is returned :(
HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Date: Tue, 07 Mar 2006 12:32:22 GMT
Connection: close
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="urn:oasis:names:tc:wsrp:v1:types">ns1:OperationFailed</faultc
ode>
<faultstring>No message found.</faultstring>
<detail>
<ns2:OperationFailed xmlns:ns2="urn:oasis:names:tc:wsrp:v1:types"/>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Additionally the producer log says:
2006-03-07 12:51:14,087 [http-8080-Processor24] ALL
org.apache.wsrp4j.producer.driver.WSRPEngine: performBlockingInteraction
- Entering method
2006-03-07 12:51:14,087 [http-8080-Processor24] ALL
org.apache.wsrp4j.producer.provider.pluto.driver.PortletPoolImpl: get -
Entering method
2006-03-07 12:51:14,087 [http-8080-Processor24] ALL
org.apache.wsrp4j.producer.provider.pluto.driver.PortletPoolImpl: get -
Exiting method.
2006-03-07 12:51:14,087 [http-8080-Processor24] DEBUG
org.apache.wsrp4j.exception.Messages: get() - No message found for 1108
in org/apache/wsrp4j/exception/messages.properties.
Thanks in advance!
Bernhard