Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-2407

Web Services that uses WSDL with import statement cannot be proxied with internal:// referred wsdl

    XMLWordPrintable

    Details

    • Affects Testing:
      Regression
    • Release Notes Docs Status:
      Not Required

      Description

      See attached log and example. The @WbService bean contains reference to file with contract definition that contains and import statement referring to an XSD file stored on the disk. The Web Service itself is functioning, WSDL is available from console.

      But if an jboss-esb.xml file contains definition like
      <action name="proxy"
      class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">
      <property name="wsdl" value="internal://jboss.ws:context=Quickstart_webservice_proxy_basic_ws,endpoint=HelloWorldImportWS"/>
      </action>

      then the deployment fails with an exception
      Caused by: org.jboss.soa.esb.ConfigurationException: java.lang.NullPointerException
      at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.<init>(SOAPProxy.java:193)
      ... 90 more
      Caused by: java.lang.NullPointerException
      at java.net.URI$Parser.parse(URI.java:3003)
      at java.net.URI.<init>(URI.java:578)
      at java.net.URI.create(URI.java:840)
      at org.jboss.soa.esb.actions.soap.proxy.SOAPProxyWsdlLoader.load(SOAPProxyWsdlLoader.java:155)
      at org.jboss.soa.esb.actions.soap.proxy.SOAPProxy.<init>(SOAPProxy.java:188)
      ... 90 more

      This scenario worked in 5.0

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kconner Kevin Conner
                  Reporter:
                  jpechanec Jiri Pechanec
                  Writer:
                  Dana Mison
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: