BookmarkSubscribeRSS Feed
srikumar
Calcite | Level 5

Hi,

I am newbeee in the sas world and pardon me if my question does not make sense.

we have published a stored process as a webservice and trying to execute/test the webservice from other system and SOAP UI.

We are constantly getting the following error:-

   <faultcode>soapenv:Client</faultcode>

         <faultstring xml:lang="en">A 'Client Authentication' type of exception occurred during execution of 'AIG/QA/PCSEVSEG' service.  The exception follows: No security context is available.</faultstring>

         <detail xmlns:fault="http://support.sas.com/xml/namespace/biwebservices/webservicemaker-9.2">

            <fault:Fault code="1000"/>

         </detail>

The SAS admin has tried installing a self signed certificate but we are still getting the above error. The certificate is also installed on the source machine calling it.

Is there anyway we can execute or call this webservice without any security required. We dont want to have any security enabled for this webservice if possible. I know this is possible in other webservers not sure if SAS 9.4 Webserver provides with this option.

1 REPLY 1
Romualdas_Saletis
SAS Employee

Hi,

 

 

The following SOAP request works fine for me:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mers="http://tempuri.org/mers_wsload" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<soapenv:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>***</wsse:Username>
<wsse:Password>***</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>

...

</soapenv:Body>
</soapenv:Envelope>

 

Regards

Romualdas

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 2734 views
  • 0 likes
  • 2 in conversation