是否可以从 Eclipse Web 服务资源管理器生成 WS 操作的代码?

发布于 2024-10-17 18:50:54 字数 234 浏览 10 评论 0原文

我已经成功地从 eclipse WS explorer 测试了 WS 操作。我在编写 WS 操作的所有必需参数(许多非 Java 类型)时遇到问题。我通过向导创建了 WS 客户端。

是否可以生成调用与 WS 资源管理器中相同操作的代码?

如果无法做到这一点,那么查看传出 SOAP 请求的最佳方法是什么,以便我可以更好地查看哪个参数为空/缺失?我正在通过隧道连接到 WS 端点,因此我看不到 Wireshark 等数据包。

I have successfully tested WS operation from eclipse WS explorer. I have problems with programming all the neccessary parameters for WS operation (lots of non Java types). I created my WS client from wizard.

Is it possbile to generate code that would call the same operation as in WS explorer?

If that can't be done, what is the best way to view outgoing SOAP request so i can better see which parameter is null/missing? I am tunneling my connection to the WS endpoint, so i can't see packets with e.g. Wireshark.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

盗琴音 2024-10-24 18:50:54

您可以使用Eclipse 的TCP/IP 监视器来监视Web 服务。
检查:使用 TCP/IP 监视器测试 Web 服务

You can use TCP/IP monitor of Eclipse to monitor web services.
Check: Using the TCP/IP Monitor to test Web services

画▽骨i 2024-10-24 18:50:54

您可以使用 SOAPUI 查看肥皂请求和响应。您也可以参考以下注释的第 9.5 节:-
http://www.slideshare.net/krizsan/scdjws-5-study -注释-3085287

You can use SOAPUI to view the soap request and responses. Also you can refer to the section 9.5 of the notes below: -
http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文