Hi,

I have some problems with XMLSplitter:

1) When the message name and type are different, the Splitter gets the
‘name’ not the ‘element’ and the eventual XML object is ‘wrong’.
I’m trying to use http://mymemory.translated.net/otms/?wsdl where
the message is:

<wsdl:message name="otmsGetSoapIn">
  <wsdl:part name="*parameters*" element="tns:*otmsGet*"/>
</wsdl:message>

And the resulting XML message using the XMLSplitter is like this:

<*parameters *xmlns="http://tempuri.org/";>
 <key>mmDemo123</key>
 <q>
  <source>control panel</source>
  <source_lang>en-US</source_lang>
  <target_lang>es-ES</target_lang>
  <subject>Computer_Science</subject>
  <mt>1</mt>
  <maxres>5</maxres>
 </q>
</*parameters*>

Instead of the one I get with Oxygen where the root element is
"otmsGet" instead of "parameters"

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope";>
    <SOAP-ENV:Header/>
    <SOAP-ENV:Body>
        <*otmsGet *xmlns="http://tempuri.org/";>
            <key>mmDemo123</key>
            <q>
                <source>control panel</source>
                <source_lang>en-US</source_lang>
                  <target_lang>es-ES</target_lang>
                  <subject>Computer_Science</subject>
                <mt>1</mt>
                <maxres>3</maxres>
            </q>
        </*otmsGet*>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


2) When a WSDL includes complex types with a choice, the resulting XML
message includes
all elements in the choice.

Thanks a lot!



-- 
Marta Villegas
[email protected]
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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