Google Groups Home
Help | Sign in
creating web services - debugging?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
donundeen  
View profile
 More options Jul 17, 11:09 am
From: donundeen <donund...@gmail.com>
Date: Thu, 17 Jul 2008 08:09:08 -0700 (PDT)
Local: Thurs, Jul 17 2008 11:09 am
Subject: creating web services - debugging?
Hi,
Are there any tools for debugging a SPARQLMotion web service?
I did ok with the tutorials, but now that I'm trying some stuff of my
own, I'm getting blank pages.

For example, I've got a little script called IterateOverSelect_2 ,
but when I go to:

http://localhost:8083/tbl/servlet?action=sparqlmotion&id=IterateOverS...

I get a blank page.

Without going over the specifics of this particular script, I'm just
wondering if there's a way I can get a more useful response than just
a blank page for my web service request?

thanks.

don


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
donundeen  
View profile
 More options Jul 17, 11:12 am
From: donundeen <donund...@gmail.com>
Date: Thu, 17 Jul 2008 08:12:34 -0700 (PDT)
Local: Thurs, Jul 17 2008 11:12 am
Subject: Re: creating web services - debugging?
on a related note, is there a way to get a description of the required/
requested input variables for a particular script, via the web
interface?
something like an automatically generated WSDL ?

thanks

On Jul 17, 11:09 am, donundeen <donund...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Holger Knublauch  
View profile
 More options Jul 18, 11:02 pm
From: Holger Knublauch <hol...@topquadrant.com>
Date: Fri, 18 Jul 2008 20:02:22 -0700
Local: Fri, Jul 18 2008 11:02 pm
Subject: Re: [tbc-users] Re: creating web services - debugging?
No, the web interface does not provide a built-in mechanism to generate
web service interfaces.  It would be possible to do though via another
SPARQLMotion script, that takes a web service's name as input and then
analyzes the script's RDF to extract instances of sml:BindWithParameter
in order to return WSDL (XML) or whatever.

Do you have a specific use case in mind?  It might be useful to have
such a capability built-in.

Holger


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Holger Knublauch  
View profile
 More options Jul 18, 11:04 pm
From: Holger Knublauch <hol...@topquadrant.com>
Date: Fri, 18 Jul 2008 20:04:23 -0700
Local: Fri, Jul 18 2008 11:04 pm
Subject: Re: [tbc-users] creating web services - debugging?
There is no debugging functionality beside running a script using TBC's
debug button.  As you know most likely you can execute a script up to
any intermediate module and thus get more insights into what's happening
under the hood.  We have some further improvements on this ready for the
next 2.6.2 release.

Holger


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Smith, Tim  
View profile
 More options Jul 19, 9:29 am
From: "Smith, Tim" <smith.t...@pg.com>
Date: Sat, 19 Jul 2008 09:29:24 -0400
Local: Sat, Jul 19 2008 9:29 am
Subject: RE: [tbc-users] Re: creating web services - debugging?
I think having such a capability built-in would be a great benefit.

I have two use cases that would have immediate application.

1.  I have a couple of SM scripts that import raw data and produce
triples.  The raw data often comes from web downloads in different
formats.  The user must select the input data for each script.
Producing an interface that allowed the user to select the data and
execute the script would allow me to easily move the capability out of
TBC into Live making my users more independent.  (Plus I could stop
loading all the data... :)

2.  We are building different "analysis" SM scripts.  These scripts will
require input of different parameters (literals) and/or selection of
specific instances.  To do this currently, I will end up 'driving' TBC
while the business user sits next to me provide the input and look at
the output.  Being able to move this capability to Live will allow me to
keep the users out of TBC (the interface overwhelms them).

I'm sure more examples will come up over time.

Tim

> -----Original Message-----
> From: topbraid-composer-users@googlegroups.com

[mailto:topbraid-composer-
> users@googlegroups.com] On Behalf Of Holger Knublauch
> Sent: Friday, July 18, 2008 11:02 PM
> To: topbraid-composer-users@googlegroups.com
> Subject: [tbc-users] Re: creating web services - debugging?

> No, the web interface does not provide a built-in mechanism to
generate
> web service interfaces.  It would be possible to do though via another
> SPARQLMotion script, that takes a web service's name as input and then
> analyzes the script's RDF to extract instances of

sml:BindWithParameter

http://localhost:8083/tbl/servlet?action=sparqlmotion&id=IterateOverS...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Holger Knublauch  
View profile
 More options Jul 19, 1:57 pm
From: Holger Knublauch <hol...@topquadrant.com>
Date: Sat, 19 Jul 2008 10:57:22 -0700
Local: Sat, Jul 19 2008 1:57 pm
Subject: Re: [tbc-users] Re: creating web services - debugging?
Don,

another tip: when you develop SM web services, please run your TBC
eclipse with the option -console switched on.  This will open a console
window that will contain any low-level error messages.  We just
discovered that sml:CreateTextFromJSP throws an exception when run as a
web service.  While this is fixed for the next release it might be in
general still insightful to have the console showing up to monitor
whether any unexpected exceptions are thrown.

Thanks,
Holger


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
donundeen  
View profile
 More options Jul 21, 11:13 am
From: donundeen <donund...@gmail.com>
Date: Mon, 21 Jul 2008 08:13:08 -0700 (PDT)
Local: Mon, Jul 21 2008 11:13 am
Subject: Re: creating web services - debugging?
Tim Smith's post raised another point; is it possible to run SM
scripts from within live?
If not, is that something that is coming? I guess I had assumed that
this was possible, but now I don't know...

On Jul 19, 1:57 pm, Holger Knublauch <hol...@topquadrant.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Holger Knublauch  
View profile
 More options Jul 21, 11:37 am
From: Holger Knublauch <hol...@topquadrant.com>
Date: Mon, 21 Jul 2008 08:37:10 -0700
Local: Mon, Jul 21 2008 11:37 am
Subject: Re: [tbc-users] Re: creating web services - debugging?
Yes, it is possible to execute SPARQLMotion scripts using a TopBraid  
Live server. This makes it possible to build semantic web applications  
in which the data (and server-side behavior) is provided by  
SPARQLMotion scripts, i.e. no Java programming might be needed.  It's  
also a way of publishing SM-driven Web Services, and to generate  
(HTML) pages. Improved support for this will be part of 2.6.2 soon.

Holger

On Jul 21, 2008, at 8:13 AM, donundeen wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google