Sergey Beryozkin-2 wrote:
>
> ...One thing that I noticed is that you use URI patterns in the
> configuration but also @Secured in the actual resource. Can it
> actually work ? I'm not sure about it...Also, I'm assuming you've added a
> Spring Security filter to the web.xml...
>
> cheers, Ser
No i am not using any log re director. Can tell show me how to do this?
Alessio Soldano wrote:
>
> JMalkan, this is most probably a general issue with using the
> java.util.logging.Logger on JBoss AS.
> For instance, the JBossWS-CXF integration comes with a JDKLogRedirector
> that properly tra
This worked. I don't see error messages any more.
dkulp wrote:
>
>
> There is some docs at:
>
> http://cxf.apache.org/docs/debugging-and-logging.html
>
> about getting CXF to log to log4j. You may be able to give that a try.
> I'm
> not sure if that will work any better.
>
> Dan
>
> O
Hi Dan,
There is an webseal layer before processing the webservice. So the
unauthorized html streaming returned from the webseal.
Regards
Saravanan
dkulp wrote:
>
>
> Sounds like a very poorly implemented webservice that isn't adhering to
> specs.
> :-(
>
> My only thought is to write an
Hi everyone
"Note that the nonce support recommended by the specification for
guarding against replay attacks has not yet been implemented either in
CXF or WSS4J." (from
http://cwiki.apache.org/CXF20DOC/ws-security.html)
Is this still true?
Thank you very much
Best regards
Hello,
Lets take the jax_rs\basic sample. How would one go about deploying all the
classes in the server as a tomcat .war file, for example?
I'm not sure what the cxf-servlet.xml would look like.
Are there any examples of this anywhere?
Thanks, Ian
On Wed, Feb 17, 2010 at 15:57, Sergey Beryozkin wrote:
> Hi
>
> Have a look at
> http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/CustomJAXRSInvoker.java
>
> This custom invoker is used in one of the tests (I linked to earlier on) so
> clearly the
On Wed, Feb 17, 2010 at 14:46, johnrock wrote:
>
> Thank you for the link to that wiki. Very helpful. To quote from there:
>
> "If Spring Security is used for authentication, then CXF's SecurityContext
> is not initialized automatically. cxf-spring-security provides an
> interceptor that can be us
I discovered my problem.. I had some zombie java processes running on port
9000, and they were taking priority over the new processes.
However, I think the server example should somehow warn the user that the
server is unable to bind to the port and fail, somehow. Instead, it just
carries on and
On Wed February 17 2010 11:59:04 am Håkan Dahl wrote:
> I'm trying to map namespace to package with cxf-codegen-plugin 2.1.9 using
> defaultOptions:
>
>
>
> ${project.build.directory}/generated-sources/cxf
>
>
> -p
>
> urn:my.namespace:v1=my.n
Actually.. I finally found one.
http://biomoby.open-bio.org/CVS_CONTENT/moby-live/Java/docs/soapServlet.html
I'm using that now.
Another approach might be to use something like this:
http://www.guru4.net/articoli/javascript-soap-client/
And then parse the wsdl to generate some HTML & JavaScript
I'm trying to map namespace to package with cxf-codegen-plugin 2.1.9 using
defaultOptions:
${project.build.directory}/generated-sources/cxf
-p
urn:my.namespace:v1=my.namespace.v1
...
but it has no effec
On Tue February 16 2010 6:17:39 pm kiffin wrote:
> Dan,
>
> Thanks for your help. I get the stack trace returned with the soap fault,
> but it doesn't return the root cause of the stack trace.
>
> Example
> throw new SomeException(new AnotherException());
>
> I get the stack trace for SomeEx
There is some docs at:
http://cxf.apache.org/docs/debugging-and-logging.html
about getting CXF to log to log4j. You may be able to give that a try. I'm
not sure if that will work any better.
Dan
On Tue February 16 2010 3:17:14 pm JMalkan wrote:
> Is there a work around?
>
> dkulp wrote:
Sounds like a very poorly implemented webservice that isn't adhering to specs.
:-(
My only thought is to write an interceptor that would "process" the html page
into something a bit more tolerable.
Dan
On Wed February 17 2010 3:20:03 am SaravananRamamoorthy wrote:
> Hi All,
>
> I have cre
Really, the only tool I'm aware of for this is SoapUI. I haven't really seen
anything else that comes close. It's an interesting idea if it's something
someone would like to pursue. :-)
Dan
On Tue February 16 2010 5:35:37 pm Ian Upright wrote:
> Hello,
>
> This isn't directly related t
On Tue February 16 2010 5:55:56 pm John Doyle wrote:
> I'm looking for advice on the best kind of client to generate for a
> service.
>
> The service has operations like create and update that take an abstract
> Vehicle type as a parameter. What's actually expected is a Car, Truck,
> Airplane or
Hi, how do you invoke upon it ?
I've tried 'mvn -Pserver' and 'ant server' and had no problems running 'mvn -Pclient' against both endpoints and from Firefox and
curl.
However, found a bizarre issue when invoking from IE, given the following
Accept :
Accept: image/gif, image/x-xbitmap, image
Hi
Have a look at
http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/CustomJAXRSInvoker.java
This custom invoker is used in one of the tests (I linked to earlier on) so clearly the org.apache.cxf.security.SecurityContext gets
initialized), that i
Hi All,
Can you please let me know if there are any available default web service
framework in CXF to handle an incoming SOAP request from a web service.
Scenario:
My CXF client application has to handle the incoming SOAP request from the
web service.
Thanks
Saravanan
--
View this message in c
Thank you for the link to that wiki. Very helpful. To quote from there:
"If Spring Security is used for authentication, then CXF's SecurityContext
is not initialized automatically. cxf-spring-security provides an
interceptor that can be used if this is required. This interceptor adapts an
authent
Hi
Just an update that adding an "org.apache.cxf.endpoint.private" (either as a
jaxws:property or jaxrs:property) to jaxws/jaxrs endpoints will let users
'hide' links to SOAP or JAXRS-based endpoints from the services page. I've also
updated JAXRS WADLGenerator to return 401 for private endpoin
On Wed, Feb 17, 2010 at 05:47, johnrock wrote:
>
>
> Sergey Beryozkin-2 wrote:
>>
>> Hi
>>
>> 'Injectable' is a custom interface used by the test and its only purpose
>> is to ensure a JAXRS context instance (SecurityContext in
>> this case) is injected properly, given that the actual resource cla
On 02/16/2010 06:25 PM, Andreas Veithen wrote:
Spring has a concept called "transaction suspension" which allows you
to detach a transaction from a thread. This is primarily used to
execute a separate transaction on the same thread (and later resume
the original transaction), but this probably ca
Thanks, can you actually send the actual class (Employee + Manager) (directly
to me) ?
What is the @IgnoreProperty ? I've never heard of it, how do you use it ?
Regarding the exceptions handling :
http://cxf.apache.org/docs/jax-rs.html#JAX-RS-Exceptionhandling
cheers, Sergey
- Original Mess
Thanks Sergey for prompt reply
I changed the name of objects from
Product to Employee
and Namespace to Manager, in order to clearly convey my problem.
I was able to run the code with emsnamespace.namespaceId=5 as query param.
I've attached the WADL file. Also request you to please answer the r
Hi
Can you please post a sample resource class and this Employee object ?
@FormParams get translated to WADL parameters of type 'query'...FormParam("") should result in individual Employee properties such
as 'manager' being listed as parameters, but I'd like to 'manager' actually refers to anoth
Submitted https://issues.apache.org/activemq/browse/AMQ-2612 & attached test
case.
Thanks,
Pavel
On Tue, Feb 16, 2010 at 4:04 PM, Pavel wrote:
> Hi Gary,
>
> prefetch=1 alone would not work for my case;
>
> We build CXF web services with JMS transport on top of ActiveMQ.
>
> And syncronous cycl
Hi
I'm not a Spring Security practitioner so I'm afraid I can not be of much help here, perhaps experts like Andreas and others can
advise something but you may be better off asking it on the Spring Security forum...
One thing that I noticed is that you use URI patterns in the configuration but
Andrew,
Of course the concept already exists in JTA, otherwise Spring would
not be able to do transaction suspension. The added value that Spring
provides in this area is that (1) it offers a single API that is
independent of the actual transaction API used (local transaction,
JTA, Hibernate, etc.
I am planning to use CXF as my Webservice development framework. The java code
is already written using spring and hibernate. The requirement is to expose the
service layer in Model as web service and their method as web methods in
probably both SOAP and REST.
As a proof of concept I found CXF
Hello..
I'm using Apache CXF 2.2.6 on Windows.
I can compile the examples such as aegis with "ant server", and everything
works great, and I can use the service perfectly with soapUI, etc.
I can compile and run "ant server" with the jax_rs\basic example, and it
starts up fine saying "[java] Serve
Hi All,
I have created a webservice client using cxf. The Webservice requires Http
Basic Authentication.If we pass the correct credentials it retrieves the
result as a string.
If the credentials are incorrect , then the webservice returns a html page
that shows the some unauthorized details wher
33 matches
Mail list logo