ZNG Folks,
I'm receiving questions from people interested in SRW like those
attached below.
I think the questions are basically -- how should the WSDL files
be referenced in Web Service tools? Or perhaps it's more
complicated than that.
Ray, are we ready to recommend that these folks join the ZNG list
and ask experienced implementors their questions directly?
Is the answer to this sort of question appropriate for our FAQ?
Thanks a bunch.
Larry
-----------------------------------------------------------------------'
Person is trying to access server (via SRW) from Cold Fusion . . .
"which has support for accessing Web Services through a tag called
CFINVOKE. The tag takes as an attribute the URL pointing to the WSDL
file for the service, the name of the method to invoke, and any
parameters to pass to this method. For some other Web services I've
used, the WSDL file is generated dynamically by the host that also
accepts the remote method call. That's not the case here, and so I'm
having trouble getting things working. Here's an example for Google.
<cfinvoke
webservice="http://api.google.com/GoogleSearch.wsdl"
method="doGoogleSearch"
returnvariable="aGoogleSearchResult">
<cfinvokeargument name="q" value="water"/>
<cfinvokeargument name="ie" value="UTF-8"/>
<cfinvokeargument name="oe" value="UTF-8"/>
</cfinvoke>
I'm not exactly sure what a corresponding tag should look like for SRW,
but have tried this and it failed:
<cfinvoke
webservice="http://www.loc.gov/z3950/agency/zing/srw/srw-bindings.wsdl"
method="searchRetrieveOperation"
returnVariable="myrecords">
<cfinvokeargument name="version" value="1.1"/>
<cfinvokeargument name="query" value="water"/>
</cfinvoke>"
-------------------------------------------------------------------------
Another person reports the following:
"I try to connect to your site with vs.net
to http://www.loc.gov/z3950/agency/zing/srw/srw-ports.wsdl
and it should generate a proxy class (class with all the methods)and
it is fails do you have any idea why i need to do?"
-------------------------------------------------------------------------
------------------------------------------------------------
Larry E. Dixson Internet: [log in to unmask]
Network Development and MARC
Standards Office, LM639
Library of Congress Telephone: (202) 707-5807
Washington, D.C. 20540-4402 Fax: (202) 707-0115
|