Access GMC environment for Revalidation
To access GMC environments for testing and production we need to make request from white listed IPs.
To access GMC testing environment.
To access GMC testing environment using command line we need to follow given steps.
ssh to secure private box in AWS.
Write/copy simple request file for particular request. For example to get Trainee’s data (
GetDoctorsForDB
) from GMC (change username and password in request).
request.xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:gmc="https://webcache.gmc-uk.org/GMCWebServices/">
<soapenv:Header/>
<soapenv:Body>
<gmc:GetDoctorsForDB>
<!--Optional:-->
<gmc:request>
<!--Optional:-->
<gmc:DesignatedBodyCode>1-AIIDVS</gmc:DesignatedBodyCode>
<!--Optional:-->
<gmc:ClientRequestID>?</gmc:ClientRequestID>
<!--Optional:-->
<gmc:InternalUser>?</gmc:InternalUser>
</gmc:request>
<!--Optional:-->
<gmc:Username>***</gmc:Username>
<!--Optional:-->
<gmc:Password>*******</gmc:Password>
</gmc:GetDoctorsForDB>
</soapenv:Body>
</soapenv:Envelope>
3. Make curl request to GMC testing environment.
curl --header "Content-Type: text/xml;charset=UTF-8" --data @request.xml https://webcache.gmc-uk.org/GMCWebServicesExtTest/WebService.asmx
4. Response will be list of responses which will contains Trainee’s information or proper error codes.
5. For other Soap calls please use GMC provided document for request and response.
https://webcache.gmc-uk.org/GMCWebServicesExtTest/
Slack: https://hee-nhs-tis.slack.com/
Jira issues: https://hee-tis.atlassian.net/issues/?filter=14213