简体   繁体   English

SOAP Web服务

[英]SOAP webservice

I am trying to create the web services client and for that generated the proxy classes using wsdl file. 我正在尝试创建Web服务客户端,并为此使用wsdl文件生成了代理类。 After that i follow the below steps: 之后,请按照以下步骤操作:

  1. created the service class object 创建了服务类对象
  2. using service class got the associated port 使用服务类获得了关联的端口
  3. invoking the service method on the port object. 在端口对象上调用服务方法。

My services class(server side code) signature is something like this: 我的服务类(服务器端代码)签名是这样的:

public javax.xml.soap.SOAPElement validateAddress(javax.xml.soap.SOAPElement validateAddress){

    .......

    return SOAPElement ;
}

my problem is i don't have any idea how to create SOAPElement object to call this method as well as after receiving SOAPElement as a result how to extract that to get the actual value. 我的问题是我不知道如何创建SOAPElement对象来调用此方法,以及在接收到SOAPElement之后如何提取该值以获取实际值。

can anybody help me on this... 有人可以帮我吗...

Thanks for advance. 感谢前进。

您可以遵循编写良好的完整指南: http : //www.ibm.com/developerworks/webservices/tutorials/ws-jse/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM