简体   繁体   English

web 服务的 weblogic 服务器测试页面与 wsdl 不同

[英]weblogic server Test page for web service is different from wsdl

I have problem with weblogic server Test page for web service which is different from wsdl.我对与 wsdl 不同的 web 服务的 weblogic 服务器测试页面有问题。 If i run from Jdeveloper then i get textfileds which i can enter and press invoke at web there is just xml which is wrong.如果我从 Jdeveloper 运行,那么我会得到文本文件,我可以在 web 处输入并按下调用,只有 xml 是错误的。 Why Weblogic create wring WS test?为什么 Weblogic 创建 wring WS 测试?

You are mistaking the capabilities of the JDeveloper IDE with basic web service definitions.您将 JDeveloper IDE 的功能误认为是基本的 web 服务定义。

WSDL is an XML file, so when you deploy your WSDL on a target server, it will open up and show you the XML content. WSDL 是 XML 文件,因此当您在目标服务器上部署 WSDL 时,它将打开并显示 Z35001BB093D9BZCFED139638 内容。 This is the same as opening the WSDL file in a browser directly.这与直接在浏览器中打开 WSDL 文件相同。

JDeveloper as an IDE has additional tools that allow embedded testing of the web service, allowing you to pass parameters and see the output.作为 IDE 的 JDeveloper 具有允许对 web 服务进行嵌入式测试的附加工具,允许您传递参数并查看 output。

For testing your WSDL without JDeveloper, you need to write a client that will call the web service and get the results.要在没有 JDeveloper 的情况下测试您的 WSDL,您需要编写一个客户端来调用 web 服务并获取结果。

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

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