Tuscany  sca can not support HTTPS web service
----------------------------------------------

                 Key: TUSCANY-2669
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2669
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Axis Binding Extension
    Affects Versions: Java-SCA-1.2
         Environment: windows 2003
            Reporter: rocky-xu


In the model: tuscany-binding-ws-axis2  package: 
org.apache.tuscany.sca.binding.ws.axis2.Axis2ServiceProvider. start Method
code:>>>>
String endpointURL = axisService.getEndpointURL(); 
            if ( endpointURL.startsWith( "http://";)  || 
endpointURL.startsWith("/")) {                            //here not support 
https
                Axis2ServiceServlet servlet = new 
Axis2ServiceServlet(); 
                servlet.init(configContext); 
                String servletURI = wsBinding.getURI(); 
                configContext.setContextRoot(servletURI); 
                servletHost.addServletMapping(servletURI, servlet); 
            } else if 
( axisService.getEndpointURL().startsWith( "jms" ) ) { 
                logger.log(Level.INFO,"Axis2 JMS URL=" + 
axisService.getEndpointURL() ); 
>>>>>>>
I think it should append another condition if it was https.
 if ( endpointURL.startsWith( "http://";)  || 
endpointURL.startsWith("/")||endpointURL.startsWith( "https://";) ) { 


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

Reply via email to