'F# WSDL Type Provider and Confluence

When I use the WSDL Type provider to create a client for Confluence SOAP service then I get all methods with (unit -> unit) signature.

#r "System.ServiceModel.dll"
#r "FSharp.Data.TypeProviders.dll"
open System.ServiceModel
open Microsoft.FSharp.Data.TypeProviders

[<Literal>]
let ConfluenceServiceWsdl = "https://developer.atlassian.com/rpc/soap-axis/confluenceservice-v2?WSDL"
type ConfluenceService = Microsoft.FSharp.Data.TypeProviders.WsdlService<ConfluenceServiceWsdl>

let service = ConfluenceService.``Getconfluenceservice-v2``()

service.getPages;;
...
val it : (unit -> unit) = <fun:it@3-1>

but it should be something like Vector<PageSummary> getPages(String token, String spaceKey) - (from Remote Confluence Methods documentation)

What am I doing wrong? How to create full-functional service client? Is something wrong with WSDL?

P.S. Confluence SOAP WSDL was generated by Apache Axis.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source