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] IBM producer giving NPE


Richard,

Thanks. It works with the charset.

Regards,

Subbu

Richard Jacob wrote:
> Subbu,
> 
> it seems it is a bug in our producer.
> The NPE appears if you don't pass the markupCharacterSets.
> I will fix that.
> As a workaround you could pass:
> 
> <markupCharacterSets>UTF-8</markupCharacterSets>
> 
> in the markupParams.
> 
> Mit freundlichen Gruessen / best regards,
> 
>         Richard Jacob
> ______________________________________________________
> IBM Lab Boeblingen, Germany
> Dept.8288, WebSphere Portal Server Development
> Phone: ++49 7031 16-3469  -  Fax: ++49 7031 16-4888
> Email: mailto:richard.jacob@de.ibm.com
> 
> 
> |---------+---------------------------->
> |         |           Subbu Allamaraju |
> |         |           <subbu@bea.com>  |
> |         |                            |
> |         |           06/16/2003 05:40 |
> |         |           PM               |
> |---------+---------------------------->
>   >--------------------------------------------------------------------------------------------------------------------------------------------------|
>   |                                                                                                                                                  |
>   |       To:       David Ward <david.ward@oracle.com>                                                                                               |
>   |       cc:       wsrp-interop@lists.oasis-open.org                                                                                                |
>   |       Subject:  Re: [wsrp-interop] IBM producer giving NPE                                                                                       |
>   >--------------------------------------------------------------------------------------------------------------------------------------------------|
> 
> 
> 
> 
> Thanks. I noticed that just now, but that did not change the fault.
> 
> Subbu
> 
> David Ward wrote:
> 
>>It may not be the cause of the exception, but I did notice that one of
>>your locales "en_US" is in Java format, rather than xml:lang format
>>("en-us").
>>
>>Subbu Allamaraju wrote:
>>
>>
>>>Hi Richard,
>>>
>>>IBM test producer is giving an NPE when for a getMarkup request. Here
>>>are the request and response messages.
>>>
>>>Regards,
>>>
>>>Subbu
>>>
>>>
>>>REQUEST ====
>>>
>>>POST /wsrp/services/WSRPBaseService HTTP/1.0?
>>>User-Agent: BEA WLP 8.1?
>>>Accept: text/xml, application/xml, */*?
>>>Content-Type: application/x-www-form-urlencoded?
>>>Content-Length: 2073
>>>Cookie: JSESSIONID=A02608D926A370E472539A500D0E8607; path=/wsrp?
>>>SOAPAction: urn:oasis:names:tc:wsrp:v1:types:getMarkup?
>>>Host: wsrp.dyndns.org?
>>>Connection: Keep-Alive?
>>>?
>>><soapenv:Envelope
>>>xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>>>   <soapenv:Body>
>>>      <urn:getMarkup xmlns:urn="urn:oasis:names:tc:wsrp:v1:types">
>>>         <urn:registrationContext>
>>>
>>>
> <urn:registrationHandle>192.168.200.1_1055540960771_7</urn:registrationHandle>
> 
> 
>>>         </urn:registrationContext>
>>>         <urn:portletContext>
>>>            <urn:portletHandle>0.1</urn:portletHandle>
>>>         </urn:portletContext>
>>>         <urn:runtimeContext>
>>>            <urn:userAuthentication>wsrp:none</urn:userAuthentication>
>>>
>>><urn:portletInstanceKey>ibmTestPortlet1</urn:portletInstanceKey>
>>>            <urn:namespacePrefix>ibmTestPortlet1</urn:namespacePrefix>
>>>                                 <urn:sessionID xsi:nil="true"
>>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
>>>                              </urn:runtimeContext>
>>>                              <urn:userContext>
>>>
>>><urn:userContextKey>anonymous</urn:userContextKey>
>>>                              </urn:userContext>
>>>                              <urn:markupParams>
>>>
>>><urn:secureClientCommunication>false</urn:secureClientCommunication>
>>>                                 <urn:locales>en</urn:locales>
>>>                                 <urn:locales>en_US</urn:locales>
>>>
> <urn:mimeTypes>text/html</urn:mimeTypes>
> 
>>>                                 <urn:mode>wsrp:view</urn:mode>
>>>
>>><urn:windowState>wsrp:normal</urn:windowState>
>>>                                 <urn:clientData>
>>>                                    <urn:userAgent>Mozilla/5.0 (X11;
>>>U; Linux i686; en-US; rv:1.3.1) Gecko/20030425</urn:userAgent>
>>>                                 </urn:clientData>
>>>                                 <urn:navigationalState xsi:nil="true"
>>>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
>>>                              </urn:markupParams>
>>>                           </urn:getMarkup>
>>>                        </soapenv:Body>
>>>                     </soapenv:Envelope>
>>>
>>>RESPONSE ===
>>>
>>>HTTP/1.1 500 Internal Server Error?
>>>Content-Type: text/xml; charset=utf-8?
>>>Date: Mon, 16 Jun 2003 15:20:09 GMT?
>>>Server: Apache Coyote/1.0?
>>>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>java.lang.NullPointerException</faultstring>
>>>   <detail/>
>>>  </soapenv:Fault>
>>> </soapenv:Body>
>>></soapenv:Envelope>
>>>
>>>
>>>You may leave a Technical Committee at any time by visiting
>>>
> 
> http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php
> 
> 
>>>
>>--
>>------------------------------------------------------------------------
>>
>>*David Ward*
>>Principal Software Engineer
>>Oracle Portal
>>           Oracle European Development Centre
>>520 Oracle Parkway
>>Thames Valley Park
>>Reading
>>Berkshire RG6 1RA
>>UK
>>*Email:*         david.ward@oracle.com <mailto:david.ward@oracle.com>
>>*Tel:*           +44 118 924 5079
>>*Fax:*           +44 118 924 5005
>>
>>
>>
> 
> 
> 
> 
> You may leave a Technical Committee at any time by visiting
> http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php
> 
> 
> 
> 
> 
> 
> You may leave a Technical Committee at any time by visiting 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]