473,382 Members | 1,313 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,382 software developers and data experts.

SOAP and XMLRPC

Hi to all...
Someone knows if is there possible to have a Python SOAP or XMLRPC
server that works with VB? I would like you to include the examples
clients and server programs.

My examples are:

#Server.py
import SOAPpy

def sum(x,y):
return x+y

server = SOAPpy.SOAPServer(("localhost", 8080))
server.registerFunction(sum)
server.serve_forever()


#client.py
import SOAPpy

server = SOAPpy.SOAPProxy("http://localhost:8080")
print server.sum(5,6)

#This should print: 11

These programs work perfect. The thing is that I need to access the
server from VB (like does SOAPpy accessing google's services)

Many thanks

Daniel

Aug 15 '05 #1
12 2215
dcrespo wrote:
Hi to all...
Someone knows if is there possible to have a Python SOAP or XMLRPC
server that works with VB? I would like you to include the examples
clients and server programs.

My examples are:
.......
These programs work perfect. The thing is that I need to access the
server from VB (like does SOAPpy accessing google's services)

Many thanks

Daniel

A student whom I helped recently did a project on the various web service
protocols. Interoperability for SOAP was not very good. XMLRPC was much better
and he got java -- python etc etc pretty easily.
--
Robin Becker

Aug 15 '05 #2
Hi... Thanks for your answer, but can you give me his contact or tell
him to post here the answer I'm looking for? I'm needing it seriously.

Aug 15 '05 #3
dcrespo wrote:
Hi... Thanks for your answer, but can you give me his contact or tell
him to post here the answer I'm looking for? I'm needing it seriously.

Well I'm not a VB person so perhaps you need to ask on a VB list. Unfortunately
the student has vanished into the real world.
--
Robin Becker

Aug 15 '05 #4
Robin Becker wrote:
dcrespo wrote:
Hi... Thanks for your answer, but can you give me his contact or tell
him to post here the answer I'm looking for? I'm needing it seriously.


Well I'm not a VB person so perhaps you need to ask on a VB list. Unfortunately
the student has vanished into the real world.

On the other hand there are resources available via Google eg

http://www.wwwcoder.com/main/parenti...8/default.aspx

--
Robin Becker

Aug 15 '05 #5
I'm looking for code under VB6 :(... I'm looking everywhere. I hope I
get luck.

Aug 15 '05 #6
why isn't this good?
http://www.enappsys.com/backend.jsp
Seems to be what you're looking for...

(second entry of a googled 'xml-rpc visual basic' search!)

JM
PS Tell us why the refered *.dll don't do, so I won't refer to it again
if it's of no value.

Aug 15 '05 #7
dcrespo wrote:
Hi to all...
Someone knows if is there possible to have a Python SOAP or XMLRPC
server that works with VB? I would like you to include the examples
clients and server programs.


If you can write an XML-RPC client in VB, it will work with
XML-RPC servers written in any language. This is the wrong
forum to learn how to do that though. May I suggest that you
google for "visual basic xml-rpc client"
Aug 15 '05 #8
On Mon, 15 Aug 2005 20:04:55 +0200, Magnus Lycka <ly***@carmen.se> wrote:
dcrespo wrote:
Hi to all...
Someone knows if is there possible to have a Python SOAP or XMLRPC
server that works with VB? I would like you to include the examples
clients and server programs.


If you can write an XML-RPC client in VB, it will work with
XML-RPC servers written in any language. This is the wrong
forum to learn how to do that though. May I suggest that you
google for "visual basic xml-rpc client"


I thought it was the whole point of XMLRPC that the server can be
written in one language and the client in another. Am I wrong?

--
Email: zen19725 at zen dot co dot uk
Aug 16 '05 #9
phil hunt wrote:
I thought it was the whole point of XMLRPC that the server can be
written in one language and the client in another. Yes.
Am I wrong?

No. That's what I said. The OP wanted to write a VB client, and
I don't think this is the forum for questions about that. I can
understand that he tried though. Every time I tried to find info
about VB on the net, the discussions were on the "Hello World"
level...

Aug 16 '05 #10
While i Don't know about Python SOAP & VB,I can give you instruction how to do it in Delphi since there are very good Delphi components for Python.
Actually i am developeing a Python SOAP server & Delphi client & is working fine
Venks
Aug 16 '05 #11
>>>>> "Daniel" == dcrespo <dc*****@gmail.com> writes:

Daniel> Someone knows if is there possible to have a Python SOAP
Daniel> or XMLRPC server that works with VB?
Sure, why not? What have you tried that didn't work? Getting SOAP
libraries to interoperate is often a pain but usually possible unless
you want to be able to have more than one type of library for clients.

Daniel> My examples are:
[...]

Good. So you seem to have the Python side going.
Are you asking in the Python group for help with VB?
Or do you have a VB solution/attempt that you can't get
your Python server to work with?

In the former case I suggest you contact a VB group in the latter that
you post infos on what you have tried already so we don't have to
guess.

As an additional pointer, I can tell you that I have had success with
getting a PocketSOAP client to talk to a SoapPy server. You may want
to give that a try.

Holger
Aug 17 '05 #12
phil hunt enlightened us with:
I thought it was the whole point of XMLRPC that the server can be
written in one language and the client in another. Am I wrong?


It is, but not all SOAP libs really support the standard.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa
Aug 22 '05 #13

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

Similar topics

0
by: glin | last post by:
Hi I am trying to integrate the xmlrpc server into a class, does anyone know how to get it working? test.html: <html> <head> <title>XMLRPC Test</title> <script src="jsolait/init.js"></script>...
0
by: Juan Carlos CORUÑA | last post by:
Hello all, I'm trying to create a COM Server with an embedded xmlrpc server. Here is way it must work: - The client application (programmed with a COM capable language) instantiates my COM...
2
by: Tomislav Lepusic | last post by:
Hello, I don't know if this is the right group (I'm more in Perl, know nothing about Python), so if you can help me thanks, if not, sorry to bother you. I'm working on my student project and...
15
by: The Fumigator | last post by:
Hi. I want to be able to create a persistent connection between an XML-RPC client and server... i.e. I want to be able to login once, carry out a number of calls and then logout rather than send...
3
by: Johan Segernäs | last post by:
I'm put on building a system in Python and I haven't used either webservices, SOAP or Python so I'm a bit lost. This system will require callback functions, should I use Python thru Apache for...
3
by: | last post by:
Whats the difference and what is standard?
3
by: Mark Harrison | last post by:
So I'm investigating doing some SOAP work... Any concensus on what the best python libraries are for doing this? Too bad, xmlrpc is choking on our long longs. :-( Many TIA, Mark -- Mark...
7
by: tobiah | last post by:
I'm having trouble finding information about writing a SOAP server. I get the client part. There is much information about writing a client, but not so much about writing the server. Are there...
0
by: Benjamin Grieshaber | last post by:
Hi, I´m on SuSE 9.3 with xmlrpc-c and xmlrpc-c-devel installed (ver. 0.9.10) I tried to compile php with xmlrpc support and got the following errors: ...
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...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.