Re: How to add Stylesheet to XML returned from server?

2009-04-08 Thread Chris Marshall
That would be a great help Sergey! Thanks Chris On 07/04/2009, Sergey Beryozkin sbery...@progress.com wrote: Hi Chris it's great :-) that code though may get a bit brittle if other XML-aware providers are registered/found. I do like the idea of updating teh JAXBElementProvider to check

Re: How to add Stylesheet to XML returned from server?

2009-04-08 Thread sridhar veerappan
Hi, I am new To CXF, Can you anyone help me how to build the application with minimal setup with Jboss or Tomcat,Java,eclipse,Ant/Maven,Web service with a sample application to test. Thanks in Advance Sridhar On Wed, Apr 8, 2009 at 1:26 PM, Chris Marshall ch...@campsbayterrace.comwrote: That

will cxf prase the respone automatically?

2009-04-08 Thread shrimpywu
hi, everyone, currently, i am using CXF to create a web service client.. some time i only use the client to send out the request, and don`t want my machine waste too much time on prase the respone, coz i do not care the response.. can we ask CXF, not to deal with the response??? -- View this

apache cxf service and soappy client

2009-04-08 Thread Vassilis Virvilis
Hello everybody, recently I was able to debug and successfully use an apache cxf webservice from a soappy client. There were 3 distinct tricks I had to use and so I figured to document the tricks to a public place in case anybody else is interested The first observation is that for methods

Re: will cxf prase the respone automatically?

2009-04-08 Thread Benson Margulies
@OneWay On Wed, Apr 8, 2009 at 7:20 AM, shrimpywu imx...@gmail.com wrote: hi, everyone, currently, i am using CXF to create a web service client.. some time i only use the client to send out the request, and don`t want my machine waste too much time on prase the respone, coz i do not care

CXF tutorial (was Re: How to add Stylesheet to XML returned from server?)

2009-04-08 Thread Andrew Clegg
2009/4/8 sridhar veerappan sriasa...@gmail.com: Hi, I am new To CXF, Can you anyone help me how to build the application with minimal setup with Jboss or Tomcat,Java,eclipse,Ant/Maven,Web service with a sample application to test. Like this?

Re: wsdl documentation tags

2009-04-08 Thread Vassilis Virvilis
On Monday 06 April 2009, Vassilis Virvilis wrote: Hi everybody, A new requirement has come up and I really need to ask more knowledgable guys. Is there a way to inject the in a wsdl the documentation tag in java first approach. Ideally it could pick the information from comments in the

HttpURLConnection and read timeout

