Previous Topic

Next Topic

Book Contents

SOAP header example

Username authentication

Sample SOAP request

http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

<s:Header>

<a:Action s:mustUnderstand="1">http://www.oracle.com/InFormAdapter/2011/10/ODM/GetTransactions</a:Action>

<a:MessageID>urn:uuid:561ac131-b74d-4cfc-ac13-58296724dd28</a:MessageID>

<a:ReplyTo>

<a:Address>http://www.w3.org/2005/08/addressing/anonymous</a:Address>

</a:ReplyTo>

<a:To s:mustUnderstand="1">https://hsgbu-bur-qa-infws.us.oracle.com/pfst62/informadapter/ODM/ODMService.svc</a:To>

<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

<u:Timestamp u:Id="_0">

<u:Created>2017-08-16T16:26:55.128Z</u:Created>

<u:Expires>2017-08-16T16:31:55.128Z</u:Expires>

</u:Timestamp>

<o:UsernameToken u:Id="uuid-a97e3c57-65c9-4604-94d7-d316841f17ea-3">

<o:Username>mmeyer</o:Username>

<o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Manager1</o:Password>

</o:UsernameToken>

</o:Security>

</s:Header>

<s:Body>

<GetTransactions xmlns="http://www.oracle.com/InFormAdapter/2011/10/ODM" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

<node>

<DownloadTransactionODM trial="pfst62" bookmark="{1CBDB979-5DD9-41B2-9D26-50CB73B65024}" userName="" skipODMReduction="false" priorFileOID="" mappingVersion="2.0" xmlns="http://www.phaseforward.com/InFormAdapter/ODM/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

</node>

</GetTransactions>

</s:Body>

</s:Envelope>

Sample SOAP response

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

<s:Header>

<a:Action s:mustUnderstand="1">http://www.oracle.com/InFormAdapter/2011/10/ODM/GetTransactionsResponse</a:Action>

<a:RelatesTo>urn:uuid:561ac131-b74d-4cfc-ac13-58296724dd28</a:RelatesTo>

<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

<u:Timestamp u:Id="_0">

<u:Created>2017-08-16T16:26:57.100Z</u:Created>

<u:Expires>2017-08-16T16:31:57.100Z</u:Expires>

</u:Timestamp>

</o:Security>

</s:Header>

<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<GetTransactionsResponse xmlns="http://www.oracle.com/InFormAdapter/2011/10/ODM">

<GetTransactionsResult>

<ResponseODM xmlns="http://www.phaseforward.com/InFormAdapter/ODM/2.0" xmlns:pf="http://www.phaseforward.com/InFormAdapter/ODM/Extensions/3.0">

<ODM Description="StudyDesign" FileType="Transactional" FileOID="{07AD01F0-C26E-45E2-890D-C9FC04BC8CBE}" CreationDateTime="2017-08-16T16:26:55+00:00" PriorFileOID="{1CBDB979-5DD9-41B2-9D26-50CB73B65024}" ODMVersion="1.3.1" Originator="" pf:MappingVersion="V2" pf:HierarchicalOIDs="Yes" pf:InFormAdapterVersion="6.2.0.0" xmlns="http://www.cdisc.org/ns/odm/v1.3"/>

<Bookmark>{07AD01F0-C26E-45E2-890D-C9FC04BC8CBE}</Bookmark>

<TransactionsProcessed>500</TransactionsProcessed>

</ResponseODM>

</GetTransactionsResult>

</GetTransactionsResponse>

</s:Body>

</s:Envelope>

F5CERT authentication

Sample SOAP request

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">

<s:Header>

<Action a:mustUnderstand="1" xmlns="http://www.w3.org/2005/08/addressing" xmlns:a="http://www.w3.org/2003/05/soap-envelope">http://www.oracle.com/InFormAdapter/2011/10/ODM/GetTransactions</Action>

<MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:40753a0b-97e3-4a04-bd5f-99d78487f517</MessageID>

