Fiddler detected a protocol violation in the session. Content Length Mismatch: The response header claimed 292 bytes, but the server sent 293 bytes.
These are errors every time the web service is called due to the size of the response it returns. I have access to a web service ( http://gator1122.hostgator.com/~soptions/demo/administrator/components/com_vm_soa/services/VM_CategoriesService.php?WSDL )
When I add a product with the following code (I understand that the password is displayed, this is normal, as this is a demo database).
VM_Categories_ws.VM_Categories proxy = new VM_Categories_ws.VM_Categories(); VM_Categories_ws.loginInfo logindetails = new VM_Categories_ws.loginInfo(); logindetails.login = "admin"; logindetails.password = "password"; VM_Categories_ws.AddCategoryInput categoryInput = new VM_Categories_ws.AddCategoryInput(); category.name= "13"; category.description = "test"; category.category_flypage = null; category.category_browsepage = "browse_1"; category.category_publish = "Y"; categoryInput.loginInfo = logindetails; categoryInput.category = category; proxy.AddCategory(categoryInput);
I have access to both the webservice and the C # client, but I can not get them to work together.
source share