java平台那边调用.net提供的webservice接口,参数为对象数组。但是调用后,可识别我的对象,但数组长度一直为0webservice
/// <summary>
/// Summary description for DepartmentService
/// </summary>
[WebService(Namespace = "...")]
[SoapDocumentService(RoutingStyle = SoapServiceRoutingStyle.RequestElement)]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class DepartmentService : System.Web.Services.WebService
{ [WebMethod]
public void saveDepartmentDataFromSap(SapDepartmentData[] List)对象
namespace DepartmentProxy
{
[XmlType(Namespace = "...")]
public class SapDepartmentData
/// <summary>
/// Summary description for DepartmentService
/// </summary>
[WebService(Namespace = "...")]
[SoapDocumentService(RoutingStyle = SoapServiceRoutingStyle.RequestElement)]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class DepartmentService : System.Web.Services.WebService
{ [WebMethod]
public void saveDepartmentDataFromSap(SapDepartmentData[] List)对象
namespace DepartmentProxy
{
[XmlType(Namespace = "...")]
public class SapDepartmentData
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货