Hi,
I guess you are referring to the second method mentioned at this link-
http://cxf.apache.org/docs/jax-rs-data-bindings.html#JAX-RSDataBindings-Schemavalidation
I have tried that and even that does not work with 2.3.2
-Neeraj
-Original Message-
From: Sergey Beryozkin [mailto:sberyoz
Situation:
I'm using jquery forms to submit a multipart to a JAX-RS service. So,
JQuery is using an iframe, and as a result error responses disappear.
All I get to see is the entity.
If I make a mistake such that CXF generates a WebApplicationException
e.g.
2011-11-23 21:59:09,885 [http-bio-150
Hi Daniel, Wow! that worked! I have not run the SOAP client yet but the
Java stubs generated no problemo! Regards, David.
On Wed, 2011-11-23 at 16:18 -0500, Daniel Kulp wrote:
>
> The simplest thing to do is to flip JAXB into it's "simple" mode. Create a
> binding file of:
> http://ts2.nbs-us.c
Hi Daniel, thank you for your response,
I'm using CXF 2.5.0.
Now I have found out that when I debug the web-service with my IDE
everything work as it should,
but if I send the request to the service without debugging it ends up as
I already mentioned.
I can't produce a test case because the
Any chance you can create a small sample test case showing the issue? Not
really sure what would cause it.
That said, if you aren't using CXF 2.4.3 or newer, definitely upgrade.
Dan
On Wednesday, November 23, 2011 1:51:42 PM Alex Declent wrote:
> I have developed a web-service which recei
On Wednesday, November 23, 2011 5:02:49 AM krn1...@gmail.com wrote:
> I am using Apache CXF , for developing Webservices I have two wars inside my
> Tomcat server , where from one war i am calling another war
>
> After adding this code (Calling another war from a class using
> jaxProxyFactory Bean
On Wednesday, November 23, 2011 10:30:25 AM Penmatsa, Vinay wrote:
> Hi,
> I added Policy annotations to the java interface in in java-first service
> and added the cxf-rt-ws-policy and cxf-rt-ws-security modules. Also, added
> the following in cxf config: resource="classpath:META-INF/cxf/cxf-exte
The simplest thing to do is to flip JAXB into it's "simple" mode. Create a
binding file of:
http://ts2.nbs-us.com/TestWS/Service.asmx?WSDL";
xmlns:jaxws="http://java.sun.com/xml/ns/jaxws";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
On Wednesday, November 23, 2011 5:27:34 PM Alex Shneyderman wrote:
> Hi, Daniel!
>
> Is there any other configuration that needs to be done for this?
You may need to add a transportId property/attribute on them that sets it to:
http://cxf.apache.org/transports/local
Also, if using Maven, mak
Here is one way to do it using spring xml configuration:
http://stackoverflow.com/questions/8235045/concatenate-string-in-spring-xml-configuration
This should work on earlier versions of CXF.
Let me ask another (related) question:
How do I redirect a generic wsdl url:
http://example.com/weba
Hello, can you help me with my problem? I'm novice in cxf and can not find
solution...
I have:
1) cxf-client (generated from NetBeans)
2) Web-service on Weblogic 10.3. Web-service is protected by
ws-securitypolicy (SAML-bearer)
I need: read element from inbound soap message in
web-service code.
I
Hi, Daniel!
Is there any other configuration that needs to be done for this?
I configured this:
on initialization call I get exception:
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'mock.
The only way I can think to do this is to write an interceptor that would live
before the WSDLGetInterceptor (assuming CXF 2.5.0) that would calculate a new
publishEndpointUrl as a string and set that on the message. In 2.5.0, that
property is a contextual property and over ridable via interc
On Wednesday, November 23, 2011 12:58:17 PM Alex Shneyderman wrote:
> Hello,
>
> I have a requirement where I need to configure a client proxy that
> does not actually make http request to the endpoint. We use
> org.apache.cxf.jaxws.JaxWsProxyFactoryBean to instantiate client
> proxies. Is there a
On Wednesday, November 23, 2011 4:29:13 PM Harry van Rijn wrote:
> Hi,
>
> I have generated java classes from a wsdl.
>
> Now I want to set up a webservice client using these classes,
> without using file://file?wsdl or http://endpoint?url.
>
> The only thing I want to use is:
> http://localhost
On Wednesday, November 23, 2011 4:45:25 AM hhenke wrote:
> Thank's for your response Daniel,
>
> I like to get it formatted on the wire.
Seems like a bug. Looking into the code, we always set the formatted output
to FALSE just before marshalling. Thus, that would override the property you
se
Hi,
I added Policy annotations to the java interface in in java-first service and
added the cxf-rt-ws-policy and cxf-rt-ws-security modules. Also, added the
following in cxf config:
Is there anything else to get the policy runtime working?
The Policy Interceptor doesn't seem to be invoked.
Re
Hi,
I have generated java classes from a wsdl.
Now I want to set up a webservice client using these classes,
without using file://file?wsdl or http://endpoint?url.
The only thing I want to use is:
http://localhost:8080/war-filename/web.xml-mapping/jaxws-address
Is this possible?
kind regards,
Hi Sergey,
you are right. I have to set JAXB properties. That's what I tried to do.
Just like described in http://cxf.apache.org/docs/jaxb.html . But it
doesn't work.
Cheers, Heinrich
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-to-configure-formatted-output-with-JAXWS-
On 23/11/11 12:45, hhenke wrote:
Thank's for your response Daniel,
I like to get it formatted on the wire.
You probably need to set JAXB properties:
http://cxf.apache.org/docs/jaxb.html
Cheers, Sergey
Regards
Heinrich
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-
I am using Apache CXF , for developing Webservices I have two wars inside my
Tomcat server , where from one war i am calling another war
After adding this code (Calling another war from a class using
jaxProxyFactory Bean ) the deployment is not happening .
Please let me know whetehr we need to ad
Thank's for your response Daniel,
I like to get it formatted on the wire.
Regards
Heinrich
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-to-configure-formatted-output-with-JAXWS-spring-client-tp5013106p5016533.html
Sent from the cxf-user mailing list archive at Nabble.com
I have developed a web-service which receives multiple attachments from
a remote web-service via an CXF JAXB client (the client is called from
the service), the attachment from the remote service are, one xml
document and an undefined number of pdf documents.
When I try to add the received att
Hello,
I have a requirement where I need to configure a client proxy that
does not actually make http request to the endpoint. We use
org.apache.cxf.jaxws.JaxWsProxyFactoryBean to instantiate client
proxies. Is there a way to instruct the factory to construct proxy in
a way where calls to the remo
Hi,
On 23/11/11 03:10, Benson Margulies wrote:
On Tue, Nov 22, 2011 at 10:50 AM, Sergey Beryozkin wrote:
Hi Benson
On 22/11/11 14:40, Benson Margulies wrote:
Does the standard demand that the default setting of accept for
WebClient be text/xml? This seems completely arbitrary to me. Why not
25 matches
Mail list logo