POST 使用网络方法请求

POST request with webmethods

我正在使用 webmethods 平台 10.1,并且我开发了一项服务,该服务应该作为 Post 请求接收数据。 当我尝试在 IDE 上 运行 它工作正常,但是当我发布它并尝试通过 API 门户访问它时,它不起作用。 我不确定如何将我的 JSON 映射到我的文档。任何人都可以在这方面指导我吗?

我附上了我的文档屏幕截图以及我正在尝试 Post 的 json。 任何人都可以解释两者如何不相关,因为当我 post 以下 JSON 到我的服务时,我没有得到值。

   {
        "EventCompanyId": "443",
        "PositionTitleEn": "New post",
        "PositionTitleAr": "New post",
        "ReportsTo": "Manager",
        "KnowledgeRequiredEn": "Basic knowlege",
        "KnowledgeRequiredAr": "Basic knowledge",
        "ExperienceRequired": "7 years",
        "Gender": "1",
        "EducationLevel": "4",
        "CreatedBy": "1",
        "UpdatedBy": "1",
        "StartSalary": "35000",
        "EndSalary": "35000",
        "Status": "0",
        "Certificate": "BS",
        "YearsOfExperience": "7",
        "Major": "5",
        "Age": "30",
        "JobType": "1",
        "TrainingCourse": "",
        "Weekdays": "",
        "WorkingHours": "",
        "Language": "1",
        "Shift": "",
        "JobLocations": [
            {
                "EmiratesId": 3,
                "NumberOfVacancies": 3,
                "EmiratesArea": "United Arab Emirates",
                "Latitude": ,
                "Longitude": ,
                "EmirateEn": null,
                "EmirateAr": null,
                "EmirateName": null
            },
            {
                "EmiratesId": 6,
                "NumberOfVacancies": 23,
                "EmiratesArea": " Dubai - United Arab Emirates",
                "Latitude": 25.20447520001559,
                "Longitude": 55.28122901916504,
                "EmirateEn": null,
                "EmirateAr": null,
                "EmirateName": null
            },
            {
                "EmiratesId": 1,
                "NumberOfVacancies": 5,
                "EmiratesArea": "Dubai - United Arab Emirates",
                "Latitude": ,
                "Longitude": ,
                "EmirateEn": null,
                "EmirateAr": null,
                "EmirateName": null
            },
            {
                "EmiratesId": 2,
                "NumberOfVacancies": 3,
                "EmiratesArea": "D72 - Dubai - United Arab Emirates",
                "Latitude": ,
                "Longitude": ,
                "EmirateEn": null,
                "EmirateAr": null,
                "EmirateName": null
            }
        ]
    }

我找到了解决方案,问题是我需要从作业文档下删除作业属性,它们不应该在任何其他 属性.