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

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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