sh0046352

[Membership.WS101]Failed to load CourseMemberships @ getCourseMembership

Discussion created by sh0046352 on Nov 9, 2016
Latest reply on Nov 11, 2016 by sh0046352

Hi.

 

I am trying to get a Coursemembership, but i always get an Error at Response :
[Membership.WS101]Failed to load CourseMemberships

and dont know why?

 

I am doing exactly the same when i want to get my course by id, and this works.

 

My java Code :

  

 

     MembershipFilter membershipFilter = new MembershipFilter();

    membershipFilter.setFilterType(2);

    membershipFilter.addCourseIds(courseID);

    GetCourseMembership getCourseMembership = new GetCourseMembership();

    getCourseMembership.setF(membershipFilter);

    GetCourseMembershipResponse getCourseMembershipResponse = courseMembershipWSStub.getCourseMembership(getCourseMembership);

    getCourseMembership.setCourseId(courseID);

    CourseMembershipVO courseMembershipVO = getCourseMembershipResponse.get_return()[0];

 


Someone able to help me?

Outcomes