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: Oracle Producer returns operationFailed fault when userContext=nil


Hi,

it seems that the Oracle Producer returns a operationFailed fault if the
consumer doesn't pass a userContext on the getMarkup call.
But userContext is nillable.
I tried this on the E:1:default portlet handle.
Here are the message logs:

==== Request ====
POST /wsrp/jaxrpc/WSRPBaseService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.1RC2
Host: localhost:8081
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:oasis:names:tc:wsrp:v1:getMarkup"
Content-Length: 1550

<?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>
  <getMarkup xmlns="urn:oasis:names:tc:wsrp:v1:types">
   <registrationContext>
    <registrationHandle>C:148.87.122.191:265121:f5fe1beba5:
-7fd2</registrationHandle>
   </registrationContext>
   <portletContext>
    <portletHandle>E:1:default</portletHandle>
   </portletContext>
   <runtimeContext>
    <userAuthentication>wsrp:none</userAuthentication>
    <portletInstanceKey>Oracle_row_col1_p1</portletInstanceKey>
    <namespacePrefix>Pluto_Oracle_row_col1_p1_</namespacePrefix>
   </runtimeContext>
   <userContext xsi:nil="true"/>
   <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 Swing Consumer V. 0.3</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>
  </getMarkup>
 </soapenv:Body>
</soapenv:Envelope>
==== Response ====
HTTP/1.1 200 OK
Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE)
Date: Fri, 27 Jun 2003 11:25:25 GMT
Cache-Control: private
SOAPAction: ""
Server: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/Oracl
Content-Length: 469
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0
="urn:oasis:names:tc:wsrp:v1:types"><env:Body><env:Fault xsi:type
="env:Fault"><faultcode>env:Server</faultcode><faultstring>oracle.webdb.wsrp.OperationFailed</faultstring><detail><ns0:OperationFailedFault/></detail></env:Fault></env:Body></env:Envelope>

and this one works:

POST /wsrp/jaxrpc/WSRPBaseService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.1RC2
Host: localhost:8081
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:oasis:names:tc:wsrp:v1:getMarkup"
Content-Length: 1937
Cookie:
JSESSIONID=e0cfbf601c814e79a5dda304a5a1809d.rQjwaxqK-AXMmkbGngTxpQOUaN0KahD3lN4Oc2SSbMSLax8IahyL-x8Kn6bycgTAbhmRakbvbh4L-wOSa30K8Oz1iN8Ka2TRnk8MbN0IrlaIpR9vmQLz-AbJpgaLah4Pbh0xhOaOgzXepR9OmkKxhOaOgzXepR9OmkKxn6jAmljGr5XDqQLvpAe_

<?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>
  <getMarkup xmlns="urn:oasis:names:tc:wsrp:v1:types">
   <registrationContext>
    <registrationHandle>C:148.87.122.191:265121:f5fe1beba5:
-7fd1</registrationHandle>
   </registrationContext>
   <portletContext>
    <portletHandle>E:1:default</portletHandle>
   </portletContext>
   <runtimeContext>
    <userAuthentication>wsrp:none</userAuthentication>
    <portletInstanceKey>9.152.207.43_1056713324638_2</portletInstanceKey>
    <namespacePrefix></namespacePrefix>
   </runtimeContext>
   <userContext>
    <userContextKey>Erebus</userContextKey>
    <profile>
     <name>
      <given>John</given>
      <family>Doe</family>
      <middle>Joe</middle>
      <nickname>Jo</nickname>
     </name>
     <gender>mmh</gender>
     <employerInfo/>
     <homeInfo/>
     <businessInfo/>
    </profile>
   </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 Swing Consumer V. 0.3</userAgent>
    </clientData>
    <markupCharacterSets>UTF-8</markupCharacterSets>
    <validNewModes>wsrp:view</validNewModes>
    <validNewModes>wsrp:help</validNewModes>
    <validNewModes>wsrp:edit</validNewModes>
    <validNewModes>wsrp:preview</validNewModes>
    <validNewWindowStates>wsrp:normal</validNewWindowStates>
    <validNewWindowStates>wsrp:maximized</validNewWindowStates>
    <validNewWindowStates>wsrp:minimized</validNewWindowStates>
    <validNewWindowStates>wsrp:solo</validNewWindowStates>
   </markupParams>
  </getMarkup>
 </soapenv:Body>
