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
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.
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
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.
if you just want a simple way to call it take a look at soapui.
Added value of SoapUI is that you can set up testcases as well (and load test your server, etc)
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
Maybe you can elaborate a bit on what you are doing or trying to accomplish.
What is the URL of your Tomcat?
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
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