Hi, I'm blocked on a dubt and can't go on to resolve my issue. I have to
call a Rest Remote Services, pass trought an ESB. I have to pass 3 post var
in the call as below:
curl -k -X POST
http://www.ebi.ac.uk/Tools/services/rest/emboss_matcher/run/-d
asequence=FASTA -d bsequence=FASTA -d email=
[email protected]

This call return a jobId

To do this i realize this proxy service:

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse";
       name="BioframeProxyService"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <property name="ContentType" value="text/xml" scope="axis2"
type="STRING"/>
         <switch source="$axis2:HTTP_METHOD">
            <case regex="GET">
               <property name="HTTP_METHOD" value="GET" scope="axis2"
type="STRING"/>
            </case>
            <case regex="POST">
               <property name="HTTP_METHOD" value="POST" scope="axis2"
type="STRING"/>
            </case>
            <default/>
         </switch>
      </inSequence>
      <outSequence>
         <send/>
      </outSequence>
      <endpoint>
         <address uri="
http://www.ebi.ac.uk/Tools/services/rest/emboss_matcher/run/";
                  format="pox"/>
      </endpoint>
   </target>
   <description/>
</proxy>

 I call this proxyservice by curl in this way :
 curl -k -i https://172.16.1.183:9444/services/BioframeProxyService but
nothing happen... and I don't have my jobId came bache to the client rest
call.

What could be wrong? Do I use an API instead of the Proxy Service or BOTH?

TNx I'm really confused!
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to