FileDocCategorySizeDatePackage
PingImpl.javaAPI DocExample2804Tue May 29 16:58:46 BST 2007wstrust.scenario5n10.server

PingImpl

public class PingImpl extends Object implements IPingService

Fields Summary
Constructors Summary
Methods Summary
public PingResponseBodyping(Ping ping)

        
        PingResponseBody resp = new PingResponseBody();
        
        String scenario = ping.getScenario();
        System.out.println("scenario = " + scenario);
        resp.setScenario(scenario);
        
        String origin = ping.getOrigin();
        System.out.println("origin = " + origin);
        resp.setOrigin(origin);
        
        String text = ping.getText();
        System.out.println("text = " + text);
        resp.setText(text);
        
        return resp;