Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • 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.





 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic