Other HPE Product Questions
1752584 Members
4443 Online
108788 Solutions
New Discussion

Re: Unable to automate Siebel WebServices through UFT

 
rsaravanan940
Occasional Contributor

Unable to automate Siebel WebServices through UFT

Hi All,

We are trying to run a Siebel Web service through UFT but we are getting below error.

Script used is ,

                Request we are taking from local path : C:\******\SelfServiceUserReq.txt

                End Point is in : sWebServiceURL

               

    Set oDom = CreateObject("MSXML2.DOMDocument")
    Set ssr0XML = XMLUtil.CreateXMLFromFile("C:\Users\scu970\Desktop\SelfServiceUserReq.txt")
    XMLstr = ssr0XML.ToString

    Set oWinHttp = CreateObject("Msxml2.XMLHTTP")

    oWinHttp.Open "POST", sWebServiceURL, false

    oWinHttp.setRequestHeader "Content-Type", "text/XML"
    oWinHttp.setRequestHeader "SOAPAction", "SelfServiceUserQueryPage"

    oWinHttp.Send data

    sResponse = oWinHttp.ResponseText

 

We are trying to run a Siebel Web service through UFT but we are getting below error.

 

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
      <faultcode>SOAP-ENV:Client</faultcode>
      <faultstring>SOAPAction '&lt;?&gt;' is of invalid format: SOAPAction should be either rpc/operationName or document/operationName.(SBL-EAI-08006)</faultstring>
      <detail>
        <siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault">
          <siebelf:logfilename>EAIObjMgr_enu_0029_30409117.log</siebelf:logfilename>
          <siebelf:errorstack>
            <siebelf:error>
              <siebelf:errorcode>SBL-EAI-08006</siebelf:errorcode>
              <siebelf:errorsymbol>IDS_EAI_WS_INV_SOAP_ACTION</siebelf:errorsymbol>
              <siebelf:errormsg>SOAPAction '&lt;?&gt;' is of invalid format: SOAPAction should be either rpc/operationName or document/operationName.(SBL-EAI-08006)</siebelf:errormsg>
            </siebelf:error>
          </siebelf:errorstack>
        </siebelf:siebdetail>
      </detail>
    </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Note : We tried the same in API testing, but getting the same error ,

can anyone please help us to resolve this ?.

 

Regards,

Saravanan

1 REPLY 1
Parvez_Admin
Community Manager

Re: Unable to automate Siebel WebServices through UFT

Hi,

UFT and HPE software is now part of the new company, Micro Focus. So you will need to repost your question to the new Micro Focus Community at https://community.softwaregrp.com/ 


Thanks,
Parvez_Admin
I work for HPE
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
CM_Cert_Logo_Color.png