[ 
https://issues.apache.org/jira/browse/AXIS2-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471585
 ] 

Rich Scheuerle commented on AXIS2-2146:
---------------------------------------

Mike,

This is a great proposal, but there are a few problems with the patch.
Please update to the latest code and fix the following problems.

===========================================

Testsuite: org.apache.axis2.jms.JMSEchoRawXMLTest
Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 23.966 sec

------------- Standard Output ---------------
C:\workspace\live\axis2\modules\integration\target\test-resources\jms-enabled-server-repository
Server stopped 
.....C:\workspace\live\axis2\modules\integration\target\test-resources\jms-enabled-server-repository
Server stopped .....------------- ---------------- ---------------
------------- Standard Error -----------------
log4j:WARN No appenders could be found for logger 
(org.apache.activemq.broker.BrokerService).
log4j:WARN Please initialize the log4j system properly.
------------- ---------------- ---------------
Testcase: testEchoXMLSync(org.apache.axis2.jms.JMSEchoRawXMLTest):      Caused 
an ERROR
null
java.lang.NullPointerException
        at 
org.apache.axis2.transport.TransportUtils.getSOAPNamespaceFromContentType(TransportUtils.java:365)
        at 
org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:85)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:336)
        at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:276)
        at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:473)
        at 
org.apache.axis2.jms.JMSEchoRawXMLTest.testEchoXMLSync(JMSEchoRawXMLTest.java:171)


====================================

In addition, 2 of the JAX-WS MTOM "byte array" tests are failing.  (The 
problems are similar to the other MTOM tests which you fixed in your patch)

> server does not check for SOAP12 message sent to SOAP11 endpoint
> ----------------------------------------------------------------
>
>                 Key: AXIS2-2146
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2146
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Mike Rheinheimer
>         Attachments: patch.txt
>
>
> The SOAP1.2 spec has instructions of what to do when a SOAP message does not 
> match the SOAP version of the endpoint:
> http://www.w3.org/TR/soap12-part1/#version
> Currently, the JAXWS runtime does not check incoming SOAP message versions 
> against the SOAP version of the endpoint.  This patch fixes this.  It is a 
> non-trivial patch due to several problems:
> 1.  First, the server was ignoring the incoming message soap version.  This 
> was remedied first.
> 2.  (1) resulted in discovering that the Builder in the transport layer on 
> the client was being configured according to the outbound request SOAP 
> namespace.  This resulted in the Builder throwing an exception due to the 
> incoming response message SOAP version not matching with the configured 
> version on the Builder.
> 3.  Several unit tests needed fixin.  Some of them were sending SOAP12 
> messages to SOAP11 endpoints.  This is not supported, but worked in our 
> environment because we ignored the SOAP versions, and the messages carried no 
> SOAP protocol specific information that would cause a break.
> This has resulted in yet another issue that I will address in another patch.  
> The client side is also not checking soap versions on incoming requests.  
> I'll fix this very soon.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to