473,398 Members | 2,525 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,398 software developers and data experts.

VB.Net and PHP communicating through Web Service

rizwan6feb
108 100+
I am working on an application in Vb.NET the pulls data from an online MySQL server. The problem i was facing was that my application had no direct access to internet. The application connects to a proxy server which was blocking access to database server because the proxy server only allowed web requests.

Now i have decided to build a Web Service to send data from my online server to Vb.NET application, I am using PHP at the other end to communicate with MySQL database. This way the application will be based on standard protocols only. This is the point to which i have planned my application.

My question is:
What should be the format of data sent from PHP application to Vb.NET and vice versa. Can i create an XML file which is acceptable by ADO.NET and how will i process DiffGram XML (generated by Vb.NET ) received by the PHP application. I even have no idea how to output XML from using Web Service. I am using NUSOAP in PHP to create SOAP services.

Thanks
Oct 14 '08 #1
4 6599
Atli
5,058 Expert 4TB
Hi.

If the XML generated by your .Net application is valid XML, then PHP can handle it fine.
There are a great many XML handlers in PHP. Take your pick, although I would recommend trying SimpleXML.

PHP can output any data you want. Anything from a string of one's and zero's to an audio recording of your computer sining it to your national anthem. (Granted, the singing could be tricky :P)

My point is that PHP doesn't care what it outputs. I've got my latest project set up to provide XML to my AJAX application by simply printing the XML structure. No XML function or class required.

If you know how your ADO.Net application likes it data, you can have PHP provide it.
Oct 14 '08 #2
rizwan6feb
108 100+
Thanks Atli, I always learn something from your posts

I am sorry for late response actually i started to work on some other application

I still have lot of confusion in my mind as the two applications are communicating through web service not through simple XML. In other words the communication is based on SOAP and I have no idea how to create soap services using SimpleXML as you recommended

I have started with the following PHP and SOAP tutorial
http://www.devarticles.com/c/a/PHP/B...th-PHP-NuSOAP/

Is there a better way i can develop my application?
Oct 17 '08 #3
rizwan6feb
108 100+
Please help ........
Oct 21 '08 #4
while i read this post as part also of my research as hobby i would also to create a vb.net -> XML -> PHP CRUD and back vice versa PHP -> XML -> vb.net is this possible with 300 users at a time to access back and forth the data.
Sep 30 '10 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Jason McLean | last post by:
Hi, I have an app I wrote in VB a while back that I kludged into running as a service with srvany. I'm now re-writing this app in C# to make it a genuine service that's more stable and has...
1
by: Mike | last post by:
I have written a windows service that has a few methods which have a return type of dataset. I also have an application that I have written which I would like to 'hook' into my service and use the...
0
by: Tappy Tibbons | last post by:
We are trying to write a simple GUI front end to communicate with a service. We need the GUI to make the service fire certain events if the user needs to re-perform certain tasks manually, and...
4
by: joe bloggs | last post by:
I am writing a mobile application to interface with a legacy system and I am planning to use web services to communicate with this system. The legacy system receives data through a serial port. ...
1
by: Gianmaria | last post by:
Hi, i've wrote a windows service that handle incoming tcp connections. Now i need to let him communicate with a windows form.. but without remoting. My service fires events too that i subscribe in...
1
by: Tom Yee | last post by:
I would like to write a Windows Service that can communicate with any open browser windows that an interactive user may be running. The service itself does not need to have a UI. The company...
7
by: Diego F. | last post by:
Hello. I have a windows service running that listens to a port and makes insert queries in a database. I need to make an interface, so my idea is creating a simple windows application that just...
1
by: John | last post by:
Hi I need a vb.net winform app to be able to query a service (also written in vb.net) and get info in return. Is it possible? Is there a way to do this? Thanks Regards
2
by: Q | last post by:
Hello, I'm trying to let two services communicate with eachother. Just don't now where to start!! Some help would be welcome. Regards, Q
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.