[jbossws-issues] [JBoss JIRA] Updated: (JBWS-2822) JAX-WS Client endpoint configuration in jbossws-cxf.xml is ignored

Alexandros Karypidis (JIRA) jira-events at lists.jboss.org
Fri Nov 6 03:51:05 EST 2009


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

Alexandros Karypidis updated JBWS-2822:
---------------------------------------

    Attachment: jboss-cxf.client-jaxws-cfg-bug.zip


The attached file contains a simple WAR project with 2 servlets and a web service implementation.

The BugServlet accesses the web service using @WebServiceRef. Invocation works sucessfully, but the client endpoint configuration from WEB-INF/jbossws-cxf.xml is ignored. Normally, the invocation should create a Derby database to be used as an RM store on the client side. No exception or error is logged.

The WorkingServlet demonstrates the expected behavior. It initializes a CXF bus on its own using a jbossws-cxf.xml that is in the source folder (i.e. it gets copied as a resource in WEB-INF/classes at runtime). The file contains identical declarations as the jbossws-cxf.xml used by the JBossWS integration layer. The only difference is that the service implementation is not declared (the same provider is used).


> JAX-WS Client endpoint configuration in jbossws-cxf.xml is ignored
> ------------------------------------------------------------------
>
>                 Key: JBWS-2822
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2822
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-3.2.0
>         Environment: Windows XP 32bit, Sun JDK 1.6.0_16, JBoss AS 5.1.0.GA with JBossWS-CXF 3.2.0.GA
>            Reporter: Alexandros Karypidis
>         Attachments: jboss-cxf.client-jaxws-cfg-bug.zip
>
>
> Normally, in order to configure endpoints and clients in CXF you use Spring's beans.xml. While this works for service provider endpoints, it is ignored for client stubs.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list