Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
webservice calls
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
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
pradeep  
View profile  
 More options Oct 20, 4:40 am
From: pradeep <pradeep20...@gmail.com>
Date: Tue, 20 Oct 2009 01:40:22 -0700 (PDT)
Local: Tues, Oct 20 2009 4:40 am
Subject: webservice calls
I have installed cpath ver0.7 and loaded Reactome data. I am able to
get webservice worked to retrieve html content. However when I try
following cmd

[1] Command: search
[2] Command: get_pathways
[3] Command: get_neighbors
[4] Command: get_parents
[5] Command: get_record_by_cpath_id
[6] Additional Parameter Details
[7] Error Codes

it does not work.

How can I get to work the above command from by local installation.

Thank you,
--pradeep


    Reply    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.
Benjamin Gross  
View profile  
 More options Oct 21, 10:33 am
From: Benjamin Gross <benjamin.gr...@gmail.com>
Date: Wed, 21 Oct 2009 07:33:27 -0700 (PDT)
Local: Wed, Oct 21 2009 10:33 am
Subject: Re: webservice calls
Pradeep,

Can you provide me with URL you are constructing to make web service
request ?  Also, what response are you getting from server ?

Thx
-Benjamin

On Oct 20, 4:40 am, pradeep <pradeep20...@gmail.com> wrote:


    Reply    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.
pradeep kumar s  
View profile  
 More options Oct 21, 11:12 am
From: pradeep kumar s <pradeep20...@gmail.com>
Date: Thu, 22 Oct 2009 00:12:48 +0900
Local: Wed, Oct 21 2009 11:12 am
Subject: Re: webservice calls
Dear Benjamin Gross,

Thanks a lot for answering my question!

These are web service URL I am using:

1.

http://localhost/cpath/webservice.do?version=2.0&q=BRCA2&format=xml&c...
or
http://localhost/cpath/webservice.do?version=1.0&q=BRCA2&format=xml&c...

I think version=1.0 is right at my data is all version 1.0

but both of them give the error:

<error>
<error_code>450</error_code>
<error_msg>Bad Command (command not recognized)</error_msg>
-
<error_details>
Command:  'search' is not recognized.  Please try again.
</error_details>
</error>

2.

http://localhost/cpath/webservice.do?version=2.0&cmd=get_pathways&q=O...

Get this error:

An Error Has Occurred
Command: 'get_pathways' is not recognized. Please try again.

3.

http://localhost/cpath/webservice.do?cmd=get_pathways&version=2.0&q=O...

An Error Has Occurred
Command: 'get_pathways' is not recognized. Please try again.

4.
http://localhost/cpath/webservice.do?version=3.0&cmd=get_neighbors&q=...

An Error Has Occurred
Command: 'get_neighbors' is not recognized. Please try again.

I am trying to get result in some xml format so that I can parse and
use for some other purpose.

Thank you very much.

Sincerely,
--Pradeep

On Wed, Oct 21, 2009 at 11:33 PM, Benjamin Gross


    Reply    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.
Benjamin Gross  
View profile  
 More options Oct 21, 12:30 pm
From: Benjamin Gross <benjamin.gr...@gmail.com>
Date: Wed, 21 Oct 2009 12:30:34 -0400
Local: Wed, Oct 21 2009 12:30 pm
Subject: Re: webservice calls
Hi Pradeep,

You want to use version 2.0 for all webservice calls except  
get_neighbors (which is version 3.0).  Where did you grab the source  
code ?

-B

On Oct 21, 2009, at 11:12 AM, pradeep kumar s wrote:


    Reply    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.
pradeep kumar s  
View profile  
 More options Oct 21, 9:10 pm
From: pradeep kumar s <pradeep20...@gmail.com>
Date: Thu, 22 Oct 2009 10:10:05 +0900
Local: Wed, Oct 21 2009 9:10 pm
Subject: Re: webservice calls
HI Benjamin,

I downloaded the source from the link that is given on cPath download page.
Do I have to download latest build from SVN to avail all the
webservice functionality?

--Pradeep

On Thu, Oct 22, 2009 at 1:30 AM, Benjamin Gross


    Reply    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.
Benjamin Gross  
View profile  
 More options Oct 21, 10:58 pm
From: Benjamin Gross <benjamin.gr...@gmail.com>
Date: Wed, 21 Oct 2009 22:58:17 -0400
Local: Wed, Oct 21 2009 10:58 pm
Subject: Re: webservice calls
You shouldn't have to grab the latest build for web service  
functionality, but I would grab it (we just released a new version of  
cpath with enhanced searching capabilities).  Would you mind  
downloading the latest source and creating a new war file ?

