longjn / android-ws-client

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

WCF WebService - ReflectionHelper.getFieldClass NoSuchFieldException: GetAllResult #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have created a client for our WCF webservice.
2. The Request seems to be ok and does work in SoapUI.
3. There I get a FieldNotMatchedException
(I could mail the WSDL which I am using)

What is the expected output? What do you see instead?
The service should be called. 

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

Please provide any additional information below.

Here is the LogCat dump:
03-26 16:22:43.093: I/System.out(18853): Status  500
03-26 16:22:43.098: I/System.out(18853): WSInvocationHandler: Status  500
03-26 16:22:43.103: I/System.out(18853): WSInvocationHandler: Response: 
<s:Envelope 
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>
s:Client</faultcode><faultstring 
xml:lang="en-US">System.ServiceModel.FaultException: The message with Action '' 
cannot be processed at the receiver, due to a ContractFilter mismatch at the 
EndpointDispatcher. This may be because of either a contract mismatch 
(mismatched Actions between sender and receiver) or a binding/security mismatch 
between the sender and the receiver.  Check that sender and receiver have the 
same contract and the same binding (including security requirements, e.g. 
Message, Transport, None).&#xD;
03-26 16:22:43.103: I/System.out(18853):    at 
System.ServiceModel.Dispatcher.ErrorBehavior.ThrowAndCatch(Exception e, Message 
message)</faultstring></s:Fault></s:Body></s:Envelope>
03-26 16:22:43.103: I/System.out(18853): 
ReflectionHelper*java.lang.NoSuchFieldException: GetAllResult
03-26 16:22:43.113: I/System.out(18853): FieldnameFound for GetAllResult
03-26 16:22:43.113: I/System.out(18853): 
ReflectionHelper*java.lang.NoSuchFieldException: GetAllResult
03-26 16:22:43.118: I/System.out(18853): 
ReflectionHelper*java.lang.NoSuchFieldException: faultcode
03-26 16:22:43.118: W/System.err(18853): 
org.jinouts.ws.exception.FieldNotMatchedException
03-26 16:22:43.123: W/System.err(18853):    at 
hu.javaforum.commons.ReflectionHelper.getFieldClass(ReflectionHelper.java:504)
03-26 16:22:43.123: W/System.err(18853):    at 
hu.javaforum.android.androidsoap.GenericHandler.startElement(GenericHandler.java
:345)
03-26 16:22:43.123: W/System.err(18853):    at 
hu.javaforum.android.androidsoap.GenericHandler.parseWithPullParser(GenericHandl
er.java:243)
03-26 16:22:43.123: W/System.err(18853):    at 
org.jinouts.ws.WSInvocationHandler.invoke(WSInvocationHandler.java:99)

Original issue reported on code.google.com by weird.dr...@gmail.com on 26 Mar 2013 at 3:35