Revamp Java Web Service code after WSDL creation


//Code sample #1
//...
//BEFORE: Web Service code in its entirety, prior to Provider WSDL creation
//...
public class DominoTestWebService { 
	//TODO: modify this Web Service after WSDL creation
	//return txt variable

	//Code will likely change after Service has been finalized

	//2017.08.16.9.57.PM
    public String HelloWorld (String txt) { 
        return "Hello " + txt; 
    }
}


//Code sample #2
//...
//AFTER: Web Service code without String "Hello " + txt, Provider WSDL created at this point
//...
public class DominoTestWebService {
	public java.lang.String helloWorld(java.lang.String txt) {

        //null, in this case, will be returned when you run the JavaAgent to consume this Provider Servcice
		return null; [Add txt instead of null]
	}

}
All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.
No comments yetLogin first to comment...