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

                 Key: AXIS2-4346
                 URL: https://issues.apache.org/jira/browse/AXIS2-4346
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.4
         Environment: All
            Reporter: Ben Reif
            Priority: Minor


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.

-- 
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