473,241 Members | 1,405 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,241 software developers and data experts.

consume ASP.NET web service with PHP

I have an ASP.NET service that needs to be consumed on a PHP page. I
can not count on the PHP server to have SOAP. I have read some info
about a REST method, but I am not really sure if this can be
applicable. Help please!!!!

Matt

Aug 8 '05 #1
3 7118
Matt wrote:
I have an ASP.NET service that needs to be consumed on a PHP page. I
can not count on the PHP server to have SOAP. I have read some info
about a REST method, but I am not really sure if this can be
applicable. Help please!!!!


I for one don't actually know what is involved with the ASP.NET
services. I'd assume that it's communicating via XML in some way?
Perhaps if you gave a little more information about the expected
behavior of the php script, you'd be able to get some help from some of
us. (Especially since I am just rebuilding a server or two today...) ;)

--
Justin Koivisto, ZCE - ju****@koivi.com
http://koivi.com
Aug 8 '05 #2
Alright, the asp.net web service creates an xml based document called a
WSDL i believe. Not positive but i think this is what is used to
consume it in PHP. This web service will simply query a database. All
the PHP page has to do is pull the info as a string and display it
somewhere on the page. Does this help any?

Aug 8 '05 #3
Matt wrote:
Alright, the asp.net web service creates an xml based document called a
WSDL i believe. Not positive but i think this is what is used to
consume it in PHP. This web service will simply query a database. All
the PHP page has to do is pull the info as a string and display it
somewhere on the page. Does this help any?


Does PHP query the WSDL file, or does the ASP service query the PHP
script? If ASP is making a request to the PHP script, then it should
just be a matter of using the parameters to generate the output. If PHP
is making a request to the WSDL, then you'd have to parse the file,
generate the output, then send it to the destination whether that be
simply printing it out or using something like curl to send it elsewhere.

I've never worked with ASP or .NET (at all), so I don't know exactly
what needs to be done. You may also want to take a look at the dotnet
extension for PHP: http://us3.php.net/dotnet (especially the
user-submitted comments).

HTH

--
Justin Koivisto, ZCE - ju****@koivi.com
http://koivi.com
Aug 8 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael Hatmaker | last post by:
I have begun experimenting with web services, and I created some simple web services in C# and was able to install them with IIS and create an equally simple C# client to consume them. My next...
0
by: pranoliver | last post by:
Hi, How can I consume a Web Service that returns a DATASET from classic ASP. I know how to consume the Web Service when it returns just a variable using SOAP Toolkit 3.0. Thanks In Advance.
2
by: Abeslom via .NET 247 | last post by:
Hi, I am trying to create a simple .NET http-Get client that willconsume a java webservice on a mainframe. If I type the URL forthe webservice in the Browser, the service works and I get theexpected...
4
by: John Bailo | last post by:
I wrote a .NET/c# webservice which I then needed to consume from java server pages. The simplest ( and best ) solution I found, was some code to open a socket, and send a SOAP message directly...
4
by: geilen | last post by:
I'm trying to use a dataset returned from a web service in an unmanaged C++ (MFC) client. The dataset is returned as a BSTR, and I'm having trouble reading the BSTR into an XML document for...
0
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to...
5
by: David Lozzi | last post by:
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said...
3
by: frustratedcoder | last post by:
I need to consume a web service written in Perl but there is no wsdl file for this service. The perl soap client that can call and consume this web service looks like this (if it helps) #!perl...
2
by: hharry | last post by:
hello all, trying to consume a simple web service using httpwebrequest instead of generating a proxy class. code for simple web service: Imports System.Web.Services ...
0
by: ericms | last post by:
I need to consume one of our vendor's web service. So, we need to consume the web service behind a proxy server. I am working with Visual Studio 2005 and .NET 2.0. I did right-click on a...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.