You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Nithya Nirmal <ni...@yahoo.com> on 2009/03/16 19:22:23 UTC

Fw: Error in wsdl for enum params

Dear Tuscany developers,

I posted the following email to Tuscany users groups but didn't get any response. If any of you have across this problem and if there is a patch to fix it, could you please share?

Thank you very much,
Nithya

--- On Thu, 3/12/09, Nithya Nirmal <ni...@yahoo.com> wrote:
From: Nithya Nirmal <ni...@yahoo.com>
Subject: Error in wsdl for enum params
To: user@tuscany.apache.org
Date: Thursday, March 12, 2009, 1:44 PM

Hi all,

I am using Tuscany 1.4 for exposing some applications as SOAP. I have an api
that takes in an enum as a parameter. The enum name is in two parts separated by
an underscore: ex: FORMAT_TYPE. However when I expose as SOAP, the wsdl that
generated is having different names for it. ie. in the operations part it calls
the enum as format_type and in the top where the types are defined it calls it
as formatTYPE. Because of this, SOAPUI cannot create sample requests. Once I
change the enum to FORMATTYPE the wsdl generated correctly.

Has anyone else experienced the same issue? I have several such enums that have
multi part name separated by an underscore. Is there any better solution than
renaming all enums to not have underscores?

Thanks,
Nithya


      



      

Re: Fw: Error in wsdl for enum params

Posted by Nithya Nirmal <ni...@yahoo.com>.
Created jira https://issues.apache.org/jira/browse/TUSCANY-2927 for the same.

Thanks,
Nithya

--- On Tue, 3/17/09, Ramkumar R <ra...@gmail.com> wrote:
From: Ramkumar R <ra...@gmail.com>
Subject: Re: Fw: Error in wsdl for enum params
To: dev@tuscany.apache.org, nithyanirmal@yahoo.com
Date: Tuesday, March 17, 2009, 4:44 AM

Hi Nithya,

With your initial comments, it looks like we have an issue. I would suggest you to open a JIRA for this issue.

On Mon, Mar 16, 2009 at 11:52 PM, Nithya Nirmal <ni...@yahoo.com> wrote:


Dear Tuscany developers,

I posted the following email to Tuscany users groups but didn't get any response. If any of you have across this problem and if there is a patch to fix it, could you please share?


Thank you very much,
Nithya

--- On Thu, 3/12/09, Nithya Nirmal <ni...@yahoo.com> wrote:

From: Nithya Nirmal <ni...@yahoo.com>
Subject: Error in wsdl for enum params
To: user@tuscany.apache.org

Date: Thursday, March 12, 2009, 1:44 PM

Hi all,

I am using Tuscany 1.4 for exposing some applications as SOAP. I have an api
that takes in an enum as a parameter. The enum name is in two parts separated by

an underscore: ex: FORMAT_TYPE. However when I expose as SOAP, the
 wsdl that
generated is having different names for it. ie. in the operations part it calls
the enum as format_type and in the top where the types are defined it calls it
as formatTYPE. Because of this, SOAPUI cannot create sample requests. Once I

change the enum to FORMATTYPE the wsdl generated correctly.

Has anyone else experienced the same issue? I have several such enums that have
multi part name separated by an underscore. Is there any better solution than

renaming all enums to not have underscores?

Thanks,
Nithya


      





      


-- 
Thanks & Regards,
Ramkumar Ramalingam




      

Re: Fw: Error in wsdl for enum params

Posted by Ramkumar R <ra...@gmail.com>.
Hi Nithya,

With your initial comments, it looks like we have an issue. I would suggest
you to open a JIRA for this issue.

On Mon, Mar 16, 2009 at 11:52 PM, Nithya Nirmal <ni...@yahoo.com>wrote:

> Dear Tuscany developers,
>
> I posted the following email to Tuscany users groups but didn't get any
> response. If any of you have across this problem and if there is a patch to
> fix it, could you please share?
>
> Thank you very much,
> Nithya
>
> --- On *Thu, 3/12/09, Nithya Nirmal <ni...@yahoo.com>* wrote:
>
> From: Nithya Nirmal <ni...@yahoo.com>
> Subject: Error in wsdl for enum params
> To: user@tuscany.apache.org
> Date: Thursday, March 12, 2009, 1:44 PM
>
>
> Hi all,
>
> I am using Tuscany 1.4 for exposing some applications as SOAP. I have an api
> that takes in an enum as a parameter. The enum name is in two parts separated by
> an underscore: ex: FORMAT_TYPE. However when I expose as SOAP, the
>  wsdl that
> generated is having different names for it. ie. in the operations part it calls
> the enum as format_type and in the top where the types are defined it calls it
> as formatTYPE. Because of this, SOAPUI cannot create sample requests. Once I
> change the enum to FORMATTYPE the wsdl generated correctly.
>
> Has anyone else experienced the same issue? I have several such enums that have
> multi part name separated by an underscore. Is there any better solution than
> renaming all enums to not have underscores?
>
> Thanks,
> Nithya
>
>
>
>
>


-- 
Thanks & Regards,
Ramkumar Ramalingam