472,804 Members | 810 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,804 software developers and data experts.

WSDL/SOAP/XML-RPC HELP

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 I'm totally lost and don't have
any idea how to continue, and the deadline is 1.9.2004. Please help,
'couse i'm loosing myself in this XML/SOAP/RPC/WSDL things......

A little discription.
I have to define and make something like virtual driver for serial port
(RS232), only it isn't really a driver. The server has to be on Linux
box (physical port(s) is/are there), and the other side (client) is not
inportant. It is not important what is connected on serial port. Also,
there is no need to work on any kind of drivers on Windows or something,
becouse that is not the point. I have to make an universal way to
send/recive/control serial port on that server computer from anywhere. I
know how to program for serial port on Linux (in C), and I have made
some progress there. That low-level programing isn't the problem. The
problem is how to make it work over the net, so that someone who wants
to write a program on Windows or Mac can use something universal to
access it (like XML). I HAVE TO USE XML-RPC or SOAP or WSDL or
something like that. The problem is that I don't know how to use those
technologies. I read some tutorials, guides on XML-RPC, SOAP and WSDL,
and I'm totally lost now.
BTW, I was planning to use Perl becouse I know something about it. (I
don't know Java)

So, if you can help me in any way (advice, similar example or
something), please do. This is very important to me. I forget,
everything must be secure (SSL or something).

Thank you

Tom
Jul 18 '05 #1
2 2786
Tomislav Lepusic <le*************************@fly.srk.fer.hr> writes:
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 I'm totally lost and don't have
any idea how to continue, and the deadline is 1.9.2004. Please help,
'couse i'm loosing myself in this XML/SOAP/RPC/WSDL things......

A little discription.
I have to define and make something like virtual driver for serial
port (RS232), only it isn't really a driver. The server has to be on
Linux box (physical port(s) is/are there), and the other side (client)
is not inportant. It is not important what is connected on serial
port. Also, there is no need to work on any kind of drivers on Windows
or something, becouse that is not the point. I have to make an
universal way to send/recive/control serial port on that server
computer from anywhere. I know how to program for serial port on Linux
(in C), and I have made some progress there. That low-level programing
isn't the problem. The problem is how to make it work over the net, so
that someone who wants to write a program on Windows or Mac can use
something universal to access it (like XML). I HAVE TO USE XML-RPC or
SOAP or WSDL or something like that. The problem is that I don't know
how to use those technologies. I read some tutorials, guides on
XML-RPC, SOAP and WSDL, and I'm totally lost now.
BTW, I was planning to use Perl becouse I know something about it. (I
don't know Java)

So, if you can help me in any way (advice, similar example or
something), please do. This is very important to me. I forget,
everything must be secure (SSL or something).

Thank you

Tom


1. Many of us spent time in perl-land, and feel the move to python is
worth your while, especially if you are currently confused. Python
is an excellent environment ofr learning new problem spaces, even if you
later implement in other languages.

2. To learn more about XML, there are zilions of books. I find
E.R. Harold's "XML Bible", IDG Books to be useful -- enough
examples to get going, but not so much detail you get lost. You
still have to visit the specs at:
http://xml.coverpages.org/xml.html
http://www.w3.org/TR/1998/REC-xml-19980210.html

You probably don't need to know this to use XMPRPC. Just follow
the examples. For SOAP, you probably do need a good sense of XML
and XSchemas.

3. To learn more about SOAP/WSDL, see James Snell et al "Programming
Web Services with SOAP", O'Reilly, 2002. There are enough examples
to get the feel for it. If you are working in python, see
http://pywebsvcs.sourceforge.net/

4. In the opinion of many sensible people, SOAP/WSDL is a monster that
started as an MS .COM extension of XMLRPC and got totally out of
control. Or more to the point, got out of the control of standards
efforts to "play well with others", and got into the control of
corporations seeking a new mechanism for proprietary lockin.

5. XMLRPC is the quick/cheap way to get web services. In Python it is
pretty straightforward. See
http://www.python.org/cgi-bin/moinmoin/XmlRpc

6. Assuming you are new to programming as well as XML/SOAP/WSDL, here
are some std approaches to learning new problem domains:

5.1. Do a literature search, get tutorials, ask for help -- you are
doing this.

5.2. Setup a small testbed to learn the mechanisms. Typically start
with a known good source or server, and read/parse/process that.
Then learn to write/generate/serve. In this case, you should
probably follow the XMPRPC example above. This is NOT your
actual classroom exercise -- it is just a learning environment.
Once you understand the mechanisms, you can architect and develop
your project. You can even grow them side-by-side (learn some
more, then code some more, etc.)

5.3. In a system with several interacting parts (sounds like your
exercise), the biggest problem is system integration. This can
be a nightmare if you've left it to the last phase. Instead, get
the whole thing connected with minimal functionality right from
the start. E.g., a simple query at one end gets to the other end
and is acknowledged. Build an automated regression test process
around this (ask when you get to this point in python). Then add
functionality feature by feature, testing as you go.

--
ha************@boeing.com
6-6M21 BCA CompArch Design Engineering
Phone: (425) 342-0007
Jul 18 '05 #2
Harry George schreef:
I HAVE TO USE XML-RPC or
SOAP or WSDL or something like that. The problem is that I don't know
how to use those technologies. I read some tutorials, guides on
XML-RPC, SOAP and WSDL, and I'm totally lost now.


Chapter 12 of Dive into Python is an excellent start if you need to write
a SOAP-client. See: http://diveintopython.org/soap_web_services/index.html

eelco
Jul 18 '05 #3

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

Similar topics

24
by: Generic Usenet Account | last post by:
Does anyone have an opinion on how IDL and WSDL compare to each other? Are they equally powerful in their "expressive power"? Sometimes it appears to me that IDL is a little easier for humans to...
0
by: saish | last post by:
Hello I am new to vb.net webservice. My requirement is to design a VB.net web service which will send and receive xml documents. The xml document send and received would be a very complex .xsd...
5
by: Jeff | last post by:
We are using .Net and the wsdl Utility to generate proxies to consume web services built using the BEA toolset. The data architects on the BEA side create XML schemas with various entities in...
0
by: DJShultz | last post by:
My problem is that c# seems to get nothing back from this wsdl (source below) and I'm wondering if I'm writing it wrong? sample xml returned is also below. Can someone please either tell me what...
3
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
13
by: tobiah | last post by:
Is WSDL the right answer for in house communication between programs written in different languages, or is it more for publishing interfaces for use by parties outside your own company? What...
0
by: shaily | last post by:
hi I have a java web service called "Registration service" and C# client which is a consumer of that service java web service running under Tomcat has following interface API exposed ...
0
by: elgemcdlf | last post by:
I have a small db built with Lotus Approach that polls servers and catalogs the responses. I have now run into one that uses a Web Service for the data I desire. Below is the WSDL file along with the...
1
by: HYPERVIEW | last post by:
I am generating a web service from an application called Remedy. It has a sort of wizard that is responsible for creating the web service. It produces the following WDSL file that is properly...
1
by: Wind | last post by:
Hi, This is the wsdl that we should conform. It was generated with Axis. <?xml version="1.0" encoding="UTF-8"?>
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.