Re: tclsoap array-based queries



The following works for me:

::WS::Client::GetAndParseWsdl http://cdaweb.gsfc.nasa.gov/WS/jaxrpc?WSDL


::WS::Client::GetAndParseWsdl does not take a proxy, the third argument is an alias to use (only really useful if you do the stubs creation).

If you type into a web browser, http://cdaweb.gsfc.nasa.gov/WS/jaxrpc?WSDL do you see a WSDL come up (I do)?


jkj wrote:
On Aug 10, 8:27 pm, "peter.dev...@xxxxxxxxx" <peter.dev...@xxxxxxxxx>
wrote:
I'd be keen to hear of success here - last time I tried arrays/wsdl I
came to grief under a mountain of confusing documentation..


I will report any success.

I have a usage question about this Web Services package. I find this
example in this forum;

::WS::Client::GetAndParseWsdl "http://api.google.com/
GoogleSearch.wsdl"

but that fails (possibly changes at Google?). One of the SOAP queries
I am currently making looks like this:

SOAP::create getAllSatellites \
-uri "http://sscweb.gsfc.nasa.gov/WS/ssc/SSCWS"; \
-proxy "http://sscweb.gsfc.nasa.gov/WS/ssc/jaxrpc";

so I would think that a correct call would look like this:

set uri "http://sscweb.gsfc.nasa.gov/WS/ssc/SSCWS";
set proxy "http://sscweb.gsfc.nasa.gov/WS/ssc/jaxrpc";

::WS::Client::GetAndParseWsdl $uri {} $proxy

...or perhaps without the proxy entry... but either way I get this
response: "WSDL does not define any services", so I must be
misunderstanding what endpoint URL to use.

This server is described here: http://cdaweb.gsfc.nasa.gov/WebServices/DevelopersKit.html

where I see this description for WSDL usage:
How to use the WSDL file
The WSDL file provides a standard description of CDAS web services.
The file is available from http://cdaweb.gsfc.nasa.gov/WS/jaxrpc?WSDL.

...so I try the URL "http://cdaweb.gsfc.nasa.gov/WS/jaxrpc"; with and
without "?WSDL" and I get this error "key "service" not known in
dictionary" with ?WSDL and the error "WSDL does not define any
services" if I include ?WSDL as part of the URL.

What am I mising?

Thanks,
-Kevin


--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
.



Relevant Pages

  • Re: WSDL Generated Proxy Classes?
    ... WSDL file is that each client can download the WSDL file and generate ... But what proxy classes do, the same can be done using business objects. ... Both Web Services & business objects require compiled objects that are ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: WSDL Generated Proxy Classes?
    ... Namespace lines) is encapsulated in an ASMX file after which WSDL is ... WSDL is Web Service Description Language. ... The advantage of generating a WSDL file is that each client can download the WSDL file and generate proxy "on the fly". ... However, there are also other consumers of web services, and they also create proxies in JavaScript dynamically using the WSDL file. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Some questions on what technology to use
    ... > look at Web Services using remoting and also WSE 2. ... > of attaching messages to methods and automatically generating WSDL etc.. ... So there is really no need to get into the XML ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Some questions on what technology to use
    ... > look at Web Services using remoting and also WSE 2. ... > of attaching messages to methods and automatically generating WSDL etc.. ... So there is really no need to get into the XML ...
    (microsoft.public.dotnet.framework)
  • Referencing web service complex data type within a second web service (like a delegate)
    ... I am trying to figure out if ASP.NET XML Web Services and the WSDL ... and one consumer client application. ... I want basews to define a delegate of sorts (where the delegate ...
    (microsoft.public.dotnet.framework.aspnet.webservices)