I am calling a WSDL service from PlaneXML - API reference here https://flightwise.com/documentation/39/PlaneXML_API_Reference.html#AirportInfo
My code:
public static void airportName() throws RemoteException{
String lax = "LAX";
PlaneXMLv1SoapProxy foo = new PlaneXMLv1SoapProxy();
Airport [] info = foo.airportInfo(lax);
System.out.println("output 1: " + info);
System.out.println("output 2: " + info.toString());
System.out.println("output 3: " + info[0]);
}
My output:
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
Why do I return these memory addresses and not a string? Any ideas what might be causing the "test" output?