资源简介

本文主要讲述使用powerbuilder12.5开发webservice的详细过程 1-开发工具 PowerBuilder 12.5 2-操作系统 WIN7旗舰版64位 包含服务的创建和调用。

资源截图

代码片段和文件信息

//------------------------------------------------------------------------------
// 
//     此代码由工具生成。
//     运行时版本:2.0.50727.8762
//
//     对此文件的更改可能会导致不正确的行为,并且如果
//     重新生成代码,这些更改将会丢失。
// 

//------------------------------------------------------------------------------

// 
// This source code was auto-generated by wsdl Version=2.0.50727.1432.
// 
namespace WebService {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.xml.Serialization;
    
    
    /// 
    [System.CodeDom.Compiler.GeneratedCodeAttribute(“wsdl“ “2.0.50727.1432“)]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute(“code“)]
    [System.Web.Services.WebServiceBindingAttribute(Name=“interfaceSoap“ Namespace=“http://tempurl.org“)]
    public partial class @interface : System.Web.Services.Protocols.SoapHttpClientProtocol {
        
        private System.Threading.SendOrPostCallback get_bqmcOperationCompleted;
        
        private System.Threading.SendOrPostCallback helloOperationCompleted;
        
        /// 
        public @interface() {
            string urlSetting = System.Configuration.ConfigurationManager.AppSettings[“EndpointURL“];
            if ((urlSetting != null)) {
                this.Url = urlSetting;
            }
            else {
                this.Url = “http://localhost/webservice/interface.asmx“;
            }
        }
        
        /// 
        public event get_bqmcCompletedEventHandler get_bqmcCompleted;
        
        /// 
        public event helloCompletedEventHandler helloCompleted;
        
        /// 
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute(“http://tempurl.org/get_bqmc“ RequestNamespace=“http://tempurl.org“ ResponseNamespace=“http://tempurl.org“ Use=System.Web.Services.Description.SoapBindingUse.Literal Parameterstyle=System.Web.Services.Protocols.SoapParameterstyle.Wrapped)]
        [return: System.xml.Serialization.xmlElementAttribute(IsNullable=true)]
        public System.Nullable get_bqmc([System.xml.Serialization.xmlElementAttribute(IsNullable=true)] string as_bqdm [System.xml.Serialization.xmlElementAttribute(IsNullable=true)] ref string as_bqmc) {
            object[] results = this.Invoke(“get_bqmc“ new object[] {
                        as_bqdm
                        as_bqmc});
            as_bqmc = ((string)(results[1]));
            return ((System.Nullable)(results[0]));
        }
        
        /// 
        public System.IAsyncResult Beginget_bqmc(string as_bqdm string as_bqmc System.AsyncCallback callback object asyncState) {
            return this.BeginInvoke(“get_bqmc“ new object[] {
                        as_bqdm
              

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        170  2017-09-14 17:03  PB_WEBSERVICE_DEMO\Create_Webservice\interface.pbw

     文件        120  2017-09-14 17:03  PB_WEBSERVICE_DEMO\Create_Webservice\pb2cstempout\csc_output_file_name.txt

     文件      23863  2017-09-14 17:03  PB_WEBSERVICE_DEMO\Create_Webservice\pb2cstempout\DeployLog.txt

     文件          2  2016-09-04 07:47  PB_WEBSERVICE_DEMO\Create_Webservice\pb2cstempout\log.txt

     文件        652  2017-09-14 17:03  PB_WEBSERVICE_DEMO\Create_Webservice\pb2cstempout\projectinfo.txt

     文件      13824  2011-07-18 17:41  PB_WEBSERVICE_DEMO\Create_Webservice\pbsoapclient125.pbd

     文件      11264  2017-09-14 17:03  PB_WEBSERVICE_DEMO\Create_Webservice\webservice.pbd

     文件      49664  2017-09-14 16:58  PB_WEBSERVICE_DEMO\Create_Webservice\webservice.pbl

     文件        292  2017-09-13 10:47  PB_WEBSERVICE_DEMO\Create_Webservice\webservice.pbt

     文件         80  2016-09-04 07:44  PB_WEBSERVICE_DEMO\Create_Webservice\webservice.usr.opt

     文件    2866165  2017-09-13 10:49  PB_WEBSERVICE_DEMO\PowerBuilder125开发Webservice的DEMO_从配置IIS到发布接口.docx

     文件        155  2016-09-04 09:09  PB_WEBSERVICE_DEMO\readme.txt

     文件      27648  2016-09-04 08:24  PB_WEBSERVICE_DEMO\Use_Webservice\app.exe

     文件      21504  2016-09-04 08:24  PB_WEBSERVICE_DEMO\Use_Webservice\app.pbd

     文件      34816  2017-09-15 08:52  PB_WEBSERVICE_DEMO\Use_Webservice\app.pbl

     文件        138  2016-09-04 07:59  PB_WEBSERVICE_DEMO\Use_Webservice\app.pbt

     文件        149  2017-09-15 08:48  PB_WEBSERVICE_DEMO\Use_Webservice\demo.pbw

     文件       9728  2006-03-22 11:17  PB_WEBSERVICE_DEMO\Use_Webservice\pbsoapclient90.pbd

     文件      64512  2017-09-14 17:03  PB_WEBSERVICE_DEMO\Use_Webservice_125\app.pbl

     文件        139  2016-09-04 09:02  PB_WEBSERVICE_DEMO\Use_Webservice_125\app.pbt

     文件        584  2017-09-14 16:22  PB_WEBSERVICE_DEMO\Use_Webservice_125\app.usr.opt

     文件        149  2017-09-14 17:03  PB_WEBSERVICE_DEMO\Use_Webservice_125\demo.pbw

     文件       8704  2017-09-14 15:57  PB_WEBSERVICE_DEMO\Use_Webservice_125\interface.dll

     文件      13824  2009-01-23 10:35  PB_WEBSERVICE_DEMO\Use_Webservice_125\pbsoapclient115.pbd

     文件      13824  2011-07-18 17:41  PB_WEBSERVICE_DEMO\Use_Webservice_125\pbsoapclient125.pbd

     文件       9728  2006-12-07 13:50  PB_WEBSERVICE_DEMO\Use_Webservice_125\pbsoapclient90.pbd

     文件       4763  2016-09-04 08:31  PB_WEBSERVICE_DEMO\Use_Webservice_125\p_interface_2.wsdl

     文件      42432  2011-07-21 10:32  PB_WEBSERVICE_DEMO\Use_Webservice_125\Sybase.Powerbuilder.WebService.Runtime.dll

     文件     150976  2011-07-21 10:32  PB_WEBSERVICE_DEMO\Use_Webservice_125\Sybase.PowerBuilder.WebService.RuntimeRemoteLoader.dll

     文件      30144  2011-07-21 10:30  PB_WEBSERVICE_DEMO\Use_Webservice_125\Sybase.PowerBuilder.WebService.WSDL.dll

............此处省略46个文件信息

评论

共有 条评论