.NET web service parameters with VB6

Posted on 2009-04-23
Last Modified: 2012-05-06
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?

Question by:samrose
    LVL 1

    Expert Comment

    is the parameter type of string?
    LVL 2

    Author Comment

    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.
    LVL 2

    Accepted Solution

    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

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
    Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now