• 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 ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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.





reply
    Bookmark Topic Watch Topic
  • New Topic