To post an XML request to the NFM-P

Note: You must use a user account with OSS Mgmt permission to access the XML API. See the chapter on NFM-P user security in the NSP System Administrator Guide for more information about the NFM-P user accounts and privileges.

You must have an OSS script or application that uses the required HTTP client methods, including POST that is required to send the XML API requests.

You must always close and release the connection regardless of whether the response to your XML request is a success or not. Make sure the connection is not stuck in a CLOSE-WAIT state; use the appropriate HTTP client methods to properly close it.

Steps
 

Specify the HTTP or HTTPS access address.

  1. For HTTP access, use:

    http://server_name:port/xmlapi/invoke

    where

    server_name is the host name or IP address of the NFM-P main server

    port is the TCP port on the main server that is configured for HTTP

  2. For HTTPS access, use:

    https://server_name:port/xmlapi/invoke

    where

    server_name is the host name or IP address of the NFM-P server

    port is the TCP port on the main server that is configured for HTTPS

    The XML application servlet is running and available from the appropriate port. The SOAP-enabled XML can now be sent . For more information about the communication between an OSS and a main server, contact Nokia technical support.


Create an XML request.


Create a script to post the request.


Post the request to the XML API using the following CLI syntax:

OSS_application xml_request.xml

where

OSS_application is the name of your OSS application that uses the POST method

xml_request is the name of your XML request

The NFM-P sends a response that includes the request execution status and the requested information. See Table 9-3, HTTP response codes for information about the HTTP response codes and the corresponding execution status.

End of steps

© 2024 Nokia. Nokia Confidential Information

Use subject to agreed restrictions on disclosure and use.