</soapenv:Envelope>

HTTP/1.1 200 OK
Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE)
Date: Fri, 27 Jun 2003 11:43:21 GMT
Cache-Control: private
SOAPAction: ""
Server: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/Oracl
Content-Length: 2983
Content-Type: text/xml; charset="utf-8"
Set-Cookie:
JSESSIONID=e0cfbf601c814e79a5dda304a5a1809d.rQjwaxqK-AXMmkbGngTxpQOUaN0KahD3lN4Oc2SSbMSLax8IahyL-x8Kn6bycgTAbhmRakbvbh4L-wOSa30K8Oz1iN8Ka2TRnk8MbN0IrlaIpR9vmQLz-AbJpgaLah4Pbh0xhOaOgzXepR9OmkKxhOaOgzXepR9OmkKxn6jAmljGr5XDqQLvpAe_;

Path=/wsrp

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0
="urn:oasis:names:tc:wsrp:v1:types"><env:Body><ns0:getMarkupResponse><ns0:markupContext><ns0:useCachedMarkup>false</ns0:useCachedMarkup><ns0:mimeType>text/html;

charset=UTF-8</ns0:mimeType><ns0:markupString>




&lt;P ALIGN="CENTER" CLASS="portlet-section-header"&gt;Hi Erebus, Your
Specially Picked&lt;/P&gt;
&lt;P ALIGN="CENTER"&gt;&lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fwinningnumbers.gif/wsrp-rewrite"

WIDTH="450" HEIGHT="69" ALIGN="BOTTOM" BORDER="0"&gt;&lt;/P&gt;
&lt;P&gt;

&lt;P ALIGN="CENTER"&gt;
&lt;TABLE ALIGN="CENTER" BORDER="0" CELLPADDING="0" CELLSPACING="0"&gt;
&lt;TR&gt;

             &lt;TD&gt;
     &lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball13.gif/wsrp-rewrite"

WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
     &lt;/TD&gt;


             &lt;TD&gt;
     &lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball46.gif/wsrp-rewrite"

WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
     &lt;/TD&gt;


             &lt;TD&gt;
     &lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball21.gif/wsrp-rewrite"

WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
     &lt;/TD&gt;


             &lt;TD&gt;
     &lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball7.gif/wsrp-rewrite"

WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
     &lt;/TD&gt;


             &lt;TD&gt;
     &lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball43.gif/wsrp-rewrite"

WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
     &lt;/TD&gt;


             &lt;TD&gt;
     &lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball3.gif/wsrp-rewrite"

WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
     &lt;/TD&gt;


&lt;/TR&gt;
&lt;/TABLE&gt;




&lt;/P&gt;

&lt;P ALIGN="CENTER"&gt;&lt;BR&gt;
&lt;BR&gt;
&lt;IMG SRC
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fplayrespon.gif/wsrp-rewrite"

WIDTH="120" HEIGHT="73" ALIGN="BOTTOM" BORDER="0"&gt;
</ns0:markupString><ns0:locale>EN</ns0:locale><ns0:requiresUrlRewriting>true</ns0:requiresUrlRewriting><ns0:cacheControl><ns0:expires>

1</ns0:expires><ns0:userScope>wsrp:perUser</ns0:userScope></ns0:cacheControl><ns0:preferredTitle>Lottery

Portlet</ns0:preferredTitle></ns0:markupContext></ns0:getMarkupResponse></env:Body></env:Envelope>

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



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