I made a simple project to invoke a wcf web service using ksoap2. But when he calls envelope.getResponse (); he gives an error message -----
"SoapFault - error code: 'A: ActionNotSupported faultstring:' Message with action 'GetString could not be processed at the receiver due to a ContractFilter mismatch on the EndpointDispatcher. This may be due to a contract mismatch (inconsistent actions between sender and receiver) or binding / security mismatch between sender and receiver. Make sure that the sender and receiver have the same contract and the same binding (including security requirements, for example. Message, transport, None). faultactor: 'null detail: zero "
Im running web services in localhost.
please help me.
are the values that I assigned
private static final String SOAP_ACTION = "GetString";
private static final String OPERATION_NAME = "GetString";
private static final String WSDL_TARGET_NAMESPACE = "http://tempuri.org/";
private static final String SOAP_ADDRESS = "http://10.0.2.2:14089/Service1.svc?wsdl";
source
share