By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,089 Members | 2,191 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,089 IT Pros & Developers. It's quick & easy.

SOAP and XMLRPC

P: n/a
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
Share this Question
Share on Google+
12 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
I'm looking for code under VB6 :(... I'm looking everywhere. I hope I
get luck.

Aug 15 '05 #6

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: 2
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

P: n/a
>>>>> "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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.