Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Accessing a Web Service

    Access to a Web Service (WS) or a OSS/J Trouble Ticket (TT) API requires authentication. An OSS/J Client has to use a user name and password of Junos Space server when making calls through the OSS/J TT API to create and modify tickets on the trouble ticket management system.

    The procedure to access web service is as follows:

    1. The OSS/J client adds the authentication details in the SOAP header of a WS request.
    2. The client requests are intercepted by JAX-WS handlers at WS server for getting authenticated.
    3. JAX-WS handler parse the SOAP header to get the authentication details.
    4. The username and password are authenticated by making REST call to Junos Space. If the authentication is successful, the web service request is forwarded to JVT profile to invoke the appropriate internal rest call to Service Now API.
    5. The SOAPFault exception is thrown if authentication fails.

    The Web Service messages comply with the WS_SECURITY standard. A dedicated security header defines properties for user and password that must be added.

    Soap Header Template

    <wsse:Security soapenv:mustUnderstand="0" xmlns:wsse="
    200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken wsse:Id="UsernameToken-14327075" 
    1.0.xsd"><wsse:Username>***</wsse:Username><wsse:Password Type="http://docs.oasis-

    Modified: 2016-08-11