Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2739

"ant all-tests" produces WSDLException with Axis version 1.4 and current version

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 1.4.1
    • WSDL processing
    • None
    • RHEL 5, junit 4.4

    Description

      Hi,
      when I run "ant all-tests" I get following error in the current Axis version as well as in the Axis version 1.4. I installed junit 4.4.
      Do I have to copy the ImportMessagesXSDImport.wsdl somewhere else? Any help is appreciated.

      Cheers,
      Sandra

      compile:
      [java] [echo] Compiling test.wsdl._import
      [java] [wsdl2java] WSDL2Java /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/Import.wsdl
      [java] [wsdl2java] WSDL2Java /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/Import.wsdl
      [java] [wsdl2java] WSDL2Java /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/ImportMessagesXSDImport.wsdl
      [java] [wsdl2java] Running Wsdl2javaAntTask with parameters:
      [java] [wsdl2java] verbose:false
      [java] [wsdl2java] debug:false
      [java] [wsdl2java] quiet:false
      [java] [wsdl2java] server-side:false
      [java] [wsdl2java] skeletonDeploy:false
      [java] [wsdl2java] helperGen:false
      [java] [wsdl2java] factory:null
      [java] [wsdl2java] nsIncludes:[]
      [java]
      [java] BUILD FAILED
      [java] /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/buildTest.xml:84: The following error occurred while executing this line:
      [java] /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/xmls/targets.xml:45: The following error occurred while executing this line:
      [java] /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/build.xml:115: WSDL processing error for /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/ImportMessagesXSDImport.wsdl :
      [java] WSDLException (at /definitions/types/schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'http://schemas.xmlsoap.org/soap/encoding/', relative to 'file:/nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/ImportMessagesXSDImport.wsdl'.: Connection refused
      [java]
      [java] Total time: 1 minute 9 seconds
      [java] [wsdl2java] nsExcludes:[]
      [java] [wsdl2java] factoryProps:[]
      [java] [wsdl2java] testCase:false
      [java] [wsdl2java] noImports:false
      [java] [wsdl2java] NStoPkg:

      {urn:types.import.test=test.import.test3}

      [java] [wsdl2java] output:/nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/build/work
      [java] [wsdl2java] protocolHandlerPkgs:
      [java] [wsdl2java] deployScope:
      [java] [wsdl2java] URL:/nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/ImportMessagesXSDImport.wsdl
      [java] [wsdl2java] all:false
      [java] [wsdl2java] typeMappingVersion:1.2
      [java] [wsdl2java] timeout:45000
      [java] [wsdl2java] failOnNetworkErrors:false
      [java] [wsdl2java] printStackTraceOnFailure:true
      [java] [wsdl2java] namespaceMappingFile:null
      [java] [wsdl2java] username:null
      [java] [wsdl2java] :passwordnull
      [java] [wsdl2java] :noWrappedfalse
      [java] [wsdl2java] :allowInvalidURLfalse
      [java] [wsdl2java] :implementationClassNamenull
      [java] [wsdl2java] :classpathnull
      [java] [wsdl2java] http.proxyHost=
      [java] [wsdl2java] http.proxyPort=
      [java] [wsdl2java] http.proxyUser=
      [java] [wsdl2java] http.proxyPassword=
      [java] [wsdl2java] socks.proxyHost=null
      [java] [wsdl2java] socks.proxyPort=null
      [java] [foreach] WSDLException (at /definitions/types/schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'http://schemas.xmlsoap.org/soap/encoding/', relative to 'file:/nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/test/wsdl/_import/ImportMessagesXSDImport.wsdl'.: Connection refused: java.net.ConnectException: Connection refused
      [java] [foreach] at java.net.PlainSocketImpl.socketConnect(Native Method)
      [java] [foreach] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
      [java] [foreach] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
      [java] [foreach] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
      [java] [foreach] at java.net.Socket.connect(Socket.java:519)
      [java] [foreach] at java.net.Socket.connect(Socket.java:469)
      [java] [foreach] at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
      [java] [foreach] at sun.net.www.http.HttpClient.openServer(HttpClient.java:382)
      [java] [foreach] at sun.net.www.http.HttpClient.openServer(HttpClient.java:509)
      [java] [foreach] at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
      [java] [foreach] at sun.net.www.http.HttpClient.New(HttpClient.java:304)
      [java] [foreach] at sun.net.www.http.HttpClient.New(HttpClient.java:316)
      [java] [foreach] at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
      [java] [foreach] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
      [java] [foreach] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
      [java] [foreach] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)
      [java] [foreach] at java.net.URLConnection.getContent(URLConnection.java:682)
      [java] [foreach] at java.net.URL.getContent(URL.java:1021)
      [java] [foreach] at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      [java] [foreach] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
      [java] [foreach] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
      [java] [foreach] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
      [java] [foreach] at java.lang.Thread.run(Thread.java:595)
      [java] [foreach]
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      [java] [foreach] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
      [java] [foreach] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
      [java] [foreach] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
      [java] [foreach] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
      [java] [foreach] at java.lang.Thread.run(Thread.java:595)

      BUILD FAILED
      /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/build.xml:296: The following error occurred while executing this line:
      /nfs/wsi/bs/share/projects/tuebigrid/testEnvironment/axis-1_4/xmls/targets.xml:7: Java returned: 1

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            gesing Sandra Gesing

            Dates

              Created:
              Updated:

              Slack

                Issue deployment