Mule 基于内容的Web服务路由错误

Mule 基于内容的Web服务路由错误,mule,Mule,我想为SOAP消息实现基于内容的路由。我得到了这个错误“ 无效的UTF-8起始字节0xac(在字符#1处,字节#-1)”。Web服务位于Axis2中 我的mule-config.xml是 <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins

我想为SOAP消息实现基于内容的路由。我得到了这个错误“ 无效的UTF-8起始字节0xac(在字符#1处,字节#-1)”。Web服务位于Axis2中

我的mule-config.xml是

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:pattern="http://www.mulesoft.org/schema/mule/pattern"
      xmlns:http="http://www.mulesoft.org/schema/mule/http"
      xmlns:mule-xml="http://www.mulesoft.org/schema/mule/xml"      
      xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/3.4/mule.xsd
http://www.mulesoft.org/schema/mule/pattern http://www.mulesoft.org/schema/mule/pattern/3.1/mule-pattern.xsd
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/3.4/mule-http.xsd
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/3.4/mule-xml.xsd">

  <mule-xml:namespace-manager>
    <mule-xml:namespace prefix="ns1" uri="http://www.example.org/hello1"/>
    <mule-xml:namespace prefix="ns2" uri="http://www.example.org/hello2"/>
  </mule-xml:namespace-manager>

  <flow name="XPathExample">

    <http:inbound-endpoint address="http://localhost:8086/services" />

    <choice>

      <when evaluator="xpath" expression="//*/namespace::*[name()='ns1'] = 'http://www.example.org/hello1'">
        <http:outbound-endpoint address="http://localhost:8080/axis2/services/hello1" />
      </when>           

      <when evaluator="xpath" expression="//*/namespace::*[name()='ns2'] = 'http://www.example.org/hello2'">
        <http:outbound-endpoint address="http://localhost:8080/axis2/services/hello2" />
      </when>        

    </choice>

  </flow>
</mule>


如果将用于发送请求的客户端指向on,是否也有错误?想看看这是不是骡子引起的问题。另外,是否存在操作系统的混合,更具体地说,是否涉及一些窗口?您好,我通过向出站端点和入站端点添加contentType=“application/soap+xml”和encoding=“UTF-8”解决了这个问题。这是在Ubuntu中开发和运行的