[
https://issues.apache.org/jira/browse/TUSCANY-2669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Raymond Feng reassigned TUSCANY-2669:
-------------------------------------
Assignee: Raymond Feng
> 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
> Assignee: Raymond Feng
> Original Estimate: 0.02h
> Remaining Estimate: 0.02h
>
> 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.