wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl" Watch "beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl" New topic
Author

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

Sam Gehouse
Ranch Hand

Joined: Jul 21, 2003
Posts: 281
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.





 
It is sorta covered in the JavaRanch Style Guide.
 
subject: beanMapping, typeMapping in Axis 1 (1.4) in server-config.wsdd generates complexType in wsdl
 
Similar Threads
Axis Fault: Attempted to write duplicate schema element
Why cannot my own Handler work?
Object that contain ArrayList
Axis Fault: no such operation
NullPointerException returned from webservice