我正在尝试向此web service发送数据。
使用以下代码,我如何调整我在C#中发送CorrelationId
的内容?
www.SyncroWebService ws = new www.SyncroWebService();
ws.addNewProduct(new www.AddProductRequest(){
Products = new www.Product[]
{
new www.Product() { categoryName = "Cat_Rory", departmentName = "Dept_Rory", productName = "Product_Rory", productPrice = 100, productQty = 1000},
new www.Product() { categoryName = "Cat_Test", departmentName = "Dept_Test", productName = "Product_Test", productPrice = 100, productQty = 1000 }
}
});
由于
答案 0 :(得分:1)
使用:
ws.addNewProduct(new www.AddProductRequest {
CorrelationId = "id here",
Products = ...