Hi guys,
When ever i try to read the wsdl i get error "This stream doesnot support seek operations." at
Dim stream As System.IO.Stream = client.OpenRead("http://localhost:2394/WebSite26/Service.asmx?wsdl")
Is thre anything i am missing here?Can anyone please help me?
Thanks in Advance
When ever i try to read the wsdl i get error "This stream doesnot support seek operations." at
Dim stream As System.IO.Stream = client.OpenRead("http://localhost:2394/WebSite26/Service.asmx?wsdl")
Is thre anything i am missing here?Can anyone please help me?
VB.NET:
Dim client As New System.Net.WebClient()
Dim stream As System.IO.Stream = client.OpenRead("http://localhost:2394/WebSite26/Service.asmx?wsdl")
' Get a WSDL file describing a service.
Dim description As ServiceDescription = ServiceDescription.Read(stream)
' Initialize a service description importer.
Dim importer As New ServiceDescriptionImporter()
importer.ProtocolName = "Soap12"
' Use SOAP 1.2.
importer.AddServiceDescription(description, Nothing, Nothing)
Thanks in Advance
Last edited: