troubleshooting Question

Calling a web service written in PHP from VB.net

Avatar of kinton
kinton asked on
.NET ProgrammingVisual Basic.NET
15 Comments1 Solution516 ViewsLast Modified:
Hi,

A client has written a webservice in PHP that I am trying to invoke in .net.  Some of the calls return a string and others return an object.  What ever methods I call I just get an emptry string.  I have asked them to set up a "Hello World" type service which they have done, this should just return a string, however it returns nothing.  The client is insisting that when they invoke their own service through PHP it works fine.  I see no reason to question that.

To test it I am just calling it on a form open event;  See below

Imports WindowsApplication1.com.epicmoodle.www

Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Dim testWS As New com.epicmoodle.www.MoodleWS
        MessageBox.Show(testWS.mdl_soapservertestSOAP)
    End Sub
End Class

In theory this should just display a message box that reads "Hello World"

The WSDL file is at:

http://www.epicmoodle.com/lonsdaletest/ws/wsdl.php

Any help would be appreciated.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 15 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros