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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interop message

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


Subject: Re: [wsrp-interop] Oracle Consumer Error


Rich,

Yes you are right.  The PortletDescription.description is optional but not nillable.  Hence the Oracle producer expects it not to be included in the message at all if value is null.

Thanks,
Sharmila

Rich Thompson wrote:

I am just guessing from having looked at the ServicedescriptionResponse, but it could easily be the Portletdescription.description field being present with a nil value element that is causing the problem. Since this is an optional element, the deserializer could be not handling it being supplied without a value as it expects that case to be handled by not including it in the message at all.

Since David Ward is in the UK, I suspect he will not be able to explore this further until tomorrow.

Rich



"Coco, Christopher" <Christopher.Coco@vignette.com>

05/20/2004 03:15 PM

To
<wsrp-interop@lists.oasis-open.org>
cc

Subject
[wsrp-interop] Oracle Consumer Error







Hi all,

I am getting the attached error when trying to "register" my WSRP Provider with
the online Oracle consumer:
http://portalstandards.oracle.com/portal/page?_pageid=34,31863,34_32064&_dad=wsrp&_schema=WSRP

I was hoping someone could enlighten me as to the meaning of the error and/or what in
the attached ServiceDescription could be causing the error?

Thanks,
Christopher


Christopher Coco
Senior Software Engineer
Vignette Application Builder
p. 415.995.3534 | f. 415.975.9801

Vignette's software and expertise help organizations harness
the power of information and the Web to deliver measurable
improvements in business efficiency. Vignette is the efficiency
expert. Visit http://www.vignette.com/ to learn more.
To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php.


An error occured during the call to the WSRP Provider: An error occurred whilst invoking an operation on the Provider Java stack trace from root exception: java.rmi.RemoteException: Runtime exception; nested exception is: deserialization error: deserialization error: deserialization error: unexpected null value for literal data deserialization error: deserialization error: deserialization error: unexpected null value for literal data at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:87) at oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub._deserialize_getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:115) at oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub._readFirstBodyElement(WSRP_v1_ServiceDescription_PortType_Stub.java:101) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:182) at oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub.getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:63) at oracle.webdb.wsrp.client.design.v1.OraWSRP_v1_ServiceDescription_PortType.getServiceDescription(OraWSRP_v1_ServiceDescription_PortType.java:60) CAUSE: deserialization error: deserialization error: unexpected null value for literal data at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:87) at oracle.webdb.wsrp.ServiceDescription_LiteralSerializer.doDeserialize(ServiceDescription_LiteralSerializer.java:88) at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:174) at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:84) at oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub._deserialize_getServiceDescription(WSRP_v1_ServiceDescription_PortType_Stub.java:115) at oracle.webdb.wsrp.WSRP_v1_ServiceDescription_PortType_Stub._readFirstBodyE (WWC-10001363)=

