Problem in Char deserialzing in ADB
-----------------------------------
Key: AXIS2-1250
URL: http://issues.apache.org/jira/browse/AXIS2-1250
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Reporter: Deepal Jayasinghe
I code gen for follwoing wsdl
http://10.10.32.127/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc?wsdl
And req and res in TCP as follows
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header />
<soapenv:Body>
<ns1:inChar xmlns:ns1="http://tempuri.org/">32</ns1:inChar>
</soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<RetCharResult xmlns="http://tempuri.org/">32</RetCharResult>
</s:Body></s:Envelope>
But Axis2 giving me the following error
java.lang.RuntimeException: java.lang.RuntimeException: Unexpected subelement
RetCharResult
at
org.tempuri.BaseDataTypesDocLitBServiceStub.fromOM(BaseDataTypesDocLitBServiceStub.java:22365)
at
org.tempuri.BaseDataTypesDocLitBServiceStub.RetChar(BaseDataTypesDocLitBServiceStub.java:3265)
at interop.RunnerADBbare.testRetChar(RunnerADBbare.java:675)
at interop.RunnerADBbare.main(RunnerADBbare.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]