On 15/02/2012 15:21, Anja Le Blanc wrote:
I am trying to build a workflow which submits a workflow to the Taverna
Server now using SOAP.
(https://eric.rcs.manchester.ac.uk:8443/taverna-server-2/soap?wsdl)

A type-identical WSDL (though with a different service address) is at http://eric.rcs.manchester.ac.uk:8080/taverna-server-2/soap?wsdl

[...]
Talking to Donal - the server expects a different element at the place
of<any>.

Definition:
<xs:complexType name="Workflow">
    <xs:sequence>
      <xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other"
processContents="lax"/>
    </xs:sequence>
</xs:complexType>

(##other - elements from any namespace that is not the namespace of the
parent element can be present)

Technically, any element from a namespace that isn't the target namespace of the declaring schema. (In specific this case, that's http://ns.taverna.org.uk/2010/xml/server/ which it has to be different to.)

The *real* expected content of the message is a SOAP Body with content like:

  <workflow xmlns="http://ns.taverna.org.uk/2010/xml/server/";>
    <workflow xmlns="http://taverna.sf.net/2008/xml/t2flow";>
      ...
    </workflow>
  </workflow>

That is, it's a t2flow document (NB, not the bytes but the XML infoset) wrapped in an outer element. It's asking for an xsd:any because of a limitation of JAXB.

Is where a way to 'configure' the XML Splitter in case of these 'any'
elements? How can I avoid this issue?

I emphasize that I don't know the answer on this, but the XML splitter is definitely not doing the right thing; it certainly shouldn't be producing an element whose name is '<any>' (in any namespace or none).

Donal.

<<attachment: donal_k_fellows.vcf>>

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
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/

Reply via email to