axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Portnoy (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-2644) Problem using faults with XMLBeans data binding
Date Mon, 07 May 2007 16:20:15 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Artem Portnoy updated AXIS2-2644:
---------------------------------

    Attachment: sample1.xsd

Schema that defines TestExceptionReq, TestExceptionRes, and Sample1Exception

> Problem using faults with XMLBeans data binding
> -----------------------------------------------
>
>                 Key: AXIS2-2644
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2644
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.2, 1.1.1
>            Reporter: Artem Portnoy
>            Priority: Critical
>         Attachments: sample1.xsd
>
>
> Custom soap faults returned by the server are not being properly handled on the client
side when XmlBeans data binding is used.  The client code produces a RuntimeException like
in the stack trace below.
> java.lang.RuntimeException: Data binding error
> 	at com.iwaysoftware.ws.sample1.Sample1Stub.fromOM(Sample1Stub.java:448)
> 	at com.iwaysoftware.ws.sample1.Sample1Stub.TestException(Sample1Stub.java:175)
> 	at Sample1.main(Sample1.java:25)
> Caused by: org.apache.xmlbeans.XmlException: Element Sample1Exception@http://xml.iwaysoftware.com/sample1
is not a valid TestExceptionRes@http://xml.iwaysoftware.com/sample1 document or a valid substitution.
> 	at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:322)
> 	at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:850)
> 	at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:826)
> 	at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:231)
> 	at com.iwaysoftware.xml.sample1.TestExceptionResDocument$Factory.parse(TestExceptionResDocument.java:113)
> 	at com.iwaysoftware.ws.sample1.Sample1Stub.fromOM(Sample1Stub.java:424)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message