473,503 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Services Requests using Nusoap

am looking at constructing a request in the following format.

I have used the following code - $result = $client->call('login',
array('username' ='Scott', 'password' >= '****', 'softwareid' = 5,
'vendorid' = 7, 'locationid' = 9)); ,but I am unsure to where put the
request tag in my code.

Can you please assist?

The web service request must be in the format below.

soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<login
xmlns="http://www.betfair.com/publicapi/v3/BFGlobalService/">
<request>
<locationId xmlns="">0</locationId>
<password xmlns="">yyyy</password>
<productId xmlns="">0</productId>
<username xmlns="">xxx</username>
<vendorSoftwareId xmlns="">0</vendorSoftwareId>
</request>
</login>
</soap:Body>
</soap:Envelope>

Thanks,

Best Regards,
Boulent

Dec 20 '06 #1
1 1494

Oh*****@hotmail.com schrieb:
am looking at constructing a request in the following format.

I have used the following code - $result = $client->call('login',
array('username' ='Scott', 'password' >= '****', 'softwareid' = 5,
'vendorid' = 7, 'locationid' = 9)); ,but I am unsure to where put the
request tag in my code.

Can you please assist?
I tried NoSOAP as well, but failed due to uncertain reasons. Could you
please forward
a larger part of your source-code, in case you managed the task?

Dec 20 '06 #2

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

Similar topics

0
2365
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....
4
3575
by: Amr Mostafa | last post by:
Hello :) I'm trying to write a script that deals with a web service. I'm using NuSoap class. my question is : Can I pass some variables By Reference to the web service and get the result back...
2
5260
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....
1
1476
by: Gandhi | last post by:
I'm looking for a good and reliable class to build a SOAP server in PHP. So far I've only found nuSoap and Pear::Soap. Which one would you recommend to use?
0
1754
by: Eugenio | last post by:
Hi all, has anyone succesfully used Maporama Web services via nusoap? I'm having troubles with digest authentication. Thanks. Bye. -----------------------------------------------...
0
1542
by: Afnan Zari | last post by:
Hi, i've facing a problem in nusoap server ... scenario is my server is in NUSoap ... and have used complex types in my WS. My client is Pear Soap and GSoap. NuSoap ws accepts an argument...
3
6346
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...
0
4172
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...
1
3934
by: Treefrog | last post by:
Hi, I'm having a bit of trouble with NuSOAP. I'm calling a web method that looks like this (excuse the strange sytax) public testItem GetTestItem (int aNumber, testObjects) So, I need to...
6
20988
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)...
0
7204
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
7091
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...
0
7342
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...
1
6998
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
7464
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
5586
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
1516
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 ...
1
741
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
391
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...

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.