ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rachna Jotwani" <rjotw...@dag.com>
Subject RE: convert wsdl 1.0 to wsdl 2.0
Date Wed, 11 May 2011 01:35:46 GMT
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:sagara.gunathunga@gmail.com] 
Sent: Tuesday, May 10, 2011 5:41 PM
To: dev@ws.apache.org
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 <rjotwani@dag.com> 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: dev-unsubscribe@ws.apache.org For additional
commands, e-mail: dev-help@ws.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message