FSharp.Data.TypeProviders


The WsdlService Type Provider (FSharp.Data.TypeProviders)

Please see Walkthrough: Walkthrough: Accessing a Web Service by Using Type Providers

NOTE: Use FSharp.Data.TypeProviders instead of Microsoft.FSharp.Data.TypeProviders

Reference

Please see the MSDN Documentation

Example

Please see Walkthrough: Walkthrough: Accessing a Web Service by Using Type Providers

See also below for a micro example use of the type provider:

1: 
2: 
3: 
4: 
5: 
6: 
7: 
#r "System.ServiceModel"
#r "FSharp.Data.TypeProviders.dll"
open FSharp.Data.TypeProviders

type Wsdl1 = WsdlService<"http://api.microsofttranslator.com/V2/Soap.svc">

let ctxt = Wsdl1.GetBasicHttpBinding_LanguageService()
Multiple items
namespace FSharp

--------------------
namespace Microsoft.FSharp
Multiple items
namespace FSharp.Data

--------------------
namespace Microsoft.FSharp.Data
namespace FSharp.Data.TypeProviders
type Wsdl1 =
  static member GetBasicHttpBinding_LanguageService : unit -> LanguageServiceClient + 1 overload
  nested type ServiceTypes

Full name: Wsdl.Wsdl1


<summary>Provides the types to access a WSDL web service</summary><param name='ServiceUri'>The Uri for the WSDL service</param><param name='LocalSchemaFile'>The .wsdlschema file to store locally cached service schema</param><param name='ForceUpdate'>Require that a direct connection to the service be available at design-time and force the refresh of the local schema file (default: true)</param><param name='ResolutionFolder'>The folder used to resolve relative file paths at compile-time (default: folder containing the project or script)</param><param name='MessageContract'>Generate Message Contract types (default: false)</param><param name='EnableDataBinding'>Implement the System.ComponentModel.INotifyPropertyChanged interface on all DataContract types to enable data binding (default: false)</param><param name='Serializable'>Generate classes marked with the Serializable Attribute (default: false)</param><param name='Async'>Generate both synchronous and asynchronous method signatures (default: false, which means generate only synchronous method signatures)</param><param name='CollectionType'>A fully-qualified or assembly-qualified name of the type to use as a collection data type when code is generated from schemas</param><param name='Wrapped'>Controls whether special-casing is used for document-literal styled documents with wrapped parameters (default: false)</param>><param name='SvcUtilPath'>Overrides the default resolution rules for SvcUtil.exe the type provider will resolve the location to the given path. (default: "")</param>
type WsdlService

Full name: FSharp.Data.TypeProviders.WsdlService


<summary>Provides the types to access a WSDL web service</summary><param name='ServiceUri'>The Uri for the WSDL service</param><param name='LocalSchemaFile'>The .wsdlschema file to store locally cached service schema</param><param name='ForceUpdate'>Require that a direct connection to the service be available at design-time and force the refresh of the local schema file (default: true)</param><param name='ResolutionFolder'>The folder used to resolve relative file paths at compile-time (default: folder containing the project or script)</param><param name='MessageContract'>Generate Message Contract types (default: false)</param><param name='EnableDataBinding'>Implement the System.ComponentModel.INotifyPropertyChanged interface on all DataContract types to enable data binding (default: false)</param><param name='Serializable'>Generate classes marked with the Serializable Attribute (default: false)</param><param name='Async'>Generate both synchronous and asynchronous method signatures (default: false, which means generate only synchronous method signatures)</param><param name='CollectionType'>A fully-qualified or assembly-qualified name of the type to use as a collection data type when code is generated from schemas</param><param name='Wrapped'>Controls whether special-casing is used for document-literal styled documents with wrapped parameters (default: false)</param>><param name='SvcUtilPath'>Overrides the default resolution rules for SvcUtil.exe the type provider will resolve the location to the given path. (default: "")</param>
val ctxt : Wsdl1.ServiceTypes.SimpleDataContextTypes.LanguageServiceClient

Full name: Wsdl.ctxt
Wsdl1.GetBasicHttpBinding_LanguageService() : Wsdl1.ServiceTypes.SimpleDataContextTypes.LanguageServiceClient


Get a simplified data context for this WSDL Service. By default, no credentials are set

Wsdl1.GetBasicHttpBinding_LanguageService(remoteAddress: System.ServiceModel.EndpointAddress) : Wsdl1.ServiceTypes.SimpleDataContextTypes.LanguageServiceClient


Get a simplified data context for this WSDL Service. By default, no credentials are set
Fork me on GitHub