You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Rachna Jotwani <rj...@dag.com> on 2011/05/11 02:09:12 UTC

convert wsdl 1.0 to wsdl 2.0

How do I use woden to convert wsdl 1.0 documents to wsdl 2.0?

 

Thanks

Rachna


RE: convert wsdl 1.0 to wsdl 2.0

Posted by Rachna Jotwani <rj...@dag.com>.
Created a jira issue
https://issues.apache.org/jira/browse/WODEN-230

Thanks
Rachna

-----Original Message-----
From: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
Sent: Wednesday, May 11, 2011 9:35 PM
To: dev@ws.apache.org
Subject: Re: convert wsdl 1.0 to wsdl 2.0

Seems like a issue , can you create a JIRA issue here [1] and attach your
WSDL file ?

[1] - https://issues.apache.org/jira/browse/Woden

Thanks !

On Wed, May 11, 2011 at 7:05 AM, Rachna Jotwani <rj...@dag.com> wrote:
> 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 <rj...@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
>
>



--
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


Re: convert wsdl 1.0 to wsdl 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
Seems like a issue , can you create a JIRA issue here [1] and attach
your WSDL file ?

[1] - https://issues.apache.org/jira/browse/Woden

Thanks !

On Wed, May 11, 2011 at 7:05 AM, Rachna Jotwani <rj...@dag.com> wrote:
> 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 <rj...@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
>
>



-- 
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


RE: convert wsdl 1.0 to wsdl 2.0

Posted by Rachna Jotwani <rj...@dag.com>.
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 <rj...@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


Re: convert wsdl 1.0 to wsdl 2.0

Posted by Sagara Gunathunga <sa...@gmail.com>.
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 <rj...@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