[jboss-jira] [JBoss JIRA] (WFLY-5724) Webservice running but generated wsdl chema not importable using wsimport
Nguyen Nguyen (JIRA)
issues at jboss.org
Wed Nov 25 01:21:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133567#comment-13133567 ]
Nguyen Nguyen commented on WFLY-5724:
-------------------------------------
I have changed the web service class to avoid the issue. In case you would like to duplicate then you can find the war at this link
https://drive.google.com/file/d/0B4esc3MUOgwgSzA0REFfSHVJNVU/view?usp=sharing
Just deploy the war then the wsdl would be at http://localhost:8080/test/AuthorizedSevices?wsdl. using wsimport will fail.
More info:
if change return type of "nextLogin" webservice operation from LoginResult to other class (for example: String) then wsdl will be correct again.
> Webservice running but generated wsdl chema not importable using wsimport
> --------------------------------------------------------------------------
>
> Key: WFLY-5724
> URL: https://issues.jboss.org/browse/WFLY-5724
> Project: WildFly
> Issue Type: Bug
> Components: Web Services
> Affects Versions: 10.0.0.CR4
> Reporter: Nguyen Nguyen
> Assignee: Jim Ma
> Attachments: AuthorizedSevices.wsdl, Cash.wsdl, CashTransfer.wsdl
>
>
> deploy a war file with several jax-ws webservices the application server successfully load an run those services and generate wsdls.
> Some wsdl can be imported using wsimport successfully
> Some other can not be imported by wssimport.
> Expected:
> all generated wsdls are wsimport compatible and can be successfull import.
> Among 3 file generated (attached). Just CashTransfer.wsdl can be imported successfully. Others failed.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list