On Oct 21, 2009, at 9:10 PM, pradeep kumar s wrote:


    Reply    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.
pradeep kumar s  
View profile  
 More options Oct 25, 9:14 pm
From: pradeep kumar s <pradeep20...@gmail.com>
Date: Mon, 26 Oct 2009 10:14:12 +0900
Local: Sun, Oct 25 2009 9:14 pm
Subject: Re: webservice calls

Dear Benjamin,

As suggested by you, I tried to check out the latest CVS build. I am
unsuccessful to do so with anonymous credentials. I have been trying
it for past 2 to 3 days thinking that the server may be down. But this
appears  to be persistent. Could you please check if, I am wrong on
this or some problem with server.

This is what I used:

For anonoymous CVS access:
export CVS_RSH=ssh
cvs -d :ext:anonym...@cbiocvs2.nci.nih.gov:/share/content/gforge/cpath
checkout cpath
When prompted, enter password: anonymous.

Attached is the pic of tortoiseCVS:
I faced similar problems from command line.

Thank you for the attention and help.

Regards,
--Pradeep
P.S: I have also applied for an account, yet to receive email from the admin.

On Thu, Oct 22, 2009 at 11:58 AM, Benjamin Gross

  cvs.png
14K Download

    Reply    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.
Benjamin Gross  
View profile  
 More options Oct 26, 11:03 am
From: Benjamin Gross <benjamin.gr...@gmail.com>
Date: Mon, 26 Oct 2009 11:03:44 -0400
Local: Mon, Oct 26 2009 11:03 am
Subject: Re: webservice calls
Hi Pradeep,

I've put cpath.zip into the pc-dump directory of the cbio web server I  
referred you to last week.  That contains the lastest code.

Let me know if you have any problems with it.

Regards,
-Benjamin
On Oct 25, 2009, at 9:14 PM, pradeep kumar s wrote:


    Reply    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.
pradeep kumar s  
View profile  
 More options Nov 3, 10:09 am
From: pradeep kumar s <pradeep20...@gmail.com>
Date: Wed, 4 Nov 2009 00:09:55 +0900
Local: Tues, Nov 3 2009 10:09 am
Subject: Re: webservice calls
Dear Benjamin,

Thanks for uploading the latest build. But I get errors when I try to
build the source.
It complains of missing classes:

1)In org.mskcc.pathdb.action.web_api.biopax_mode.ExecuteGetParentsXmlResponse
class, org.mskcc.pathdb.schemas.summary_response package does not
exist.
2)In org.mskcc.pathdb.action.web_api.biopax_mode.ExecuteSearchXmlResponse
class, org.mskcc.pathdb.schemas.search_response package does not
exist.
Please do the needful.

Question2:

Documentation of cpath mentions about  Biogrid(PSI format) to biopax
converters. where can I find the scripts to convert in cpath src
directory?

Thank you,

Sincerely,
--Pradeep

On Tue, Oct 27, 2009 at 12:03 AM, Benjamin Gross


    Reply    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.
Benjamin Gross  
View profile  
 More options Nov 3, 3:19 pm
From: Benjamin Gross <benjamin.gr...@gmail.com>
Date: Tue, 3 Nov 2009 15:19:06 -0500
Local: Tues, Nov 3 2009 3:19 pm
Subject: Re: webservice calls

Hi Pradeep,

>> It complains of missing classes:

>> 1)In  
>> org.mskcc.pathdb.action.web_api.biopax_mode.ExecuteGetParentsXmlResponse
>> class, org.mskcc.pathdb.schemas.summary_response package does not
>> exist.
>> 2)In  
>> org.mskcc.pathdb.action.web_api.biopax_mode.ExecuteSearchXmlResponse
>> class, org.mskcc.pathdb.schemas.search_response package does not
>> exist.
>> Please do the needful.

These packages get created when you run ant.  How are you building the  
source ?

>> Question2:

>> Documentation of cpath mentions about  Biogrid(PSI format) to biopax
>> converters. where can I find the scripts to convert in cpath src
>> directory?

I've placed psi-2-biopax.zip onto the web server (pc-dump dir) which  
contains the psi to biopax converter.  To use the converter, you need  
to set an environment variable PATHWAY_TOOLS_ROOT with the paths to  
the jars in this zip.  You can process an entire directory using psi-
mi-batch-converter.py or a single file using psi-mi-converter.sh.

Let me know if you have any questions,

-Benjamin


    Reply    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
©2009 Google