Skip to main content
  • Create and instance of %SOAP.WSDL.ReaderOpens in a new tab and use its Process method together with the WSDL url of the service to generate the client.

    
    USER>Set url="http://localhost:57772/csp/user/CInfo.WebService.CLS?WSDL=1"
     
    USER>Set reader = ##class(%SOAP.WSDL.Reader).%New()
     
    USER>Write reader.Process(url)
     
    Compilation started on 09/26/2014 11:38:14 with qualifiers 'dk', compiling 2 classes, using 8 worker jobs
    Compiling class CompanyInfo.Address
    Compiling class CompanyInfo.Company
    Compiling routine CompanyInfo.Address.1
    Compiling routine CompanyInfo.Company.1
    Compilation finished successfully in 0.274s.
     
    Compilation started on 09/26/2014 11:38:14 with qualifiers 'dk'
    Compiling class CompanyInfo.CompanyInfoSoap
    Compiling routine CompanyInfo.CompanyInfoSoap.1
    Compiling class CompanyInfo.CompanyInfoSoap.CreateCompanies
    Compiling class CompanyInfo.CompanyInfoSoap.GetCompanyInfo
    Compiling routine CompanyInfo.CompanyInfoSoap.CreateCompanies.1
    Compiling routine CompanyInfo.CompanyInfoSoap.GetCompanyInfo.1
    Compilation finished successfully in 0.168s.
    
    

  • FeedbackOpens in a new tab