Hi thanks for the reply

Unfortunally I haven't been able to put it work :(

I've found some information concerning XML and SOAP in an IBM
transaction server
[http://publib.boulder.ibm.com/infocenter/cicsts/v3r2/index.jsp?topic=/com.ibm.cics.ts.webservices.doc/reference/SchemaToHLL/dfhws_anytypesupport.html]

 that says, that when no type is present then the default value should
be anyType, so:

 <xsd:element maxOccurs="1" minOccurs="1" name="outputResult1" />

should be equal to:

<xsd:element maxOccurs="1" minOccurs="1" name="outputResult1"
type="xsd:anyType"/>

But this could be something implemented in their system

I've tried to use type="xsd:anyType" and there was no output in the
XMLOutputspliter :(

Then I've try something like this:

<xsd:element maxOccurs="1" minOccurs="1" name="outputResult2">

<xsd:complexType>
 <xsd:sequence>
  <xsd:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
 </xsd:sequence>
</xsd:complexType>


<xsd:element><!-- end of outputResult2 -->


I am trying to say: "outputResult2" has a complexType child that can be
anything text or XML.

But it didn't worked.....

So I am a bit lost, maybe I doing something wrong in WSDL's schema
definition !?


Thanks for the support

Jorge



On 10/01/2010 11:25 AM, Stian Soiland-Reyes wrote:
> On Mon, Sep 27, 2010 at 17:32, Jorge de Jesus <[email protected]> wrote:
> 
>> <ExecuteProcess_dummy>
>> <outputResult1><a></a></outputResult1>
>> <outputResult2><b></b></outputResult2>
>> </ExecuteProcess_dummy>
> 
>> <xsd:schema targetNamespace="http://www.opengis.net/wps/1.0.0";>
>>                        <xsd:element 
>> name="ExecuteProcess_ExecuteProcess_dummy">
>>                        <xsd:complexType>
>>                        <xsd:sequence>
>>                                <xsd:element maxOccurs="1" minOccurs="1" 
>> name="outputResult1" />
>>                                <xsd:element maxOccurs="1" minOccurs="1" 
>> name="outputResult2" " />
> 
> You will need to specify the element with type="xsd:any' to allow any
> XML inside to pass through. A specific type would be even better as it
> would allow you to connect further XML splitters to delve deeper.
> 
> As above the schema is saying that there will be an element
> 'outputResult1' with plain text inside, which does not allow deeper
> XML elements.
> 
> If you want to have the option of returning text OR elements, you'll
> have to use xsd:choice - but Taverna don't have proper support for
> that at the moment. You could instead wrap the text value in <text>,
> <value> or equivalent.
> 
> 


--------------------------------------------------------------------------------
Plymouth Marine Laboratory
 
Registered Office:
Prospect Place 
The Hoe
Plymouth  PL1 3DH
 
Website: www.pml.ac.uk
Registered Charity No. 1091222
PML is a company limited by guarantee
registered in England & Wales
company number 4178503

--------------------------------------------------------------------------------
This e-mail, its content and any file attachments are confidential.

If you have received this e-mail in error please do not copy, disclose it to 
any third party or use the contents or attachments in any way. Please notify 
the sender by replying to this e-mail or e-mail [email protected] and then 
delete the email without making any copies or using it in any other way.

The content of this message may contain personal views which are not the views 
of Plymouth Marine Laboratory unless specifically stated.

You are reminded that e-mail communications are not secure and may contain 
viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage 
which may be caused by viruses.
--------------------------------------------------------------------------------

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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