<xml>
<ToUserName><![CDATA[gh_1c294dcb1d04]]></ToUserName>
<FromUserName><![CDATA[oTK3ot2yBeDEeVAjJBxQvOkK95NE]]></FromUserName>
<CreateTime>1445846811038</CreateTime>
<MsgType><![CDATA[transfer_customer_service]]></MsgType>
<TransInfo>
<KfAccount><![CDATA[admin@heyzhishi]]></KfAccount>
</TransInfo>
</xml>
按照微信api的要求 post此xml到微信服务器 但是却不能转接到多客服
post方法如下
@RequestMapping(value = "/checkWeiXin.do", method = RequestMethod.POST)
public String responseMessage(HttpServletRequest request,
HttpServletResponse response) {
try {
request.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8");
String resMessage = CoreService.processRequest(request);
System.out.println(resMessage);
return resMessage;
} catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
}
求教大神