java开发微信公众号完整


微信公众平台开发的所有流程的代码,包括接收xml数据、解析xml数据、调用图灵机器人api接口获取智能回复内容、封装结果xml数据等
资源截图
代码片段和文件信息
package demo.entity;
/**
 * 接收到的微信xml实体类
 * @author pamchen-1
 *
 */
public class ReceivexmlEntity {
private String ToUserName=““;
private String FromUserName=““;
private String CreateTime=““;
private String MsgType=““;
private String MsgId=““;
private String Event=““;
private String EventKey=““;
private String Ticket=““;
private String Latitude=““;
private String Longitude=““;
private String Precision=““;
private String PicUrl=““;
private String MediaId=““;
private String title=““;
private String Description=““;
private String Url=““;
private String Location_X=““;
private String Location_Y=““;
private String Scale=““;
private String Label=““;
private String Content=““;
private String Format=““;
private String Recognition=““;

public String getRecognition() {
return Recognition;
}
public void setRecognition(String recognition) {
Recognition = recognition;
}
public String getFormat() {
return Format;
}
public void setFormat(String format) {
Format = format;
}
public String getContent() {
return Content;
}
public void setContent(String content) {
Content = content;
}
public String getLocation_X() {
return Location_X;
}
public void setLocation_X(String locationX) {
Location_X = locationX;
}
public String getLocation_Y() {
return Location_Y;
}
public void setLocation_Y(String locationY) {
Location_Y = locationY;
}
public String getScale() {
return Scale;
}
public void setScale(String scale) {
Scale = scale;
}
public String getLabel() {
return Label;
}
public void setLabel(String label) {
Label = label;
}
public String gettitle() {
return title;
}
public void settitle(String title) {
title = title;
}
public String getDescription() {
return Description;
}
public void setDescription(String description) {
Description = description;
}
public String getUrl() {
return Url;
}
public void setUrl(String url) {
Url = url;
}
public String getPicUrl() {
return PicUrl;
}
public void setPicUrl(String picUrl) {
PicUrl = picUrl;
}
public String getMediaId() {
return MediaId;
}
public void setMediaId(String mediaId) {
MediaId = mediaId;
}
public String getEventKey() {
return EventKey;
}
public void setEventKey(String eventKey) {
EventKey = eventKey;
}
public String getTicket() {
return Ticket;
}
public void setTicket(String ticket) {
Ticket = ticket;
}
public String getLatitude() {
return Latitude;
}
public void setLatitude(String latitude) {
Latitude = latitude;
}
public String getLongitude() {
return Longitude;
}
public void setLongitude(String longitude) {
Longitude = longitude;
}
public String getPrecision() {
return Precision;
}
public void setPrecision(String precision) {
Precision = precision;
}
public String getEvent() {
return Event;
}
public void setEvent(String 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        745  2014-08-20 23:53  wxDemo.classpath

     文件        303  2014-08-20 22:59  wxDemo.mymetadata

     文件       1067  2014-08-20 22:59  wxDemo.project

     文件       3722  2014-08-20 23:44  wxDemosrcdemoentityReceivexmlEntity.java

     文件        823  2014-08-21 00:13  wxDemosrcdemoprocessFormatxmlProcess.java

     文件       1735  2014-08-20 23:46  wxDemosrcdemoprocessReceivexmlProcess.java

     文件       2021  2014-08-21 00:03  wxDemosrcdemoprocessTulingApiProcess.java

     文件       1184  2014-08-21 00:14  wxDemosrcdemoprocessWechatProcess.java

     文件       2778  2014-08-20 23:29  wxDemosrcdemoservletWechatServlet.java

     文件        834  2014-08-20 22:59  wxDemoWebRootindex.jsp

     文件         36  2014-08-20 22:59  wxDemoWebRootmeta-INFMANIFEST.MF

     文件       5282  2014-08-20 23:53  wxDemoWebRootWEB-INFclassesdemoentityReceivexmlEntity.class

     文件       1207  2014-08-21 00:13  wxDemoWebRootWEB-INFclassesdemoprocessFormatxmlProcess.class

     文件       2608  2014-08-20 23:53  wxDemoWebRootWEB-INFclassesdemoprocessReceivexmlProcess.class

     文件       2738  2014-08-21 00:03  wxDemoWebRootWEB-INFclassesdemoprocessTulingApiProcess.class

     文件       1206  2014-08-21 00:14  wxDemoWebRootWEB-INFclassesdemoprocessWechatProcess.class

     文件       2471  2014-08-20 23:53  wxDemoWebRootWEB-INFclassesdemoservletWechatServlet.class

     文件      38015  2014-06-16 16:13  wxDemoWebRootWEB-INFlibcommons-logging-1.0.4.jar

     文件     313898  2014-05-15 13:57  wxDemoWebRootWEB-INFlibdom4j-1.6.1.jar

     文件     585603  2014-06-16 16:13  wxDemoWebRootWEB-INFlibhttpclient-4.3.1.jar

     文件     282160  2014-06-16 16:13  wxDemoWebRootWEB-INFlibhttpcore-4.3.jar

     文件     119888  2014-06-16 16:13  wxDemoWebRootWEB-INFliborg.json.jar

     文件        802  2014-08-20 23:01  wxDemoWebRootWEB-INFweb.xml

     目录          0  2014-08-20 23:53  wxDemoWebRootWEB-INFclassesdemoentity

     目录          0  2014-08-21 00:13  wxDemoWebRootWEB-INFclassesdemoprocess

     目录          0  2014-08-20 23:53  wxDemoWebRootWEB-INFclassesdemoservlet

     目录          0  2014-08-20 23:53  wxDemoWebRootWEB-INFclassesdemo

     目录          0  2014-08-20 23:44  wxDemosrcdemoentity

     目录          0  2014-08-21 00:13  wxDemosrcdemoprocess

     目录          0  2014-08-20 23:01  wxDemosrcdemoservlet

............此处省略12个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)