You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Glen Mazza <gl...@verizon.net> on 2008/01/04 01:09:41 UTC

RE: [jira] Commented: (CXF-1345) Support configuring JAX-WS handlers based on port-name-pattern QName

Thanks, Jervis, for some reason Google was taking me to an old 2004
version of the JSR 181 specification (0.92), not the most recent 2.0.[1]
That was the source of my confusion.  I'll need to recheck a recent bug
report I gave about our possible lack of conformance to that schema.

Glen

[1] http://jcp.org/en/jsr/detail?id=181

Am Donnerstag, den 03.01.2008, 11:19 -0500 schrieb Liu, Jervis:
> Yes, it is defined by javaee_web_services_1_2.xsd (http://java.sun.com/xml/ns/javaee/)
> 
> > -----Original Message-----
> > From: Glen Mazza [mailto:glen.mazza@verizon.net]
> > Sent: 2008年1月2日 19:07
> > To: cxf-dev@incubator.apache.org
> > Subject: RE: [jira] Commented: (CXF-1345) Support configuring JAX-WS
> > handlers based on port-name-pattern QName
> > 
> > I can't see it there, unless it is in one of the two xsd:includes
> > (j2ee_1_4.xsd and j2ee_web_services_1_1.xsd) mentioned.  Is that the
> > case, if so, do you know where those two xsd's are?  (I sent a comment
> > recently to the JSR 181 comments list, asking them to update the doc
> > with this information.)
> > 
> > Thanks,
> > Glen
> > 
> > 
> > Am Dienstag, den 01.01.2008, 21:18 -0500 schrieb Liu, Jervis:
> > > 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
> 
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland