Our LiGraph API
for SOAP
General information
 LiGraph 

 

Calling
The client invokes the server function called: 
gen_ligraph_from_area(feld,dmode,fuzzy,theme,scale,color) and gets back a struc.
gen_ligraph_from_linucs(linucs,dmode,fuzzy,theme,scale,color) and gets back a struc.
The address of the SOAP-Script is: ("www.dkfz-heidelberg.de/spec/ligraph/soap/function_soap.php)

 

Input (5 Parameters: String, 1 Parameter Struct)
Input: feld     a-D-Manp-(1-2)-a-D-Manp-(1-6)+
                                             |
                                        a-D-Manp-(1-6)+
                                             |        |
                a-D-Manp-(1-2)-a-D-Manp-(1-3)+   b-D-Manp-(1-4)-b-D-GlcpNAc-(1-4)-b-D-GlcpNAc-(1-4)-Asn
                                                      |
          a-D-Manp-(1-2)-a-D-Manp-(1-2)-a-D-Manp-(1-3)+
Input: dmode= "ascii", "ascii_num", "graph", "graph_num"
Input: fuzzy= "set", "not set"
Input: theme= "heidelberg", "oxfort", "tokio", "cfg", (heidelberg2 soon)
Input: scale= "1.0" up to "9.0" 
Input: color= Array[0]["res"]="1"       or [0]["res"]="A" (you can use no. or chars)
              Array[0]["val"]="magenta" or [0]["val"]="#0CAFFE" 

 

Output

Output: 
  Associated array with this elements:
    [input] => yust for debuggin'

    [linucs] => Linucs-Code
    [(linucs_res)] => Linucs-Code resorted using the fuzzy option
	
    [ascii] =>  The sugar graph in ASCII notation  

    [graph] => Struct => [graph_jpg] => Binay data of the JPG image 
                         [graph_legende] => Binay data of the legend of the JPG image 

 

PHP Client

Please use our  php client  for LiGraph.
You need this include file: phpsoap.tgz (especially the nusoap.php) 


Questions or remarks, please mail Andreas Bohne