Re: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'MCCI_IN000002UV01'

2010-04-01 Thread Nautilus_Master
Am i the only one with this problem? -- View this message in context: http://old.nabble.com/org.xml.sax.SAXParseException%3A-cvc-elt.1%3A-Cannot-find-the-declaration-of-element-%27MCCI_IN02UV01%27-tp28094095p28105598.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: Passing multi parameters to a post RESTful call

2010-04-01 Thread Sergey Beryozkin
Hi, try adding @Consumes(application/x-www-form-urlencoded) cheers, Sergey On Thu, Apr 1, 2010 at 1:48 AM, atest12 ariela...@yahoo.com wrote: This is my implemented class: public class HelloWorldServiceImpl implements HelloWorldService { public String sayHelloPost(String msg,

Re: Logging Inbound and outbound message in cxf

2010-04-01 Thread SaravananRamamoorthy
Hi Todd, I do not have any xml configuration file. I tried with java code like: System.setProperty(org.apache.cxf.Logger, org.apache.cxf.common.logging.Log4jLogger); before invoking the cxf operation. But no luck for me. Please suggest me what I did mistake. Regards Saravanan Ramamoorthy

RE: Losing fault type in CXF 2.2.3+

2010-04-01 Thread Vanore, Gregory
Dan, I successfully used this technique to patch my stubs. Thanks! I do have a remaining question: Is there a best practice here? Is calling XxxFault(..., xxxFaultInstance) the way things are supposed to be done? I'm just trying to understand the etiology of my issue. Greg -Original

RE: Lag in service creation

2010-04-01 Thread Nate Woody
Well, largerly as an FYI, there's mojo in 2.2.7 that resolved the problem. In the hail mary have you updated the firmware spirit, I built a version on the latest 2.2.7 and it appeared to make the problem go away for the customer. Unfortunately, I haven't been able to duplicate the problem on

Using cxf-codegen-plugin with multiple WSDLs

2010-04-01 Thread M.Ismail
Hi, I've got multiple WSDLs and I don't know how to make maven generate code for all of them at once using wsdl2java plugin (cxf-codegen-plugin). I've tried adding another execution but it didn't work: plugin groupIdorg.apache.cxf/groupId

Re: Using cxf-codegen-plugin with multiple WSDLs

2010-04-01 Thread Daniel Kulp
Multiple executions would work if the id of the executions are each unique. Like generate-sources-wsdl1, generate-sources-wsdl2, .etcc... However, you would get better performance by having a single execution. The wsdlOptions element can have several wsdlOption children, each configuring a

Re: new bee problem com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

2010-04-01 Thread fachhoch
please tell me how can I check the httperror code?, I sent you the complete stack trace, should I enable the logging and send you the complete log ? dkulp wrote: Any chance you could wireshark this and get the raw transfer bytes. It LOOKS like to be that the response coming back is

SSL client 2 way authentication throws exception while plain jsse operation works

2010-04-01 Thread Purohit, Manoj R
Hello, I have tried same truststore and keystore with plain jsse example and I am able to get response back. Handshake works fine. However same keystore and truststore I use with CXF webservice client it throws following exception .. RECV TLSv1 ALERT: fatal, handshake_failure which means

Re: Passing multi parameters to a post RESTful call

2010-04-01 Thread atest12
Thank you Sergey, your suggestion worked when I've added the annotation on my interface. Sergey Beryozkin-5 wrote: Hi, try adding @Consumes(application/x-www-form-urlencoded) cheers, Sergey -- View this message in context:

Configure CXF to follow redirects?

2010-04-01 Thread Remijan, Michael
How do I configure CXF to follow redirects? I have a CXF client which fails because of: Caused by: java.net.SocketTimeoutException: SocketTimeoutException invoking https://server:/path/to/web/service: Read timed out However, an older AXIS client I have works with the same URL. I'm fairly

Re: new bee problem com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

2010-04-01 Thread fachhoch
the server is deployed in https , does this have anything to do with this exception ,mine is a simple client here is the code jaxws:client id=findGrantsClient serviceClass=gov.hhs.acf.webservice.grantsSearch.service.GrantsSearchService address=${find.grants.service.url}

Re: new bee problem com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

2010-04-01 Thread fachhoch
I checked the http code it is not error code it is response code 200 here is the complete output 2010-04-01 18:33:57,542 [http-8080-4] DEBUG org.apache.cxf.endpoint.ClientImpl - Invoke, operation info: [BindingOperationInfo: {http://artms/acf.gov}findGrants], params:

Re: new bee problem com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

2010-04-01 Thread Daniel Kulp
The main thing to look at is: null: [HTTP/1.1 200 OK] Date: [Thu, 01 Apr 2010 22:32:56 GMT] Content-Length: [0] Set-Cookie: The Content-Length of 0 means that there is no content in the response. Thus, something is happening on the server side or something that is causing an

Re: Configure CXF to follow redirects?

2010-04-01 Thread Daniel Kulp
See: http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html There is an AutoRedirect setting that would be set to true. That said, with AutoRedirect, we cannot stream. We have to buffer so if a redirect is triggered, we can resend. Thus, performance would be slightly

Re: Losing fault type in CXF 2.2.3+

2010-04-01 Thread Daniel Kulp
On Thursday 01 April 2010 10:01:35 am Vanore, Gregory wrote: Dan, I successfully used this technique to patch my stubs. Thanks! I do have a remaining question: Is there a best practice here? Is calling XxxFault(..., xxxFaultInstance) the way things are supposed to be done? I'm just