我的任务是创建一个 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 创建服务。