[jbossws-issues] [JBoss JIRA] (JBWS-3530) Add some hints to the code generated by cxf using wsconsume to tune generated code before use

Alessio Soldano (JIRA) issues at jboss.org
Thu Jan 9 09:27:33 EST 2014


     [ https://issues.jboss.org/browse/JBWS-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3530:
----------------------------------

    Fix Version/s: jbossws-cxf-4.4

    
> Add some hints to the code generated by cxf using wsconsume to tune generated code before use
> ---------------------------------------------------------------------------------------------
>
>                 Key: JBWS-3530
>                 URL: https://issues.jboss.org/browse/JBWS-3530
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.0.2
>         Environment: JBossWS CXF
>            Reporter: Mustafa Musaji
>            Assignee: Alessio Soldano
>            Priority: Trivial
>              Labels: webservices
>             Fix For: jbossws-cxf-4.4
>
>
> The generated code when using wsconsume is not really meant for use in production environment with the statically initialized wsdlLocation and the error that will be logged when this the Service object is first initialized.
> {code:title=WSService.java|borderStyle=solid}
> static {
>         URL url = null;
>         try {
>             url = new URL("file:/directory/to/wsdl/WSTestEJB/ejbModule/META-INF/WSProvider.wsdl");
>         } catch (MalformedURLException e) {
>             java.util.logging.Logger.getLogger(WSProviderService.class.getName())
>                 .log(java.util.logging.Level.INFO, 
>                      "Can not initialize the default wsdl from {0}", "file:/directory/to/wsdl/WSTestEJB/ejbModule/META-INF/WSProvider.wsdl");
>         }
>         WSDL_LOCATION = url;
>     }
> {code}
> This is a request to amend the log level to "DEBUG" and/or have wsconsume create a hint of sorts to tune this class before use in a container.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list