error 401 using soapui

Version 1
    This document was generated from CDN thread

    Created by: Meng Yao on 17-12-2008 07:30:08 PM
    Hi every,

    I am using soapui to send AXL request. But i always get error 401. I don't know why. Could you give me some suggestion. The following is my process:

    1. creat new soapui project
    2. in the pop-up dialog, input :"axltest" as the project name and input "https://10.10.5.6:8443/realtimeservice/services/RisPort?wsdl" as the initial WSDL/WADL.
    3.click OK, then a dialog box called "Basic Authentication"comes up, I input the Username and the password, for example "rogeryao" and "1234567". By the way, i can use the user name and passward to open https://10.10.5.6:8443/realtimeservice/services/RisPort in web browser and there is the following information:

    RisPort
    Hi there, this is an AXIS service!
    Perhaps there will be a form for invoking the service here...

    4. from the list on the left of the workspace, I double click request 1 under "ExecuteCCMSQLStatement"

    5. Then I see the SOAP request like the below
    <soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <soapenv:Header>
    <AstHeader xsi:type="soap:AstHeader">
    <SessionId xsi:type="xsd:string">?</SessionId>
    </AstHeader>
    </soapenv:Header>
    <soapenv:Body>
    <soap:ExecuteCCMSQLStatement soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <ExecuteSQLInputData xsi:type="xsd:string">?</ExecuteSQLInputData>
    <GetColumns xsi:type="soap:ArrayOfGetColumns" soapenc:arrayType="soap:ColumnType[]"/>
    </soap:ExecuteCCMSQLStatement>
    </soapenv:Body>
    </soapenv:Envelope>

    6. Then I click the green arrow to submit the request to spicified endpoint URL

    After these process, i always get the errror 401.

    Thanks,

    Roger

    Subject: Re: error 401 using soapui
    Replied by: David Staudt on 17-12-2008 09:42:55 PM
    You didn't mention it, so you may have missed the step where you input the credentials to use to execute the request: At the bottom of the request window, click on the 'Aut' button and input your CCM user credentials. This user should have AXL API role/group (super user works fine.)

    Subject: Re: error 401 using soapui
    Replied by: Meng Yao on 17-12-2008 11:30:02 PM
    Hi David,

    The problem is solved. If I did not get your message, i will take a lot of time to figure out what is going wrong. Thanks for your help! I think you have more experience in these things than others, and you are so nice to help new guys like me. Recently, I am working around CM6.1. When i encounter problems, you are the right one to get valuable information.

    Thanks again!

    Roger