Re: Using Webservices with Tcl
- From: "Gerald W. Lester" <Gerald.Lester@xxxxxxx>
- Date: Fri, 24 Nov 2006 18:52:14 -0600
Sacha Schär wrote:
Gerald W. Lester wrote:Sacha Schär wrote:
Hi all,
I'm trying to use the Open Patent Services (OPS) of the European patent office from within Tcl (see http://ops.espacenet.com).
I'm too lazy to learn a lot about the SOAP standard and web services in general, since I'm not able to spend too much time on this project, and at the moment, I do not have any other application for web services.
I was very confident when read abou Geral Lesters package, however, I does not seem to work due to the non comforming (?) WSDL file:
% package require WS::Client
1.0.4
% ::WS::Client::GetAndParseWsdl \ http://ops.espacenet.com/OpenPatentServices/webService/getPatentData?wsdl
Attribute "soapAction" not found!
I also tried the same thing on some other WSDL files I found on the net, but I was never actually able to successfully parse one of those (all kind of errors).
I'll take a look at what is going on and see what I can do.
A quick look leads me to believe that it is a WSDL version 2.0 wsdl, currently my service only handles 1.1.
Also, could you be so kind as to send the other WSDLs you were having trouble with -- I have it parsing over 98% of the ones that I could find.
Since I'm interested in the OPS mainly, can someone present present a simple example of how to use them with Tcl? Or, alternativly, can someone point out some documentation that will help me finding it out myself, without going to mutch into details?
Let me see what is going on, I may be able to send you something you can use.
Thank you for that quick response Lester!
Here are two other WSDL files that I unsuccessfully tried to parse:
http://www.roguewave.com/soapworx/examples/WeatherSummary.wsdl
Ah, with this URL I get a File not found (Error 404) error.
http://www.capeclear.com/Stock.wsdl
And here I get a "Page not found"
You may find it helpful to paste the URL into a web browser and see if you get a WDSL or an error page before assuming the software does not work.
(Actually, I'm not aware of any working example WSDL file at all)
In your documentation, I only found examples with a local server. I do not want to set up a server, can you name a public server I can use to start playing around, please?
The google search service works nicely.
You may want to work through the web services write up at http://www.tclscripting.com/articles/nov06/article1.html
--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.
- Follow-Ups:
- Re: Using Webservices with Tcl
- From: Sacha Schär
- Re: Using Webservices with Tcl
- References:
- Using Webservices with Tcl
- From: Sacha Schär
- Re: Using Webservices with Tcl
- From: Gerald W. Lester
- Re: Using Webservices with Tcl
- From: Sacha Schär
- Using Webservices with Tcl
- Prev by Date: Re: Using Webservices with Tcl
- Next by Date: Re: Tcl as the choice for programming 101
- Previous by thread: Re: Using Webservices with Tcl
- Next by thread: Re: Using Webservices with Tcl
- Index(es):
Relevant Pages
|