tag:blogger.com,1999:blog-7591654736436940638.post6292232382308996196..comments2022-12-22T03:00:45.091-08:00Comments on WizTools.org Blog: RESTClient 2.3.3 ReleasedAnonymoushttp://www.blogger.com/profile/05854955140158998481noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-7591654736436940638.post-29588280777211576612011-10-28T07:12:03.574-07:002011-10-28T07:12:03.574-07:00You have to first record the request using the RES...You have to first record the request using the REST Client UI and save the request. After saving the request, you will be able to execute the saved request from command-line.Anonymoushttps://www.blogger.com/profile/05854955140158998481noreply@blogger.comtag:blogger.com,1999:blog-7591654736436940638.post-65390581519059555492011-10-28T06:41:01.351-07:002011-10-28T06:41:01.351-07:00Hello!
How to PUT xml and GET with restclient-cli-...Hello!<br />How to PUT xml and GET with restclient-cli-2.3.3-jar-with-dependencies.jar in command-line!!!<br />Only command-line.<br />I tested UI version –it is OK, but I need to run in command-line<br /><br /><br />Example:<br /><br />java -jar PUT http://bsmgw.bms.consulting.com/opr-console/rest/9.10/event_list/6eea76ae-ff22-71e0-0431-ac10016b0000 update2.xml<br /><br />I try:<br /><br />C:\test\REST>java -jar restclient-cli-2.3.3-jar-with-dependencies.jar org.wiztools.restclient.CliMain -o C:\test\REST\ output.rcq<br /><br />No read access: C:\test\REST\org.wiztools.restclient.CliMain<br />[Fatal Error] output.rcq:1:1: Premature end of file.<br />org.wiztools.restclient.XMLException: Premature end of file.<br /> at org.wiztools.restclient.XMLUtil.getDocumentFromFile(XMLUtil.java:528)<br /> at org.wiztools.restclient.XMLUtil.getRequestFromXMLFile(XMLUtil.java:577)<br /> at org.wiztools.restclient.cli.CliMain.main(CliMain.java:128)<br />Caused by: nu.xom.ParsingException: Premature end of file. at line 1, column 1 in file:///C:/test/REST/output.rcq<br /> at nu.xom.Builder.build(Unknown Source)<br /> at nu.xom.Builder.build(Unknown Source)<br /> at nu.xom.Builder.build(Unknown Source)<br /> at org.wiztools.restclient.XMLUtil.getDocumentFromFile(XMLUtil.java:525)<br /> ... 2 more<br />Caused by: org.xml.sax.SAXParseException: Premature end of file.<br /> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)<br /> ... 6 moreVetalhttps://www.blogger.com/profile/01809134552127129633noreply@blogger.comtag:blogger.com,1999:blog-7591654736436940638.post-59785932937460756842011-06-13T08:29:06.889-07:002011-06-13T08:29:06.889-07:00We're trying to use RESTClient to retrieve a J...We're trying to use RESTClient to retrieve a JSON response. This requires basic authentication. I've set the authentication on the Auth tab but am always receiving a "401 Unauthorized" response. It looks like the Auth is not being set/sent (or we are not interpreting it).<br />New to REST but need to setup testing for many endpoints and REST Client looks like it might be a viable option if we can get past the initial auth issues.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7591654736436940638.post-29918211712222055892011-04-11T04:21:39.894-07:002011-04-11T04:21:39.894-07:00No, the library is not available in the public Mav...No, the library is not available in the public Maven repository.Anonymoushttps://www.blogger.com/profile/05854955140158998481noreply@blogger.comtag:blogger.com,1999:blog-7591654736436940638.post-43432764181452950382011-04-11T04:13:46.453-07:002011-04-11T04:13:46.453-07:00Hi,
Is the restclient library available as a Mave...Hi,<br /><br />Is the restclient library available as a Maven dependency?Prem Rawalhttps://www.blogger.com/profile/10859829398574437515noreply@blogger.comtag:blogger.com,1999:blog-7591654736436940638.post-27926525022216276362011-04-11T04:13:00.570-07:002011-04-11T04:13:00.570-07:00Hi,
Is the restclient library available through M...Hi,<br /><br />Is the restclient library available through Maven?Prem Rawalhttps://www.blogger.com/profile/10859829398574437515noreply@blogger.comtag:blogger.com,1999:blog-7591654736436940638.post-21679301634346565472011-02-01T02:37:09.704-08:002011-02-01T02:37:09.704-08:00I tried it, and it works. Probably u have configur...I tried it, and it works. Probably u have configured Proxy setting accidentally. Disable proxy by reaching Tools>Options>Proxy.Anonymoushttps://www.blogger.com/profile/05854955140158998481noreply@blogger.comtag:blogger.com,1999:blog-7591654736436940638.post-54333405748783290222011-02-01T00:58:49.332-08:002011-02-01T00:58:49.332-08:00Hi
I have query related to this tool. As i a...Hi <br /><br /> I have query related to this tool. As i am trying to hit the following REST Webservice url <br /><br />http://search.yahooapis.com/ImageSearchService/V1/imageSearch?query=madonna&appid=YahooDemo&output=xml<br /><br />I am getting exception like unknown Host exception: search.yahooapis.com<br /><br />As while i type this url in browser it is returning xml.Please let me know that where am i going wrong.I have also some other required urls which i need to test.Reply expected ASAP.<br /><br />Thanks<br />AnupUnknownhttps://www.blogger.com/profile/16538315036285461303noreply@blogger.com