通常 Web 服务通过如下请求返回 WSDL:
http://web_server_host.com/WS_virtual_folder/?wsdl
我已经创建了 Siebel Inbound WS。 我的 WS 的 URL 如下所示:
可以通过单击“生成 WSDL”按钮在 Siebel UI 中生成 WSDL。 我试图让我的 WS 返回 WSDL:我在我的 WS 的 URL 中添加了一个参数 &wsdl 。 它不起作用: 当我通过网络浏览器请求 URL 时(仅发送 URL,没有 SOAP 消息) - 我收到如下错误:
<SOAP-ENV:Envelope>
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Supplied input is not well formed or does not contain the expected data.(SBL-EAI-00137)</faultstring>
<detail>
<siebelf:siebdetail>
<siebelf:logfilename>EAIObjMgr_enu_0026_27262989.log</siebelf:logfilename>
<siebelf:errorstack>
<siebelf:error>
<siebelf:errorcode>SBL-EAI-00137</siebelf:errorcode>
<siebelf:errorsymbol>IDS_EAI_WS_BAD_XML_DOCUMENT</siebelf:errorsymbol>
<siebelf:errormsg>Supplied input is not well formed or does not contain the expected data.(SBL-EAI-00137)</siebelf:errormsg>
</siebelf:error>
<siebelf:error>
<siebelf:errorcode>SBL-EAI-00246</siebelf:errorcode>
<siebelf:errorsymbol>IDS_XMLCNV_ERR_EMPTYMSG</siebelf:errorsymbol>
<siebelf:errormsg>XML Hierarchy Converter error - empty input message, expecting an XML document in <Value> of input arguments(SBL-EAI-00246)</siebelf:errormsg>
</siebelf:error>
</siebelf:errorstack>
</siebelf:siebdetail>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
此响应(错误)对于两个 URL(带或不带参数 &wsdl)是相同的
当我通过 SoapUI 请求 URL(soap 消息正在发送)时 - 我再次收到两个 URL 的相同响应(带或不带参数 &wsdl)
是否存在这种可能性:通过请求 URL 从 Siebel Inbound WS 获取 WSLD? 我在书架上没有找到任何关于它的提及。
提前致谢。 谢尔盖
最佳答案
Siebel WSDL 无法像 Axis 服务一样从 URL 生成。唯一的方法是登录到应用程序并单击 Webservices 屏幕中的“Generate WSDL”按钮。
关于web-services - 如何通过向 Siebel Inbound WebService 请求获取 WSDL?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38716499/