CA Service Management

 View Only
  • 1.  Somebody knows how to use the doSelect method in Python?

    Posted Apr 12, 2018 06:36 PM
      |   view attached

    Hi  community, someone can help me to use the doSelect method from the WebService? because the attributes params only read the first value inside it.

    This happend with all the methods what I use.

    Somebody can help me?

    In the example I'm trying to use the getGroupMemberListValues method and only takes the first value from any array, what I'm doing wrong? Does CA Web Service support Python 3.6.3? 

     

    Forward thanks people!!



  • 2.  Re: Somebody knows how to use the doSelect method in Python?
    Best Answer

    Posted Apr 16, 2018 06:21 AM

    An http SOAP webservice like the SDM webservice is not programming language dependent by intention.

    I assume, there is a problem with your python webservice client implementation/library, who is not able to map the given python array/list to the correct/expected XML ArrayOfString structure for the actual webservice http request.

    I suggest , that you check the real sent request which is sent by your python program, and check if it looks like as it should.

    maybe the following similar post, might help somehow:

    https://bytes.com/topic/python/answers/590973-soappy-arrayofstring

    best regards

    .....Michael