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] Created: (AXIS2-2644) Problem using faults with XMLBeans data binding
Date Mon, 07 May 2007 16:18:15 GMT
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.1.1, 1.2
            Reporter: Artem Portnoy
            Priority: Critical


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