Layer 7 Identity Management

Expand all | Collapse all

Web Service Not Available.

Jump to Best Answer
  • 1.  Web Service Not Available.

    Posted 02-05-2015 05:59 AM

    Hello, I am trying to execute ModifyUser-Tab-AdminRolesSearch method using SOAP UI. Here is my request sample:

     

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

       <soapenv:Header/>

       <soapenv:Body>

          <wsdl:TaskContext>

             <wsdl:admin_id>etaadmin</wsdl:admin_id>

             <wsdl:admin_password>password</wsdl:admin_password>

             <wsdl:no_namespace_on_soapfaults_header>true</wsdl:no_namespace_on_soapfaults_header>

          

          </wsdl:TaskContext>

          <wsdl:ModifyUser-Tab-AdminRolesSearch>

             <wsdl:Subject>

                <wsdl:UniqueName>subjectUser</wsdl:UniqueName>

             </wsdl:Subject>

             <wsdl:Filter index="0">

             </wsdl:Filter>

          </wsdl:ModifyUser-Tab-AdminRolesSearch>

       </soapenv:Body>

    </soapenv:Envelope>

     

    I response I am getting the following error

    <soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tews="http://tews6/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

       <soapenv:Body>

          <soapenv:Fault>

             <faultcode>soapenv:Server</faultcode>

             <faultstring>Service Not Enabled.</faultstring>

             <detail>

                <tews:ImsException version="6.0">

                   <tews:exception>

                      <tews:name>com.netegrity.ims.tews6.Tews6Exception</tews:name>

                      <tews:code>200</tews:code>

                      <tews:description>Web Service Not Available.</tews:description>

                      <tews:transaction/>

                   </tews:exception>

                </tews:ImsException>

             </detail>

          </soapenv:Fault>

       </soapenv:Body>

    </soapenv:Envelope>

     

    SOAP Generation and execution are turned on for the environment. Web Services are enabled for Modify User Task.

     

    Please Advice.



  • 2.  Re: Web Service Not Available.
    Best Answer

    Posted 02-09-2015 10:53 AM

    It seems that soap ui by default maps endpoint to public WS e.g http://im1265:8080/iam/im/TEWS6/pubcorp, instead of http://im1265:8080/iam/im/TEWS6/mycorp. So changing it resolves the problem