[
https://issues.jboss.org/browse/AS7-3324?page=com.atlassian.jira.plugin.s...
]
Alessio Soldano commented on AS7-3324:
--------------------------------------
This is waiting for the pull request to be worked. There's a testcase in
jbossws-shared-testsuite covering the new scenario (the test is excluded while waiting for
the pull request). See
http://anonsvn.jboss.org/repos/jbossws/shared-testsuite/trunk/testsuite/s...
for an example of what should be done for deploying endpoints using @WebServiceProvider
with no attributes. Basically, we no support passing an instance of
org.jboss.wsf.spi.metadata.webservices.WebServicesMetaData to the EndpointPublisher. That
covers any override that can be specified in the webservices.xml descriptor (see
JSR-109).
Extend WS EndpointPublisher to allow providing properties/metadata
------------------------------------------------------------------
Key: AS7-3324
URL:
https://issues.jboss.org/browse/AS7-3324
Project: Application Server 7
Issue Type: Enhancement
Components: Web Services
Reporter: Alessio Soldano
Assignee: Alessio Soldano
Fix For: 7.1.0.Final
The EndpointPublisher spi currently allows for providing @WebService/@WebServiceProvider
annotated endpoint class and deploy endpoint(s) to the running JBoss AS container with an
api pretty much equivalent to the JAXWS Endpoint.publish(..) api. What is missing is the
ability of doing something like:
{code}
List<Source> metadata = new ArrayList<Source>();
StreamSource source = WSDLUtil.getStream(_config.getWsdl());
metadata.add(source);
Map<String, Object> properties = new HashMap<String, Object>();
properties.put(Endpoint.WSDL_SERVICE, portName.getServiceQName());
properties.put(Endpoint.WSDL_PORT, portName.getPortQName());
properties.put(WSDL_LOCATION, WSDLUtil.getURL(_config.getWsdl()).toExternalForm());
...
_endpoint = Endpoint.create(wsProvider); // instance of @WebServiceProvider annotated
class, with no attributes in the annotation
_endpoint.setMetadata(metadata);
_endpoint.setProperties(properties);
_endpoint.publish(publishUrl);
{code}
IOW, we need support for setting properties and metadata and passing them down to the
stack (Apache CXF already reads them from the generated DDBeans/descriptor).
This is required for a proper SwitchYard integration into AS7.
--
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