摘要:
4.8使用vb6.0调用
需下载mssoaptoolkit20.exe
添加引用:microsoft soap type library
位置:”c:\program files\common files\mssoap\binaries\ mssoap1.dll”
调用方法:
dim cc as new mssoaplib.soapclient
例程:
新建工程ɨ......
摘要:
需下载mssoaptoolkit20.exe
引用:mssoap.soapclient
例程:
var wsdl_url = "http://192.168.0.4/yundan/service1.wsdl"
wscript.echo("connecting: " + wsdl_url)
var calc = wscript.createo......
webservice系列教学(12)-如何调用webservice(vc3)
< mclientdlg.cpp>
// mclientdlg.cpp : implementation file
//
#include "stdafx.h"
#include "mclient.h"
#include "mclientdlg.h"
#include "atlbase.h"
#ifdef _debug
#define new debug_new
#undef this_file
static char this_file[] = __file__;
#endif
/////////////////////////////////////////////////////////////////////////////
// cmclientdlg dialog
cmclientdlg::cmclientdlg(cwnd* pparent /*=null*/)
: cdialog(cmclientdlg::idd, pparent)
{
//{{afx_data_init(cmclientdlg)
m_strparameter = _t("");
m_strurl = _t("");
//}}afx_data_init
// note that loadicon does not require a subsequent destroyicon in win32
m_hicon = afxgetapp()->loadicon(idr_mainframe);
}
void cmclientdlg::dodataexchange(cdataexchange* pdx)
{
cdialog::dodataexchange(pdx);
//{{afx_data_map(cmclientdlg)
ddx_control(pdx, idc_tree, m_treectrl);
ddx_control(pdx, idc_listparam, m_parameters);
ddx_text(pdx, idc_parameter, m_strparameter);
ddx_text(pdx, idc_url, m_strurl);
//}}afx_data_map
}
begin_message_map(cmclientdlg, cdialog)
//{{afx_msg_map(cmclientdlg)
on_...
下一页 摘要:
4.1 使用powerbuilder调用
适用版本8.0 需下载bulletin web services toolkit 4.1
4.2使用java调用
需要下载apache soap。下载地址:http://xml.apache.org/soap/index.html
导入:
import org.apache.soap.*;
import org.apache.soap.r......