Results 1 to 2 of 2
  1. #1
    sertacyilmaz is offline Member
    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0

    Default Creating axis2 webservice-Enum type problem

    Hi all, i m a new user on this forum.
    I m facing a problem when creating an enumeration for my webservice.

    On my wsdl file shows below , but enum does not have elements.

    <xs:extension base="xs:Enum">
    <xs:sequence/>
    </xs:extension>
    </xs:complexContent>
    </xs:complexType>

    Any solution creating an enum type to webservice?


    Regards

  2. #2
    shameera is offline Member
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    Default Re: Creating axis2 webservice-Enum type problem

    Hi,

    Axis2 existing released versions does not support Enum parameters, java level or wsdl level. But I would like to say that present trunk(1.7.0) of Axis2 support jdk5 Enum in java level as well as wsdl level. You can find my bolg post Introducing Enum support with Apache Axis2 that explain how to use Enum support with Axis2 and how we can write a wsdl file which support Enum.


    Thanks
    shameera

Similar Threads

  1. Replies: 2
    Last Post: 01-18-2011, 11:19 AM
  2. Setting values from One Enum type to another enum type.
    By reach2sudhakar in forum New To Java
    Replies: 3
    Last Post: 09-23-2010, 07:02 PM
  3. Problem using EBI Webservice getting Exception
    By tealc76 in forum Advanced Java
    Replies: 0
    Last Post: 11-21-2009, 07:20 PM
  4. Replies: 1
    Last Post: 08-10-2009, 12:51 PM
  5. passing an enum type as a parameter ??!
    By SCS17 in forum New To Java
    Replies: 11
    Last Post: 07-13-2008, 02:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •