简体   繁体   English

是否可以从Eclipse Web Services Explorer中为WS操作生成代码?

[英]Is it possible to generate code for WS operations from eclipse web services explorer?

I have successfully tested WS operation from eclipse WS explorer. 我已经从Eclipse WS Explorer成功测试了WS操作。 I have problems with programming all the neccessary parameters for WS operation (lots of non Java types). 我在编写WS操作的所有必要参数时遇到了问题(很多非Java类型的参数)。 I created my WS client from wizard. 我从向导创建了WS客户端。

Is it possbile to generate code that would call the same operation as in WS explorer? 是否可以生成将调用与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? 如果不能做到这一点,查看传出SOAP请求的最佳方法是什么,以便我可以更好地查看哪个参数为null / missing? I am tunneling my connection to the WS endpoint, so i can't see packets with eg Wireshark. 我正在将我的连接隧道传输到WS端点,所以我看不到Wireshark等数据包。

You can use SOAPUI to view the soap request and responses. 您可以使用SOAPUI查看肥皂请求和响应。 Also you can refer to the section 9.5 of the notes below: - http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287 您也可以参考以下说明的9.5节:-http: //www.slideshare.net/krizsan/scdjws-5-study-notes-3085287

You can use TCP/IP monitor of Eclipse to monitor web services. 您可以使用Eclipse的TCP / IP监视器来监视Web服务。 Check: Using the TCP/IP Monitor to test Web services 检查: 使用TCP / IP监视器测试Web服务

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

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