处理RequestMetadata标记错误时发生错误

时间:2020-03-30 08:28:30

标签: java soap

我开发了soapwebservice,它使用了Java中的另一个soap服务

我试图通过如下所示触发端点,但是面临“处理时发生故障”。

<?xml version="1.0" encoding="UTF-8"?>
<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:textooo="http://openoffice.org/2013/office" office:version="1.2"><office:meta><meta:initial-creator>Lubor Voleský</meta:initial-creator><meta:creation-date>2019-01-09T22:04:27.08</meta:creation-date><dc:date>2020-04-07T18:30:26</dc:date><meta:editing-duration>PT20H5M8S</meta:editing-duration><meta:editing-cycles>26</meta:editing-cycles><meta:generator>OpenOffice/4.1.5$Unix OpenOffice.org_project/415m1$Build-9789</meta:generator><dc:description>comment</dc:description><meta:keyword>keywords</meta:keyword><dc:subject>Subject</dc:subject><dc:title>Title</dc:title><meta:document-statistic meta:table-count="1" meta:image-count="1" meta:object-count="0" meta:page-count="1" meta:paragraph-count="19" meta:word-count="39" meta:character-count="256"/><meta:user-defined meta:name="Producer">OpenTBS 1.9.6</meta:user-defined></office:meta></office:document-meta>

但是当我碰到时,我可以看到响应。

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v1="http://xxxxx">
   <soapenv:ServiceMetadata>
     <ServiceMetadata>         
     </ServiceMetadata>
   </soapenv:ServiceMetadata>
  <soapenv:Body>
 <v1:ServiceListRequest/>
 </soapenv:Body>
</soapenv:Envelope>

我可以知道确切的问题是什么吗?为什么不适用于ServiceMetada。

注意:我可以看到很多与此问题相关的问题,但是找不到与标签问题类似的问题。如果有的话,我很乐意进行审查。

谢谢

0 个答案:

没有答案