【问题标题】:WSDL Response without body element没有正文元素的 WSDL 响应
【发布时间】:2019-01-22 10:58:37
【问题描述】:

我的任务是创建一个 SOAP Web 服务,并且响应不应包含如下所示的 body 元素

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><ns0:Response xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns="http://www.tibco.com/schemas/Schema.xsd8" xmlns:ns0="http://www.tibco.com/schemas/Schema.xsd8"><ns0:ResponseRefId>236514</ns0:ResponseRefId><ns0:ResponseCode>9999</ns0:ResponseCode><ns0:ResponseMsg>Authentication Failed, try again with correct credentials</ns0:ResponseMsg>      </ns0:Response></SOAP-ENV:Header></SOAP-ENV:Envelope>

我关心的是是否有可能创建一个没有正文元素的响应的 SOAP 服务。我正在使用 Tibco BW 5 来创建服务。

【问题讨论】:

    标签: soap soa tibco-business-works tibco-designer


    【解决方案1】:

    您应该为您的问题添加更多详细信息。您想通过使用 SOAP 来实现什么? SOAP 面板和 BW SOAP 活动自动创建 SOAP 消息的结构。在 SOAP 中,BODY is a mandatory element TIBCO BW 有一个SOAP Palette in their documentation。您应该参考文档以获取更多参考。

    我建议您扩展问题以更好地帮助您。

    【讨论】:

    • 非常感谢。我只是想知道 body 元素是否是强制性的。
    猜你喜欢
    • 1970-01-01
    • 2016-03-26
    • 1970-01-01
    • 1970-01-01
    • 2016-05-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-28
    相关资源
    最近更新 更多