2009-04-08 Thread XyLus
Hello All, I have following conduit configuration in my client http:conduit name={http://x.y.z/service}MyServicePort.http-conduit; http:client AutoRedirect=true ConnectionTimeout=6 ReceiveTimeout=12 AllowChunking=false /

Processing of WSA MAPs

2009-04-08 Thread Andrew Dinn
I am currently suffering from a problem which relates to the behaviour of the CXF WS-Addressing (WSA) implementation (CXF 2.1.4), specifically how it processes Message Addressing Properties (MAPs). My problem raises issues about how the WSA MAP API is expected to be used under JAX-WS.

Re: Query about From header in CXF

2009-04-08 Thread Eoghan Glynn
Thanks Andrew! I've committed the fix and also added some unit test coverage. http://svn.apache.org/viewvc?view=revrevision=763272 Cheers, Eoghan 2009/4/7 Andrew Dinn ad...@redhat.com: Eoghan Glynn wrote: I guess the only justification for not decoding the wsa:From is that we don't use it

Re: Processing of WSA MAPs

2009-04-08 Thread Eoghan Glynn
Hi Andrew, I hear what you're saying. We definitely could change MAPCodec.restoreExchange() so as to not require that a cached exchange is available if the /wsa:RelatesTo is non-null and the /wsa:RelatesTo/@RelationshipType is set to anything other than

ljk

2009-04-08 Thread piebetz
lkj

WS-SecurityPolicy: Problem with AsymmetricBinding: Not signed before encrypted

2009-04-08 Thread Benjamin Ernst
Hello everybody, I have a problem with the WS-SecurityPolicy. My Policy only asserts that the body is signed, but not encrypted. Sending signed messages is no problem, but when I receive a signed message the following error appears: Caused by: org.apache.cxf.ws.policy.PolicyException: These

Re: Processing of WSA MAPs

2009-04-08 Thread Andrew Dinn
Eoghan Glynn wrote: I hear what you're saying. Good. Thanks for the rapid response. We definitely could change MAPCodec.restoreExchange() so as to not require that a cached exchange is available if the /wsa:RelatesTo is non-null and the /wsa:RelatesTo/@RelationshipType is set to anything

RE: WebService client : connecting to the server without WSDL access ?

2009-04-08 Thread John Hite
I think you are looking for JaxWsProxyFactoryBean. Take a look at the bottom of this page. http://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html -John -Original Message- From: pieb...@gmail.com [mailto:pieb...@gmail.com] Sent: Wednesday, April 08, 2009 12:10 PM To:

Re: WELCOME to users@cxf.apache.org

2009-04-08 Thread Oscar Reitsma
Good day, Perhaps someone could help me: I am using a Java CXF 2.2 client to consume a WCF service with basic-http binding. I am getting the error below: Error in line 1 position 1361. 'EndElement' 'request' from namespace ' http://www.my.name.space' is not expected. Expecting element

Re: Processing of WSA MAPs

2009-04-08 Thread Eoghan Glynn
Ok, I'll see what I can cook up. Would you like a JIRA with that? Yeah, that would be great :) /Eoghan

Re: No binding factory for namespace http://schemas.xmlsoap.org/soap/ registered

2009-04-08 Thread Daniel Kulp
work on the server side. I am taking all of these libraries and re-jaring them into a single jar file to make deployment easier. I remove any signature and manifest files before I re-jar them. That's the problem. That's not going to work. There are several files that need to be merged

Re: WebService client : connecting to the server without WSDL access ?

2009-04-08 Thread Daniel Kulp
Couple thoughts: 1) you could copy the wsdl locally, maybe even bundle it into the client jar, and just use it that way. You can override the URL it's going to hit at runtime via: ((BindingProvider)port).getRequestContext().put( BindingProvider.ENDPOINT_ADDRESS_PROPERTY,

Re: WS-SecurityPolicy: Problem with AsymmetricBinding: Not signed before encrypted

2009-04-08 Thread Daniel Kulp
That definitely looks like a bug. Can you log a jira with your policy attached? I'll see if I can look at it tomorrow. Dan On Wed April 8 2009 12:07:31 pm Benjamin Ernst wrote: Hello everybody, I have a problem with the WS-SecurityPolicy. My Policy only asserts that the body is signed,

Re: issues with running dynamic client tests using mvn surefire plugin

2009-04-08 Thread Daniel Kulp
Any chance you could package this up into a small maven based testcase and attach it to a jira? That would definitely help trying to reproduce and diagnose it. We have a couple DynamicFactory test cases in our code that obviously are maven based and running in surefire, so it SHOULD work.

Re: wsdl documentation tags

2009-04-08 Thread Daniel Kulp
On Wed April 8 2009 8:18:58 am Vassilis Virvilis wrote: On Monday 06 April 2009, Vassilis Virvilis wrote: Hi everybody, A new requirement has come up and I really need to ask more knowledgable guys. Is there a way to inject the in a wsdl the documentation tag in java first approach.

Re: SOAP with arrays and inheritance

2009-04-08 Thread Daniel Kulp
At startup, JAXB is initialized with only the types we can directly determine from the SEI interface. In your case, the only type on the returns is Order, so that is all JAXB will know about. The best way to fix it is to add an @XmlSeeAlso annotation to Order to have it point at it's

Re: issues with running dynamic client tests using mvn surefire plugin

2009-04-08 Thread Arulazi Dhesiaseelan
I just noticed this happens only when the tests are run from our build server (Teamcity). Still trying to figure out the root cause. I will keep you posted on what I find. Thanks,-Arul On Wed, Apr 8, 2009 at 3:01 PM, Daniel Kulp dk...@apache.org wrote: Any chance you could package this up into