axis调用webservice接口
老版本1.6之前的jdk对CFX调用webservice支持很差,故本文采用axis的调用方式。 代码示例: package com.cssun.util; import org.apache.axis.client.Call; import org.apache.axis.client.Service; import org.apache.axis.encoding.XMLType; import org.dom4j.Document; import org.dom4j.DocumentHelper; import org.dom4j.Element; import javax.xml.namespace.QName; import javax.xml.rpc.ParameterMode; import javax.xml.rpc.ServiceException; import java.io.UnsupportedEncodingException; import java.rmi.RemoteException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class SendMsgClient { private String url;