Web Services Setup

Posted by ojfoggin on 15-Feb-2010 08:45

Hi,

A colleague and I have been scouring the internet and the Web Services Adapter manuals in order to try and get something working and we have managed to get it to the point where we are now getting a sensible error message out whenever we try to deploy a service.

We have created a procedure that simply outputs a char.

Run proxy gen (following the guidance in the manuals) and created the wsm and wsdl files.

Then when I try to deploy the service in progress explorer I get the error...

[WebServicesAdapter]    Connection failure with WSA at http://vpsun1:8080/wsa/wsa1 during deploy request, exception: The http connection to vpsun18080 was aborted: HTTP server error (503): Service unavailable (9994) (10770)

Can anyone shed any light on where we should be looking?

Thanks for any help.

Oliver

All Replies

Posted by rbf on 15-Feb-2010 09:31

I don't know if it is allowed here, but this sounds like a good time to promote my book 'Making Progress With Ajax' that has the simplest description of setting up web services for OpenEdge that I am aware of

http://www.futureproofsoftware.com

Posted by jmls on 15-Feb-2010 09:40

Is there a pdf-only version ? I don't want / need a dead tree version

Julian

On 15 February 2010 15:32, Peter van Dam

Posted by rbf on 15-Feb-2010 09:42

No there is not.

Posted by ojfoggin on 15-Feb-2010 09:42

Peter Van Dam wrote:

the simplest description of setting up web services for OpenEdge that I am aware of

If that is the case then you should get a job writing manuals for Progress themselves.

The only thing lacking from almost every manual I have read so far is a simple explanation of how to do something.  They show how to do the most complex settings going but don't show the basics.

Posted by ojfoggin on 15-Feb-2010 09:46

Oh, if it's any help.  When I right click on the wsa1 in the Progress Explorer and click "Status" is just pops up a message saying...

Web Services Adapter wsa1 is Not Running.

But there doesn't seem to be anywhere to tell it to run.

Also, port 80 is taken by our Apache web server so we have set up the Tomcat server as port 8080.  Is there any way to have these talking to each other on the same port?

Thanks

Posted by ojfoggin on 15-Feb-2010 10:41

OK, I now feel like I'm one step away from having it set up and working.

I have been sent this link from prgoress...

http://progress.atgnow.com/esprogress/documentDisplay.do?clusterName=CombinedCluster&preview=1&groupId=2&page=null&docType=1006&resultType=5002&docProp=$solution_id&docPropValue=p30600

And, although it is for Windows I have managed to follow it through to point 6.

However, when I restart the TomCat server I get the following log error in the admin log...

javax.servlet.ServletException: Wrapper cannot find servlet class org.apache.webapp.admin.ApplicationServlet or a class it depends on

        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:880)

and in the wsa1.wsa.log file I have the error...

======================================================================

[10/02/15@16:35:46.767+0000] P-026100 T-main 1 --- --- /app1/vpbin/progres10wrk/wsa1.wsa.log opened.

[10/02/15@16:35:46.774+0000] P-026100 T-main 1 --- --- Logging level set to = 2

[10/02/15@16:35:46.774+0000] P-026100 T-main 1 --- --- Log entry types activated: WSADefault,

[10/02/15@16:35:46.980+0000] P-026100 T-main 1 wsa1 ---------------- Starting WSA adapter wsa1, version 10.1B, ID dcd66acc52df8689:1b4a74b:126d27c4c1c:-7fff (10620)

and when I try to access http://vpsun1:8080/wsa/wsa1 I get the error...

2010-02-15 16:38:40 StandardWrapperValve[wsa1_servlet]: Servlet wsa1_servlet is currently unavailable

Thanks again

Posted by ojfoggin on 17-Feb-2010 03:52

Woohoo!

We persevered through all the settings and I've just managed to get my HelloWorld output working

This thread is closed