<?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> <getServiceDescriptionResponse xmlns="urn:oasis:names:tc:wsrp:v1:types"> <requiresRegistration>false</requiresRegistration> <offeredPortlets> <portletHandle>b.62.d562c234553df93ad699eb10aa40d0a0.62</portletHandle> <markupTypes> <mimeType>text/html</mimeType> <modes>wsrp:view</modes> <windowStates>vignette:raw</windowStates> <windowStates>wsrp:maximized</windowStates> <windowStates>wsrp:normal</windowStates> <windowStates>wsrp:minimized</windowStates> <windowStates>wsrp:solo</windowStates> <locales>en-US</locales> </markupTypes> <groupID>b.66.349a43ce2a3d293ad699eb10aa40d0a0.66</groupID> <description xml:lang="en-US"> <value xsi:nil="true"/> </description> <shortTitle xml:lang="en-US"> <value>Google Search Form Portlet</value> </shortTitle> <title xml:lang="en-US"> <value>Google Search Form Portlet</value> </title> <displayName xml:lang="en-US"> <value>Google Search Form Portlet</value> </displayName> <keywords xml:lang="en-US"> <value>WSRP DEMO APPLICATION</value> </keywords> <userProfileItems>name/given</userProfileItems> <userProfileItems>name/family</userProfileItems> <userProfileItems>businessInfo/online/email</userProfileItems> <userProfileItems>vignette/logon</userProfileItems> <usesMethodGet>false</usesMethodGet> <defaultMarkupSecure>false</defaultMarkupSecure> <onlySecure>false</onlySecure> <userContextStoredInSession>true</userContextStoredInSession> <templatesStoredInSession>false</templatesStoredInSession> <hasUserSpecificState>false</hasUserSpecificState> <doesUrlTemplateProcessing>false</doesUrlTemplateProcessing> <extensions> <vignette:extension group="vab_portlet_categories" key="portlet_category.name" type="http://www.w3.org/2001/XMLSchema:string" value="WSRP DEMO APPLICATION" xmlns:vignette="http://schemas.vignette.com/wsrp10"/> </extensions> <extensions> <vignette:extension group="vab_portlet_categories" key="portlet_category.description" type="http://www.w3.org/2001/XMLSchema:string" value="" xmlns:vignette="http://schemas.vignette.com/wsrp10"/> </extensions> </offeredPortlets> <userCategoryDescriptions itemName="vignette:readOnly"> <description xml:lang="en-US"> <value>Cannot edit a remote portlet.</value> </description> </userCategoryDescriptions> <userCategoryDescriptions itemName="vignette:editor"> <description xml:lang="en-US"> <value>Can administer and use all aspects of a remote portlet in end-user mode.</value> </description> </userCategoryDescriptions> <userCategoryDescriptions itemName="wsrp:full"> <description xml:lang="en-US"> <value>Can administer and use all aspects of a remote portlet in admin mode.</value> </description> </userCategoryDescriptions> <userCategoryDescriptions itemName="wsrp:minimal"> <description xml:lang="en-US"> <value>Can use a remote portlet.</value> </description> </userCategoryDescriptions> <userCategoryDescriptions itemName="wsrp:standard"> <description xml:lang="en-US"> <value>Can administer and use all aspects of a remote portlet in end-user mode.</value> </description> </userCategoryDescriptions> <customUserProfileItemDescriptions itemName="vignette/logon"> <description xml:lang="en-US"> <value>Vignette Application Portal User Name</value> </description> </customUserProfileItemDescriptions> <customWindowStateDescriptions itemName="vignette:raw"> <description xml:lang="en-US"> <value>Custom window state in which all HTML (including &lt;head&gt; and &lt;body&gt; tags) in provided by the Portlet.</value> </description> </customWindowStateDescriptions> <customModeDescriptions itemName="vignette:edit_defaults"> <description xml:lang="en-US"> <value>Portal administrator configurable properties for a portlet that can be overridden by a portal end-user. </value> </description> </customModeDescriptions> <requiresInitCookie>perGroup</requiresInitCookie> <registrationPropertyDescription> <propertyDescriptions name="com.vignette.wsrp.registration.username" type="xsd:string"> <label xml:lang="en-US"> <value>User Name</value> </label> <hint xml:lang="en-US"> <value>Please Contact your Vignette Application Builder WSRP Producer Administrator.</value> </hint> </propertyDescriptions> <propertyDescriptions name="com.vignette.wsrp.registration.password" type="xsd:string"> <label xml:lang="en-US"> <value>Password</value> </label> <hint xml:lang="en-US"> <value>Please Contact your Vignette Application Builder WSRP Producer Administrator.</value> </hint> </propertyDescriptions> </registrationPropertyDescription> <locales>en-US</locales> <extensions> <vignette:extension group="wsrp-producer-type-vignette" key="wsrp-producer-type" type="http://www.w3.org/2001/XMLSchema:string" value="1" xmlns:vignette="http://schemas.vignette.com/wsrp10"/> </extensions> </getServiceDescriptionResponse> </soapenv:Body> </soapenv:Envelope>

To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php.



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