Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have a java file that has the following output being returned from the method

ID: 3761729 • Letter: I

Question

I have a java file that has the following output being returned from the method

           myresults = "First Name:" + first_Name+ " " +
                       "Last Name: " + Last_Name + " " +
                   "Street Address: " + Address_Street+ " ";

When I run this from the command line each appear in a different line.

First Name: <First Name>

Last Name: <Last Name>

When I run this as a web service from eclipse however everything is displayed on one line. How can I get the web service to display the results on separate lines as being displayed when I run the code from the command line? Do i need to modify the wsdl file that is created by eclipse?

Explanation / Answer

myresults = "First Name:" + first_Name+ " " +
"Last Name: " + Last_Name + " " +
"Street Address: " + Address_Street+ " ";