[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1459) Java to WSDL - Incorrect handling of arrays with bare parameter style
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon Feb 18 05:03:43 EST 2008
[ http://jira.jboss.com/jira/browse/JBWS-1459?page=all ]
Thomas Diesler updated JBWS-1459:
---------------------------------
Assignee: (was: Darran Lofthouse)
> Java to WSDL - Incorrect handling of arrays with bare parameter style
> ---------------------------------------------------------------------
>
> Key: JBWS-1459
> URL: http://jira.jboss.com/jira/browse/JBWS-1459
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: tools-jaxrpc
> Reporter: Darran Lofthouse
> Fix For: community contributions
>
>
> Java to WSDL - Incorrect handling of arrays with bare parameter style
> The following method on a SEI: -
> public String[] lookup(final String[] person) throws RemoteException;
> The following type is generated in the WSDL: -
> <complexType name='String.Array'>
> <sequence>
> <element maxOccurs='unbounded' minOccurs='0' name='value' nillable='true' type='string'/>
> </sequence>
> </complexType>
> This type is not mapped in the generated JAX-RPC mapping so the following error is reported on deployment: -
> Caused by: org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://www.jboss.org/support/phonebook/types}String.Array
> at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processDocElement(JAXRPCMetaDataBuilder.java:613)
> at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.buildParameterMetaDataDoc(JAXRPCMetaDataBuilder.java:865)
> at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.setupOperationsFromWSDL(JAXRPCMetaDataBuilder.java:214)
> at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:219)
> at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:81)
> at org.jboss.ws.integration.jboss42.DeployerInterceptor.createServiceEndpoint(DeployerInterceptor.java:127)
> at org.jboss.ws.integration.jboss42.DeployerInterceptorJSE.createServiceEndpoint(DeployerInterceptorJSE.java:130)
> at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:78)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list