It's all about the answers!

Ask a question

REST web service problems


Rob Calendino (3675) | asked Dec 18 '07, 2:48 p.m.
JAZZ DEVELOPER
Hi, I'm starting out with Jazz beta 2, I've installed everything and am
trying out a REST web service.

I downloaded the sample code from

https://jazz.net/learn/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-todo-rest.html#mozTocId299654


and it built successfully. However when I try to access the service I get
the following error:

HTTP ERROR: 503
Service 'com.example.jazz.todo.common.internal.rest.ITodoRestService' is not
accessible remotely.
RequestURI=/jazz/service/com.example.jazz.todo.common.internal.rest.ITodoRestService/help


I used the launch configuration on
https://jazz.net/wiki/bin/view/Main/JazzServerRunAndDebug

JazzServer-Beta2-Typical.launch


Any ideas?

Thanks,
Rob

2 answers



permanent link
Rob Calendino (3675) | answered Dec 19 '07, 8:48 a.m.
JAZZ DEVELOPER
I played around a bit and got a few things working, I'm guessing this sample
hasn't been updated to Beta 2. It would be great if this could be updated.

A follow up question, is my project can't locate some .web packages...
specifically:

com.ibm.team.repository.web.basicPerspectives
com.ibm.team.repository.web.webBundles

I've downloaded all 4 pieces from jazz.net (TeamConcert binaries/source,
TeamServer binaries/source)
Is there another piece I need to get the .web packages?

Thanks!
Rob


"Rob Calendino" <robca@ca.ibm.com> wrote in message
news:fk97lb$ch0$1@localhost.localdomain...
Hi, I'm starting out with Jazz beta 2, I've installed everything and am
trying out a REST web service.

I downloaded the sample code from

https://jazz.net/learn/LearnItem.jsp?href=content/docs/web-ui-programming/web-ui-todo-rest.html#mozTocId299654


and it built successfully. However when I try to access the service I get
the following error:

HTTP ERROR: 503
Service 'com.example.jazz.todo.common.internal.rest.ITodoRestService' is
not accessible remotely.
RequestURI=/jazz/service/com.example.jazz.todo.common.internal.rest.ITodoRestService/help


I used the launch configuration on
https://jazz.net/wiki/bin/view/Main/JazzServerRunAndDebug

JazzServer-Beta2-Typical.launch


Any ideas?

Thanks,
Rob

permanent link
Bill Higgins (4562223) | answered Dec 27 '07, 6:48 a.m.
JAZZ DEVELOPER
Sorry Rob... the following extension points have been renamed.

com.ibm.team.repository.web.basicPerspectives ->
net.jazz.ajax.pages

com.ibm.team.repository.web.webBundles ->
net.jazz.ajax.webBundles

Your answer


Register or to post your answer.