Good Afternoon James-

If you go to your AXIS_DISTRO folder and take a look at the samples available 
there are many examples who do not use 'beans' per se
In particular I would encourage you to look at the AddressBook service located 
at
/AXIS/axis-1_3/samples/addr

HTH,
Martin --
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.



----- Original Message ----- 
From: "James Armstrong" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, June 01, 2006 3:03 PM
Subject: RE: throwing exceptions from web services...


> If so,
> Is there any docs on how to serialize/deserialize an arbitrary non-bean java
> object? Examples would be real useful...
> James
> 
> -----Original Message-----
> From: James Armstrong [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 01, 2006 11:35 AM
> To: [email protected]
> Subject: RE: throwing exceptions from web services...
> 
> Hi,
> Do I need to serialize/deserialize this exception in order to throw it from
> my web service?
> 
> package org.carl.entry;
> public class InvalidEntryException extends Exception {
> public InvalidEntryException(String s) {
> super(s);
> }
> 
> public InvalidEntryException(String s, Throwable t) {
> super(s, t);
> }
> 
> public InvalidEntryException(Throwable t) {
> super(t);
> }
> }
> 
> The BeanSerializer is not working do to the non-default constructor.
> James
> 
> -----Original Message-----
> From: Ali Sadik Kumlali [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, May 30, 2006 4:05 PM
> To: [email protected]
> Subject: Re: [Axis2][Nightly May 30th] XMLBeans databinding still not
> working -- Classpath problem?
> 
> Hi Sebastian,
> 
> Don't know why but, mystery is changing
> elementFormDefault="unqualified" to elementFormDefault="qualified". I
> could manage to successfully run the code against the given WSDL with
> this change.
> 
> I added my comments and test files to the
> http://issues.apache.org/jira/browse/AXIS2-720 
> 
> Hope this helps.
> 
> Ali Sadik Kumlali
> 
> --- "Sebastian J. Schultheiss" <[EMAIL PROTECTED]> wrote:
> 
>> Hi there,
>> 
>> Even after *days* of testing and trying different things, we still
>> arrive at the
>> same error with the current nightly (May 30th).
>> We are using Eclipse to build and run our project under Windows XP.
>> Did you ever
>> try to run a client with xmlbeans under windows? How does the
>> classpath have to
>> look like? We always get a class not found exception whenever we
>> DON'T include
>> the xbeans-packaged.jar from the lib directory of the created client.
>> We also
>> have all the jars from the axis2/lib dir in the classpath. Is there
>> anything we
>> shouldn't do?
>> 
>> The problem is logged as a JIRA:
>> http://issues.apache.org/jira/browse/AXIS2-720
>> 
>> This is part of the stack trace:
>> 
>> org.apache.axis2.AxisFault: Data binding error
>>     at
>>
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOpera
> tion.java:287)
>>     at
>>
> org.apache.axis2.TextLocServiceStub.predictLocalization(TextLocServiceStub.j
> ava:133)
>>     at org.apache.axis2.runLoc.main(runLoc.java:26)
>> Caused by: java.lang.Exception: org.apache.axis2.AxisFault: Data
>> binding
>> error; nested exception is:
>>     java.lang.RuntimeException: Data binding error
>>     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
>>     at
>>     ... 21 more
>> 
>>     at org.apache.axis2.AxisFault.<init>(AxisFault.java:159)
>>     ... 3 more
>> 
>> Any thoughts or experiences would be greatly appreciated. Out of
>> desparation we
>> now tried to use ADB instead, but found another bug there, see
>> separate email.
>> 
>> -- Sebastian
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to