Hi all,
I¹m new to DOSGI and just created my first service/consumer that worked fine
on my setup where no http proxy was between the service and consumer. Now I
need to deploy this where I have a SOCKS5 proxy that I need to go via. I
have figured out that I might be able to use something like
Thanks for these answers.
I saw there is a writeXsiTypes property in AegisContext that would do
the trick ( http://cxf.apache.org/docs/aegis-21.html ).
However, I don't know how I could override the default writeXsiTypes
property. I've found older messages on this mailing list which
suggested to
Hi,
I've been googling for a while, but can't find a solution for my problem..
Please help :)
We have a hosted service which we want to integrate with another external
service. The problem I have is that the external service uses client
certificates to identify callers. So we have to allow our
Hello all,
I am implementing a web service in CXF, but I have met some problems.
I have generated my web service from a WSDL. This WSDL defines
document/literal style and operations with parameters according to the
following structure:
xs:complexType name=AnyType
xs:sequence
i think you need to implement a custom transport, take a look at:
http://docs.huihoo.com/apache/cxf/2.0/cxf-architecture.html#CXFArchitecture-Transports
and of course check the existing cxf transports...
On Sat, Oct 9, 2010 at 9:18 AM, Maciej Bednarz
bednarz.hanno...@googlemail.com wrote:
Hi There!
I'm getting the same problem that's you, an org.apache.cxf.interceptor.Fault:
Unexpected wrapper element.
Did you found what's wrong? How did you fix it? Thanks for your support.
Our bundles are deployed inside Felix thus we use
cxf-dosgi-ri-singlebundle-distribution 1.1.
I don't really know where the class ReflectionServiceFactoryBean is but it
seems to appears into cxf-rt-frontend-simple and cxf-bundle-minimal.
I have found a 2.4 version of cxf-bundle-minimal jar
I am interested in a working example, too.
In particular, I am looking for an example that integrate
grails+cxf+ws-security.
Thanks,
--
View this message in context:
http://cxf.547215.n5.nabble.com/CXF-ACEGI-security-full-example-tp551843p3210677.html
Sent from the cxf-user mailing list
The Using java code section of:
http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html
would be the place to start. Basically, grab the http conduit out of the
proxy and start configuring things on there.You would need to create an
instance of TLSClientParameters and
Hi
Rather than aborting the chain, just let the flow to continue.
the JAXRSInvoker will notice the current response and let
JAXRsOutInterceptor to deal with it eventually.
Otherwise you'd need to create an out message yourself, set it on the
exchange and wrap your custom response in CXF
Hi Gabo
thanks for the update, see comments inline...
On Wed, Oct 13, 2010 at 6:03 AM, Gabo Manuel kman...@solegysystems.comwrote:
Hi Sergey,
Thanks!!! Just to note:
1. OperationInfo opInfo = ex.get(OperationInfo.class); works for SOAP
2. Object nameProperty =
Just FYI - explicitly setting a header for proxies in this case is now
optional in 2.2.11/2.3 - it depends on whether you can afford modifying
@Consumes to include a type parameter or not
cheers, Sergey
On Wed, Oct 6, 2010 at 5:29 AM, oceanz oceanz_se...@yahoo.com wrote:
Thanks a lot Serge.
Commas are now used by default in this case,
cheers, Sergey
On Tue, Sep 14, 2010 at 8:24 PM, Obele, Azubuko
azubuko.ob...@morganstanleysmithbarney.com wrote:
The CacheControlHeaderProvider class separates the various cache-control
headers with a semi-colon. My reading of the HTTP 1.1 spec
I have some configuration that I have created, but I don¹t know how to get
the cxf.xml to be read up? Where to locate that file in my maven project.
According to documentation it should be in classpath, so /cxf.xml is my
assumption. But the configuration does not seem to have been read up.
Hi Peter,
AFAIK, the CXF-DOSGi subproject doesn't yet support the cxf.xml.
Configuration is done through OSGI-INF/cxf/intents/intent-map.xml
although it doesn't fully support everything yet. Enhancements welcome
:)
Cheers,
David
On 13 October 2010 19:14, Peter Lauri peter.lauri@nsn.com
Hello,
I've used the wsdl2java application to generate the following classes for my
particular WSDL:
GetLatestSubjectsDS.java
GetLatestSubjectsDSResponse.java
Init.java
InitResponse.java
ObjectFactory.java
package-info.java
SaveSubject.java
SaveSubjectResponse.java
SrvSoap.java
Srv.java
Hi,
I tried to do it with the intent-map.xml, but I always get SAX exceptions
all the time. Some are related to some wildcards etc.
I'm going to try some more tomorrow, now time for bed :)
/Peter
On 2010-10-13 21.17, ext David Bosschaert david.bosscha...@gmail.com
wrote:
Hi Peter,
Hello everyone :)
I've got a question with regards to nillable values. I've looked
around and I've noticed that most people's solution
is to use the nillable attribute in their schema. However, I'm taking
a code first approach, so what I've tried to do is
to ad...@xmlelement(nillable=true) to
On Wednesday 13 October 2010 3:00:22 pm Robert Liguori wrote:
CXF community,
I'm looking at the open CXF issues.
There are over 200 and only ~17 are assigned.
Are any of the 'Unassigned' actively being worked by people, but aren't
assigned? Or are they truely unassigned (and not
Hi Peter,
Are you planning to create a new intent or just use an existing one?
Well, if you just want to use an existing intent, it is as simple as
setting up some service's properties... Here is the intent-map.xml
that comes with DOSGi:
beans xmlns=http://www.springframework.org/schema/beans;
Jefferson,
It sounds as if the XML Schema in the WSDL uses an xs:any particle,
and that .NET has magic ways of turning this into a DS.
All CXF can do with an 'any', by default, is give you the XML DOM for
whatever arrives.
In the data bindings, you can add custom handling, or you can work
with
Some time ago I wrote a couple of components that implement common
patterns to integrate CXF with Spring Security (formerly known as
Acegi). The code is currently in the sandbox area of CXF:
https://svn.apache.org/repos/asf/cxf/sandbox/veithen/cxf-spring-security/
Documentation is available
The 'any' means that Microsoft knows the structure of this data but
isn't telling us. Since it isn't telling us, we can't do anything
about it. You could ask them what's up with the 'any':-)
If you could come up with your own XML schema for what shows up in
there, I could offer some suggestions
Benson,
Thanks for the help and back/forth-
I'm pretty sure CXF does know the schema though, no? Part of the WSDL has a
schema import for that particular s:any namespace in the form of:
s:import namespace=http://tempuri.org/SubjectsDS.xsd/
s:import schemaLocation=
If CXF generated the code for that schema, there should also be an @XmlSeeAlso
annotation on the SEI that points to the OjbectFactory for that schema.
That SHOULD make it more or less just work. Can you check to see if the
XmlSeeAlso is there?
If it IS a DOM, you can always do something
I have one @XmlSeeAlso in the SrvSoap SEI, the block as follows:
@WebService(targetNamespace = http://foo/moo/;, name = SrvSoap)
@XmlSeeAlso({ObjectFactory.class})
public interface SrvSoap {
@WebResult(name = GetLatestSubjectsDSResult, targetNamespace =
http://foo/moo/;)
Hi
IMHO we really should not force users into trying to achieve everything via
existing DOSGI concepts, such as intents.
Intents are like policies which the consumers are supposed to notice. They
are supposed to originate on the server and reach the consumer through the
discovery service, unless
My suggestion is to do a System.out.pritnln(_any.getClass().getName())
to see what the real class is for the object and then go from there. It's
likely one of:
some subclass of org.w3c.dom.Element
or
JAXBElement (grab the object/value out of it)
or
SubjectsDS
Dan
On Wednesday 13 October
On Wednesday 13 October 2010 2:40:13 pm Yiannis Mavroukakis wrote:
Hello everyone :)
I've got a question with regards to nillable values. I've looked
around and I've noticed that most people's solution
is to use the nillable attribute in their schema. However, I'm taking
a code first
Right, that gives me a:
com.sun.org.apache.xerces.internal.dom.ElementNSImpl class
Which eclipse lists as a forbidden reference. I can lift the restriction and
toy with that I suppose. I definitely expected something similar to what
you described, but that threw me for a loop. There are some
Robert,
Second question first. I'm not sure that anyone would want to master
CXF. CXF provides a rather bewildering array of facilities. Very few
people will ever need to use all of them. There's a CORBA binding,
just to mention a particularly exotic specimen. The only learning
strategy I know is
That's just an org.w3c.dom.Element.
On Wed, Oct 13, 2010 at 5:33 PM, Jeffrey Rodgers jjrodg...@gmail.com wrote:
Right, that gives me a:
com.sun.org.apache.xerces.internal.dom.ElementNSImpl class
Which eclipse lists as a forbidden reference. I can lift the restriction and
toy with that I
Yep looks like I goofed an import which threw me for an introductory to java
loop (imported soap node/nodelists instead of dom). I have my imports
squared away and was able to treat it as Node and was able to get access to
what I needed. I have it unmarshalling to its respective code generated
Hi Daniel,
Aah yes silly me of course, the presence of the element indicates an
empty value!
Thanks,
Yiannis
On 13 October 2010 22:08, Daniel Kulp dk...@apache.org wrote:
On Wednesday 13 October 2010 2:40:13 pm Yiannis Mavroukakis wrote:
Hello everyone :)
I've got a question with regards to
First off, congratulations to Dan and everyone in getting 2.3.0 out!
Since it's out the first thing I wanted to test was one of my pet issues,
required @WebParams.
The JAX-WS 2.2 spec (section 3.6.2.1) says:
If a SEI’s method parameter or return type is annotated with @XmlElement,
that
Actually
Switching to Aegis is massively simple.
I wrapped a +100 method legacy api pretty darn quickly with Aegis and
a few simple binding modifications (to get away from optional stuff)
/je
On Oct 13, 2010, at 7:17 PM, ericacm wrote:
First off, congratulations to Dan and everyone
On Wednesday 13 October 2010 9:17:42 pm ericacm wrote:
First off, congratulations to Dan and everyone in getting 2.3.0 out!
Since it's out the first thing I wanted to test was one of my pet issues,
required @WebParams.
The JAX-WS 2.2 spec (section 3.6.2.1) says:
If a SEI’s method
Johan - did you migrate from JAXB?
Thanks,
-- Eric
On Wed, Oct 13, 2010 at 9:48 PM, Johan Edstrom-2 [via CXF]
ml-node+3211391-1974543336-102...@n5.nabble.comml-node%2b3211391-1974543336-102...@n5.nabble.com
wrote:
Actually
Switching to Aegis is massively simple.
I wrapped a +100
No new articles related to Apache CXF have been posted to the Resources and
Articles page since January;
http://cxf.apache.org/resources-and-articles.html.
If you know of any new ones, please let me know and I'll add the link(s).
Thanks,
Robert
39 matches
Mail list logo