Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2669

Tuscany sca can not support HTTPS web service

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java-SCA-1.2
    • None
    • None
    • windows 2003

    Description

      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://") ) {

      Attachments

        Activity

          People

            rfeng Zhaohui Feng
            xuyufei20540 rocky-xu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified