我被困在我必须使用Web服务的地方。当我向服务器发送请求时,我遇到了以下问题:
严重:WSP1007:完成WSDL解析时发生了策略异常。 com.sun.xml.ws.policy.PolicyException:WSP0010:Unexpanded" POLICY_REFERENCE"节点找到引用策略:X509TokenIntegrity-2.00
有人知道怎么做吗?提前谢谢
<wsdl:operation name="sayHello">
<soap:operation style="document" soapAction="sayHello"/>
<wsdl:input>
<soap:header message="tns:headerRequest" part="requestheader" use="literal"/>
<soap:body parts="body" use="literal"/>
<wsp:Policy>
<wsp:PolicyReference URI="policy:X509TokenIntegrity-2.00"/>
<wsp:PolicyReference URI="policy:X509TokenIdentificationWOTokenSignature-2.00"/>
</wsp:Policy>
</wsdl:input>
<wsdl:output>
<soap:header message="tns:headerResponse" part="responseheader" use="literal"/>
<soap:body parts="response" use="literal"/>
</wsdl:output>
</wsdl:operation>