CURL Login SOAP request

curl -k -v -H "SOAPAction: urn:login" -H "Content-Type: text/xml" -d @req.xml https://localhost:9443/services/AuthenticationAdmin

req.xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://org.apache.synapse/xsd">
 <soapenv:Header/>
 <soapenv:Body>
      <aut:login xmlns:aut="http://authentication.services.core.carbon.wso2.org">
         <aut:username>admin</aut:username>
         <aut:password>admin123</aut:password>
         <aut:remoteAddress>localhost</aut:remoteAddress>
      </aut:login>
   </soapenv:Body>
</soapenv:Envelope>

Admin services deployed on WSO2 Identity & API Manager server:

IS 

1. ProvisioningAdminService, ProvisioningAdminService, https://localhost:9444/services/ProvisioningAdminService/
2. CarbonAppUploader, CarbonAppUploader, https://localhost:9444/services/CarbonAppUploader/
3. OperationAdmin, OperationAdmin, https://localhost:9444/services/OperationAdmin/
4. JaggeryAppAdmin, JaggeryAppAdmin, https://localhost:9444/services/JaggeryAppAdmin/
5. WebappAdmin, WebappAdmin, https://localhost:9444/services/WebappAdmin/
6. StatisticsAdmin, StatisticsAdmin, https://localhost:9444/services/StatisticsAdmin/
7. ws-xacml, ws-xacml, https://localhost:9444/services/ws-xacml/
8. RemoteUserRealmService, RemoteUserRealmService, https://localhost:9444/services/RemoteUserRealmService/
9. TopicManagerAdminService, TopicManagerAdminService, https://localhost:9444/services/TopicManagerAdminService/
10. ApplicationAdmin, ApplicationAdmin, https://localhost:9444/services/ApplicationAdmin/
11. ClaimManagementService, ClaimManagementService, https://localhost:9444/services/ClaimManagementService/
12. ServiceGroupAdmin, ServiceGroupAdmin, https://localhost:9444/services/ServiceGroupAdmin/
13. CustomMeteringService, CustomMeteringService, https://localhost:9444/services/CustomMeteringService/
14. STSAdminService, STSAdminService, https://localhost:9444/services/STSAdminService/
15. OAuthAdminService, OAuthAdminService, https://localhost:9444/services/OAuthAdminService/
16. FileDownloadService, FileDownloadService, https://localhost:9444/services/FileDownloadService/
17. CachingAdminService, CachingAdminService, https://localhost:9444/services/CachingAdminService/
18. CustomUIAdminService, CustomUIAdminService, https://localhost:9444/services/CustomUIAdminService/
19. RMAdminService, RMAdminService, https://localhost:9444/services/RMAdminService/
20. ThrottleAdminService, ThrottleAdminService, https://localhost:9444/services/ThrottleAdminService/
21. RemoteAuthorizationManagerService, RemoteAuthorizationManagerService, https://localhost:9444/services/RemoteAuthorizationManagerService/
22. IWAAuthenticator, IWAAuthenticator, https://localhost:9444/services/IWAAuthenticator/
23. IdentityProviderAdminService, IdentityProviderAdminService, https://localhost:9444/services/IdentityProviderAdminService/
24. IdentityProviderMgtService, IdentityProviderMgtService, https://localhost:9444/services/IdentityProviderMgtService/
25. ResourceAdminService, ResourceAdminService, https://localhost:9444/services/ResourceAdminService/
26. FileUploadService, FileUploadService, https://localhost:9444/services/FileUploadService/
27. RemoteTenantManagerService, RemoteTenantManagerService, https://localhost:9444/services/RemoteTenantManagerService/
28. DataSourceAdmin, DataSourceAdmin, https://localhost:9444/services/DataSourceAdmin/
29. EventBrokerService, EventBrokerService, https://localhost:9444/services/EventBrokerService/
30. TracerAdmin, TracerAdmin, https://localhost:9444/services/TracerAdmin/
31. RepositoryAdminService, RepositoryAdminService, https://localhost:9444/services/RepositoryAdminService/
32. DeploymentSynchronizerAdmin, DeploymentSynchronizerAdmin, https://localhost:9444/services/DeploymentSynchronizerAdmin/
33. EntitlementPolicyAdminService, EntitlementPolicyAdminService, https://localhost:9444/services/EntitlementPolicyAdminService/
34. ServerAdmin, ServerAdmin, https://localhost:9444/services/ServerAdmin/
35. EntitlementAdminService, EntitlementAdminService, https://localhost:9444/services/EntitlementAdminService/
36. AccountCredentialMgtConfigService, AccountCredentialMgtConfigService, https://localhost:9444/services/AccountCredentialMgtConfigService/
37. UserAdmin, UserAdmin, https://localhost:9444/services/UserAdmin/
38. APIKeyValidationService, APIKeyValidationService, https://localhost:9444/services/APIKeyValidationService/
39. LogViewer, LogViewer, https://localhost:9444/services/LogViewer/
40. EntitlementService, EntitlementService, https://localhost:9444/services/EntitlementService/
41. ProfilesAdminService, ProfilesAdminService, https://localhost:9444/services/ProfilesAdminService/
42. IdentitySAMLSSOConfigService, IdentitySAMLSSOConfigService, https://localhost:9444/services/IdentitySAMLSSOConfigService/
43. JaxwsWebappAdmin, JaxwsWebappAdmin, https://localhost:9444/services/JaxwsWebappAdmin/
44. RemoteUserStoreManagerService, RemoteUserStoreManagerService, https://localhost:9444/services/RemoteUserStoreManagerService/
45. UserProfileMgtService, UserProfileMgtService, https://localhost:9444/services/UserProfileMgtService/
46. LoggedUserInfoAdmin, LoggedUserInfoAdmin, https://localhost:9444/services/LoggedUserInfoAdmin/
47. IdentitySTSAdminService, IdentitySTSAdminService, https://localhost:9444/services/IdentitySTSAdminService/
48. NDataSourceAdmin, NDataSourceAdmin, https://localhost:9444/services/NDataSourceAdmin/
49. IdentityApplicationManagementService, IdentityApplicationManagementService,https://localhost:9444/services/IdentityApplicationManagementService/
50. DirectoryServerManager, DirectoryServerManager, https://localhost:9444/services/DirectoryServerManager/
51. RegistryAdminService, RegistryAdminService, https://localhost:9444/services/RegistryAdminService/
52. APIKeyMgtProviderService, APIKeyMgtProviderService, https://localhost:9444/services/APIKeyMgtProviderService/
53. RMAdminGlobal, RMAdminGlobal, https://localhost:9444/services/RMAdminGlobal/
54. ContentSearchAdminService, ContentSearchAdminService, https://localhost:9444/services/ContentSearchAdminService/
55. MessageTracerAdmin, MessageTracerAdmin, https://localhost:9444/services/MessageTracerAdmin/
56. LoginStatisticsAdmin, LoginStatisticsAdmin, https://localhost:9444/services/LoginStatisticsAdmin/
57. SearchAdminService, SearchAdminService, https://localhost:9444/services/SearchAdminService/
58. RemoteProfileConfigurationManagerService, RemoteProfileConfigurationManagerService, https://localhost:9444/services/RemoteProfileConfigurationManagerService/
59. SCIMConfigAdminService, SCIMConfigAdminService, https://localhost:9444/services/SCIMConfigAdminService/
60. ModuleAdminService, ModuleAdminService, https://localhost:9444/services/ModuleAdminService/
61. LoggingAdmin, LoggingAdmin, https://localhost:9444/services/LoggingAdmin/
62. SampleDeployer, SampleDeployer, https://localhost:9444/services/SampleDeployer/
63. XMPPConfigurationService, XMPPConfigurationService, https://localhost:9444/services/XMPPConfigurationService/
64. KeyStoreAdminService, KeyStoreAdminService, https://localhost:9444/services/KeyStoreAdminService/
65. SecurityAdminService, SecurityAdminService, https://localhost:9444/services/SecurityAdminService/
66. ServerRolesManager, ServerRolesManager, https://localhost:9444/services/ServerRolesManager/
67. ThemeMgtService, ThemeMgtService, https://localhost:9444/services/ThemeMgtService/
68. MultipleCredentialsUserAdmin, MultipleCredentialsUserAdmin, https://localhost:9444/services/MultipleCredentialsUserAdmin/
69. UserStoreConfigAdminService, UserStoreConfigAdminService, https://localhost:9444/services/UserStoreConfigAdminService/
70. TenantMgtAdminService, TenantMgtAdminService, https://localhost:9444/services/TenantMgtAdminService/
71. ServiceAdmin, ServiceAdmin, https://localhost:9444/services/ServiceAdmin/
72. UserIdentityManagementAdminService, UserIdentityManagementAdminService, https://localhost:9444/services/UserIdentityManagementAdminService/
73. UserInformationRecoveryService, UserInformationRecoveryService, https://localhost:9444/services/UserInformationRecoveryService/
74. PropertiesAdminService, PropertiesAdminService, https://localhost:9444/services/PropertiesAdminService/
75. RemoteClaimManagerService, RemoteClaimManagerService, https://localhost:9444/services/RemoteClaimManagerService/
76. APIKeyMgtSubscriberService, APIKeyMgtSubscriberService, https://localhost:9444/services/APIKeyMgtSubscriberService/
77. OAuth2TokenValidationService, OAuth2TokenValidationService, https://localhost:9444/services/OAuth2TokenValidationService/



