Thank you for reporting this bug.

The error you found seems to indicate a bug in the third-party library
we use for invoking SOAP services (Axis 1.4).

The bug seems to fail to propagating your detail message, rather than
an inability to propagate it (in which case it should just be ignored)
- tracked here:

https://issues.apache.org/jira/browse/AXIS-2705

Unfortuantely there has not been any further releases of Axis 1.x, and
we have yet to upgrade our SOAP support to use a different library.


Would your web service be publically accessible somewhere for us to test it?


I have logged this in our bug tracker as:

http://dev.mygrid.org.uk/issues/browse/T3-937




On 11 November 2013 17:57, Pablo Martín <[email protected]> wrote:
> We are using taverna as a client for some web services implemented in LADON
> (a python framework for developing RPC applications).
> When something fails (ie: we invoke a web service with a non-optional
> parameter missing), LADON would return a SOAP-fault message.
>
> Taverna fails to interpret this message, showing an exception instead of
> giving us information about the SOAP-fault message. I managed to work around
> this by modifying LADON sources and deleting the <detail></detail> tags in
> the SOAP message. Still, I am reporting this as I understand that "detail"
> is part of the SOAP 1.2 standard, so Taverna should be able to understand
> it.
>
> Here are the exceptions and the SOAP-fault message:
>
> org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different
> document than the one that created it.
> org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
> org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> org.apache.axis.client.Call.invoke(Call.java:2767)
> org.apache.axis.client.Call.invoke(Call.java:1910)
> net.sf.taverna.wsdl.soap.WSDLSOAPInvoker.invokeCall(WSDLSOAPInvoker.java:198)
> net.sf.taverna.wsdl.soap.WSDLSOAPInvoker.invoke(WSDLSOAPInvoker.java:139)
> net.sf.taverna.t2.activities.wsdl.T2WSDLSOAPInvoker.invoke(T2WSDLSOAPInvoker.java:281)
> net.sf.taverna.t2.activities.wsdl.WSDLActivity$1.run(WSDLActivity.java:289)
> java.lang.Thread.run(unknown file)
>
>
> <?xml version="1.0" encoding="utf-8"?><SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/1999/XMLSchema";
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";>
>     <SOAP-ENV:Body>
>         <SOAP-ENV:Fault>
>             <faultcode xsi:type="xsd:string">server</faultcode>
>             <faultstring xsi:type="xsd:string">
> interface name: soap11
> service name: ServiceLadTest
> Parameter &quot;PA&quot; is not optional</faultstring>
>             <detail>Traceback (most recent call last):
>   File
> &quot;/XXXX/env2.7/lib/python2.7/site-packages/ladon/server/dispatcher.py&quot;,
> line 159, in dispatch_request
>     result = self.call_method(method,req_dict,tc,export_dict,log_line)
>   File
> &quot;/XXXX/env2.7/lib/python2.7/site-packages/ladon/server/dispatcher.py&quot;,
> line 53, in call_method
>     raise
> UndefinedServiceMethod(self.iface._interface_name(),self.sinst.servicename,'Parameter
> &quot;%s&quot; is not optional' % arg['name'])
> UndefinedServiceMethod:
> interface name: soap11
> service name: ServiceLadTest
> Parameter &quot;PA&quot; is not optional
> </detail>
>         </SOAP-ENV:Fault>
>     </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> ----
> Pablo Martín
> Fundación Centro de Supercomputación de Castilla y León. Spain
>
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and
> register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> Web site: http://www.taverna.org.uk
> Mailing lists: http://www.taverna.org.uk/about/contact-us/
> Developers Guide: http://www.taverna.org.uk/developers/



-- 
Stian Soiland-Reyes, myGrid team
School of Computer Science
The University of Manchester
http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
taverna-hackers mailing list
[email protected]
Web site: http://www.taverna.org.uk
Mailing lists: http://www.taverna.org.uk/about/contact-us/
Developers Guide: http://www.taverna.org.uk/developers/

Reply via email to