📄 helloworld.java~1~
字号:
package test;/** * <p>Title: </p> * <p>Description: </p> * <p>Copyright: Copyright (c) 2003</p> * <p>Company: </p> * @author qy * @version 1.0 */import java.io.*;import weblogic.jws.proxies.*;public class helloworld { public static void main(String[] args) {try{ //生成代理类的实例,一般代理类名为服务名+_Impl HelloWorld_Impl proxy = new HelloWorld_Impl(); //使用SOAP来访问服务。 HelloWorldSoap soapProxy = proxy.getHelloWorldSoap(); String input = null; BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter Your Name:"); Try { input = stdin.readLine(); } catch (IOException e) { e.printStackTrace(); } //soapProxy.hello(input)调用服务的方法。 System.out.println(soapProxy.hello(input)); } catch (Exception e) { e.printStackTrace(); } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -