Can I http get an openedge webservice like ASP.NET in a web

Posted by Etienne Begin on 26-Oct-2016 13:27

10.2B HP-UX

Example, using Chrome or IE:

http://www.webservicex.net/country.asmx?WSDL

Above shows the wsdl.  I want to run method GetCountries so I simply do this

http://www.webservicex.net/country.asmx/GetCountries

Can I do the same with an openedge webservice ? The tomcat URL syntax wsa1/wsdl?targetURI=<name> is confusion to me and I'm not sure I can run a specific method in my openedge webservice.

Any ideas ?

Etienne

Posted by Stefan Drissen on 26-Oct-2016 15:41

The REST web services, either via classic AppServer (introduced in 11.2) or Pacific AppServer (introduced in 11.5) do allow a much nicer URI interface than the soap web services. If you are stuck on 10.2B than you /could/ roll your own using WebSpeed.

All Replies

Posted by Richard.Kelters on 26-Oct-2016 14:35

Check bprowsdldoc script ($DLC/bin) documentation. It produces html docs describing how to acces the webservice operations independed of providing platform.

I'm still whishing Progress will provide a bprowsdlproc script to provide us a procedure that you can use directly. community.progress.com/.../bprowsdlproc_script

Posted by Stefan Drissen on 26-Oct-2016 15:41

The REST web services, either via classic AppServer (introduced in 11.2) or Pacific AppServer (introduced in 11.5) do allow a much nicer URI interface than the soap web services. If you are stuck on 10.2B than you /could/ roll your own using WebSpeed.

Posted by AdrianJones on 27-Oct-2016 03:19

if you just want a simple way to call it take a look at soapui.

https://www.soapui.org/

Posted by bronco on 27-Oct-2016 03:38

Added value of SoapUI is that you can set up testcases as well (and load test your server, etc)

Posted by Etienne Begin on 27-Oct-2016 08:12

Thanks I'm already using soapui.  The wsdl doc does not show a direct URL either.  Webspeed seems to be the only solution.

I really wanted the webservice to return XML so I can use as a datasource in excel. Maybe I should have mentioned that.

Etienne

Posted by bronco on 27-Oct-2016 09:09

Maybe you can elaborate a bit on what you are doing or trying to accomplish.

What is the URL of your Tomcat?

Posted by Etienne Begin on 27-Oct-2016 09:47

You can use =webservice in excel, which puts the result of a call into a cell.

You can also import from xml or from web. A URL which returns XML in this case will load the spreadsheet into a table.

A .NET asp webservice allows a direct call where you can specify method.  Doing this in a web browser simply puts the XML in the page.

The tomcat url is https://<host>/wsa1/wsdl?targetURI=<webservicename>

The webservice has several methods which return XML.  I do not know how to call the method via URL so i can see the xml in excel or a web browser.

As previously stated outputing the xml in webspeed will work.

Etienne

Posted by cwiner on 28-Oct-2016 10:20

There is sample code for how to call an OE webservice. It is with the other samples. If you have installed in the documentation CD, it is in there. In 11.6 the path is C:\Progress\OpenEdge_116_Doc\src\samples\webservices

This thread is closed