longjn / android-ws-client

Automatically exported from code.google.com/p/android-ws-client
0 stars 0 forks source link

org.jin outs.ws.exception.Method Not Matched Exception #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I hv generated stubs and trying to access method in web service, then 
following Exception Occured :
1. ReflectionHelper*java.lang.NoSuchFieldException: 
2. org.jin outs.ws.exception.Method Not Matched Exception

This is the detail exception logs generated in log cat window.
07-30 14:43:10.065: I/AndroidWSAppActivity(1981): Button Pressed, Now call the 
webservice !!!!!!!!
07-30 14:43:10.115: I/System.out(1981): setPriDNSred
07-30 14:43:10.115: I/System.out(1981): SETTING DONE
07-30 14:43:10.115: I/System.out(1981): sendCEClientMessage
07-30 14:43:10.135: I/System.out(1981): Retrieving document at 
'http://192.168.1.16/RAM_XP/CE_WebService.asmx?wsdl'.
07-30 14:43:10.975: D/dalvikvm(1981): GC_CONCURRENT freed 147K, 3% free 
9327K/9607K, paused 17ms+10ms
07-30 14:43:11.905: D/dalvikvm(1981): GC_CONCURRENT freed 89K, 3% free 
9643K/9863K, paused 12ms+13ms
07-30 14:43:12.527: D/dalvikvm(1981): GC_CONCURRENT freed 84K, 3% free 
9979K/10183K, paused 12ms+11ms
07-30 14:43:12.975: D/dalvikvm(1981): GC_CONCURRENT freed 97K, 3% free 
10284K/10503K, paused 11ms+11ms
07-30 14:43:13.655: D/dalvikvm(1981): GC_CONCURRENT freed 199K, 4% free 
10497K/10823K, paused 12ms+11ms
07-30 14:43:14.076: I/System.out(1981): Full Request XML Is <soap:Envelope 
xmlns:soap="http://www.w3.org/2003/05/soap-envelope" 
xmlns:ws="http://tempuri.org/" 
><soap:Header/><soap:Body><ws:SendCE_Client_Message><ws:objCEClientStatus><ws:cl
ientStatus>avail</ws:clientStatus><ws:comIPAddr>192.168.1.44</ws:comIPAddr><ws:c
omType>serial</ws:comType><ws:dhcp>255.255.248.0</ws:dhcp><ws:duration>20</ws:du
ration><ws:gateway>255.255.248.1</ws:gateway><ws:groupName>Grp 
VJ</ws:groupName><ws:hostName>VJ</ws:hostName><ws:ipAddr>192.168.1.45</ws:ipAddr
><ws:macAddr>00-1F-D0-01-26-A5</ws:macAddr><ws:subnetMask>255.255.248.1</ws:subn
etMask><ws:priDNS>red</ws:priDNS><ws:priWNS>gre</ws:priWNS><ws:secDNS>gaer</ws:s
ecDNS><ws:secWNS>gawre</ws:secWNS><ws:shutdownACK>gr</ws:shutdownACK><ws:strLice
nseStatus>valid</ws:strLicenseStatus><ws:pollInterval>10</ws:pollInterval></ws:o
bjCEClientStatus></ws:SendCE_Client_Message></soap:Body></soap:Envelope>
07-30 14:43:14.076: I/System.out(1981): Response Class: 
org.tempuri.SendCEClientMessageResponse
07-30 14:43:14.505: D/dalvikvm(1981): GC_CONCURRENT freed 260K, 4% free 
10641K/11015K, paused 12ms+11ms
07-30 14:43:14.635: I/System.out(1981): Status  200
07-30 14:43:14.635: I/System.out(1981): WSInvocationHandler: Status  200
07-30 14:43:14.655: I/System.out(1981): WSInvocationHandler: Response: <?xml 
version="1.0" encoding="utf-8"?><soap:Envelope 
xmlns:soap="http://www.w3.org/2003/05/soap-envelope" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><SendCE_Client_MessageRe
sponse xmlns="http://tempuri.org/"><SendCE_Client_MessageResult>Object 
reference not set to an instance of an 
object.</SendCE_Client_MessageResult></SendCE_Client_MessageResponse></soap:Body
></soap:Envelope>
07-30 14:43:14.655: I/System.out(1981): 
ReflectionHelper*java.lang.NoSuchFieldException: SendCE_Client_MessageResult
07-30 14:43:14.665: I/System.out(1981): FieldnameFound for 
SendCE_Client_MessageResult
07-30 14:43:14.665: I/System.out(1981): 
ReflectionHelper*java.lang.NoSuchFieldException: SendCE_Client_MessageResult
07-30 14:43:14.675: I/System.out(1981): 
ReflectionHelper*java.lang.NoSuchFieldException: sendCE_Client_MessageResult
07-30 14:43:14.685: I/System.out(1981): FieldnameFound for 
sendCE_Client_MessageResult
07-30 14:43:14.685: I/System.out(1981): 
ReflectionHelper*java.lang.NoSuchFieldException: sendCE_Client_MessageResult
07-30 14:43:14.695: I/System.out(1981): 
ReflectionHelper*java.lang.NoSuchFieldException: sendCE_Client_MessageResult
07-30 14:43:14.695: I/System.out(1981): FieldnameFound for 
sendCE_Client_MessageResult
07-30 14:43:14.695: I/System.out(1981): 
ReflectionHelper*java.lang.NoSuchFieldException: sendCE_Client_MessageResult
07-30 14:43:14.715: I/System.out(1981): ReflectionHelperInvoking 
java.lang.Object.SendCE_Client_MessageResult()
07-30 14:43:14.715: W/System.err(1981): 
org.jinouts.ws.exception.MethodNotMatchedException
07-30 14:43:14.715: W/System.err(1981):     at 
hu.javaforum.commons.ReflectionHelper.invokeGetter(ReflectionHelper.java:87)
07-30 14:43:14.725: W/System.err(1981):     at 
org.jinouts.ws.WSInvocationHandler.invoke(WSInvocationHandler.java:102)
07-30 14:43:14.725: W/System.err(1981):     at $Proxy0.sendCEClientMessage(Native 
Method)
07-30 14:43:14.725: W/System.err(1981):     at 
com.rishi.WebServiceCallActivity$CEWebServiceTask.doInBackground(WebServiceCallA
ctivity.java:181)
07-30 14:43:14.725: W/System.err(1981):     at 
com.rishi.WebServiceCallActivity$CEWebServiceTask.doInBackground(WebServiceCallA
ctivity.java:1)
07-30 14:43:14.735: W/System.err(1981):     at 
android.os.AsyncTask$2.call(AsyncTask.java:264)
07-30 14:43:14.735: W/System.err(1981):     at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
07-30 14:43:14.735: W/System.err(1981):     at 
java.util.concurrent.FutureTask.run(FutureTask.java:137)
07-30 14:43:14.735: W/System.err(1981):     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
07-30 14:43:14.735: W/System.err(1981):     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
07-30 14:43:14.735: W/System.err(1981):     at 
java.lang.Thread.run(Thread.java:856)

What version of the product are you using? On what operating system?

Windows 7 ,Android 3.0
Please provide any additional information below.

Original issue reported on code.google.com by royalris...@gmail.com on 30 Jul 2012 at 9:23

GoogleCodeExporter commented 9 years ago
I've met the same problem. using android 4.0.3

Original comment by raygoo...@gmail.com on 14 Mar 2013 at 6:44