none
Unknown Host Exception building API from WSDL

    Question

  • I'm trying to rebuild Java stubs from the WSDL at https://atlasapi.atlassolutions.com/Service/Report/v1/, and today started getting an error because of the inability to resolve sea1atlasapi01.pn.avenuea.com, which appears to be referenced in the WSDL schema imports, as well as the soap:address location of the ReportExecutionService.

    I can confirm that sea1atlasapi01.pn.avenuea.com does not appear to be found in DNS.

    The full error log is as follows (the inability to resolve DNS seems to be the only problem):
     [java] WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'http://sea1atlasapi01.pn.avenuea.com/Service/Report/v1/ReportExecutionService.svc?xsd=xsd4', relative to 'https://atlasapi.atlassolutions.com/Service/Report/v1/ReportExecutionService.svc?wsdl'.: sea1atlasapi01.pn.avenuea.com: java.net.UnknownHostException: sea1atlasapi01.pn.avenuea.com
         [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
         [java]     at java.net.Socket.connect(Socket.java:520)
         [java]     at java.net.Socket.connect(Socket.java:470)
         [java]     at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
         [java]     at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
         [java]     at sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
         [java]     at sun.net.www.http.HttpClient.<init>(HttpClient.java:231)
         [java]     at sun.net.www.http.HttpClient.New(HttpClient.java:304)
         [java]     at sun.net.www.http.HttpClient.New(HttpClient.java:321)
         [java]     at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:813)
         [java]     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:765)
         [java]     at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:690)
         [java]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:934)
         [java]     at java.net.URLConnection.getContent(URLConnection.java:682)
         [java]     at java.net.URL.getContent(URL.java:1021)
         [java]     at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java]     at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java]     at java.lang.Thread.run(Thread.java:595)
         [java]
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java]     at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java]     at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java]     at java.lang.Thread.run(Thread.java:595)
         [java] Java Result: 1

    Thanks,
    -Joe Barnett
    Marin Software
    Thursday, January 15, 2009 7:10 PM

Answers

All replies