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 2006/09/28 01:35:26 UTC
[jira] Created: (AXIS2-1250) Problem in Char deserialzing in ADB
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1250) Problem in Char deserialzing in ADB
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1250?page=all ]
Davanum Srinivas resolved AXIS2-1250.
-------------------------------------
Resolution: Fixed
Tried just now works for me.
2006/10/09 19:58:50:875 EDT [DEBUG] DefaultHttpParams - Set parameter http.socket.timeout = 60000
2006/10/09 19:58:50:875 EDT [DEBUG] DefaultHttpParams - Set parameter http.connection.timeout = 60000
2006/10/09 19:58:50:921 EDT [DEBUG] DefaultHttpParams - Set parameter http.socket.timeout = 30000
2006/10/09 19:58:50:937 EDT [DEBUG] HttpConnection - Open connection to 131.107.72.15:80
2006/10/09 19:58:51:031 EDT [DEBUG] header - >> "POST /SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc HTTP/1.1[\r][\n]"
2006/10/09 19:58:51:031 EDT [DEBUG] HttpMethodBase - Adding Host request header
2006/10/09 19:58:51:046 EDT [DEBUG] header - >> "SOAPAction: "http://tempuri.org/IBaseDataTypesDocLitB/RetChar"[\r][\n]"
2006/10/09 19:58:51:046 EDT [DEBUG] header - >> "User-Agent: Axis2[\r][\n]"
2006/10/09 19:58:51:046 EDT [DEBUG] header - >> "Host: 131.107.72.15[\r][\n]"
2006/10/09 19:58:51:046 EDT [DEBUG] header - >> "Transfer-Encoding: chunked[\r][\n]"
2006/10/09 19:58:51:046 EDT [DEBUG] header - >> "Content-Type: text/xml; charset=UTF-8[\r][\n]"
2006/10/09 19:58:51:046 EDT [DEBUG] header - >> "[\r][\n]"
2006/10/09 19:58:51:093 EDT [DEBUG] content - >> "ef[\r][\n]"
2006/10/09 19:58:51:093 EDT [DEBUG] content - >> "<?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/">34</ns1:inChar></soapenv:Body></soapenv:Envelope>"
2006/10/09 19:58:51:093 EDT [DEBUG] content - >> "[\r][\n]"
2006/10/09 19:58:51:093 EDT [DEBUG] content - >> "0"
2006/10/09 19:58:51:093 EDT [DEBUG] content - >> "[\r][\n]"
2006/10/09 19:58:51:093 EDT [DEBUG] content - >> "[\r][\n]"
2006/10/09 19:58:51:093 EDT [DEBUG] EntityEnclosingMethod - Request body sent
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "HTTP/1.1 100 Continue[\r][\n]"
2006/10/09 19:58:51:171 EDT [INFO] HttpMethodBase - Discarding unexpected response: HTTP/1.1 100 Continue
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "HTTP/1.1 200 OK[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "Date: Tue, 10 Oct 2006 00:02:12 GMT[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "Server: Microsoft-IIS/6.0[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "X-Powered-By: ASP.NET[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "X-AspNet-Version: 2.0.50727[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "Connection: close[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "Cache-Control: private[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "Content-Type: text/xml; charset=utf-8[\r][\n]"
2006/10/09 19:58:51:171 EDT [DEBUG] header - << "Content-Length: 155[\r][\n]"
2006/10/09 19:58:51:187 EDT [DEBUG] content - << "<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><RetCharResult xmlns="http://tempuri.org/">34</RetCharResult></s:Body></s:Envelope>"
2006/10/09 19:58:51:218 EDT [DEBUG] HttpMethodBase - Should close connection in response to directive: close
2006/10/09 19:58:51:218 EDT [DEBUG] HttpConnection - Releasing connection back to connection manager.
> 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
> Priority: Blocker
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Updated: (AXIS2-1250) Problem in Char deserialzing in ADB
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1250?page=all ]
Davanum Srinivas updated AXIS2-1250:
------------------------------------
Priority: Blocker (was: Major)
> 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
> Priority: Blocker
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1250) Problem in Char deserialzing in ADB
Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1250?page=comments#action_12438434 ]
Eran Chinthaka commented on AXIS2-1250:
---------------------------------------
Deepal, this link seems to be from an internal network and I can not see the wsdl. I hope it will be better if you can attach the wsdl itself here, for some one to see and fix the problem.
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1250) Problem in Char deserialzing in ADB
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1250?page=comments#action_12441019 ]
Davanum Srinivas commented on AXIS2-1250:
-----------------------------------------
import org.tempuri.BaseDataTypesDocLitBServiceStub;
import org.tempuri.InChar;
import org.tempuri.RetCharResult;
import com.microsoft.schemas._2003._10.serialization._char;
public class Main {
public static void main(String[] args) throws Exception {
BaseDataTypesDocLitBServiceStub stub = new BaseDataTypesDocLitBServiceStub();
InChar in = new InChar();
_char ch = new _char();
ch.set_char(34);
in.setInChar(ch);
RetCharResult result = stub.RetChar(in);
System.out.println(result.getRetCharResult().get_char());
}
}
> 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
> Priority: Blocker
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1250) Problem in Char deserialzing in ADB
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1250?page=comments#action_12441014 ]
Davanum Srinivas commented on AXIS2-1250:
-----------------------------------------
http://131.107.72.15/SoapWsdl_BaseDataTypes_XmlFormatter_Service_Indigo/BaseDataTypesDocLitB.svc
> 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
> Priority: Blocker
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org