cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: "The matching wildcard is strict but no declaration can be found" error
Date Tue, 11 Nov 2008 18:09:11 GMT
On Tuesday 11 November 2008 12:26:38 pm Glen Mazza wrote:
> BTW, anyone have the answer to my unphrased question--when referring to a
> client-side endpoint, when is the ".http-conduit" suffix needed, and does
> its presence have any correlation to the value of the "createdFromAPI"
> attribute?

The .http-conduit suffix is ONLY for the id for the <http:conduit> to 
associate it with a client.    That's all it's for.   

The "createdFromAPI" attribute is to tell the runtime what to do when parsing 
the bean at parse/startup time.   If not set, an actual bean is created which 
could involve things like downloading wsdl, etc...   The assumption there is 
that you would then query that bean from the spring ApplicationContext using 
Spring calls (or have spring inject it in someplace else).   With 
createdFromAPI set to true, then at parse time, it really just records the 
values.   When you use the JAXWS apis to create the objects (Endpoint or 
client), the runtime looks up those values from the recorded objects and uses 
those instead of the normal JAX-WS defaults.


> Thanks,
> Glen
> Glen Mazza wrote:
> > Thanks, I'll try again.  I pulled out the createdFromAPI attribute, as
> > I'm not doing Endpoint.publish()--which I *thought* was the purpose of
> > that attribute--but we really need to document precisely when we need it
> > in our user guide.  I'm also unclear about when we need the
> > ".http-conduit" after the name and when we don't.
> >
> > {Sigh} I have *lots* of studying to do...
> >
> > Thanks,
> > Glen
> >
> > dkulp wrote:
> >> You need to add a schema for jaxws URL into the schemaLocation
> >> attribute.
> >>
> >> That said, I also think you probably also want:
> >>  <jaxws:client
> >>        name="{}DoubleItPort"
> >>        createdFromAPI="true"> .......
> >>
> >> I've attached the client xml config for the MS WF interop plugfest stuff
> >> ( for WS-Security 1.1 to use as an
> >> example.
> >>
> >> (the code for that will hopefully go into StoneHendge once that is all
> >> finalized.   Howeever, I'd be happy to send it along if you are
> >> interested)
> >>
> >> Dan

Daniel Kulp

View raw message