Dear Stian,
Thank you very much for your suggestion, it worked perfectly. I just added 2
XML splitters before the processor, 2 strings as input for the first
splitter (username and password) and it worked. In fact what the
processor received was just:
<action><password>pass</password><username>user</username></action>
but then the processor takes it and generates all the necessary stuff for
doing the login.
Thanks very much again, nice and useful help !
Regards,
Albert Mascarell Creus
2010/10/4 Stian Soiland-Reyes <[email protected]>
> On Fri, Oct 1, 2010 at 17:40, Albert Mascarell <[email protected]>
> wrote:
>
> > I am new to this Taverna world, and I am like "I don't know where I am".
> I
> > am trying to use a WebService that a friend is developing, but he does
> not
> > know anything about Taverna. I have processos from him, but his
> programming
> > way is such I need to input to the processor a Java class. Example: the
> > webservice is for making LogIn, and it does not work through simple input
> of
> > text/plain User and Password. It needs to input a Java object with the
> > parameters username and password:
>
> Hi! Welcome as a Taverna user!
>
> If your service provider is expecting or returning data such as one
> based on a Java class server-side, they are typically expressed as
> so-called "complex type" on a web service level. In short this will be
> in the form of a nested XML, for instance:
>
> <login>
> <username>john</username>
> <password>s3cret</password>
> </login>
>
> Taverna contains helpers called 'XML splitters' that can generate and
> extract from this XML. See
>
> http://www.taverna.org.uk/documentation/faq/building-workflows/services-with-complex-type/
> for documentation.
>
> In short it should be enough to right-click on the service once it's
> added to the workflow, and select 'Add XML input splitter' (or 'output
> splitter' for complex outputs).
>
> --
> Stian Soiland-Reyes, myGrid team
> School of Computer Science
> The University of Manchester
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> 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/
>
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
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/