Web service developer's guide

We support web service of PseudoViewer. Developers are advised to follow the following instruction to use the web service.
Download documents
- PseudoViewer web service WSDL
- Example of SOAP messages
Request: Sequence and structure data in the bracket format
Request: Sequence and structure data in the paired format
Response: The url of an image file
Request: Input file of PseudoViewer
Response: The raw data of an image file
Request: Setting numbering
Response: The eps format of an image file
Request: Setting drawing options
Response: The two-demensional coordination of bases generated by PseudoViewer
Request: Complex format
Response: Complex format
Client using C#
- Microsoft Web Service Enhancements (WSE) is required. - Download Microsoft WSE 2.0 SP3
- Sample client in C#
Client using Java
- Following libraries are required.
Apache AXIS
JavaBeans Activation Framework (JAF)
Download all of these libraries as zip file, tar file
- Sample client in Java - source code
- Using WSDL2Java
Related document in Apache AXIS
WSPseudoViewer package (kr.ac.inha.wilab.WSPseudoViewer) in client example can be generated by WSDL2Java tool in apache axis. If there is a chage in the PseudoViewer web service, WSPseudoViewer package should be updated.
The command for PseudoViewer web service is follows.
> java org.apache.axis.wsdl.WSDL2Java

Before using WSDL2Java tool, make sure that the related jar files are in the classpath.
The related jar files are
axis.jar, commons-logging.jar, commons-discovery.jar, jaxrpc.jar, saaj.jar, wsdl4j.jar in Apache Axis
activation.jar in JAF
mailapi.jar in in JavaMail
The command for setting classpath is follows. Any version of jar files is OK.
> set classpath=axis.jar;commons-logging-1.0.4.jar;commons-discovery-0.2.jar;jaxrpc.jar;saaj.jar;activation.jar;mailapi.jar;wsdl4j-1.5.1.jar
Related documents for web service
- W3C - Web Service Activity
- W3C - XML Protocol Working Group
- msdn - Web Service developer center
- msdn - How to send and receive a SOAP message
- Sun - Java technology and web services
- Perl - Creating web services with XML-RPC
String formats of xml elements
<Drawing_option> - Details
default, Standard view, Outline view, Pseudoknot highlight,
Support line, Base pair type, Additional line
url png, url gif, url svg, raw png, raw gif, eps, coordinations
default, Start of structure, End of structure, Start of stem, End of stem
<Pair> - Examples
- Details of input format of PseudoViewer