PDA

View Full Version : Invoke Flow service through browser


smallByte
04-10-2006, 14:36
I tried to invoke the flow service (adding two integers) through the browser like this:

http://localhost:5555/invoke/Test/testD?n1=2&n2=4

I got the following error:

$errorDumpcom.wm.app.b2b.server.UnknownServiceException: Test:testD at com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:68) at com.wm.app.b2b.server.InvokeHandler.process(InvokeHandler.java:113) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:534) $errorInfo$errorDumpcom.wm.app.b2b.server.UnknownServiceException: Test:testD at com.wm.app.b2b.server.HTTPInvokeHandler._process(HTTPInvokeHandler.java:68) at com.wm.app.b2b.server.InvokeHandler.process(InvokeHandler.java:113) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:534) $errorTest:testD$localizedErrorTest:testD$errorTypecom.wm.app.b2b.server.UnknownServiceException$userDefault$time2006-04-10 14:35:34 CDT$details$errorMsgId$errorTest:testD$errorTypecom.wm.app.b2b.server.UnknownServiceException

Suggestins Please.

Sunny

smallByte
04-10-2006, 14:51
The mistake was the folder name was "test" not "Test". But I dont understand why does it show the folder name as "Test" - in the Developer

mcarlson
04-10-2006, 15:07
IS folder and service names are case sensitive. So you would have to match the case of the folder, subfolder or servicename exactly.

One quirk of Developer is that you can't rename "Test" to "test" in a single step, you have to rename it something like "Test_old" first and then rename it to "test".

Mark

reamon
04-10-2006, 17:30
Nibble (aka smallByte):
Might you have been confusing the folder name with the package name? As you probably know, the package name is not part of the service namespace.