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

Matthew Bond updated CXF-5800:
------------------------------

    Description: 
Exceptions and response problems with Apache CXF 3.0.0 when using 
schema-validation and MTOM.

Abbreviations:
SSV = server side validation i.e. in cxf-beans.xml <jaxws:properties><entry 
key="schema-validation-enabled" value="true" /></jaxws:properties>
CSM = client side MTOM (Enable MTOM enabled in SoapUI 5.0.0)
All 4 combinations of SSV : ON / OFF and CSM : ON / OFF wer tried

Results:

SSV OFF : CSM OFF -> Works
SSV OFF : CSM ON -> Works
SSV ON : CSM OFF -> Response is invalid XML {{<Status xsi:type="ns3:CodeType" 
xmlns:ns3="http://paper.bitapp.de/page"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>}}
SSV ON : CSM ON -> SOAP Fault: {{<faultstring>Invalid index -1; current element 
has only 1 attributes</faultstring>}}. Due to 
{{java.lang.IllegalArgumentException: Invalid index -1; current element has 
only 1 attributes}}

Sample Project with minimal WSDL on GitHub
https://github.com/mattbond/PaperTest3

Project also includes:
Complete console logs and Responses are in the project in subfolders of 
"Request"
SoapUI 5.0.0 Project. Currently set to MTOM on (enabled)

  was:
Exceptions and response problems with Apache CXF 3.0.0 when using 
schema-validation and MTOM.

Abbreviations:
SSV = server side validation i.e. in cxf-beans.xml <jaxws:properties><entry 
key="schema-validation-enabled" value="true" /></jaxws:properties>
CSM = client side MTOM (Enable MTOM enabled in SoapUI 5.0.0)
All 4 combinations of SSV : ON / OFF and CSM : ON / OFF wer tried

Results:

SSV OFF : CSM OFF -> Works
SSV OFF : CSM ON -> Works
SSV ON : CSM OFF -> Response is invalid XML ()
SSV ON : CSM ON -> SOAP Fault: <faultstring>Invalid index -1; current element 
has only 1 attributes</faultstring>. Due to java.lang.IllegalArgumentException: 
Invalid index -1; current element has only 1 attributes

Sample Project with minimal WSDL on GitHub
https://github.com/mattbond/PaperTest3

Project also includes:
Complete console logs and Responses are in the project in subfolders of 
"Request"
SoapUI 5.0.0 Project. Currently set to MTOM on (enabled)


> Exceptions and response problems when using schema-validation and 
> base64Binary element (with or without MTOM)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-5800
>                 URL: https://issues.apache.org/jira/browse/CXF-5800
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.0.0
>         Environment: JDK 1.7.0_60
> Tomcat 7.0.54
> SoapUI 5.0.0
>            Reporter: Matthew Bond
>
> Exceptions and response problems with Apache CXF 3.0.0 when using 
> schema-validation and MTOM.
> Abbreviations:
> SSV = server side validation i.e. in cxf-beans.xml <jaxws:properties><entry 
> key="schema-validation-enabled" value="true" /></jaxws:properties>
> CSM = client side MTOM (Enable MTOM enabled in SoapUI 5.0.0)
> All 4 combinations of SSV : ON / OFF and CSM : ON / OFF wer tried
> Results:
> SSV OFF : CSM OFF -> Works
> SSV OFF : CSM ON -> Works
> SSV ON : CSM OFF -> Response is invalid XML {{<Status xsi:type="ns3:CodeType" 
> xmlns:ns3="http://paper.bitapp.de/page"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>}}
> SSV ON : CSM ON -> SOAP Fault: {{<faultstring>Invalid index -1; current 
> element has only 1 attributes</faultstring>}}. Due to 
> {{java.lang.IllegalArgumentException: Invalid index -1; current element has 
> only 1 attributes}}
> Sample Project with minimal WSDL on GitHub
> https://github.com/mattbond/PaperTest3
> Project also includes:
> Complete console logs and Responses are in the project in subfolders of 
> "Request"
> SoapUI 5.0.0 Project. Currently set to MTOM on (enabled)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to