axis2组装发送报文
/**
* 组装报文
* @return
*/
public static OMElement getBody()
{
String nsValue = "http://com";
String nsName = "m";
OMFactory fac = OMAbstractFactory.getOMFactory();
OMNamespace ns = fac.createOMNamespace(nsValue, nsName);
OMElement method = fac.createOMElement("getName", ns);//执行的方法
OMElement value = fac.createOMElement("name", ns);//name为方法的形参
value.addChild(fac.createOMText("yangxiutian"));//yangxiutian为传入的值
method.addChild(value);
return method;
}