I have messages with more than 1 part.
I get this error message while converting
java.lang.IllegalArgumentException: Encountered an input message with a
number of parts other than 0 or 1: [Part: name=auth
elementName={http://test.com/design/schemas/common}auth, Part: name=criteria
elementName={http://test.com/design/schemas}metadataCriteria]
at
org.apache.woden.tool.converter.Convert.convertInput(Convert.java:953)
at
org.apache.woden.tool.converter.Convert.convertOperations(Convert.java:771)
at
org.apache.woden.tool.converter.Convert.convertPortTypes(Convert.java:710)
at
org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:248)
at
org.apache.woden.tool.converter.Convert.convertDefinition(Convert.java:191)
at
org.apache.woden.tool.converter.Convert.convertFile(Convert.java:288)
Thanks
Rachna
-----Original Message-----
From: Sagara Gunathunga [mailto:[email protected]]
Sent: Tuesday, May 10, 2011 5:41 PM
To: [email protected]
Subject: Re: convert wsdl 1.0 to wsdl 2.0
Hi Rachna,
There are several approaches available, please see [1] . From Woden M9 there
is a Maven plug-in and a Ant Task [2] available to convert wsdl 1.1 to
2.0.
[1] -
http://ssagara.blogspot.com/2009/01/converting-wsdl11-to-wsdl20-using-woden.
html
[2] - http://dilshaned.blogspot.com/2010/01/woden-converter-ant-task.html
Thanks !
On Wed, May 11, 2011 at 5:39 AM, Rachna Jotwani <[email protected]> wrote:
> How do I use woden to convert wsdl 1.0 documents to wsdl 2.0?
>
>
>
> Thanks
>
> Rachna
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional
commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]