<ReplyTo xmlns="http://www.w3.org/2005/08/addressing">

<Address>http://www.w3.org/2005/08/addressing/anonymous</Address>

</ReplyTo>

<wsse:Security s:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

<Timestamp xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

<Created>2017-08-16T15:41:37.2616915Z</Created>

<Expires>2017-08-16T15:46:37.2616915Z</Expires>

</Timestamp>

<wsse:BinarySecurityToken wsu:Id="SignatureCert" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3" EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">MIIDvTCCAqWgAwIBAgIJAKzO7hms6HSpMA0GCSqGSIb3DQEBCwUAMHUxCzAJBgNVBAYTAlVTMRMwEQYDVQQIDApDYWxpZm9ybmlhMRcwFQYDVQQHDA5SZWR3b29kIFNob3JlczEPMA0GA1UECgwGT3JhY2xlMQ4wDAYDVQQLDAVIU0dCVTEXMBUGA1UEAwwOSW5Gb3JtU3VpdGVEZXYwHhcNMTcwNDEwMTUxODAzWhcNMjYwMTEzMTUxODAzWjB1MQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5pYTEXMBUGA1UEBwwOUmVkd29vZCBTaG9yZXMxDzANBgNVBAoMBk9yYWNsZTEOMAwGA1UECwwFSFNHQlUxFzAVBgNVBAMMDkluRm9ybVN1aXRlRGV2MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAycYhCwapKdEIJ0dYYjHhmM0yIYpJ2ff1Nmg/MynWR359xgy9HCusB126NHyL7KSL/cHtzrm3B/VYy9Df1NOJAVGoGLhJbMfusszvOStoh4faxtlkG2jByQH+0nlyo89g5hvrQ/JTKNreb9o55WUYr444IY1LGAC+r8K8TFuR5TTJe5ufredw2L4QikFzNqJvfEGmfSj/B7+B9xBxueuYA2B4DYpS8kSETtr+WgpMau+oUpXWh2R4vtU//Y8YUKk1uO6ztVcpjIyTL3BKIXG2Jf45EHFHl+A4bc5jRma6gprRRjENFbTu3QyUyuOE2pDy5fTQ0u8ALrGwE5/peJH+bQIDAQABo1AwTjAdBgNVHQ4EFgQUD4g9P+p2HemNkYkn6axEaf8ims0wHwYDVR0jBBgwFoAUD4g9P+p2HemNkYkn6axEaf8ims0wDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAp7Vz54lqdB9heN0BJpMuG46vImNrIyho9WJk0+icemv7ViO1EjMRSeSBXsrqlJmlTgeKCDDBmO4psbKhyrrSWRadK2u2ZambsNWSDJ0AJjRaIdGb/d6y77W0h6kNPjcpoSdghex2vsiUPQNiv2+mkrDqwhpbTp9H5SGxmrdgWED5caFhvC/FHVmlobiMUXCgIsYntMayavNWT9s3+QOLhoaS8BxBxZ+CcA2o4zc+/kFb5MqcSxd8Ky4lR6IGGLI1ZiIDI8i3/xQ8n7zFDIjpVykJ0C00J2vaWWl/H628BEbNEzhVdEMOeDSyWVMhZuv2doLb3mHJRARPDPLFC5uKKA==</wsse:BinarySecurityToken>

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

<SignedInfo>

<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>

<Reference URI="#Body">

<Transforms>

<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>

</Transforms>

<DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>

<DigestValue>qyHoWb8v8J0+mAiUpakQ49PTMwaKtPEWioAaR0MujG8=</DigestValue>

</Reference>

</SignedInfo>

