Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3929

Wise SOAPClient throws String index out of range when wrong wsdl in configuration

    Details

      Description

      When wise SOAPClient action contains invalid wsdl like http://some/service.wsdl instead of http://some/service?wsdl (missing ? character), deployment will raise following exception:

      Caused by: org.jboss.soa.esb.ConfigurationException: Unexpected exception while instantiating action instance
      at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.getActionClassInstance(ActionProcessorMethodInfo.java:359)
      at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.getActionClassInstance(ActionProcessorMethodInfo.java:340)
      at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.<init>(ActionProcessingPipeline.java:279)
      at org.jboss.soa.esb.listeners.message.MessageAwareListener.doInitialise(MessageAwareListener.java:199)
      ... 61 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.jboss.soa.esb.listeners.message.ActionProcessorMethodInfo.getActionClassInstance(ActionProcessorMethodInfo.java:355)
      ... 64 more
      Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -67
      at java.lang.String.substring(String.java:1937)
      at org.jboss.soa.esb.actions.soap.wise.SOAPClient.<init>(SOAPClient.java:214)
      ... 69 more

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rivasvk Richard Vachula
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: