[ http://issues.apache.org/jira/browse/AXIS2-540?page=comments#action_12372763 ]
Michel.Drescher commented on AXIS2-540: --------------------------------------- Hi all, I strongly advise against this - it would break WS-Addressing compatibility (and more). WS-Addressing gives abstract, transport-agnostic message properties. THe important point here is that the transport protocol is NOT defined in any WSA construct, it is rather defined n the WebService's WSDL in the binding secion! > A default TransportInProtocol > ----------------------------- > > Key: AXIS2-540 > URL: http://issues.apache.org/jira/browse/AXIS2-540 > Project: Apache Axis 2.0 (Axis2) > Type: New Feature > Components: client-api > Reporter: rnell > Priority: Minor > > it would be nice if: > 1) options.setTo(targetEPR); > 2) options.setTransportInProtocol( new URL( targetEPR.getAddress() > ).getProtocol() ); > if line (2) was the default and didn't need to be set. Interestingly, there > doesn't seem to be a reply tranport in the WSDL, so the default protocol > would likely be the same as the targetEPR. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
