Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4346

Java2WSDLBuilder.setServiceEPR() and Utils.addSoap11Endpoint() should use URI not URL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.6.0
    • wsdl
    • None
    • All

    Description

      The Java2WSDLBuilder.setServiceEPR(), Utils.addSoap12Endpoint(), and Utils.addSoap11Endpoint() methods should use URI instead of URL. The WSDL specification says that the location attribute for a SOAP address needs to be a URI, not a URL. The existing code causes a MalformedURLException when you are defining a JMS endpoint with certain parameters in the URI value. For example:

      jms:/myMDB.JMSQueue?transport.jms.DestinationType=queue&transport.jms.ConnectionFactoryJNDIName=my.jms.queue.connection.factory&java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory&java.naming.provider.url=t3://localhost:7001

      I don't think it likes the 'jms:/' and also the last value for the java.naming.provider.url parameter

      This is a valid URI, however.

      Attachments

        Issue Links

          Activity

            People

              veithen Andreas Veithen
              breif Ben Reif
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified