Hello,
I'm trying to use "performBlockingInteraction" but I get an error and I
don't know how to fix it.
Can anyone take a look at my Attached soap messages, and tell me what's
wrong?
Thanks!



POST /portal-wsrp/MarkupService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.4
Host: 127.0.0.1
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:oasis:names:tc:wsrp:v1:performBlockingInteraction"
Content-Length: 984

<?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 xsi:nil="true"/>
            <portletContext>
               <portletHandle>mamca.SimplePortlet</portletHandle>
            </portletContext>
            <runtimeContext>
               <userAuthentication>wsrp:none</userAuthentication>
            </runtimeContext>
            <userContext>
               <userContextKey>ofirh</userContextKey>
            </userContext>
            <markupParams>
 
<secureClientCommunication>false</secureClientCommunication>
               <locales>en</locales>
               <mimeTypes>text/html</mimeTypes>
               <mode>wsrp:view</mode>
               <windowState>wsrp:normal</windowState>
            </markupParams>
            <interactionParams>
               <portletStateChange>readWrite</portletStateChange>
               <formParameters name="data">
                  <value>myData</value>
               </formParameters>
            </interactionParams>
         </performBlockingInteraction>
      </soapenv:Body>
   </soapenv:Envelope>







HTTP/1.1 500 Internal Server Error
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA
date=200605151000)/Tomcat-5.5
Set-Cookie: JSESSIONID=40F7E815D9ED83343D1E5679140F66B4; Path=/
Content-Type: text/xml;charset=UTF-8
Date: Wed, 05 Jul 2006 17:11:45 GMT
Connection: close

<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
   <env:Header/>
   <env:Body>
      <env:Fault>
         <faultcode>env:Client</faultcode>
         <faultstring>java.lang.IllegalArgumentException: Must pass a
valid wsrp window state name</faultstring>
      </env:Fault>
   </env:Body>
</env:Envelope>



Reply via email to