cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu, Jervis" <j...@iona.com>
Subject RE: [jira] Commented: (CXF-1345) Support configuring JAX-WS handlers based on port-name-pattern QName
Date Wed, 02 Jan 2008 02:18:53 GMT
Hi Glen, it is defined by JSR-181 Appendix B.

Cheers,
Jervis

> -----Original Message-----
> From: Glen Mazza (JIRA) [mailto:jira@apache.org]
> Sent: 2007年12月31日 10:16
> To: cxf-issues@incubator.apache.org
> Subject: [jira] Commented: (CXF-1345) Support configuring JAX-WS handlers
> based on port-name-pattern QName
> 
> 
> 
> [ https://issues.apache.org/jira/browse/CXF-1345?page=com.atlassian.jira.p
> lugin.system.issuetabpanels:comment-tabpanel#action_12555061 ]
> 
> Glen Mazza commented on CXF-1345:
> ---------------------------------
> 
> I haven't seen the <service-name-pattern/> element yet--is it explained
> anywhere?  (I don't see it in the JAX-WS spec, so I'm guessing this is
> enhanced CXF-specific functionality.)  Also, normally the @HandlerChain
> annotation in the SEI implementation class reads the <handler-name/>
> element to determine which handlers should be called for that web service.
> When/how does it read the <service-name-pattern/> element?  Or if it
> doesn't read it, what does?
> 
> Thanks,
> Glen
> 
> 
> > Support configuring JAX-WS handlers based on port-name-pattern QName
> > --------------------------------------------------------------------
> >
> >                 Key: CXF-1345
> >                 URL: https://issues.apache.org/jira/browse/CXF-1345
> >             Project: CXF
> >          Issue Type: New Feature
> >          Components: JAX-WS Runtime
> >    Affects Versions: 2.1
> >            Reporter: Jervis Liu
> >
> > Support configuring JAX-WS handlers based on port-name-pattern QName.
> I.e., following configuration needs to be supported:
> > <handler-chain>
> > 		<service-name-pattern
> > 			xmlns:ns1="http://apache.org/handler_test">
> > 			ns1:SoapService1
> > 		</service-name-pattern>
> > 		<handler>
> > 			<handler-name>Handler1</handler-name>
> > 			<handler-class>
> >
> 	org.apache.cxf.jaxws.handler.AnnotationHandlerChainBuilderTest$TestL
> ogicalHandler
> > 			</handler-class>
> > 		</handler>
> > </handler-chain>
> > At the moment, CXF only compares the local part of service-name-pattern,
> not the name space, i.e., only "SoapService1" takes effect, "ns1" is ignored.
> To do this, we need to implement our own parser to parse handler config
> files, as JAXB does not return a QName for service-name-pattern.
> 
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
Mime
View raw message