感谢回复
地址我知道在哪,也有权限调用。
在内网192.168.1.14:8080/SZBWS/SZBWS/services/BusinessOperation.wsdl
这几个参数不知道怎么用?能不能帮我大概写一个程序?然后我自己慢慢琢磨,谢谢
------------------------------------------------------------------------
方法:public String uploadInfoInfo (String funname, String xml)
基础数据:
参数funname:baseinfo
参数xml:
<requestXml>
<mrId></mrId>//
</requestXml>
-------------------------------------------------------------------------------------------------
我看有一个网页可以通过以下类似的方式连接,但我没成功。
## Install SSOAP from Bioconductor ##
source("http://bioconductor.org/biocLite.R")
biocLite("SSOAP")
## Load the SSOAP library ##
library(SSOAP)
## Create a SOAPServer instance for the web service ##
srv = SOAPServer("http://www.wikipathways.org/wpi/webservice/webservice.php");
## List all organisms on WikiPathways ##
reply = .SOAP(srv, "listOrganisms", action=I("listOrganisms"), handlers=NULL)
doc = xmlParse(reply$content, asText=TRUE)
organismNodes = xmlElementsByTagName(xmlRoot(doc), "organisms", TRUE)
for(node in organismNodes) {
print(xmlValue(node)) #Print the organism name to the screen
}
## Find all pathways for the 'apoptosis' keyword ##
reply = .SOAP(srv, "findPathwaysByText", query="apoptosis", species="", action=I("findPathwaysByText"), handlers=NULL)
doc = xmlParse(reply$content, asText=TRUE)
# Find the result nodes with an xpath query
resultNodes = getNodeSet(doc, "//*[local-name()='result']")
# Print the pathway name, species and url for each result
for(node in resultNodes) {
children = xmlChildren(node, addNames= TRUE)
url = xmlValue(children$url)
name = xmlValue(children$name);
species = xmlValue(children$species);
print(paste(name, " (", species, "): ", url, sep=""))
}