Web services 未引用的SoapAction HTTP头是否会导致web服务中出现问题?

Web services 未引用的SoapAction HTTP头是否会导致web服务中出现问题?,web-services,soap,request-headers,Web Services,Soap,Request Headers,我对web服务进行SOAP调用,然后在日志中显示这些错误(我认为实际上是信息/警告): INFO: Received WS-I BP non-conformant Unquoted SoapAction HTTP header: myAction Sep 28, 2016 7:13:54 AM com.sun.xml.ws.transport.http.HttpAdapter fixQuotesAroundSoapAction 此警告是否会导致实际问题?或者FixQuotesRoundSoap

我对web服务进行SOAP调用,然后在日志中显示这些错误(我认为实际上是信息/警告):

INFO: Received WS-I BP non-conformant Unquoted SoapAction HTTP header: myAction
Sep 28, 2016 7:13:54 AM com.sun.xml.ws.transport.http.HttpAdapter fixQuotesAroundSoapAction

此警告是否会导致实际问题?或者FixQuotesRoundSoapAction方法在看到问题时是否修复了它?我想知道在日志中看到这两行是否应该引起关注,或者我可以忽略它们吗?

如果您查看com.sun.xml.internal.ws.transport.http.HttpAdapter类,有一个名为“FixQuotesRoundSoapAction”的方法,带有逻辑

如果SOAPAction不为null,并且它不以双引号开始并以双引号结束,那么它会记录所提到的警告,并通过在SOAPAction字符串的开始和结束处添加双引号进行修复

您可以忽略或通知Web服务提供商有关SOAPAction http头的信息

这是方法

private String fixQuotesAroundSoapAction(String soapAction) {
    if(soapAction == null || soapAction.startsWith("\"") && soapAction.endsWith("\"")) {
        return soapAction;
    } else {
        LOGGER.warning("Received WS-I BP non-conformant Unquoted SoapAction HTTP header: " + soapAction);
        String fixedSoapAction = soapAction;
        if(!soapAction.startsWith("\"")) {
            fixedSoapAction = "\"" + soapAction;
        }

        if(!soapAction.endsWith("\"")) {
            fixedSoapAction = fixedSoapAction + "\"";
        }

        return fixedSoapAction;
    }
}

颠簸