Re: Logging Inbound and outbound message in cxf

2010-04-05 Thread muralidhar buditi
Hi, you can add it to ${CATALINA_HOME}/bin/startup.bat. On Mon, Apr 5, 2010 at 8:05 PM, SaravananRamamoorthy < saravanan.ramamoorth...@gmail.com> wrote: > > Hi Muralidhar, > > I am using tomcat 5.5 and windows. In which file should I change the > property. > > Regards > Saravanan Ramamoorthy > >

Re: Error in java webservice client CXF: org.apache.cxf.interceptor.Fault: Could not send Message.

2010-04-05 Thread Renuka Pathak
Hi Dan, Thanks for your reply. I used 2.2.7 now to generate client classes. when I run the client using BindingProvider, I get following error message "HTTP response '*401*: Unauthorized' invoking https:///services/sampleQuery* with NO authorization username configured in conduit*{urn:o

Re: Error in java webservice client CXF: org.apache.cxf.interceptor.Fault: Could not send Message.

2010-04-05 Thread Daniel Kulp
On Monday 05 April 2010 2:17:40 pm Renuka Pathak wrote: > Thanks Glen, Your tutorials are very useful. I tied using BindingProvider > in code but now I am getting following error. > > org.apache.cxf.interceptor.Fault: Could not send Message. > at > org.apache.cxf.interceptor.MessageSenderInt

Re: Error in java webservice client CXF: org.apache.cxf.interceptor.Fault: Could not send Message.

2010-04-05 Thread Glen Mazza
I don't know. In your shoes, if Googling pertinent portions of your error message below doesn't help, I would quickly rig up a Metro version of your SOAP client[2] (codewise, Metro and CXF are exceptionally close, if not identical, given what you're trying to do) and see if it gives you any diffe

Re: Error in java webservice client CXF: org.apache.cxf.interceptor.Fault: Could not send Message.

2010-04-05 Thread Renuka Pathak
Thanks Glen, Your tutorials are very useful. I tied using BindingProvider in code but now I am getting following error. org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSend

Re: Hand-written XSDs with Auto-generated WSDL

2010-04-05 Thread Glen Mazza
It looks like you want to do WSDL-first *after* you first create a rough draft of the WSDL using code-first. You can modify the rough WSDL generated to add in the XSD imports that you wish. [1] and [2] can provide some ideas for you. Glen [1] http://cxf.apache.org/docs/defining-contract-first-

Re: Error in java webservice client CXF: org.apache.cxf.interceptor.Fault: Could not send Message.

2010-04-05 Thread Glen Mazza
I believe you're mistaking the UsernameToken profile (message-level security) with the transport-layer security required by SSL. (You shouldn't need to configure the USERNAME_TOKEN and PASSWORD constants that you're using.) Perhaps my ssl[1] and soap client[2] tutorials can be of help to you. HT

Error in java webservice client CXF: org.apache.cxf.interceptor.Fault: Could not send Message.

2010-04-05 Thread Renuka Pathak
Hi CXF Team, I am new to CXF. I have generated java webservice client using CXF wsdl2Java utility. I am accesing a https webservice. I am setting Authentication parameters also in the java client. But when I run the client I get org.apache.cxf.interceptor.Fault: Could not send Message error. Coul

Hand-written XSDs with Auto-generated WSDL

2010-04-05 Thread phayte
I have request / response XSDs that have been written by hand that I would like to have included/referenced in an auto-generated WSDL. I suppose I want a "middle of the road" approach where I'm not doing code first but not writing an entire WSDL by hand either. I cannot locate an annotation or

RE: wsdl2java - creating List return type

2010-04-05 Thread Naresh Bhatia
Still not working. This is what I am getting now: public AccountSummariesResponse getAccountSummaries( AccountSummaries accountSummaries); Not only is the result wrapped, I am also getting a parameter that's not needed. Here's the modified wsdl (I think I got everything you suggested

Re: Logging Inbound and outbound message in cxf

2010-04-05 Thread SaravananRamamoorthy
Hi Muralidhar, I am using tomcat 5.5 and windows. In which file should I change the property. Regards Saravanan Ramamoorthy muralidhar26 wrote: > > Hi, > i think you can set the property > -Dorg.apache.cxf.Logger=org.apache.cxf.common.logging.Log4jLogger > in your application startop file.l

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

2010-04-05 Thread fachhoch
java.lang.NoClassDefFoundError: Could not initialize class org.apache.xerces.jaxp.datatype.XMLGregorianCalendarImplOk the server ologs has show some errors. I have xercesImpl-2.9.1.ja in my class path and in weblogic-application.xml I added this configration, org.apache.xerces.* please tel

JAX WS Client Connect Exception

2010-04-05 Thread Nishant Chandra
While initializing a webservice port, I see the following exception. Looks like CXF is trying to retrieve the WSDL and in the process, the instance hangs for a long period before throwing the exception. The client was generated using wsdl2java util provided by CXF. I want the client to timeout aft

Re: Deploying onto JBoss 5.1

2010-04-05 Thread Suneet Shah
Hi Dan Thanks. I found the error. I was importing the cxf-servlet.xml file, I had errors in some of the other imports. Now its deploying propertly. Thanks for your help Suneet Daniel Kulp wrote: On Sunday 04 April 2010 2:35:10 am Suneet Shah wrote: Hello: I have a war file with a set