AM

Admin services deployed on this server:
1. ModuleAdminService, ModuleAdminService, https://DESKTOP-47OLP5T:8243/services/ModuleAdminService
2. EventStatisticsAdminService, EventStatisticsAdminService, https://DESKTOP-47OLP5T:8243/services/EventStatisticsAdminService
3. ThemeMgtService, ThemeMgtService, https://DESKTOP-47OLP5T:8243/services/ThemeMgtService
4. RemoteUserRealmService, RemoteUserRealmService, https://DESKTOP-47OLP5T:8243/services/RemoteUserRealmService
5. Document, null, https://DESKTOP-47OLP5T:8243/services/Document
6. ListMetadataService, ListMetadataService, https://DESKTOP-47OLP5T:8243/services/ListMetadataService
7. PropertiesAdminService, PropertiesAdminService, https://DESKTOP-47OLP5T:8243/services/PropertiesAdminService
8. AndesEventAdminService, AndesEventAdminService, https://DESKTOP-47OLP5T:8243/services/AndesEventAdminService
9. RemoteUserStoreManagerService, RemoteUserStoreManagerService, https://DESKTOP-47OLP5T:8243/services/RemoteUserStoreManagerService
10. PublishEventMediatorConfigAdmin, PublishEventMediatorConfigAdmin, https://DESKTOP-47OLP5T:8243/services/PublishEventMediatorConfigAdmin
11. LogViewer, LogViewer, https://DESKTOP-47OLP5T:8243/services/LogViewer
12. SearchAdminService, SearchAdminService, https://DESKTOP-47OLP5T:8243/services/SearchAdminService
13. ws-xacml, ws-xacml, https://DESKTOP-47OLP5T:8243/services/ws-xacml
14. CustomMeteringService, CustomMeteringService, https://DESKTOP-47OLP5T:8243/services/CustomMeteringService
15. UserAdmin, UserAdmin, https://DESKTOP-47OLP5T:8243/services/UserAdmin
16. UserStoreConfigAdminService, UserStoreConfigAdminService, https://DESKTOP-47OLP5T:8243/services/UserStoreConfigAdminService
17. TaskAdmin, TaskAdmin, https://DESKTOP-47OLP5T:8243/services/TaskAdmin
18. RegistryCacheInvalidationService, RegistryCacheInvalidationService, https://DESKTOP-47OLP5T:8243/services/RegistryCacheInvalidationService
19. ServerAdmin, ServerAdmin, https://DESKTOP-47OLP5T:8243/services/ServerAdmin
20. RelationAdminService, RelationAdminService, https://DESKTOP-47OLP5T:8243/services/RelationAdminService
21. ServiceAdmin, ServiceAdmin, https://DESKTOP-47OLP5T:8243/services/ServiceAdmin
22. ConfigServiceAdmin, ConfigServiceAdmin, https://DESKTOP-47OLP5T:8243/services/ConfigServiceAdmin
23. WebappAdmin, WebappAdmin, https://DESKTOP-47OLP5T:8243/services/WebappAdmin
24. EventPublisherAdminService, EventPublisherAdminService, https://DESKTOP-47OLP5T:8243/services/EventPublisherAdminService
25. EventBrokerService, EventBrokerService, https://DESKTOP-47OLP5T:8243/services/EventBrokerService
26. StatisticsAdmin, StatisticsAdmin, https://DESKTOP-47OLP5T:8243/services/StatisticsAdmin
27. KeyStoreAdminService, KeyStoreAdminService, https://DESKTOP-47OLP5T:8243/services/KeyStoreAdminService
28. MessageProcessorAdminService, MessageProcessorAdminService, https://DESKTOP-47OLP5T:8243/services/MessageProcessorAdminService
29. OAuth2TokenValidationService, OAuth2TokenValidationService, https://DESKTOP-47OLP5T:8243/services/OAuth2TokenValidationService
30. APIGatewayAdmin, APIGatewayAdmin, https://DESKTOP-47OLP5T:8243/services/APIGatewayAdmin
31. APIKeyMgtProviderService, APIKeyMgtProviderService, https://DESKTOP-47OLP5T:8243/services/APIKeyMgtProviderService
32. ProvisioningAdminService, ProvisioningAdminService, https://DESKTOP-47OLP5T:8243/services/ProvisioningAdminService
33. MediationSecurityAdminService, MediationSecurityAdminService, https://DESKTOP-47OLP5T:8243/services/MediationSecurityAdminService
34. EventSimulatorAdminService, EventSimulatorAdminService, https://DESKTOP-47OLP5T:8243/services/EventSimulatorAdminService
35. IdentityApplicationManagementService, IdentityApplicationManagementService, https://DESKTOP-47OLP5T:8243/services/IdentityApplicationManagementService
36. APIAuthenticationService, APIAuthenticationService, https://DESKTOP-47OLP5T:8243/services/APIAuthenticationService
37. ServerRolesManager, ServerRolesManager, https://DESKTOP-47OLP5T:8243/services/ServerRolesManager
38. IdentityProviderMgtService, IdentityProviderMgtService, https://DESKTOP-47OLP5T:8243/services/IdentityProviderMgtService
39. InfoAdminService, InfoAdminService, https://DESKTOP-47OLP5T:8243/services/InfoAdminService
40. LoggedUserInfoAdmin, LoggedUserInfoAdmin, https://DESKTOP-47OLP5T:8243/services/LoggedUserInfoAdmin
41. RemoteProfileConfigurationManagerService, RemoteProfileConfigurationManagerService, https://DESKTOP-47OLP5T:8243/services/RemoteProfileConfigurationManagerService
42. RegistryEventBrokerService, RegistryEventBrokerService, https://DESKTOP-47OLP5T:8243/services/RegistryEventBrokerService
43. TenantMgtAdminService, TenantMgtAdminService, https://DESKTOP-47OLP5T:8243/services/TenantMgtAdminService
44. AndesAdminService, AndesAdminService, https://DESKTOP-47OLP5T:8243/services/AndesAdminService
45. CarbonAppUploader, CarbonAppUploader, https://DESKTOP-47OLP5T:8243/services/CarbonAppUploader
46. CommandMediatorAdmin, CommandMediatorAdmin, https://DESKTOP-47OLP5T:8243/services/CommandMediatorAdmin
47. ServiceGroupAdmin, ServiceGroupAdmin, https://DESKTOP-47OLP5T:8243/services/ServiceGroupAdmin
48. DeploymentSynchronizerAdmin, DeploymentSynchronizerAdmin, https://DESKTOP-47OLP5T:8243/services/DeploymentSynchronizerAdmin
49. AndesManagerService, AndesManagerService, https://DESKTOP-47OLP5T:8243/services/AndesManagerService
50. EndpointAdmin, EndpointAdmin, https://DESKTOP-47OLP5T:8243/services/EndpointAdmin
51. UserProfileMgtService, UserProfileMgtService, https://DESKTOP-47OLP5T:8243/services/UserProfileMgtService
52. MediationLibraryAdminService, MediationLibraryAdminService, https://DESKTOP-47OLP5T:8243/services/MediationLibraryAdminService
53. EntitlementService, EntitlementService, https://DESKTOP-47OLP5T:8243/services/EntitlementService
54. OperationAdmin, OperationAdmin, https://DESKTOP-47OLP5T:8243/services/OperationAdmin
55. LocalEntryAdmin, LocalEntryAdmin, https://DESKTOP-47OLP5T:8243/services/LocalEntryAdmin
56. MultipleCredentialsUserAdmin, MultipleCredentialsUserAdmin, https://DESKTOP-47OLP5T:8243/services/MultipleCredentialsUserAdmin
57. EventFlowAdminService, EventFlowAdminService, https://DESKTOP-47OLP5T:8243/services/EventFlowAdminService
58. QpidAdminService, QpidAdminService, https://DESKTOP-47OLP5T:8243/services/QpidAdminService
59. RegistryAdminService, RegistryAdminService, https://DESKTOP-47OLP5T:8243/services/RegistryAdminService
60. EventTracerAdminService, EventTracerAdminService, https://DESKTOP-47OLP5T:8243/services/EventTracerAdminService
61. Reply, null, https://DESKTOP-47OLP5T:8243/services/Reply
62. CustomLifecyclesChecklistAdminService, CustomLifecyclesChecklistAdminService, https://DESKTOP-47OLP5T:8243/services/CustomLifecyclesChecklistAdminService
63. FileUploadService, FileUploadService, https://DESKTOP-47OLP5T:8243/services/FileUploadService
64. RemoteAuthorizationManagerService, RemoteAuthorizationManagerService, https://DESKTOP-47OLP5T:8243/services/RemoteAuthorizationManagerService
65. EntitlementPolicyAdminService, EntitlementPolicyAdminService, https://DESKTOP-47OLP5T:8243/services/EntitlementPolicyAdminService
66. LifeCycleManagementService, LifeCycleManagementService, https://DESKTOP-47OLP5T:8243/services/LifeCycleManagementService
67. TracerAdmin, TracerAdmin, https://DESKTOP-47OLP5T:8243/services/TracerAdmin
68. InboundAdmin, InboundAdmin, https://DESKTOP-47OLP5T:8243/services/InboundAdmin
69. TemplateAdminService, TemplateAdminService, https://DESKTOP-47OLP5T:8243/services/TemplateAdminService
70. CustomUIAdminService, CustomUIAdminService, https://DESKTOP-47OLP5T:8243/services/CustomUIAdminService
71. MediationLibraryUploader, MediationLibraryUploader, https://DESKTOP-47OLP5T:8243/services/MediationLibraryUploader
72. MetricsDataService, MetricsDataService, https://DESKTOP-47OLP5T:8243/services/MetricsDataService
73. LoginStatisticsAdmin, LoginStatisticsAdmin, https://DESKTOP-47OLP5T:8243/services/LoginStatisticsAdmin
74. TierCacheService, TierCacheService, https://DESKTOP-47OLP5T:8243/services/TierCacheService
75. EventProcessorAdminService, EventProcessorAdminService, https://DESKTOP-47OLP5T:8243/services/EventProcessorAdminService
76. LoggingAdmin, LoggingAdmin, https://DESKTOP-47OLP5T:8243/services/LoggingAdmin
77. EventStreamAdminService, EventStreamAdminService, https://DESKTOP-47OLP5T:8243/services/EventStreamAdminService
78. NDataSourceAdmin, NDataSourceAdmin, https://DESKTOP-47OLP5T:8243/services/NDataSourceAdmin
79. RestApiAdmin, RestApiAdmin, https://DESKTOP-47OLP5T:8243/services/RestApiAdmin
80. SynapseArtifactUploaderAdmin, SynapseArtifactUploaderAdmin, https://DESKTOP-47OLP5T:8243/services/SynapseArtifactUploaderAdmin
81. PriorityMediationAdmin, PriorityMediationAdmin, https://DESKTOP-47OLP5T:8243/services/PriorityMediationAdmin
82. ClaimManagementService, ClaimManagementService, https://DESKTOP-47OLP5T:8243/services/ClaimManagementService
83. APIKeyMgtSubscriberService, APIKeyMgtSubscriberService, https://DESKTOP-47OLP5T:8243/services/APIKeyMgtSubscriberService
84. MessageTracerAdmin, MessageTracerAdmin, https://DESKTOP-47OLP5T:8243/services/MessageTracerAdmin
85. ProxyServiceAdmin, ProxyServiceAdmin, https://DESKTOP-47OLP5T:8243/services/ProxyServiceAdmin
86. ResourceAdminService, ResourceAdminService, https://DESKTOP-47OLP5T:8243/services/ResourceAdminService
87. EntitlementAdminService, EntitlementAdminService, https://DESKTOP-47OLP5T:8243/services/EntitlementAdminService
88. ESBNTaskAdmin, ESBNTaskAdmin, https://DESKTOP-47OLP5T:8243/services/ESBNTaskAdmin
89. RemoteTaskAdmin, RemoteTaskAdmin, https://DESKTOP-47OLP5T:8243/services/RemoteTaskAdmin
90. SecurityAdminService, SecurityAdminService, https://DESKTOP-47OLP5T:8243/services/SecurityAdminService
91. ContentSearchAdminService, ContentSearchAdminService, https://DESKTOP-47OLP5T:8243/services/ContentSearchAdminService
92. ManageGenericArtifactService, ManageGenericArtifactService, https://DESKTOP-47OLP5T:8243/services/ManageGenericArtifactService
93. MessageStoreAdminService, MessageStoreAdminService, https://DESKTOP-47OLP5T:8243/services/MessageStoreAdminService
94. FileDownloadService, FileDownloadService, https://DESKTOP-47OLP5T:8243/services/FileDownloadService
95. JaggeryAppAdmin, JaggeryAppAdmin, https://DESKTOP-47OLP5T:8243/services/JaggeryAppAdmin
96. Topic, null, https://DESKTOP-47OLP5T:8243/services/Topic
97. ApplicationAdmin, ApplicationAdmin, https://DESKTOP-47OLP5T:8243/services/ApplicationAdmin
98. DirectoryServerManager, DirectoryServerManager, https://DESKTOP-47OLP5T:8243/services/DirectoryServerManager
99. RemoteClaimManagerService, RemoteClaimManagerService, https://DESKTOP-47OLP5T:8243/services/RemoteClaimManagerService
100. TopicManagerAdminService, TopicManagerAdminService, https://DESKTOP-47OLP5T:8243/services/TopicManagerAdminService
101. OAuthAdminService, OAuthAdminService, https://DESKTOP-47OLP5T:8243/services/OAuthAdminService
102. SynapseApplicationAdmin, SynapseApplicationAdmin, https://DESKTOP-47OLP5T:8243/services/SynapseApplicationAdmin
103. EventReceiverAdminService, EventReceiverAdminService, https://DESKTOP-47OLP5T:8243/services/EventReceiverAdminService
104. IdentityProviderAdminService, IdentityProviderAdminService, https://DESKTOP-47OLP5T:8243/services/IdentityProviderAdminService
105. UserStoreCountService, UserStoreCountService, https://DESKTOP-47OLP5T:8243/services/UserStoreCountService
106. APIKeyValidationService, APIKeyValidationService, https://DESKTOP-47OLP5T:8243/services/APIKeyValidationService
107. SequenceAdminService, SequenceAdminService, https://DESKTOP-47OLP5T:8243/services/SequenceAdminService
108. Provider, null, https://DESKTOP-47OLP5T:8243/services/Provider
109. STSAdminService, STSAdminService, https://DESKTOP-47OLP5T:8243/services/STSAdminService
110. FlowsAdminService, FlowsAdminService, https://DESKTOP-47OLP5T:8243/services/FlowsAdminService
111. RepositoryAdminService, RepositoryAdminService, https://DESKTOP-47OLP5T:8243/services/RepositoryAdminService
112. EndpointTemplateAdminService, EndpointTemplateAdminService, https://DESKTOP-47OLP5T:8243/services/EndpointTemplateAdminService
113. WSRegistryService, WSRegistryService, https://DESKTOP-47OLP5T:8243/services/WSRegistryService
114. WSDLToolService, WSDLToolService, https://DESKTOP-47OLP5T:8243/services/WSDLToolService
115. API, null, https://DESKTOP-47OLP5T:8243/services/API
116. ClassMediatorAdmin, ClassMediatorAdmin, https://DESKTOP-47OLP5T:8243/services/ClassMediatorAdmin
117. RemoteTenantManagerService, RemoteTenantManagerService, https://DESKTOP-47OLP5T:8243/services/RemoteTenantManagerService
118. TemplateManagerAdminService, TemplateManagerAdminService, https://DESKTOP-47OLP5T:8243/services/TemplateManagerAdminService

How to print JsonBody from MessageContext wso2esb.?

<log level="custom">
<property name="################USSD##################" expression="json-eval($.)"></property>
</log>