[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [wsrp-interop] does oracle producer throw a InvalidRegistration fault?
the faultcode is a "SHOULD" in the spec.
-----Original Message-----
From: Richard Jacob [mailto:richard.jacob@de.ibm.com]
Sent: 17 July 2003 14:02
To: David Ward
Cc: wsrp-interop@lists.oasis-open.org
Subject: Re: [wsrp-interop] does oracle producer throw a
InvalidRegistration fault?
ok, I was able to verify this and to deserialize your faults.
The Oracle producer however doesn't set the faultcode to the namespaced
WSRP error code.
It sets <faultcode>env:Server</faultcode> where xmlns:env
="http://schemas.xmlsoap.org/soap/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
|---------+---------------------------->
| | David Ward |
| | <david.ward@oracl|
| | e.com> |
| | |
| | 07/16/2003 05:41 |
| | PM |
|---------+---------------------------->
>--------------------------------------------------------------------------------------------------------------------------------------------------|
| |
| To: Richard Jacob/Germany/IBM@IBMDE |
| cc: wsrp-interop@lists.oasis-open.org |
| Subject: Re: [wsrp-interop] does oracle producer throw a InvalidRegistration fault? |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
At the moment we don't validate registration handles on a per-request
basis.
You should hopefully find an invalid entity handle should throw you a
fault. Anything that causes the container to have to look up something from
persistent storage should provoke it to validate the handle.
Regards
David
Richard Jacob wrote:
hi I tried to finalize the fault handling tests.
Therefor I wanted to provoke the Oracle consumer to throw an
InvalidRegistration fault by passing it an invalid regHandle.
But it was accepted as valid.
Since this was my first reconnect I started with ProOfferedPortlets
and was
able to call getMarkup on them with my random handle.
Here is the getSD() call as an example:
POST /wsrp/jaxrpc/WSRPServiceDescriptionService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.1
Host: localhost:8082
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: "urn:oasis:names:tc:wsrp:v1:getServiceDescription"
Content-Length: 491
<?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>
<getServiceDescription xmlns="urn:oasis:names:tc:wsrp:v1:types">
<registrationContext>
<registrationHandle>C:1.2.3.4:123456:1234567890:
-1234</registrationHandle>
</registrationContext>
</getServiceDescription>
</soapenv:Body>
</soapenv:Envelope>
HTTP/1.0 200 OK
Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE), 1.1
JACOBTP.
Date: Wed, 16 Jul 2003 14:44:03 GMT
Cache-Control: private
SOAPAction: ""
Server: Oracle9iAS/9.0.2 Oracle HTTP Server
Oracle9iAS-Web-Cache/Oracl
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><ns0:getServiceDescriptionResponse><ns0:requiresRegistration>true</ns0:requiresRegistration><ns0:offeredPortlets><ns0:portletHandle>E:0:default</ns0:portletHandle><ns0:markupTypes><ns0:mimeType>text/html</ns0:mimeType><ns0:modes>urn:javax:portlet:mode:custom:about</ns0:modes><ns0:modes>urn:javax:portlet:mode:custom:edit_defaults</ns0:modes><ns0:modes>wsrp:help</ns0:modes><ns0:modes>wsrp:preview</ns0:modes><ns0:modes>wsrp:view</ns0:modes><ns0:modes>wsrp:edit</ns0:modes><ns0:windowStates>wsrp:normal</ns0:windowStates><ns0:windowStates>wsrp:minimized</ns0:windowStates><ns0:windowStates>wsrp:maximized</ns0:windowStates><ns0:locales>EN</ns0:locales></ns0:markupTypes><ns0:description
xml:lang="EN" resourceName
="urn:oracle:wsrp:portlet:0:description"><ns0:value>A very simple
portlet.</ns0:value></ns0:description><ns0:shortTitle xml:lang="EN"
<<--- cut here -->>
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
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 | Oracle European | |
| Principal | Development Centre | |
| Software Engineer | 520 Oracle Parkway | Email: |
| Oracle Portal | Thames Valley Park | david |
| | Reading | .ward |
| | Berkshire RG6 1RA | @orac |
| | UK | le.co |
| | | m |
| | | 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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]