Hey
I built a little example but I can't upload it :-(.
So I performed a little test, I made a jar of a client -consumer-, put all
the dependencies in the classpath, and when I run the jar it work, this test
make me believe that all the issues is in the deploying phase.
I put these entire depen
Solved, that was the problem. thanks for the hint :-)
dkulp wrote:
>
>
> Ah, yes. Not a valid wsdl.
>
> For doc/lit bindings, the parts in the messages should refer to
> element declarations, not types. Using types in the parts is only
> valid for rpc/lit bindings.
>
> Dan
>
>
>
Same problem here.
Things like @HttpResource(location = "/{id}/details") don't seem to work
either.
Any thoughs on this?
Thanks,
Rui Ramos
--
View this message in context:
http://www.nabble.com/restful-parameters-setting-tp11931194p18113430.html
Sent from the cxf-user mailing list archive at
I never got a response to my question. java2ws maven plugin outputs generated
generated wrappers to {base.dir}. Will this be fixed to output to
{project.build.directory} or config options be added to specify this
location?
Will Gomes wrote:
>
> I was unable to find config options to specify the
Answered my own question. Apparently there is a .. config
option not mentioned in the docs, to which I can pass in command line
options for the java2ws plugin.
Will Gomes wrote:
>
> I never got a response to my question. java2ws maven plugin outputs
> generated generated wrappers to {base.dir}.
Are you seeing a NPE ? If yes then 2.1.1 shoukd have it fixed...
Cheers, Sergey
Same problem here.
Things like @HttpResource(location = "/{id}/details") don't seem to work
either.
Any thoughs on this?
Thanks,
Rui Ramos
--
View this message in context:
http://www.nabble.com/restful-paramet
Hi
Hello,
I've seen the examples configuring a application/json RESTful web service.
However, I'm interested in building a JSON-RPC service which will output
JSON-RPC packets, example:
http://json-rpc.org/wd/JSON-RPC-1-1-WD-20060807.html#ProcedureCall
http://json-rpc.org/wd/JSON-RPC-1-1-WD-200
We see the mtom attachment being sent back from the server but the Source
object on the client returns a null InputStream.We are using cxf 2.1 and
as per the following discussion we see that binding.setMTOMEnabled(true
); doesnt seem to work in 2.1.
http://www.nabble.com/MTOM-with-large-file-o
Hey Sergey,
In my case no NPE, just an empty String ("") set in the URL's parameter.
I'm using 2.0.6.
Think it might me fixed in later versions?
Thanks,
Rui Ramos
Sergey Beryozkin wrote:
>
> Are you seeing a NPE ? If yes then 2.1.1 shoukd have it fixed...
>
> Cheers, Sergey
>
>>
>> Same p
I made this by implementing SOAP interceptor, store the message in
message and then get it if needed:
Add the following:
IN ApplicationContext.xml
Create class logging/SAAJInterceptor.java
package logging;
import javax.xml.soap.SOAPMessage;
import
I have running server - it has some JaxBContext. I need to get concrete this
context - not any other...
To use for marshalling classes currently known to it using the reflection...
-Original Message-
From: Benson Margulies [mailto:[EMAIL PROTECTED]
Sent: Friday, June 20, 2008 3:21 PM
To:
Hi!
Is it possible to declare method with undefined list of parameters and
get them in runtime?
I need it to create web service with method that can receive list of
parameters from MS SQL reporting service that cannot send hashMap as
parameter but need different parameters for some situa
Here is what I got from Axis2 forum. I just wonder if CXF has already have a
better solution for this issue.
Thanks for any help.
==
At the moment what you can do is , generate a wsdl using Java2wsdl ,
then modified that to have minOccurs="1" and then put that i
Thanks for the hints. I added a setNamespaceMap(Map)
setter to JSONProvider and set that with the map I had in spring, then
set that provider bean via jaxrs:entityProviders. I actually prefer
that, it's cleaner than creating the input and output factories like I
was attempting.
Is there a
I would like to allow the user to somehow specify which elements they
care about for an object, so that the output can be optimized as well as
the queries backing the service.
For instance, if a call is made to retrieve a Contact and the user
specifies "firstName,lastName", I only want the output
Is there a way to use the same service class and methods to generate
both XML and JSON output depending on say the client "Accept" format?
Or if not possible, what about mapping the same service methods to
different URLs with different output types.
Cheers,
David
Hi,
I want below configuration to support Json, how to modify? I try with
adding red, but it still return the xml format, can you help me?
In addtion, I tested with the sample[*
apache-cxf-2.1\samples\restful_http_binding*]
Thanks
Robin
http://www.springframework.org/schema/beans";
xmlns:xsi
CXF Users:
I am trying to learn WS-RM and have looked at CXF 2.0.7 and the samples.
I have tried to take the existing sample (ws-rm) and port the Server-side
service into Jboss, calling it from a stand-alone WS Client. Right now both
client and server are CXF.
The client can call the service
If the JAXBDataBinding does not have an accessor to return the context,
please file a JIRA to ask for one.
On Wed, Jun 25, 2008 at 4:07 PM, Sergey Pulyaev <
[EMAIL PROTECTED]> wrote:
> I have running server - it has some JaxBContext. I need to get concrete
> this context - not any other...
> To u
I don't understand the issue. Is this a code-first or a wsdl-first
situation?
On Wed, Jun 25, 2008 at 4:19 PM, Landslide <[EMAIL PROTECTED]> wrote:
>
> Here is what I got from Axis2 forum. I just wonder if CXF has already have
> a
> better solution for this issue.
>
> Thanks for any help.
>
> ===
This is a spec compliance issue. The DEFAULTS for this are
minOccurs=0. The nillable probably shouldn't be there.
In anycase, it IS controllable to some extent, but it's not exactly
easy. Basically, you would have to create a bean to represent the
request, annotate it poperly, and t
Hi all,
I am trying to implement the JAX-RS example given at:
http://cwiki.apache.org/CXF20DOC/jax-rs-jsr-311.html
into a Tomcat servlet via the additional Spring configuration options
outlined towards the bottom of the page.
I am getting the error "Could not resolve a binding for
http
We need to send SOAP messages which include a custom security header
designed by our counterparty. The header is declared inside a Policy
element (WS-Policy). (See "CPTYWSHeader", below.)
We did WSDL-first, so our WSDL is static. We understand that we can get
CXF to add these custom headers by conf
Hi,
We have several existing Java POJO classes in client side.
Now we are planning to use the WSDL, as such we have defined the WSDL
definition, based on server side schema, and then generated Java objects. I
would not be able to just use these generated classes in the client side
instead of my PO
Hi ,
I just found your mistake, you set the XMLInputFactory twice in the
Willem
Robin Liu wrote:
Hi,
I want below configuration to support Json, how to modify? I try with
adding red, but it still return the xml format, can you help me?
In addtion, I tested with the sample[*
apache-cxf-2.
25 matches
Mail list logo