You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Hörnicke <an...@gmx.info> on 2006/05/06 00:59:26 UTC

[axis2-1.0] Exception-Serialisation Bug with xmlbeans databinding?

Is anyone else having problems with the serialisation of
exceptions when using xmlbeans databinding (worked fine with 0.94
and adb)?

The exception looks like this:
------
public class ServiceException extends AxisFault {
    public ServiceException(ServiceFault f) {
        super(Integer.toString(f.getCode()), new QName("..."), null);
    }
}
------

Throwing an instance gives me the following error:

org.apache.axiom.om.OMException
        at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
        at org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75)
        at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222)

- Andreas


Re[2]: [axis2-1.0] Exception-Serialisation Bug with xmlbeans databinding?

Posted by Andreas Hörnicke <an...@gmx.info>.
Happens also with Axis2SampleDocLit.wsdl from the examples
directory when calling a skeleton method that throws an
UnsupportedOperationException.

- Andreas


am Samstag, 6. Mai 2006 schrieb Davanum Srinivas:

DS> Andreas,

DS> Please open a jira bug and then upload your wsdl to the bug.

DS> thanks,
DS> dims

DS> On 5/5/06, Andreas Hörnicke <an...@gmx.info> wrote:
>>
>> Is anyone else having problems with the serialisation of
>> exceptions when using xmlbeans databinding (worked fine with 0.94
>> and adb)?
>>
>> The exception looks like this:
>> ------
>> public class ServiceException extends AxisFault {
>>     public ServiceException(ServiceFault f) {
>>         super(Integer.toString(f.getCode()), new QName("..."), null);
>>     }
>> }
>> ------
>>
>> Throwing an instance gives me the following error:
>>
>> org.apache.axiom.om.OMException
>>         at
>> org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
>>         at
>> org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75)
>>         at
>> org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222)
>>
>> - Andreas
>>
>>


DS> --
DS> Davanum Srinivas : http://wso2.com/blogs/


Re: [axis2-1.0] Exception-Serialisation Bug with xmlbeans databinding?

Posted by Davanum Srinivas <da...@gmail.com>.
Andreas,

Please open a jira bug and then upload your wsdl to the bug.

thanks,
dims

On 5/5/06, Andreas Hörnicke <an...@gmx.info> wrote:
>
> Is anyone else having problems with the serialisation of
> exceptions when using xmlbeans databinding (worked fine with 0.94
> and adb)?
>
> The exception looks like this:
> ------
> public class ServiceException extends AxisFault {
>     public ServiceException(ServiceFault f) {
>         super(Integer.toString(f.getCode()), new QName("..."), null);
>     }
> }
> ------
>
> Throwing an instance gives me the following error:
>
> org.apache.axiom.om.OMException
>         at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
>         at org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75)
>         at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222)
>
> - Andreas
>
>


--
Davanum Srinivas : http://wso2.com/blogs/