Integrations and APIs for Service

Get Involved. Join the Conversation.

Topic

    Mohana Gopal Selvam
    Test CX wsdl in SOAP UI
    Topic posted February 4, 2014 by Mohana Gopal SelvamSilver Crown: 22,500+ Points 
    563 Views, 1 Comment
    Title:
    Test CX wsdl in SOAP UI
    Content:


    Hi,



    I tried to integrate Siebel and Rightnow CX for that I have tried CX wsdl file in SOAP UI.



    When I tried the following, I got the Security error message like Username token required. Cannot find in the security header. Please advice. How to test the CX wsdl files in SOAP UI.



    Sample Request ( Get from https://cloudcustomerconnect.oracle.com/posts/2542d61ed4)



    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="urn:messages.ws.rightnow.com/v1" xmlns:v11="urn:base.ws.rightnow.com/v1">


       <soapenv:Header>


          <v1:ClientInfoHeader>


             <v1:AppID>100</v1:AppID>


          </v1:ClientInfoHeader>


       </soapenv:Header>


       <soapenv:Body>


          <v1:Create>


             <!--1 or more repetitions:-->


             <v1:RNObjects>


                <!--Optional:-->


                <v11:ID id="1111"/>


                <!--Optional:-->


                <v11:CreatedTime>?</v11:CreatedTime>


                <!--Optional:-->


                <v11:UpdatedTime>?</v11:UpdatedTime>


             </v1:RNObjects>


             <!--Optional:-->


             <v1:ProcessingOptions>


                <v1:SuppressExternalEvents>12</v1:SuppressExternalEvents>


                <v1:SuppressRules>111</v1:SuppressRules>


             </v1:ProcessingOptions>


          </v1:Create>


       </soapenv:Body>


    </soapenv:Envelope>


     


    Ouptut:


     



    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">


       <soapenv:Header/>


       <soapenv:Body>


          <soapenv:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">


             <faultcode>wsse:FailedCheck</faultcode>


             <faultstring>Username token required. Cannot find in the security header</faultstring>


             <detail>


                <wsse:ProblemSecurityHeader>wsse:InvalidSecurity</wsse:ProblemSecurityHeader>


             </detail>


          </soapenv:Fault>


       </soapenv:Body>


    </soapenv:Envelope>



     

    Comment

     

    • Mohana Gopal Selvam
       Hi, After adding the username and password in a header, I got the different error message. soapenv:SenderA class deriving from RNObject must be used in this operation.INVALID_REQUESTA class deriving from RNObject must be used in this operation. Thanks, Mohan