[ http://issues.apache.org/jira/browse/AXIS-2547?page=comments#action_12429817 ] Eugene Wang commented on AXIS-2547: -----------------------------------
This problem is solved following instruction with http://issues.apache.org/jira/browse/AXIS-1400 If you specify in your WSDD something like: <service name="foo" style="rpc"> <parameter name="emitAllTypesInWSDL" value="true"/> ... </service> then all mapped types regardless of usage in public interfaces will be emitted into the generated WSDL. This option can also be used globally: <globalConfiguration> <parameter name="emitAllTypesInWSDL" value="true"/> </globalConfiguration> As usual, service-specific settings will override global ones. So you should be able to get what you want, and still leave the default to be uncluttered WSDLs. [ Show ยป ] Glen Daniels [20/Jun/04 02:30 PM] OK, I fixed this by adding an option which lets you control the behavior. If you specify in your WSDD something like: <service name="foo" style="rpc"> <parameter name="emitAllTypesInWSDL" value="true"/> ... </service> then all mapped types regardless of usage in public interfaces will be emitted into the generated WSDL. This option can also be used globally: <globalConfiguration> <parameter name="emitAllTypesInWSDL" value="true"/> </globalConfiguration> As usual, service-specific settings will override global ones. So you should be able to get what you want, and still leave the default to be uncluttered WSDLs. > Axis 1.3 <wsdl:types> misses some types specified with <typeMapping> or > <beanMapping> in server-confif.wsdd > ----------------------------------------------------------------------------------------------------------- > > Key: AXIS-2547 > URL: http://issues.apache.org/jira/browse/AXIS-2547 > Project: Apache Axis > Issue Type: Bug > Components: Deployment / Registries > Affects Versions: 1.3 > Environment: JBoss 4.02 > Reporter: Eugene Wang > Attachments: firebird_wsdl.xml, server-config.wsdd > > > The server-config.wsdd have a list of <typeMapping> or <beanMapping> to use > customized bean serializer. Some of them are referred directly by web service > API as return type or parameter, while some of them are referred directly > such as: > the return type is List, the list contains a group of object which is > specified in server-config-wdd. > As the service is deployed with Axis 1.3 or 1.4, the <wsdl:types> only > includes the types DIRECTLY REFERRED and misses all others. > The same server-config.wsdd works well with Axis 1.2 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
