*/
public SipcRequest createSetPersonalInfoRequest()
{
SipcRequest req = this.createDefaultSipcRequest(SipcMethod.SERVICE);
NodeBuilder builder = new NodeBuilder();
//因为用户可以改变自己的信息,这里权限改变了所以不使用BeanHelper来处理
builder.add("nickname", StringHelper.qouteHtmlSpecialChars(user.getNickName()));
builder.add("impresa", StringHelper.qouteHtmlSpecialChars(user.getImpresa()));
//用户扩展信息。.TODO ..
//BeanHelper.toUpdateXML(BuddyExtend.class, this.client.getFetionUser(), builder);
String body = MessageTemplate.TMPL_SET_PERSONAL_INFO;
body = body.replace("{personal}", builder.toXML("personal"));
req.addHeader(SipcHeader.EVENT,"SetUserInfoV4");
req.setBody(new SipcBody(body));
return req;