Last post Jul 08, 2013 10:35 AM by cornball76
Jul 08, 2013 10:11 AM|smrutis1984|LINK
I have a WCF service deployed at a certain server.
I need to call it through the JAVA application, when i am checking the parameter for this OperationContract is being passed correctly from java side but when i am logging the parameter value in WCF service, it seems not to be received here.
We are using 'basicHttpBinding' only and the attributes set for the Service and OperationContracts are as follows :-
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[XmlSerializerFormat(Style = OperationFormatStyle.Rpc, Use = OperationFormatUse.Encoded)]
public interface IMyService
[OperationContract(Action = @"http://tempuri.org/GetString")]
[WebInvoke(Method = "GET", BodyStyle = WebMessageBodyStyle.Wrapped)]
string GetString(string strParameters);
Can any body check if this is correct or may suggest with all the steps so that a WCF can be accessed properly through JAVA application ?
Jul 08, 2013 10:35 AM|cornball76|LINK
Not a WCF guru here, but what I've done in the past to run down this stuff.
You could also use Fiddler (fiddler2.com) to watch post/get request and what the service has for a response.