RE: Consuming a PHP Webservice



Hi,

Good you were able to test it, that confirms it will work just fine.

In fact, I am currently using NuSoap for the server implementation. Would
you mind sharing one of your samples (VB or C# would be okay) to use it as a
starting point?

I am not so versed with web services yet.

Thank you,

Carlos Lozano

"hobbyman" wrote:

> Just add the php as a "web reference" in your project. I did just a little
> testing with just what you are trying. I was able to successfully make calls
> and pass data back and forth with no problems. On the PHP side be sure to do
> a google search for "nusoap" which is a very good php class package.
>
> "Carlos Lozano" wrote:
>
> > Hi,
> >
> > as a background I have an Windows application developed with VS 2003 (c#)
> > that needs to transfer securely data to a MySQL database located on a Linux
> > server.
> >
> > I have created a PHP webservice that will receive an xml file with all the
> > data to update an encrypted database. This way all database logic will remain
> > on the Linux server. The web service works OK using a testing PHP client.
> >
> > The windows application will create the xml file to be transferred to the
> > web service to consume the webservice.
> >
> > I have been reading about the ServicePoint class, proxies and WSDL, but I
> > feel kind of lost as I am new to web services.
> > Why do I need a proxy?
> > Can I just connect directly to the PHP web service to consume it?
> >
> > I found a console sample on MSDN and try to use it to test the webservice on
> > Windows
> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcreatingconsoleapplicationclient.asp
> >
> > I tryed to use WSDL, but got an error saying "the HTML file specified does
> > not contain webservice discovery information".
> >
> > I called it as:
> > WSDL http://linuxServer/WebService.php?wsdl
> >
> > I will appreciate any guidance.
> >
> > Carlos Lozano
.



Relevant Pages

  • Re: Web service testing
    ... To test if my code was faulty or not, I back-ported the web service to a standard 2.0 web service using Visual Studio 2005. ... The service is run under IIS on a Windows 2003 server, so there are no server side connection limits that can explain this. ... ASP.NET webservice application. ... In addition, since the problems occur at client, you can use Visual studio ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Operation timed-out downloading web service durning Add Web Reference - still no solutio
    ... remote webservice, and the problem is occuring after your server upgrated ... to a DNS/AD server,yes? ... So based on the changing of your webservice hosting server, ... Operation timed-out downloading web service durning Add Web ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: accessing WebService from asp.net App on load balanced Servers
    ... he found that this worked only when the webservice is on the same ... they have not network credentials. ... same server with the asp.net web app.... ... | I have an ASP.Net application that retrieves Data from a Web Service. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Webservice Security Header error
    ... You can also specify a tolerance that you willing to accept on the Webservice ... >> machine in client company and they try to call the web service through the ... >> minutes than our server time? ... >>>which acts as a client to the webservice. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • RE: Consuming a PHP Webservice
    ... Just add the php as a "web reference" in your project. ... The web service works OK using a testing PHP client. ... > web service to consume the webservice. ... > I have been reading about the ServicePoint class, proxies and WSDL, but I ...
    (microsoft.public.dotnet.framework.webservices)