[Building Sakai] Grails+Linktool+Sakai 2.5?

View: New views
6 Messages — Rating Filter:   Alert me  

[Building Sakai] Grails+Linktool+Sakai 2.5?

by Michael Osterman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Has anybody been able to use the Link Tool with a Grails app? We're having problems consuming the SakaiSession.jws service due to apparent incompatibilities with GroovyWS and Sakai's Axis-based web services implementation. GroovyWS uses Apache CXF which apparently doesn't support Axis' RPC encoding. We're on Sakai 2.5.x or we'd be looking at a Sakai-native Grails tool.

Any advice, workarounds, etc. greatly appreciated!

-Mike

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] Grails+Linktool+Sakai 2.5?

by Aaron Zeckoski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I worked around it by parsing the SOAP xml myself and firing my own
requests using the HttpRESTUtils but that's not really what you want
probably.
:-)
-AZ


On Thu, Oct 29, 2009 at 10:56 PM, Michael Osterman
<ostermmg.sakai@...> wrote:

> Has anybody been able to use the Link Tool with a Grails app? We're having
> problems consuming the SakaiSession.jws service due to apparent
> incompatibilities with GroovyWS and Sakai's Axis-based web services
> implementation. GroovyWS uses Apache CXF which apparently doesn't support
> Axis' RPC encoding. We're on Sakai 2.5.x or we'd be looking at a
> Sakai-native Grails tool.
>
> Any advice, workarounds, etc. greatly appreciated!
>
> -Mike
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
> with a subject of "unsubscribe"
>
>



--
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] Grails+Linktool+Sakai 2.5?

by Michael Osterman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To be fair, I did ask for *any* workarounds. :)

HttpRESTUtils approach--not sure I follow how this would be done. Would we need to rewrite all of our web services methods to be accessible this route?

Alternately, has anyone looked at replacing Axis with CXF, or adding it as an alternate web service?

Again, whatever we do would need to be 2.5.x compatible.

-Mike

On Thu, Oct 29, 2009 at 4:00 PM, Aaron Zeckoski <aaronz@...> wrote:
I worked around it by parsing the SOAP xml myself and firing my own
requests using the HttpRESTUtils but that's not really what you want
probably.
:-)
-AZ


On Thu, Oct 29, 2009 at 10:56 PM, Michael Osterman
<ostermmg.sakai@...> wrote:
> Has anybody been able to use the Link Tool with a Grails app? We're having
> problems consuming the SakaiSession.jws service due to apparent
> incompatibilities with GroovyWS and Sakai's Axis-based web services
> implementation. GroovyWS uses Apache CXF which apparently doesn't support
> Axis' RPC encoding. We're on Sakai 2.5.x or we'd be looking at a
> Sakai-native Grails tool.
>
> Any advice, workarounds, etc. greatly appreciated!
>
> -Mike
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev@...
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@...
> with a subject of "unsubscribe"
>
>



--
Aaron Zeckoski (azeckoski (at) vt.edu)
Senior Research Engineer - CARET - University of Cambridge
https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile


_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Parent Message unknown Re: [Building Sakai] Grails+Linktool+Sakai 2.5?

by csev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike,

You might want to switch to the Basic LTI tool.  It is set up for 2.6/7 but is a trivial back port to 2.5.

Basic LTI has the advantage that it can securely launch and validate in the tool without any callback using OAuth.

I have test harnesses so you can develop your tool without even using Sakai and then plugging it in.

There is sample Ruby code at www.oauth.net.

If you have questions let me know - I would love to know that the Ruby OAuth code worked - I would also like some simple test code for Ruby similar to what I have for PHP and Java:


/Chuck

On Thu, Oct 29, 2009 at 10:56 PM, Michael Osterman
<ostermmg.sakai@...> wrote:
> Has anybody been able to use the Link Tool with a Grails app? We're having
> problems consuming the SakaiSession.jws service due to apparent
> incompatibilities with GroovyWS and Sakai's Axis-based web services
> implementation. GroovyWS uses Apache CXF which apparently doesn't support
> Axis' RPC encoding. We're on Sakai 2.5.x or we'd be looking at a
> Sakai-native Grails tool.
>
> Any advice, workarounds, etc. greatly appreciated!
>
> -Mike

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] Grails+Linktool+Sakai 2.5?

by Michael Osterman-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Chuck,

This sounds like a great route to take. The dev team just got a workaround going with some Groovy client-side Axis 1.x stubs, but it's likely a bit brittle for long-term use.

I think there's an OAuth Grails plugin, so that should help considerably. 

Will keep everyone posted on how it goes.  

Thanks again!
Mike

On Oct 30, 2009, at 5:51 PM, csev <csev@...> wrote:

Mike,

You might want to switch to the Basic LTI tool.  It is set up for 2.6/7 but is a trivial back port to 2.5.

Basic LTI has the advantage that it can securely launch and validate in the tool without any callback using OAuth.

I have test harnesses so you can develop your tool without even using Sakai and then plugging it in.

There is sample Ruby code at www.oauth.net.

If you have questions let me know - I would love to know that the Ruby OAuth code worked - I would also like some simple test code for Ruby similar to what I have for PHP and Java:


/Chuck

On Thu, Oct 29, 2009 at 10:56 PM, Michael Osterman
<ostermmg.sakai@...> wrote:
> Has anybody been able to use the Link Tool with a Grails app? We're having
> problems consuming the SakaiSession.jws service due to apparent
> incompatibilities with GroovyWS and Sakai's Axis-based web services
> implementation. GroovyWS uses Apache CXF which apparently doesn't support
> Axis' RPC encoding. We're on Sakai 2.5.x or we'd be looking at a
> Sakai-native Grails tool.
>
> Any advice, workarounds, etc. greatly appreciated!
>
> -Mike
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"

Re: [Building Sakai] Grails+Linktool+Sakai 2.5?

by csev :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mike,

Here is the URL for the Basic LTI Test Harness - it simulates both a  
LMS and a Tool and has been used by many folks to develop and test  
their tools and LMS implementations.

http://www.dr-chuck.com/ims/php-simple/

/Chuck

On Oct 31, 2009, at 4:37 PM, Mike Osterman wrote:

> Chuck,
>
> This sounds like a great route to take. The dev team just got a  
> workaround going with some Groovy client-side Axis 1.x stubs, but  
> it's likely a bit brittle for long-term use.
>
> I think there's an OAuth Grails plugin, so that should help  
> considerably.
>
> Will keep everyone posted on how it goes.
>
> Thanks again!
> Mike
_______________________________________________
sakai-dev mailing list
sakai-dev@...
http://collab.sakaiproject.org/mailman/listinfo/sakai-dev

TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe@... with a subject of "unsubscribe"