You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/05/08 17:55:15 UTC

[jira] Assigned: (AXIS2-2644) Problem using faults with XMLBeans data binding

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

Deepal Jayasinghe reassigned AXIS2-2644:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>         Assigned To: Amila Chinthaka Suriarachchi
>            Priority: Critical
>         Attachments: Sample1.java, sample1.wsdl, sample1.xsd, soapReq.xml, soapRes.xml
>
>
> 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