<SignatureValue>NXi3DGzn4f8FNfkvn6XOkwlP9CnM4/8rfpty5q1UZunj1pcGa/ulQu+P8VatS5yXgeDutAq03uyhraG1BrQqWYGiJtAB4L9sWszZqw2Uw5SG2tprKYAiVCmC0oM2ICnRe9VLzYgjKQ1+QIGhjysPH523YHfnyKEgIOsXn349tB7K2k3UaoyiixBIM9q13V27yq5fYt54QGOiARrHBfsGDJi/OVS6Gm1Enlb7l2GP9mvQEZb3fYZYjCsqK0SRBpbKcYdlCHD5WyMT0d49/Ve+FD7utCvNfKATzqhTqApRW95W6lv+iujMHxWEPFG4/a2laowK0d7Wxi1wRY1M+U9XVg==</SignatureValue>

<KeyInfo>

<SecurityTokenReference xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

<Reference URI="#SignatureCert"/>

</SecurityTokenReference>

</KeyInfo>

</Signature>

</wsse:Security>

<To s:mustUnderstand="1" xmlns="http://www.w3.org/2005/08/addressing">https://VanityUrlBehindf5/pfst62/informadapter/ODM/ODMService.svc</To>

</s:Header>

<s:Body id="Body">

<GetTransactions xmlns="http://www.oracle.com/InFormAdapter/2011/10/ODM" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">

<node>

<DownloadTransactionODM mappingVersion="2.0" priorFileOID="" skipODMReduction="false" userName="" bookmark="{1CBDB979-5DD9-41B2-9D26-50CB73B65024}" trial="pfst62" xmlns="http://www.phaseforward.com/InFormAdapter/ODM/2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

</node>

</GetTransactions>

</s:Body>

</s:Envelope>

Sample SOAP response

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">

<s:Header>

<a:Action s:mustUnderstand="1">http://www.oracle.com/InFormAdapter/2011/10/ODM/GetTransactionsResponse</a:Action>

<a:RelatesTo>urn:uuid:40753a0b-97e3-4a04-bd5f-99d78487f517</a:RelatesTo>

<Security s:mustUnderstand="1" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

<SignatureConfirmation Value="NXi3DGzn4f8FNfkvn6XOkwlP9CnM4/8rfpty5q1UZunj1pcGa/ulQu+P8VatS5yXgeDutAq03uyhraG1BrQqWYGiJtAB4L9sWszZqw2Uw5SG2tprKYAiVCmC0oM2ICnRe9VLzYgjKQ1+QIGhjysPH523YHfnyKEgIOsXn349tB7K2k3UaoyiixBIM9q13V27yq5fYt54QGOiARrHBfsGDJi/OVS6Gm1Enlb7l2GP9mvQEZb3fYZYjCsqK0SRBpbKcYdlCHD5WyMT0d49/Ve+FD7utCvNfKATzqhTqApRW95W6lv+iujMHxWEPFG4/a2laowK0d7Wxi1wRY1M+U9XVg==" b:Id="Body" xmlns="http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd" xmlns:b="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"/>

</Security>

</s:Header>

<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<GetTransactionsResponse xmlns="http://www.oracle.com/InFormAdapter/2011/10/ODM">

<GetTransactionsResult>

<ResponseODM xmlns="http://www.phaseforward.com/InFormAdapter/ODM/2.0" xmlns:pf="http://www.phaseforward.com/InFormAdapter/ODM/Extensions/3.0">

<ODM Description="StudyDesign" FileType="Transactional" FileOID="{07AD01F0-C26E-45E2-890D-C9FC04BC8CBE}" CreationDateTime="2017-08-16T15:41:37+00:00" PriorFileOID="{1CBDB979-5DD9-41B2-9D26-50CB73B65024}" ODMVersion="1.3.1" Originator="" pf:MappingVersion="V2" pf:HierarchicalOIDs="Yes" pf:InFormAdapterVersion="6.2.0.0" xmlns="http://www.cdisc.org/ns/odm/v1.3"/>

<Bookmark>{07AD01F0-C26E-45E2-890D-C9FC04BC8CBE}</Bookmark>

<TransactionsProcessed>500</TransactionsProcessed>

</ResponseODM>

</GetTransactionsResult>

</GetTransactionsResponse>

</s:Body>

</s:Envelope>

Send Feedback