title: Why does my Java code return a memory address and not a string?
body: <p>I am calling a WSDL service from PlaneXML - API reference here
  <a href="https://flightwise.com/documentation/39/PlaneXML_API_Reference.html#AirportInfo" rel="nofollow noreferrer">https://flightwise.com/documentation/39/PlaneXML_API_Reference.html#AirportInfo</a></p>
  <p>My code:</p>
  <pre><code>public static void airportName() throws RemoteException{
      String lax = &quot;LAX&quot;;       
      PlaneXMLv1SoapProxy foo = new PlaneXMLv1SoapProxy();
      Airport [] info = foo.airportInfo(lax);
      System.out.println(&quot;output 1: &quot; + info);
      System.out.println(&quot;output 2: &quot; + info.toString());
      System.out.println(&quot;output 3: &quot; + info[0]);
  }
  </code></pre>
  <p>My output:</p>
  <pre><code>output 1: [Lcom.flightwise.planexml.ws.Airport;@604ed9f0
  output 2: [Lcom.flightwise.planexml.ws.Airport;@604ed9f0
  test
  test
  output 3: com.flightwise.planexml.ws.Airport@9117a1a4
  </code></pre>
  <p>Why do I return these memory addresses and not a string?
  Any ideas what might be causing the &quot;test&quot; output?</p>