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

Artem Portnoy resolved AXIS2-2644.
----------------------------------

    Resolution: Cannot Reproduce

The problem was in my server code and had nothing to do with Axis 2.  What's 
strange is that Axis 1 was handling the incorrect server response documents as 
if they were correct.

> 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 [EMAIL 
> PROTECTED]://xml.iwaysoftware.com/sample1 is not a valid [EMAIL 
> PROTECTED]://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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to