Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2927

Error in wsdl for enum params

    XMLWordPrintableJSON

Details

    Description

      Re: Fw: Error in wsdl for enum params
      Tuesday, March 17, 2009 4:44 AM
      From:
      "Ramkumar R" <ramkumar.rj@gmail.com>
      To:
      dev@tuscany.apache.org, nithyanirmal@yahoo.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 <nithyanirmal@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 <nithyanirmal@yahoo.com> wrote:

      From: Nithya Nirmal <nithyanirmal@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

      Attachments

        Activity

          People

            ramkumar.rj Ramkumar Ramalingam
            nithyanirmal Nithya V
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: