Re: Override schemalocation when creating a client

2008-03-24 Thread Jervis Liu
On Mon, Mar 24, 2008 at 1:00 PM, Kalle Korhonen [EMAIL PROTECTED] wrote: On Sun, Mar 23, 2008 at 7:57 PM, Jervis Liu [EMAIL PROTECTED] wrote: On Mon, Mar 24, 2008 at 5:39 AM, Kalle Korhonen [EMAIL PROTECTED] On Sat, Mar 22, 2008 at 10:47 PM, Glen Mazza [EMAIL PROTECTED] machine

Re: Override schemalocation when creating a client

2008-03-24 Thread Jervis Liu
On Mon, Mar 24, 2008 at 12:54 PM, Kalle Korhonen [EMAIL PROTECTED] wrote: On Sun, Mar 23, 2008 at 4:50 PM, Glen Mazza [EMAIL PROTECTED] wrote: I have not coded that way before, nor needed to. Can you not just set the ENDPOINT_ADDRESS_PROPERTY as done here[1], step #7? That would work,

Nested exceptions

2008-03-24 Thread Mehmet Imga
Hello, is there a way to throw nested exceptions in webservices? for example I would like to throw following exception in server site and get more info about nested exception in client site. throw new WSException(outer exception message, new SecurityException(inner exception message, null));

How I can set 'Home' or 'Root' or 'Docbase' directory?

2008-03-24 Thread Alpin, Luba
Hi CXF-User-List, I need your help with my three questions, please HELP! 1. I want to publish 68 services using ServerFactoryBean I create 68 instances ServerFactoryBean - one for each service, is it correct usage of ServerFactoryBean? After 34 services I get OutOfMemory exception and this

Re: How I can set 'Home' or 'Root' or 'Docbase' directory?

2008-03-24 Thread Glen Mazza
1. That seems strange. Unless I'm not understanding you correctly, I would think you just want to create one WSDL with 68 services (wsdl:operations), and then proceed as follows: http://www.jroller.com/gmazza/date/20071019 2. It depends on your servlet container, not the web service stack.

Re: Override schemalocation when creating a client

2008-03-24 Thread Kalle Korhonen
On Mon, Mar 24, 2008 at 12:57 AM, Jervis Liu [EMAIL PROTECTED] wrote: On Mon, Mar 24, 2008 at 12:54 PM, Kalle Korhonen [EMAIL PROTECTED] wrote: On Sun, Mar 23, 2008 at 4:50 PM, Glen Mazza [EMAIL PROTECTED] wrote: I have not coded that way before, nor needed to. Can you not just set

RE: How I can set 'Home' or 'Root' or 'Docbase' directory?

2008-03-24 Thread Alpin, Luba
Hi Glen Mazza! Thank you for replay! I want show you snip from my server code for clarify my questions. I don't use explicitly wsdl or xml configuration or servlet container I run class that execute binary of following code for Services Test(1-68) HashMapString, Object props = new

IncompatibleClassChangeError: DefinitionImpl

2008-03-24 Thread Scott Anderson
I get this exception when I try to instantiate my Service class: Exception in thread main java.lang.IncompatibleClassChangeError: Class com.ibm.wsdl.DefinitionImpl does not implement the requested interface javax.wsdl.extensions.AttributeExtensible at

Re: Nested exceptions

2008-03-24 Thread Glen Mazza
Yes, look at catch (CorrelationIdNotFoundFault e) {...} in Step #10 of [1] below. HTH, Glen [1] http://www.jroller.com/gmazza/date/20080308 Am Montag, den 24.03.2008, 08:34 -0700 schrieb Mehmet Imga: Hello, is there a way to throw nested exceptions in webservices? for example I would

Re: IncompatibleClassChangeError: DefinitionImpl

2008-03-24 Thread Willem Jiang
If you are working on the WebSphere with CXF. Here is one solution[1] for your case. [1]http://cwiki.apache.org/confluence/display/CXF20DOC/AppServerGuide#AppServerGuide-Websphere Willem Scott Anderson wrote: I get this exception when I try to instantiate my Service class: Exception in