Hi all. I'm attempting to upgrade my current XFire 1.2.6 service to CXF
2.0.1 and having a few speed bumps. First off, we're doing schema first
development with JAXB and using Spring for our container.
For CXF, I hope to use Spring's namespace support and this is where one
of my problems lie. I
hat's the case, how do I display my schema in a dynamically
generated WSDL?
Thanks,
Eric
On Fri, 2007-08-24 at 09:51 -0400, Eric Miles wrote:
> Hi all. I'm attempting to upgrade my current XFire 1.2.6 service to CXF
> 2.0.1 and having a few speed bumps. First off, we&
Daniel,
I posted this exact same question last week to the mailing list but have
not received a response on it yet. I am receiving the exact same error
as you. I attempted to look for the namespace parser that extracts the
schemaLocation but couldn't find one. Hopefully I just couldn't find it
Dan,
Thanks for the follow up. Any idea when 2.0.2 will be released?
Thanks!
Eric
On Mon, 2007-08-27 at 18:22 -0400, Dan Diephouse wrote:
> Hi Daniel (and Eric who is hopefully still listening),
>
> I've just fixed this problem in SVN. The problem was I added capabilities to
> do this from th
Dan,
I tried this and for some reason my service isn't being registered.
Here are snippets of what I have:
Spring config:
com/kronos/taws/services/mobile/MobileService.xsd
Dan,
On the heels of the trouble I'm having with the suggestion below, I
decided to give the 2.1 snapshot version a try with the fixed Spring
namespace support. This actually does register my service and I can
view the WSDL. However, the behavior is not as I expected. In XFire
1.2.6, when I gav
If you're using Spring and WSS4J, I'd also recommend looking at Acegi.
We're using Acegi's method interceptor along with method level
annotations to secure web services based on role and other custom
granted authorities. It's a fairly easy solution once you WSS4J and
Acegi hooked together.
On Tue
Any feedback on this question?
On Tue, 2007-08-28 at 10:02 -0400, Eric Miles wrote:
> Dan,
>
> On the heels of the trouble I'm having with the suggestion below, I
> decided to give the 2.1 snapshot version a try with the fixed Spring
> namespace support. This actually does
pecify the schema location, the definition does not
> actually appear in the WSDL. Any ideas on what may be causing this?
>
> Regards,
>
> Daniel.
>
>
>
> On 8/30/07, Eric Miles <[EMAIL PROTECTED]> wrote:
> >
> > Any feedback on this question?
> &g
I'm testing our upgrade from XFire 1.2.6 to CXF 2.1-SNAPSHOT and it
seems there is some additional wrapping of the message body requests and
responses for our services. Under XFire, a request coming from the
XFire client libraries (XFireProxyFactory using JaxbServiceFactory)
looks like such:
http
> This is because you've specified "document" style on the ServiceBean
> inside xfire. Try adding this annotation to your service impl:
>
> @SOAPBinding(parameterStyle=ParameterStyle.BARE)
>
> This will tell CXF not to operate in wrapped mode, but in
> d
nt inside . In
> this case, CXF will look at the WSDL to see how to build the service
> model internally.
>
> Cheers,
> - Dan
>
> Eric Miles wrote:
> > Dan,
> >
> > I thought this might have to do with document vs wrapped, however I have
> > spec
WSDL to the client proxy. I think this
> can be done via the element inside . In
> this case, CXF will look at the WSDL to see how to build the service
> model internally.
>
> Cheers,
> - Dan
>
> Eric Miles wrote:
> > Dan,
> >
> > I thought this might ha
Resending this, anyone with any idea?
On Wed, 2007-09-12 at 08:38 -0400, Eric Miles wrote:
> Not sure why, but this email keeps getting bounced by the apache spam
> software, so I'm not going to able to attach code nor copy and paste...
>
> Sorry, my first response wasn't
Dan,
What sort of solution are you looking for? We are using an
Acegi/Spring/CXF implementation at our company where we are using
WS-Security and Acegi for authentication and AOP/Acegi for
authorization. We could be interested in contributing.
Thanks,
Eric
On Tue, 2007-09-18 at 00:15 +0200, D
ations drive it all?
>
> -Original Message-
> From: Eric Miles [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 18, 2007 10:00 AM
> To: cxf-user@incubator.apache.org
> Subject: Re: contract-first with only xsd
>
> Los,
>
> It is just as easy to define contract f
Los,
It is just as easy to define contract first, without having to create a
WSDL. For our project, we create our XSDs, generate stubs with JAXB,
create our endpoint implementations (we use annotations), and wire it
all up with Spring. CXF takes care of the WSDL generation. It really
is easy.
Here's just a quick sample.
I'm not stating this is the proper or correct way to do anything.
However, this is how we are currently using CXF.
The CXF guys can provide you with better direction on how you SHOULD be
creating your services. They might tell you this approach is a bad
approach.
Eri
suppose that would be using the JaxMe plugin.
>
> I see there are other toolkits as well to do this. Anyone care to
> comment on those?
>
> I guess I was wondering if there was a tool to take the type info, the
> annotations, etc, all in one shot?
>
> -----Original Message--
XF. Specifically, if I remember correctly from the
> solutions that I've seen, the WS-Security integration in particular
> takes an extra bit of coding. Would be very happy to include your
> contributions.
> Cheers,
> - Dan
>
> Eric Miles wrote:
> > Dan,
> >
>
Actually, here is the code. Attached is the WSS4J callback class and
the CXF interceptor that uses the Acegi authentication manager for
authentication.
Pretty simple and straight forward. If you look at the callback
handler, you can see my comment regarding the WSS4J engine. I do have
one conce
AIL PROTECTED]> wrote:
> >
> > Hi Eric,
> >
> > I'll do some more digging into this today - I lost track of the thread.
> > Provided you aren't too frustrated with me/us, I'll see if I can't dig out
> > the problem and get things working for
We started some discussion the other day about CXF+Acegi out there the
other day, but hadn't seen anything since. Any discussion after I sent
the source code or my findings with integrating the two?
On Tue, 2007-09-18 at 11:18 -0400, Eric Miles wrote:
> Actually, here is the code. Att
Dan,
I do not do any schema validation so I can't help you on this one.
Someone more experienced with JAXB and CXF is going to have to respond.
Eric
On Thu, 2007-09-27 at 18:40 +0200, Daniel Dienhardt wrote:
> Thanks for that nice example,
>
> I tried to enable schema validation, but it did not
Yeah, that's a bug that is fixed in CXF 2.0.2. Upgrade to that version
and you should be good.
On Mon, 2007-10-01 at 06:54 -0700, gdprao wrote:
> Hi,
>
> I have tried contract-first XSD approach in my service. I have generated
> JAXB mappings from the XSD and used them in my service. The servi
If you're using Spring and Acegi, you could use a secure channel filter.
On Tue, 2008-02-05 at 12:44 -0500, [EMAIL PROTECTED] wrote:
> I want to make sure any messages not encrypted with SSL are rejected by the
> CXF container. What configuration is neccessary for this?
>
> I've tried setting t
All,
I know the WSDL is to service as a documentation tool to identify what
services are available and how to connect them, but I'm looking for
something a little more that I could hand over to clients. I was
looking at a couple of tools that take the WSDL and generate some
javadoc like documenta
it's way over to
CXF? If so, how does one go about doing this?
Thanks again,
Eric
On Thu, 2008-02-21 at 12:22 -0500, Eric Miles wrote:
> All,
>
> I know the WSDL is to service as a documentation tool to identify what
> services are available and how to connect them, bu
28 matches
Mail list logo