ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Lewis (JIRA)" <>
Subject [jira] Created: (AXIS2-4651) WSDL20AxisServiceBuilder overwrites operations in bindingoperation property map.
Date Tue, 09 Mar 2010 18:33:27 GMT
WSDL20AxisServiceBuilder overwrites operations in bindingoperation property map.

                 Key: AXIS2-4651
             Project: Axis2
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.5.1
         Environment: Windows XP.  Running AXIS-2 as standalone server.
            Reporter: Tony Lewis

WSDL20ToAxisServiceBuilder.processSOAPBindingExtention, line 671.  
If 'httpLocation' (line 663) is null, httpLocationString stays as an empty string.  As a result,
the httpLocationTable has an entry with a key of  "" that gets overwritten for every operation
in the binding.  It ultimately ends up with the last binding operation.

The repercussion will show up in HTTPLocalBasedDispatcher.findOperation, line 69.



Even though there is no operation named 'thisDoesNotExist', an operatin is performed, and
it is the LAST operation in the binding definition that is set in WSDL20ToAxisServiceBuilder.processSOAPBindingExtention.

So, any invalid operation in a RESTFUL URL using SOAP with WSDL 2.0 will always return the
results from the last operation in the SOAP binding definition.

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:
For additional commands, e-mail:

View raw message