So close now...I'd greatly appreciate how I can express the below code in
Spring context file:
Bus bus = BusFactory.getDefaultBus();
MyTransportTransportFactory MyTransportTransport = new
MyTransportTransportFactory();
DestinationFactoryManager destinationFactoryManager =
Hi!
How can I extract the hole raw transported message including
HTTP-Headers, Mime-Headers, SOAP-Message itself and
save them to file?
Is there a possibility to bring the save file back to the cxf context?
Thank you!
Alex
Found the needle in the haystack :)
DestinationFactoryManager dfManager =
bus.getExtension(DestinationFactoryManager.class);
// Find a DestinationFactory for the SOAP HTTP transport
DestinationFactory df =
dfManager.getDestinationFactory("http://schemas.xmlsoap.org/wsdl/soap/http";);
// TODO:
Back to basics...I removed Spring from the equation for now and used the
example below to get my custom transport going. I got the client-end "Conduit"
going with my custom stuff, but not the server-end "Destination". The example
does not show how to get "dfm". All help greatly appreciated...
On Thu, Jan 14, 2010 at 1:54 PM, Benson Margulies wrote:
> You create another layer around it unless you like the behavior of the
> Simple front end.
That's what I am trying to avoid since my pojo service is exactly what
I want to expose.
Am I being unrealistic?
You create another layer around it unless you like the behavior of the
Simple front end.
On Wed, Jan 13, 2010 at 10:22 PM, Barrie Treloar wrote:
> I think the other problem is that simple != java-ws and I want to
> expose my pojo as a web service.
> What I am trying to do is avoid changing the co
I think the other problem is that simple != java-ws and I want to
expose my pojo as a web service.
What I am trying to do is avoid changing the code to add annotations.
e.g. what happens when I want to expose a third party class as a web
service and I dont have the source code for it?
On Thu, Jan 14, 2010 at 10:22 AM, Barrie Treloar wrote:
> When I use the simple java interface I get the same
> ClassCastException: $Proxy50 as the Spring simple:client gives.
Using getClass() on the proxy to see its DeclaredMethods and DeclaredClasses,
I can see that the proxy has the method I e
On Thu, Jan 14, 2010 at 9:18 AM, Barrie Treloar wrote:
> On Thu, Jan 14, 2010 at 9:16 AM, Barrie Treloar wrote:
>> I'll also double check the sample directory...
>
> No samples use simple:client.
>
> The java_first_pojo uses simple:server and the Client class uses the
> ClientProxyFactoryBean.
>
Hi,
I'm new to Apache CXF and am trying to find a definitive answer for how to use
Apache CXF clients with Spring in a multi-threaded environment.
I've seen several types of examples and implementations but it's not clear to
me what is supposed to work and what is not supposed to work in a
mul
Why do we need multiple transportId to refer to a single transport, JMS? What
role does the id ".../configuration" play?
Thanks
http://cxf.apache.org/transports/jms
http://cxf.apache.org/transports/jms/configuration
On Thu, Jan 14, 2010 at 9:16 AM, Barrie Treloar wrote:
> I'll also double check the sample directory...
No samples use simple:client.
The java_first_pojo uses simple:server and the Client class uses the
ClientProxyFactoryBean.
I'll give that a go as well.
On Thu, Jan 14, 2010 at 7:16 AM, Coder One wrote:
> serviceClass is your main entry java interface.
> serviceBean is the bean that implements your java interface (serviceClass)
Thanks.
I'm currently stuck now as
http://localhost:7011/services/MyService"; />
is causing a
java.lang.ClassCastE
On Wed January 13 2010 4:40:34 pm Lucas Madar wrote:
> This does appear to be fixed in 2.2.6-SNAPSHOT. I'm confused as to why
> it worked with http and not https.
>
> What's the release schedule looking like for 2.2.6?
See:
http://old.nabble.com/Status-of-CXF-releases-(2.1.9-2.2.6-2.3)-td2707775
This does appear to be fixed in 2.2.6-SNAPSHOT. I'm confused as to why
it worked with http and not https.
What's the release schedule looking like for 2.2.6?
Thanks,
Lucas Madar
On 1/13/2010 1:01 PM, Daniel Kulp wrote:
Any chance you can try this with 2.2.6-SNAPSHOT?I made some attempts w
On Mon January 11 2010 8:40:15 pm chengy wrote:
> thank you! I want to know is ws-security,ws-rm make effective while using
> Dispatch API?
Yep. If the interceptors and such are configured. This was "new" in 2.2.2
so versions previous to that, the answer would have been no.Policies (like
This is kind of possible. When writing/annoating the "Person" class, you can
put the JAXB annotations on the getter methods you want exposed (and
XmlTransient on stuff you don't) and internally, the get method could do some
calculations.
For example:
Person {
List children
@XmlEleme
Any chance you can try this with 2.2.6-SNAPSHOT?I made some attempts with
2.2.6 to pass the auth information down further into the JDK so the JDK
algorithms may be able to use it. The primary reasons were for HTTPs proxy
support and NTLM support, but it may also apply to this.
Dan
On T
Couple thoughts:
1) OneWayProcessorInterceptor stuff - not needed. Thats for the the server
side stuff only.
2) Does the registration method on the IEventService interface have the proper
@OneWay annotation on it?If not, it wouldn't be considered a one way at
all.
3) Even with a one wa
On Wed January 13 2010 3:13:57 pm Coder One wrote:
> Is it possible to use Simple Front-End with Custom Transport?
The frontend should be completely independent of the binding or transport.
Thus, yea.
--
Daniel Kulp
dk...@apache.org
http://www.dankulp.com/blog
On Wed January 13 2010 2:26:22 pm Coder One wrote:
> Can you help me with a snippet on 1 and 2?
>
> Somethign like the below?
>
>binding="sqi:MyTransportBinding">
>
> http://acme.com/myTransport/>
That looks right, yea.
Dan
>
>
> Thanks
>
>
>
> - Original Me
If you just take the wsdl, run wsdl2java on it, then use the generated Service
object instead of spring config stuff, does that work? We've definitely done
testing with soap12 and .net so I know it works if the wsdl and everything is
correct and consumable.
Actually, noticed your jaxws:clien
serviceClass is your main entry java interface.
serviceBean is the bean that implements your java interface (serviceClass)
- Original Message
From: Barrie Treloar
To: users@cxf.apache.org
Sent: Tue, January 12, 2010 11:23:25 PM
Subject: Re: Expose pojo via webservice dynamically with
Is it possible to use Simple Front-End with Custom Transport?
Thanks...
Can you help me with a snippet on 1 and 2?
Somethign like the below?
http://acme.com/myTransport/>
Thanks
- Original Message
From: Daniel Kulp
To: users@cxf.apache.org
Cc: Coder One
Sent: Mon, January 11, 2010 1:21:54 PM
Subject: Re: CXF & Spring & Custom Transport Setup
On Mon
Does not work still :( Still the same 415 error.
Has anyone successfully consumed a .NET/WCF webservice with SOAP 1.2 and
wsHttpBinding using CXF 2.2.5?
Thanks...
- Original Message
From: Daniel Kulp
To: users@cxf.apache.org
Cc: Coder One
Sent: Wed, January 13, 2010 7:56:11 AM
Sub
Hi,
My service class accesses the request parameters through UriInfo. There is a
need for me to change a request parameter name (not value) before it gets to
the service class. I am trying to do that in an interceptor. Can someone
please tell me if this is doable and how do I get hold of the para
2010/1/13 Daniel Kulp :
>>
>> new MessageContextImpl(message).getHttpHeaders().getCookies()
>>
>
> That's probably the easiest. I guess the more "standard" way would be to
> pull the stuff off the message directly instead of using the
> MessageContextImpl wrapper thing, but the wrapper avoids a
I believe serviceName and endpointName are qnames. Thus, they would need to
be defined as:
http://target.namespace.of.wsdl/";
serviceName="ns:CalculatorService"
endpointName="ns:CalculatorServiceEndpoint"
address="http://acme.com/CalculatorService/CalculatorService.svc";
servic
Hello!
I am trying to contact a one-way web service (written in .NET,
running on windows 2008) with a cxf client, but the client throws an
exception saying that it does not get any answer (it does not, but that
is what a one-way service is about)...
Here is the code I use for testing:
static
On Wed January 13 2010 4:51:17 am marc.baumgart...@degussa-bank.de wrote:
> Hello,
>
> I have a problem with the return type of a web service function:
>
> public List findCustomer(String name);
>
> If my service returns a empty list, the list get null on the client. Is
> this a bug? Is there an
On Tue January 12 2010 9:02:03 pm Michael Guyver wrote:
> Hi there,
>
> I'm new to CXF and JAX-RS programming so the paradigm is quite foreign
> to me. At the moment I'm trying to figure out how one would go about
> implementing a Interceptor or Invoker that would execute prior to the
> service cl
Hello,
I have a problem with the return type of a web service function:
public List findCustomer(String name);
If my service returns a empty list, the list get null on the client. Is
this a bug? Is there any workaround? Do I have to use Arrays instead of
Lists?
Regards,
Marc
33 matches
Mail list logo