[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 350
  • Last Modified:

.NET web service parameters with VB6

Hi Experts,

I have a .NET web service running and I'm trying to access it via VB6.

I can call the web service methods which don't have a parameter in them fine and it works.

It's when I call a method which has a parameter input of XML, how do i pick this up in the web service?
Am I doing something fundamentally wrong with having an parameter, should it just be able to pick up the XML sent by the application?

  • 2
1 Solution
is the parameter type of string?
samroseAuthor Commented:
Basically the VB6 application is sending raw XML, but isn't sending it via the parameter.

So I am now wondering if I need to be able to pick up the soap message and decode the information passed, and if so, how to do this.
samroseAuthor Commented:
using the following code I managed to complete

            Using reader As StreamReader = New StreamReader(HttpContext.Current.Request.InputStream)
                ' Read one line from file
                _strLine = reader.ReadToEnd
            End Using

Open in new window


Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now