On Tue, Nov 30, 2010 at 12:09 AM, Alexandra Nenadic
<[email protected]>wrote:
> Hello,
>
> We are not quite clear what you Web service takes as an input - just the
> name of the image file? And then it know which image to process just by
> knowing the name of an image?
>
First of all, sorry for my poor english and the unclear points. I have web
service server (for processing image) and taverna run in the same machine.
Taverna just send the file name that store in specified directory to the
server as an input. The web service server calls the image from file name
and execute it.
> There are few things that you can do but we need to understand a bit
> better how your Web service works before we can answer. Can you send us the
> WSDL ULR of your Web service please?
>
Please see the attached WSDL. The server get the name of an image as an
input, process it and return the output in binary. This service work
properly now.
But I want it to execute more than one image at a time by sending multiple
filenames.
>
> The "Add file(s) location" option when you run a workflow enables you to
> load contents of files as inputs and not their paths on your file system.
>
I tried it. Then, Is there anyway to get the filenames or their paths from
input window?
I use gSOAP as the web service tookit.
>
>
Regards,
> Alex
>
Thanks in advance
Nan
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="imgProcess"
targetNamespace="http://localhost/imgProcess.wsdl"
xmlns:tns="http://localhost/imgProcess.wsdl"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="urn:img"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace="urn:img"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="urn:img"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/"/>
<simpleType name="base64Binary">
<restriction base="xsd:base64Binary">
</restriction>
</simpleType>
</schema>
</types>
<message name="getImageRequest">
<part name="name" type="xsd:string"/>
</message>
<message name="getImageResponse">
<part name="image" type="ns:base64Binary"/>
</message>
<portType name="imgProcessPortType">
<operation name="getImage">
<documentation>Service definition of function ns__getImage</documentation>
<input message="tns:getImageRequest"/>
<output message="tns:getImageResponse"/>
</operation>
</portType>
<binding name="imgProcess" type="tns:imgProcessPortType">
<SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getImage">
<SOAP:operation style="rpc" soapAction=""/>
<input>
<SOAP:body use="encoded" namespace="urn:img" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<SOAP:body use="encoded" namespace="urn:img" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="imgProcess">
<documentation>gSOAP 2.7.17 generated service definition</documentation>
<port name="imgProcess" binding="tns:imgProcess">
<SOAP:address location="http://localhost/cgi-bin/imgProcessServer"/>
</port>
</service>
</definitions>
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
taverna-users mailing list
[email protected]
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/