【求助】关于生物信息学的web services问题
libiqing77
|
1#
发表于 2008-07-28 16:53
|
libiqing77
|
1#
libiqing77 发表于 2008-07-28 16:53
【求助】关于生物信息学的web services问题
我现在要用一个网络服务,它的wsdl如下:
http://www.ebi.ac.uk/webservices/whatizit/ws?wsdl 这个服务的网络地址是 http://www.ebi.ac.uk/webservices/whatizit/info.jsf 我简单介绍一下,这个服务是文本处理,将你提交的文本中的基因、药物、疾病或者是蛋白质的信息标注出来,这个参数是由你自己选择的。我只需用到其中的一个方法contact,参数有三个,pipelineName、text和convertToHtml,其中pipelineName就是选择标注基因,还是蛋白质,还是疾病,text就是你要输入的文本信息,convertToHtml控制输出格式为Html还是XML。 我编写的程序如下: #!/usr/bin/perl -w use strict; use SOAP::Lite; my $str='Quercetin, a ubiquitous bioactive plant flavonoid, has been shown to inhibit the proliferation of cancer cells and induce the accumulation of hypoxia-inducible factor-1alpha (HIF-1alpha) in normoxia. In this study, under hypoxic conditions (1% O(2)), we examined the effect of quercetin on the intracellular level of HIF-1alpha and extracellular level of vascular endothelial growth factor (VEGF) in a variety of human cancer cell lines. Surprisingly, we observed that quercetin suppressed the HIF-1alpha accumulation during hypoxia in human prostate cancer LNCaP, colon cancer CX-1, and breast cancer SkBr3 cells. Quercetin treatment also significantly reduced hypoxia-induced secretion of VEGF. Suppression of HIF-1alpha accumulation during treatment with quercetin in hypoxia was not prevented by treatment with 26S proteasome inhibitor MG132 or PI3K inhibitor LY294002. Interestingly, hypoxia (1% O(2)) in the presence of 100 microM quercetin inhibited protein synthesis by 94% during incubation for 8 h. Significant quercetin concentration-dependent inhibition of protein synthesis and suppression of HIF-1alpha accumulation were observed under hypoxic conditions. Treatment with 100 microM cycloheximide, a protein synthesis inhibitor, replicated the effect of quercetin by inhibiting HIF-1alpha accumulation during hypoxia. These results suggest that suppression of HIF-1alpha accumulation during treatment with quercetin under hypoxic conditions is due to inhibition of protein synthesis. J. Cell. Biochem. (c) 2008 Wiley-Liss, Inc.'; my $whatizit=SOAP::Lite -> service('http://www.ebi.ac.uk/webservices/whatizit/ws?wsdl'); my %parameters=(); $parameters{'pipelineName'}='whatizitSwissprotGo2'; $parameters{'text'}=$str; $parameters{'convertToHtml'}='false'; print $whatizit->contact( SOAP:ata->name('parameters')->type(map=>\%parameters) ); 但是怎么也得不到结果,请各位高手指点迷津。 |
libiqing77
|
2#
libiqing77 发表于 2008-08-01 14:12
我用SOAP::Lite +trace;
报的错是 Unquoted string "trace" may clash with future reserved word at C:/Documents and Settings/Administrator/桌面/libiqing/Whatizit/wsdl_whatizit.pl line 4. SOAP::Transport::new: () SOAP::Serializer::new: () SOAP:eserializer::new: () SOAP:arser::new: () SOAP::Lite::new: () SOAP:eserializer::new: () SOAP:arser::new: () SOAP::Schema::new: () SOAP:eserializer::deserialize: () SOAP:arser::decode: () SOAP:ata::new: () SOAP:ata::new: () SOAP:ata::new: () SOAP:ata::new: () SOAP:ata::new: () SOAP:ata::new: () SOAP:ata::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::SOM::new: () SOAP::SOM::DESTROY: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Schema::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP:arser::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Transport::new: () SOAP::Serializer::new: () SOAP::Deserializer::new: () SOAP:arser::new: () SOAP::Lite::new: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Lite::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP:arser::DESTROY: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::new: () SOAP::Lite: () SOAP::Serializer::envelope: () SOAP::Serializer::envelope: contact SOAP::Data=HASH(0x1f0e34c) SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Data::new: () SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x1e73ba SOAP::Transport::HTTP::Client::send_receive: POST http://www.ebi.ac.uk:80/webservices/whatizit/ws Accept: text/xml Accept: multipart/* Content-Length: 2360 Content-Type: text/xml; charset=utf-8 SOAPAction: "" <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:apachens="http://xml.apache.org/xml-soap" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlnssi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlnssd="http://www.w3.org/1999/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><contact xmlns=""><parameters xsi:type="apachens:Map"><item><key xsi:type="xsd:string">text</key><value xsi:type="xsd:string">Quercetin, a ubiquitous bioactive plant flavonoid, has been shown to inhibit the proliferation of cancer cells and induce the accumulation of hypoxia-inducible factor-1alpha (HIF-1alpha) in normoxia. In this study, under hypoxic conditions (1% O(2)), we examined the effect of quercetin on the intracellular level of HIF-1alpha and extracellular level of vascular endothelial growth factor (VEGF) in a variety of human cancer cell lines. Surprisingly, we observed that quercetin suppressed the HIF-1alpha accumulation during hypoxia in human prostate cancer LNCaP, colon cancer CX-1, and breast cancer SkBr3 cells. Quercetin treatment also significantly reduced hypoxia-induced secretion of VEGF. Suppression of HIF-1alpha accumulation during treatment with quercetin in hypoxia was not prevented by treatment with 26S proteasome inhibitor MG132 or PI3K inhibitor LY294002. Interestingly, hypoxia (1% O(2)) in the presence of 100 microM quercetin inhibited protein synthesis by 94% during incubation for 8 h. Significant quercetin concentration-dependent inhibition of protein synthesis and suppression of HIF-1alpha accumulation were observed under hypoxic conditions. Treatment with 100 microM cycloheximide, a protein synthesis inhibitor, replicated the effect of quercetin by inhibiting HIF-1alpha accumulation during hypoxia. These results suggest that suppression of HIF-1alpha accumulation during treatment with quercetin under hypoxic conditions is due to inhibition of protein synthesis. J. Cell. Biochem. (c) 2008 Wiley-Liss, Inc.</value></item><item><key xsi:type="xsd:string">pipelineName</key><value xsi:type="xsd:string">whatizitSwissprotGo2</value></item><item><key xsi:type="xsd:string">convertToHtml</key><value xsi:type="xsd:string">false</value></item></parameters></contact></SOAP-ENV:Body></SOAP-ENV:Envelope> SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x1e836a4) SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error Connection: close Date: Fri, 01 Aug 2008 06:06:35 GMT Server: Apache-Coyote/1.1 Content-Length: 432 Content-Type: text/xml;charset=utf-8 Client-Date: Fri, 01 Aug 2008 06:06:36 GMT Client-Peer: 193.62.197.12:80 Client-Response-Num: 1 <?xml version="1.0" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlnssd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.ebi.ac.uk/webservices/whatizit/ws"><soapenv:Body><soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>soapenv:Client</faultcode><faultstring>Cannot find the dispatch method</faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope> SOAP::Deserializer::deserialize: () SOAP:arser::decode: () SOAP::SOM::new: () SOAP::Lite::DESTROY: () SOAP::SOM::DESTROY: () SOAP::Serializer::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Transport::DESTROY: () SOAP::Transport::HTTP::Client::DESTROY: () SOAP::Deserializer::DESTROY: () SOAP:arser::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () SOAP::Data::DESTROY: () |
mouse.rice
|
3#
mouse.rice 发表于 2008-08-01 14:57
神啦,什么高科技,好累
|
撒哈拉里的鱼
|
4#
撒哈拉里的鱼 发表于 2008-08-02 01:46
不管是生物也好,web服务也好,最终不过是POST一个XML数据过去,返回一个XML结果而已。
你按照这个思路,实在不行了手动POST过去试试。 |