Hi,
I am calling an SAP service(no PI/PO services) but I keep getting an exception "unrecognizd message version".
However the HTTP result is OK(200) and on SAP side they received the content.
Can any one tell me what I am doing wrong ?
var myBinding = new BasicHttpBinding(); myBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic; myBinding.Security.Mode = BasicHttpSecurityMode.TransportCredentialOnly;
var address = new EndpointAddress("http://host:port/message?sap-client=010"); ZVBILL_POD_RESP_CRClient client = new ZVBILL_POD_RESP_CRClient(myBinding,address); client.ClientCredentials.UserName.UserName = "username"; client.ClientCredentials.UserName.Password = "pasword"; ZVBILL_POD_RESP_CREATE create = new ZVBILL_POD_RESP_CREATE(); create.TAB_RESPONSEDATA = new ZVBILL_POD_REC[] { new sapPod3.ZVBILL_POD_REC { <DATA>} }; client.ZVBILL_POD_RESP_CREATE(create);
Any idea ?