今天接到任务,做一个java调用webservice实现短信的发送,基本不会。求助代码
http://220.201.207.234/umswebservice/messageinterop.asmx
连接到统一消息平台。连接成功建立后下面的其它方法才能有效。uid-UMS接入帐号,pwd-接入口令。通过平台分配的登录帐号和密码与平台连接。
public bool Connect(string sUid, string sPwd)

断开与统一消息平台的连接。
public bool Disconnect()

向统一消息平台发送消息。xmlResponse-统一外发消息,消息格式参见二中实例说明。
public int SendMessage(string sXmlResponse)

从统一消息平台接收消息。msgType-消息类型,xmlMsg-消息内容。
public int ReceiveMessage(out int iMsgType, out string sXmlMsg)

获取可管理的计费帐号上的余额。
public int GetBalance(string sAccount, out int iBalance)多谢大家解答了