473,322 Members | 1,345 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,322 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 7121
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
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.