473,623 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

NuSoap Send a Dataset to VB.Net

I am writing an app in vb .net that will use an XML webservice written in
PHP NuSoap. I want to have the NuSoap server send a dataset to my VB .NET
application i am trying to find any documentation of anyone pullling data
from a database in PHP then using NuSoap to send it to a .NET application
and have the .NET proxy class recognize the return datatype as a dataset so
that i can cache the dataset on the desktop application.

Gary Townsend
Spatial Mapping Ltd.
garyt[REMOVEME]@spatialmapping .com
Nov 21 '05 #1
2 5556

the easiest way is to have a client app create a dataset (using same query
you're going to use in php). save it to file as xml. then open the xml and
see what the structure is...your php script just needs to populate the
column xml tags and values...simila r to outputting rows in an html table via
php.

..net will handle the xml appropriately as a dataset.

- then again, i haven't tried it...i build my own xml and stay away from
using built-in web service support in .net...too much overhead and far too
little control over the process of communicating my small-ish amounts of
data.

hth,

me
Nov 21 '05 #2
Please have a look at the following example file:

http://dietrich.ganx4.com/nusoap/tes...se_server.phps

You can pass arrays of data back and forward. I have tested this feature for
some of our future efforts.

Also see the following:

http://dietrich.ganx4.com/nusoap/index.php

-hobbyman

"Gary Townsend" wrote:
I am writing an app in vb .net that will use an XML webservice written in
PHP NuSoap. I want to have the NuSoap server send a dataset to my VB .NET
application i am trying to find any documentation of anyone pullling data
from a database in PHP then using NuSoap to send it to a .NET application
and have the .NET proxy class recognize the return datatype as a dataset so
that i can cache the dataset on the desktop application.

Gary Townsend
Spatial Mapping Ltd.
garyt[REMOVEME]@spatialmapping .com

Nov 21 '05 #3

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

Similar topics

0
2375
by: Eric Dennison | last post by:
I've been playing around with NuSOAP as a PHP based SOAP server and client. Works great! Now I'm trying to write (using gSOAP) a simple C/C++ based client to test against my simple SOAP server. Not so easy. My client forms the request nicely, and I see with my packet sniffer that the SOAP server is producing the expected response message, but all I can get my client to do is return a NULL pointer (at least I don't have any errors!).
2
5279
by: Larry Sankey | last post by:
Hello. I am having what is probably the simplest problem there is with Nusoap. I have to admit I'm new to this stuff, but I have some programming experience and what I'm doing *shouldn't* be hard. First thing I tested the Hello (sample server and client) that are in the Readme file. No problem. Then I tried to accepting the data from the URL string (GET). That worked. Then I tried two parameters and the only output I get is the word...
0
2373
by: Unbreakable | last post by:
I am using the nusoap client and nusoap server without any problem. However, once I change the client to the excel, I am not sure how to call the nusoap server. Especially the nusoap server only generate the a SOAP message as follow instead of a WSDL file. So, my question is 1.) Can I use excel or .Net as a client to call the nusoap server?
0
2935
by: Ward G | last post by:
Hi, Below is a basic webservice using the NuSOAP class. When I run the code to register the service, I get the nice html page generated by nusoap, offering a link to view the WSDL for my service. When I click it, php barfs this : Cannot modify header information - headers already sent by \nusoap.php on line 2421.
3
6354
by: James Kennedy | last post by:
Hi, I've downloaded the NuSoap class files. I've put them onto my localhost/ where I run my php scripts, just put the nusoap.php file in there. I've got loads of different scripts to try out (including the ones that come with soap) and I'm getting the same error for each of them: Fatal error: Cannot redeclare class soapclient in /opt/lampp/htdocs/Jims/Database/nusoap.php on line 6500
2
4714
by: Johnny | last post by:
Searched on google for any info relating to this before posting here but found none. I set up a web service using nusoap on apache php 4.3.8 on windows with error_reporting = E_ALL and had that service set a cookie in the client browser as the first output. Works fine in IE6 and the service returns the state of the cookie in the client browser but in firefox 1.0 the exact same service gives a notice error about an undefined variable...
0
3552
by: Dom | last post by:
Hi, I'm developing a PHP client that consumes a Web Service written in Java-Axis. I'm using NuSoap toolkit. Now I have the need to send IPaddress (together with the SOAP request) to the Web Service ... Is there a chance to include client IPaddress to SOAP request? I'd like to include it in sucha a custom HTTP header stored as X-IPAddress... Is there any method in nusoap to set http header and include in it
0
4189
by: devthx | last post by:
Hi! I code php with nusoap for my web services and would like to consume it with c# soap client. Everything seem to be fine until I try to send data in Thai characters and recieved a garbage. Does anyone had experience about synchronize the charset between .net and nusoap. Thanks for help. devthx
6
20995
amine
by: amine | last post by:
Hello People, I created a WebService in .NET on my machine with following methode: <WebMethod(Description:="test")> _ Public Function sayHello(ByVal myName As String, ByVal myID As Integer) As String Return "Hello " & myName & " (" & myID & ")" End Function Web service works fine, I can access my function in .NET without problem.
0
8217
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8160
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8603
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8460
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6104
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4153
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2590
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1467
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.