cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-1536) When a SOAP request is submitted without an enclosing </soapenv:Envelope> a successful response is returned. I would think that this should generate a parsing error/exception.
Date Thu, 05 Nov 2009 18:09:32 GMT

     [ https://issues.apache.org/jira/browse/CXF-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-1536.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.5
         Assignee: Daniel Kulp


If schema-validation is enabled, we now also check the structure of the soap message.

> When a SOAP request is submitted without an enclosing </soapenv:Envelope> a successful
response is returned.  I would think that this should generate a parsing error/exception.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1536
>                 URL: https://issues.apache.org/jira/browse/CXF-1536
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.1
>         Environment: Windows 2003
> Jboss 4.2.1GA
>            Reporter: Bob Dellago
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.2.5
>
>
> When a SOAP request is submitted without an enclosing </soapenv:Envelope> a successful
response is returned.  I would think that this should generate a parsing error/exception.
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.nortel.com/xmlprotocol/wsdl/protocol_interfaces/v1_0/">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <v1:CallCleared-Event>
>          <!--Optional:-->
>          <callId>1-1-1-1</callId>
>          <cause>6</cause>
>       </v1:CallCleared-Event>
>    </soapenv:Body>
> *** missing soapenv ***
> Actual Response:
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
>    <soap:Body>
>       <ns1:CallCleared-EventResponse xmlns:ns1="http://www.nortel.com/xmlprotocol/wsdl/protocol_interfaces/v1_0/">
>          <status>success</status>
>       </ns1:CallCleared-EventResponse>
>    </soap:Body>
> </soap:Envelope>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message