Hi all,

I am trying to invoke a webservice on Axis on Tomcat through the Taverna
Workflow Engine.

Samples like the Axis Stock Quote work, returning the stated "55.25". 
One method of my webservice works, returning a usage statement (WSDL for
the webservice below). 
However, calling the "executeJob" method returns an instant "Service
Failed" in Taverna, with the error shown below. (I realise not all of it
may be pertinent, but I assume the
"org.apache.wsif.base.WSIFDefaultMessage.." is the main problem here). 

Any help or advice from people with experience with these errors would
be greatly appreciated! :)

Thanks,

Paul

---------------------------------------------------------------
<wsdl:definitions targetNamespace="urn:process">
-
        <wsdl:types>
-
        <schema targetNamespace="urn:process">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
-
        <complexType name="ArrayOf_xsd_string">
-
        <complexContent>
-
        <restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
-
        <wsdl:message name="usageResponse">
<wsdl:part name="usageReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="usageRequest">
  </wsdl:message>
-
        <wsdl:message name="executeJobResponse">
<wsdl:part name="executeJobReturn" type="xsd:string"/>
</wsdl:message>
-
        <wsdl:message name="executeJobRequest">
<wsdl:part name="in0" type="impl:ArrayOf_xsd_string"/>
</wsdl:message>
-
        <wsdl:portType name="TPMInterface">
-
        <wsdl:operation name="executeJob" parameterOrder="in0">
<wsdl:input message="impl:executeJobRequest" name="executeJobRequest"/>
<wsdl:output message="impl:executeJobResponse"
name="executeJobResponse"/>
</wsdl:operation>
-
        <wsdl:operation name="usage">
<wsdl:input message="impl:usageRequest" name="usageRequest"/>
<wsdl:output message="impl:usageResponse" name="usageResponse"/>
</wsdl:operation>
</wsdl:portType>
-
        <wsdl:binding name="processSoapBinding"
type="impl:TPMInterface">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
-
        <wsdl:operation name="executeJob">
<wsdlsoap:operation soapAction=""/>
-
        <wsdl:input name="executeJobRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:process" use="encoded"/>
</wsdl:input>
-
        <wsdl:output name="executeJobResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:process" use="encoded"/>
</wsdl:output>
</wsdl:operation>
-
        <wsdl:operation name="usage">
<wsdlsoap:operation soapAction=""/>
-
        <wsdl:input name="usageRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:process" use="encoded"/>
</wsdl:input>
-
        <wsdl:output name="usageResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
namespace="urn:process" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
-
        <wsdl:service name="TPMInterfaceService">
-
        <wsdl:port binding="impl:processSoapBinding" name="process">
<wsdlsoap:address
location="http://localhost:1984/axis/services/process"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
-------------------------------------

----------------------------------------------
Error occured during invocation Cannot get part 'executeJobReturn'. Part
was not found in message
 
org.embl.ebi.escience.scuflworkers.wsdl.WSDLInvocationTask.execute(..) :
line 116 <WSDLInvocationTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.runAndGe
nerateTemplates(..) : line 383 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.doInvoca
tionWithRetryLogic(..) : line 342 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.invokeOn
ce(..) : line 287 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.invokeWi
thoutIteration(..) : line 440 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.invoke(.
.) : line 221 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.handleRu
n(..) : line 169 <ProcessorTask.java>
   uk.ac.soton.itinnovation.freefluo.core.task.ScheduledState$1.run(..)
: line 60 <ScheduledState.java>

Cannot get part 'executeJobReturn'. Part was not found in message
 
org.apache.wsif.base.WSIFDefaultMessage.handlePartNotFoundException(..)
: line -1 <Unknown filename>
   org.apache.wsif.base.WSIFDefaultMessage.getObjectPart(..) : line -1
<Unknown filename>
 
org.embl.ebi.escience.scuflworkers.wsdl.WSDLInvocationTask.execute(..) :
line 109 <WSDLInvocationTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.runAndGe
nerateTemplates(..) : line 383 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.doInvoca
tionWithRetryLogic(..) : line 342 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.invokeOn
ce(..) : line 287 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.invokeWi
thoutIteration(..) : line 440 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.invoke(.
.) : line 221 <ProcessorTask.java>
 
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask.handleRu
n(..) : line 169 <ProcessorTask.java>
   uk.ac.soton.itinnovation.freefluo.core.task.ScheduledState$1.run(..)
: line 60 <ScheduledState.java>
-----------------------------------------------

--
Paul Andre
IT Innovation Centre
2 Venture Road
Chilworth Science Park
Southampton, SO16 7NP, UK

tel: +44 23 8076 0834
fax: +44 23 8076 0833

mailto:[EMAIL PROTECTED]
http://www.it-innovation.soton.ac.uk

Reply via email to