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 "" as the initial WSDL/WADL. 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 in web browser and there is the following information:

    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="" xmlns:xsd="" xmlns:soapenv="" xmlns:soap="" xmlns:soapenc="">
    <AstHeader xsi:type="soap:AstHeader">
    <SessionId xsi:type="xsd:string">?</SessionId>
    <soap:ExecuteCCMSQLStatement soapenv:encodingStyle="">
    <ExecuteSQLInputData xsi:type="xsd:string">?</ExecuteSQLInputData>
    <GetColumns xsi:type="soap:ArrayOfGetColumns" soapenc:arrayType="soap:ColumnType[]"/>

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

    After these process, i always get the errror 401.



    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!