Bug 5875 - Destroy doesn't adhere to WS-Lifetime schema
: Destroy doesn't adhere to WS-Lifetime schema
Status: NEW
: gRAVI
gRAVI
: unspecified
: All All
: P3 normal
: ---
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-02-18 18:30 by
Modified: 2008-02-18 18:30 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-02-18 18:30:50
sample client does this:

    resClient.destroy(null);

soap like this:

<soapenv:Body>
    <Destroy xsi:nil="true"
xmlns="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd"/>
</soapenv:Body>

Here is the schema for ws-lifetime:

            <xsd:element name="Destroy">
                <xsd:complexType/>
            </xsd:element>

By default elements ARE NOT nillable.  Thus the instance is illegal, this
should be caught in the ws-layer.