• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl

Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Axis1 (1.4) to generate complex type in wsdl (e.g. my.wsdl) from server-config.wsdd. I do not think that the complex type is not correctly generated. This may be because my server-config.wsdd is not correct

All the methods in MySvc are exposed by web service.

MyBean is a complex bean, that is passed as argument in one of the methods of MySvc.

MyBean.java only has two attributes and the code is:

MySvc.java is:

The wsdl that gets generated is:

It does not show the attributes of MyBean under sequence.

What am I missing in server-config.wsdd so that the wsdl gets generated successfully?

I am generating wsdl using command prompt Java2WSDL.

Why fit in when you were born to stand out? - Seuss. Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic