--- Begin Message ---
Hi Sergey,
Some corrections:
payload type
http
method
jetty
tomcat
iplanet
submitted
interceptor
method
invoked
http method on invoke
method
invoked
http method on invoke
method
--- Begin Message ---
Hi Sergey,
I added the following details:
1. I have the interceptor that processes the authentication details
display the http method.
2. I have the methods display the http method
The code I used to retrieve the method is as follows:
PhaseInterceptorChain.getCurrent
Hi David,
Thanks for the reply.
I have hit the WADL address. I could only see /content/. Cant find out
/detail/.
One question: Is it mandatory that, I need to pass all the queryparams in
the URL. Because, when I removed all the parameters from the getLocalDetail
method signature, it works.
I g
Hello Guys,
I want to know.. How to generate fault section in WADL using CXF??
Please help me in this regards..
Thank you very much in advance..
Ashish..
--
View this message in context:
http://old.nabble.com/Regarding-fault-section-in-WADL..-tp27351601p27351601.html
Sent from the cxf-user m
> -Original Message-
> From: Yong-Loh [mailto:vasantha_rap...@infosys.com]
> Sent: Wednesday, January 27, 2010 8:15 PM
> To: users@cxf.apache.org
> Subject: CXF with JAX-RS : No operation matching request path /detail/
> is found
>
>
> Hi All,
>
> We are using CXF with JAX-RS for buildin
I figured out the solution. The below error is fixed as per below...
Caused by: org.apache.cxf.service.factory.ServiceConstructionException: Could
not find definition for service {http://gadget.acme.com/}GadgetServiceService
Add the below annotation to the implementing class.
@WebService(name
Hi All,
We are using CXF with JAX-RS for building RESTful webservices. Below is our
resource interface.
@Path("/")
public interface ContentProcess {
@GET
@Path("/content/")
@Produces("application/xml")
public Content getContent(@QueryParam("address") String addres
- Original Message
From: Coder One
To: users@cxf.apache.org
Sent: Wed, January 27, 2010 2:15:28 AM
Subject: Custom Transport and Creating a JaxWS Client
CXF 2.2.5
I can't seem to create a client-side service instance to invoke my web service
via my custom transport. I followed the
Hi Sergey,
We will come back to this issue later as we are stuck up with another issue
which is of high importance. I will be posting the same on this forum.
Thanks & Regards,
Yong-Loh
Sergey Beryozkin-2 wrote:
>
> Hi, this looks fine.
>
> I might need some help here too. It has to work, ass
Any chance you could strip the wsdl down a bit and create a small test case
(no business logic and such)?I'd love to try and see what is going on
here.
Dan
On Wed January 27 2010 10:06:46 am pieb...@gmail.com wrote:
> yes, it is with JAXB.
>
>
> the annotations of the bean :
>
> @Xml
One "option" that I think might work for CXF would be to switch from using the
WSS4JIn/Out things to using the WS-SecurityPolicy based implementation. I
THINK the XPath based stuff in the CXF WS-SecurityPolicy are in a "if the
element exists, do this" type form. Thus, if you use an XPath to
I haven't had a chance to create a sample demonstrating the problem yet but I
did a little bit of digging...
I've found that if you have BOTH the wsa:addressing feature in your Spring
configuration and wsaw:UsingAddressing in your WSDL, it will not work. The
only way i've gotten it to throw the p
Got some web services that some guys developed using a WSPasswordCallback.
Works great with a java-based client.
Anyone know how to implement .NET-based clients that will work with the
CallbackHandler? (or any links, etc. to resources that would explain how
the .NET client could/should be writt
On Wed January 27 2010 11:44:10 am Vinicius Carvalho wrote:
> Hello there! How can I inform the org.apache.cxf.jaxb.JAXBDataBinding
> which packages to look at?
JAXBDataBinding has a constructor which is a Set that you can use. I
BELIEVE if you use that constructor, it won't then scan. Not 10
Christian,
This is kind of why I want to pull our xjc plugins and such into a
sub-project of CXF. A kind of "goal" would be to have a place similar
to jaxb2-commons for jaxb xjc plugins to find a home, but a place that
is managed better than jaxb2-commons and deploys to central and
such for
Hi Dan,
for some time I have searched for a jaxb extension that generates a
contructor with all attributes. I have now found two implementations
from jaxb2-commons value constructor or even more interesting fluent api.
https://jaxb2-commons.dev.java.net/value-constructor/
https://jaxb2-common
The upgrade worked - I can now submit my file successfully.
Brenda Coulson wrote:
>
> Thanks for the quick reply. I am in the process of upgrading to CXF 2.2.6
> and will let you know if that corrects the problem. I did turn off logging
> but that did not change the behavior.
>
>
> dkulp wrot
I'm implementing a web service that uses the callback mechanism to deal with
client-authentication. I've set the webservices and my own client up to
implement the callback stuff and everything is working as expected.
The question I have is this: is there some way, if a person out there in the
wo
Thanks for the quick reply. I am in the process of upgrading to CXF 2.2.6 and
will let you know if that corrects the problem. I did turn off logging but
that did not change the behavior.
dkulp wrote:
>
>
> Definitely try with CXF 2.2.6 if you are not already using 2.2.6. We've
> made
> a lo
This is strange...Hmm... Is it only JSON responses which are empty ? Can you try extending the default JSON provider and just
overwrite its writeTo and delegate, just to check, before doing the delegation, if it is actually invoked or if it has some real
data passed in ? Also, can you please tr
Hi Paul
As I've briefly mentioned in the other email, you can have a
jaxrs:server/@serviceName attribute (in 2.2.6).
This may help even if you have a single service bean. Cyrille and myself worked on ensuring JAXRS Operation stats are displayed
properly on client and server sides, including for
That resolved the issue. Thanks for your help.
Henk
On Jan 27, 2010, at 12:22 AM, Henk Flipman wrote:
> Thanks, Dan.
>
> This is for debug logging. In production it will be turned off so I'm not too
> worried about the memory impact.
>
> Thanks!
>
> Henk
>
> On Jan 26, 2010, at 7:21 PM, Dan
Hi Paul
I have just committed the initial code to trunk/2.2.x-SNAPSHOT. Please see [1],
[2], [3].
What is there now should probably work for most of the cases (topics/queues, including the JMS transactions support). Transactions
will work if custom exceptions have not been caught by JAXRS mapp
Hello there! How can I inform the org.apache.cxf.jaxb.JAXBDataBinding
which packages to look at?
It seems that it is scanning the whole classpath for annotations, and
now it throwing errors complaining about my DAOs Interfaces (and JAXB
not being able to handle interface)
My previous experiences
Hi,
Hi Sergey ,
I think the problem is with my web.xml
Could you please verify my web.xml
CXFServlet
org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
javax.ws.rs.Application
com.nsn.test.MyRest
1
Is it necessary to add servlet-mapping?
you definitely need to add it...
I ha
Hi Sergey,
Please find the attached war file. I have removed jar files.
Regards
Saravanan Ramamoorthy
http://old.nabble.com/file/p27342133/testproject.war testproject.war
Sergey Beryozkin-2 wrote:
>
> Hi
>
> Please try CXFJaxrsNonSpringServlet :
>
> http://cwiki.apache.org/CXF20DOC/jax-rs
Hi Sergey ,
I think the problem is with my web.xml
Could you please verify my web.xml
CXFServlet
org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet
javax.ws.rs.Application
com.nsn.test.MyRest
1
Is it necessary to add servlet-mapping?
I have tried to add the servlet mappping wit
My resource class:
@Path("/hello")
public class Helloworld{
@GET
public void sayHello()
{
System.out.println("hello world");
}
}
and my context root is testproject.
Totally I have written
1. Resource class (Helloworld)
2. MyRest class which extends Application.
3. web.xml
4. placed necessary
Hi Dan,
makes completely sense now. In fact i have also sseb the differences and
wondered why this wasnt a problem before the upgrade to 2.2.5 ;-) Now i
know. If i would be a CXF maintainer, i would go exactly the same route.
The only gripe is the error message itself. This could be a littl
I tried both the ServiceMix bundle and the Jettison 1.2 bundle but both still
deliver empty output. Debug output looks fine as far as I can see (it selects
org.apache.cxf.jaxrs.provider.JSONProvider for output):
...
[btpool3-0] DEBUG org.apache.cxf.phase.PhaseInterceptorChain - Invoking
handle
Hi Sergey,
Thanks for your quick reply.
My resource class:
@Path("/hello")
public class Helloworld{
@GET
public void sayHello()
{
System.out.println("hello world");
}
}
and my context root is testproject.
Totally I have written
1. Resource cl
congratulations team CXF! this is one of the reasons why i love CXF!
On Tue, Jan 26, 2010 at 3:24 AM, Daniel Kulp wrote:
> The Apache CXF team is proud to announce the availability of the latest
> patches for the fixes branches: 2.2.6 and 2.1.9
>
> Apache CXF is an open source services framework
Hi
Hi Sergey,
I have written a class that extends Application and registers all the
resource service class.
Here is my class:
public class MyRest extends Application{
@Override
public Set> getClasses() {
// TODO Auto-generated method stub
Set> s = new HashSet>();
s.add(Helloworld.class);
ret
yes, it is with JAXB.
the annotations of the bean :
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CheckCriteriaAddressViewForCheckAddressRequest", propOrder
= {
"maxWishedResults",
"checkType",
"formattedPostalAddressView",
"returnGeographicCoordinates",
"typography"
Would DOSGi RI 1.1 work with
http://repo1.maven.org/maven2/org/codehaus/jettison/jettison/1.2/jettison-1.2.jar
or is there any reason it would not?
Am 27.01.2010 um 15:49 schrieb Sergey Beryozkin:
> Hi
>
> if you use "org.apache.cxf.rs.provider" string property then it's a
> comma-separated l
Hi Sergey,
I have written a class that extends Application and registers all the
resource service class.
Here is my class:
public class MyRest extends Application{
@Override
public Set> getClasses() {
// TODO Auto-generated method stub
Set> s = ne
Hi
if you use "org.apache.cxf.rs.provider" string property then it's a comma-separated list of class names, if using declarative
services then you need to have a space separated list of class names listed on separate lines, as shown in the section I linked to.
As we discussed eralier on, there's
Rebecca,
On Tue January 26 2010 5:12:34 pm rduhard wrote:
> Logged an issue in Jira with potential patch. See
> https://issues.apache.org/jira/browse/CXF-2629
Just to let you know that I looked at this a bit last night. With your
patch, a BUNCH of the WS-RM related system tests fail. I thi
On Tue January 26 2010 5:49:56 am pieb...@gmail.com wrote:
> Hi again,
>
> the problem was that the object not mapped started with a uppercase when
> request generated by SOAPUI (not working)
> and a lower case when I use java to call the service.
>
> Yet the name of the element starts by an uppe
There are some new notes about WebSphere up on the page:
http://cxf.apache.org/docs/deployment.html
They may just apply to the latest WebSphere versions though.
Dan
On Wed January 27 2010 7:42:52 am da...@davidkarlsen.com wrote:
> On Thu, 21 Jan 2010, Christian Landbo Frederiksen wrote:
> > I'
Sorry, accidentally sent the last before I finished writing it :)
I used maven-scr-plugin to generate the properties of the registered service,
therefore the syntax should be ok now. However, it doesn't seem to work. I keep
getting empty JSON files :( I'll now check out to do it on the greeter_r
Sergey,
can you tell me what the exact syntax of a list of providers would be? E.g. one
of
"jaxb,org.apache.cxf.jaxrs.provider.JSONProvider"
",org.apache.cxf.jaxrs.provider.JSONProvider
Am 27.01.2010 um 10:47 schrieb Sergey Beryozkin:
> Hi Daniel
>
> Please see "Registering custom JAXRS p
Hi all,
>From what I can find on the web, I think CXF still does not support
WS-Transaction/
WS-AtomicTransaction.
I wonder if there is any other way to make certain CXF Web Service
invocation participates
in a distributed transaction?
Thanks a lot
--
Best Regards,
AdRiAN ShUM
(-: Don't W
New version - 2.2.6 -solves my problem.
Thank you very much for your quick response.
dkulp wrote:
>
>
> Can you try with CXF 2.2.6? I THINK this was fixes as part of 2.2.6.
> If it
> still doesn't work, I'll need a test case. I've haven't been able to
> reproduce this other than the o
Sorry...It is a bit lame, when I'm documenting I'm just type fast without re-checking the actual property names..."inElementsMap" is
the private field's name... Another typo to fix...
cheers, Sergey
- Original Message -
From: "Sertic Mirko, Bedag"
To:
Sent: Wednesday, January 27, 20
Hi
Thank you so much.
But i think the property should be "inTransformElements" for CXF 2.2.5
Anyway, thanks in advance
Mirko
-Ursprüngliche Nachricht-
Von: Sergey Beryozkin [mailto:sbery...@progress.com]
Gesendet: Mittwoch, 27. Januar 2010 11:18
An: users@cxf.apache.org
Betreff: Re: D
On Thu, 21 Jan 2010, Christian Landbo Frederiksen wrote:
I'm just trying to jump in with zero experience with CXF on websphere
and keep getting a java.lang.VerifyError when Spring tries to
instantiate org.apache.cxf.wsdl11.WSDLManagerImpl during a ?wsdl
request.
I've tried putting some of the
Hi, this looks fine.
I might need some help here too. It has to work, assuming the actual implementation just implements ContentProcess. Perhaps Spring
is proxifying it in some way that causes the issues ? Is there any chance you can download the CXF source and debug your
application, by adding
Hi Sergey,
Thanks for the info provided. We use Tomcat.
(Using CATALINA_BASE: D:\apache-tomcat-6.0.20
Using CATALINA_HOME: D:\apache-tomcat-6.0.20
Using CATALINA_TMPDIR: D:\apache-tomcat-6.0.20\temp
Using JRE_HOME:C:\Program Files\Java\jdk1.5.0_15)
Below is our resource interface.
Hi
I can see a (JUL) Log.severe(message) on line 231, just before WebApplicationException is thrown...Not sure why you don't see a
message in the log. Either way, the problem is that "com.endpoint.impl.ContentProcessImpl" has not been recognized as a root
resource class. Does it have a root @Pa
Hi Sergey,
Not exactly. Cant make it out from the logs.
Below is the root cause from the logs.
Caused by: javax.ws.rs.WebApplicationException
at
org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean.checkResources(Abstract
JAXRSFactoryBean.java:232)
at
org.apache.cxf.jaxrs.JAXRSServerFa
Hi
Do you see some other hints in the logs ? Where is the exception originating
from ?
cheers, Sergey
Hi,
We are using JAX-RS for CXF RESTful webservices. Our service has just one
method that handles a GET request.
And below is how we have mapped our service in beans.xml.
Hi,
We are using JAX-RS for CXF RESTful webservices. Our service has just one
method that handles a GET request.
And below is how we have mapped our service in beans.xml.
We are getting the below exception when
There's a typo, for "books" it should be
books : {http://books}books
though
books : {http://books}books
is a valid pairtoo provided one needs to change the name too
Hi
Please see [1], specifically, check an inElementsMap property.
So you can configure a provider with a map containing a pai
Hi
Please see [1], specifically, check an inElementsMap property.
So you can configure a provider with a map containing a pair like this :
books : {http://books}book
where {http://books}book is a QName in the expanded form. What will happen is
that if you have say
coming in then JAXB Un
CXF 2.2.5
I can't seem to create a client-side service instance to invoke my web service
via my custom transport. I followed the info at
http://cxf.apache.org/docs/jax-ws-java-first-with-jms-transport.html, but I am
sure I must have missed some steps.
For example, do I need to store a local
h...@all
I want to know if ist possible to specify a default namespace for
incoming REST requests.
I have a haxrs:server with a special JAXBElementProvider with configured
XML validation. Now comes the tricky point. There are some legacy
clients
sending requests without an XML namespace. N
Cross-posting from WSS4J maillist.
Thanks,
Siarhei
From: Siarhei Kaneuski
Sent: Tuesday, January 26, 2010 8:47 PM
To: wss4j-...@ws.apache.org
Subject: Optional encryption/decryption
Hi everyone,
I'm working on implementation of CXF service managing user profiles (which may
contain sensitive da
This is exactly what we did (as I replied in the other email), we were just passing a base64 encoded token over HTTPs, the
identification was done only once...Of course, one need to worry about setting up the server side to ensure a token can not be used
for 'life', etc...The other issue we had t
Hi Daniel
Please see "Registering custom JAXRS providers" in [1].
There's a couple of options. One is to to use an "org.apache.cxf.rs.provider" property which accepts a list of class names, so you
can list the provider you need, ex, "org.apache.cxf.jaxrs.provider.JSONProvider", etc. The other op
In the project we did awhile back we were passing a computed token (representing a successfully authenticated principal) back to a
client as a (custom, non-cookie) response header. This token, when it was coming back, was used to retrieve a previously
authenticated Principal (from db) and used fo
Hi
Please try CXFJaxrsNonSpringServlet :
http://cwiki.apache.org/CXF20DOC/jax-rs.html#JAX-RS-ConfiguringJAXRSservicesincontainerwithoutSpring
cheers, Sergey
Hi Experts,
Could anyone please explain how to publish JAX RS endpoint using cxf without
spring.
I can able to run the application us
Thanks, Dan.
This is for debug logging. In production it will be turned off so I'm not too
worried about the memory impact.
Thanks!
Henk
On Jan 26, 2010, at 7:21 PM, Daniel Kulp wrote:
> On Tue January 26 2010 5:18:38 pm Henk Flipman wrote:
>> Hmmm. That outputs:
>>
>> SOAP Response xml: jav
Hi Sergey
I have the following setup, and want to know it's valid:
Two jaxrs:server, each with the same address, /service, one server with
serviceBean A, one with serviceBean B.
Now, serviceBean A has a @Path("/service1/") annotation, and one method with a
@Path("/testmethod1") annotation
Ser
64 matches
Mail list logo