OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Getting SAXException: No deserializer for boolean in WSRP4Jproducer


When a user of a IBM WebSphere Portal requests markup from a WSRP4J
producer a fault occurs. It appears that the "secureClientCommunication"
isn't using the xml ns according to the wsrp 1.0 spec.

Is this a correct analysis?
 Has anyone seen this problem before?
 If this is allowable, how can it be worked around?

Here is the complete message exchange:


==============
Listen Port: 8080
Target Host: localhost
Target Port: 80
==== Request ====
POST /pspc/wsrp4j/WSRPBaseService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: IBM WebServices/1.0
Host: localhost:8080
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:oasis:names:tc:wsrp:v1:getMarkup"
Content-Length: 1450
Cookie:
JSESSIONID=B1QC7Hjv7PsGpy4FXK0yCmyvqG0zvHy2SThk1wJNnmT7L3Wp7rv6!-62586972

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
 xmlns:xsd="http://www.w3.org/2001/XMLSchema";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<soapenv:Body>
 <getMarkup xmlns="urn:oasis:names:tc:wsrp:v1:types">
  <registrationContext xsi:nil="true"/>
  <portletContext>
    <portletHandle>testsuite.TestPortlet1</portletHandle>
  </portletContext>
  <runtimeContext>
    <userAuthentication>wsrp:none</userAuthentication>
    <portletInstanceKey>7_0_FM</portletInstanceKey>
    <namespacePrefix>wsrp_rewrite_</namespacePrefix>
  </runtimeContext>
  <userContext>
    <userContextKey>wpsadmin</userContextKey>
    <profile/>
  </userContext>
  <markupParams>
    <secureClientCommunication
xsi:type="soapenc:boolean">0</secureClientCommunication>
    <locales>en</locales>
    <mimeTypes>text/html</mimeTypes>
    <mode>wsrp:view</mode>
    <windowState>wsrp:normal</windowState>
    <clientData>
      <userAgent>Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
CLR 1.1.4322)</userAgent>
    </clientData>
    <markupCharacterSets>UTF-8</markupCharacterSets>
    <validNewModes>wsrp:edit</validNewModes>
    <validNewModes>wsrp:view</validNewModes>
    <validNewModes>wsrp:help</validNewModes>
    <validNewWindowStates>wsrp:normal</validNewWindowStates>
    <validNewWindowStates>wsrp:maximized</validNewWindowStates>
    <validNewWindowStates>wsrp:minimized</validNewWindowStates>
  </markupParams>
 </getMarkup>
</soapenv:Body>
</soapenv:Envelope>

==== Response ====
HTTP/1.1 500 Internal Server Error
Date: Tue, 19 Oct 2004 22:08:02 GMT
Server: WebLogic Server 8.1 SP3 Tue Jun 29 23:11:19 PDT 2004 404973
Content-Type: text/xml; charset=utf-8
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>soapenv:Server.userException</faultcode>
   <faultstring>org.xml.sax.SAXException: No deserializer for
{http://schemas.xmlsoap.org/soap/encoding/}boolean</faultstring>
   <detail/>
  </soapenv:Fault>
 </soapenv:Body>
</soapenv:Envelope>
==============








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]