Wrox Programmer Forums
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 27th, 2004, 01:11 AM
Authorized User
 
Join Date: Jun 2003
Posts: 97
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to planeswalk
Default .NET on Linux

Hi!

Is there any way for PHP scripts to consume .NET services written in VB.NET?

Regards,
Marlon




Marlon Villarama
 
Old January 27th, 2004, 10:29 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Most certainly. .net webservices output nothing more than XML. As long as you have something in PHP that can read and query (if necessary) XML than you can use .net web services. The webservice can be called with either a GET or POST or using SOAP (which is basically a more complicated GET where you send the details of the request in the headers instead of the querystring. Unless you want to write the POST or SOAP request manually, it's easiest to use the GET method if the web service you want to use supports it. Of course, if you are going to create the web service than you can ensure that it supports the GET method.

Any XML document object that you can use in PHP should be able to use the webservice. Most XML DOMs have a method to load the XML from a URL (versus just a local file or string). You just need to provide the XML object with the webservice URL (complete with querystring information if necessary) and you'll be able to load up the result of the webservice into the XML object for use.

Peter
------------------------------------------------------
Work smarter, not harder.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh problem with ASP.NET on Linux jacob ASP.NET 1.0 and 1.1 Professional 1 January 23rd, 2005 03:10 PM
can i run dot net application on linux VIshwastrivedi SQL Server 2000 4 September 21st, 2004 02:11 AM
can i run dot net application on linux VIshwastrivedi .NET Framework 2.0 1 September 21st, 2004 01:27 AM
Why Linux can't visit public net? Edward King Linux 1 September 7th, 2004 09:55 AM
ASP..NET (Background VB) to Linux Srivathsan Linux 1 February 20th, 2004 04:52 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.