[jbosstools-issues] [JBoss JIRA] (JBIDE-11348) Not generate clientsample codes in user-created folder on JBoss web services, only in src folder.

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Thu Apr 26 18:07:17 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-11348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12688203#comment-12688203 ] 

Brian Fitzpatrick commented on JBIDE-11348:
-------------------------------------------

I have had a chance to try this out and hit upon the issue you indicated. With AS 7.1 I'm seeing the following as the broken code. Note the notes about different constructors requiring different versions of JAX-WS. The workaround is to simply comment out the broken constructors and then it compiles fine even if generated in the .apt_src alternate source directory. 

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public AreaService_Service(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public AreaService_Service(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public AreaService_Service(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }

 
                
> Not generate clientsample codes in user-created folder on JBoss web services, only in src folder.
> -------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11348
>                 URL: https://issues.jboss.org/browse/JBIDE-11348
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.3.0.M5
>         Environment: Eclipse Indigo 3.7.2, JBossTools 3.3
>            Reporter: Joseph Hwang
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.3.0.Beta3
>
>         Attachments: client_2.jpg, client_3.jpg, client_4.jpg
>
>
> Web Services deployment is ok! But generating clientsample codes is failed in user-created folder.
> clientsample codes is generated only in default 'src' folder.
> Pls, check this thread https://community.jboss.org/thread/196669?start=0&tstart=0 .

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list