http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3ca02155/app/libraries/Wsis/Stubs/AuthenticationAdminStub.php
----------------------------------------------------------------------
diff --git a/app/libraries/Wsis/Stubs/AuthenticationAdminStub.php 
b/app/libraries/Wsis/Stubs/AuthenticationAdminStub.php
new file mode 100644
index 0000000..00a1f02
--- /dev/null
+++ b/app/libraries/Wsis/Stubs/AuthenticationAdminStub.php
@@ -0,0 +1,1016 @@
+<?php
+namespace Wsis\Stubs;
+use SoapClient;
+
+class TransactionConfiguration {
+  public $transactionManager; // anyType
+  public $transactionTimeout; // int
+  public $userTransaction; // anyType
+}
+
+class AbstractPolicyOperator {
+  public $empty; // boolean
+  public $firstPolicyComponent; // PolicyComponent
+  public $policyComponents; // anyType
+}
+
+class PolicyComponent {
+  public $type; // short
+}
+
+class All {
+  public $assertions; // anyType
+  public $type; // short
+}
+
+class Policy {
+  public $alternatives; // Iterator
+  public $attributes; // Map
+  public $id; // string
+  public $name; // string
+  public $type; // short
+}
+
+class Enum {
+  public $value; // string
+}
+
+class ThreadFactory {
+}
+
+class XmlSchemaObject {
+  public $lineNumber; // int
+  public $linePosition; // int
+  public $metaInfoMap; // Map
+  public $sourceURI; // string
+}
+
+class XmlSchemaAnnotated {
+  public $annotation; // XmlSchemaAnnotation
+  public $id; // string
+  public $unhandledAttributes; // Attr
+}
+
+class XmlSchemaAnnotation {
+  public $items; // XmlSchemaObjectCollection
+}
+
+class XmlSchemaObjectCollection {
+  public $count; // int
+  public $iterator; // Iterator
+}
+
+class XmlSchemaParticle {
+  public $maxOccurs; // long
+  public $minOccurs; // long
+}
+
+class XmlSchemaElement {
+  public $QName; // anyType
+  public $abstract; // boolean
+  public $block; // XmlSchemaDerivationMethod
+  public $blockResolved; // XmlSchemaDerivationMethod
+  public $constraints; // XmlSchemaObjectCollection
+  public $defaultValue; // string
+  public $elementType; // anyType
+  public $final; // XmlSchemaDerivationMethod
+  public $fixedValue; // string
+  public $form; // XmlSchemaForm
+  public $name; // string
+  public $nillable; // boolean
+  public $refName; // anyType
+  public $schemaType; // XmlSchemaType
+  public $schemaTypeName; // anyType
+  public $substitutionGroup; // anyType
+  public $type; // XmlSchemaType
+}
+
+class XmlSchemaDerivationMethod {
+  public $values; // string
+}
+
+class XmlSchemaForm {
+  public $values; // string
+}
+
+class XmlSchemaType {
+  public $QName; // anyType
+  public $baseSchemaType; // anyType
+  public $baseSchemaTypeName; // anyType
+  public $dataType; // XmlSchemaDatatype
+  public $deriveBy; // XmlSchemaDerivationMethod
+  public $final; // XmlSchemaDerivationMethod
+  public $finalResolved; // XmlSchemaDerivationMethod
+  public $mixed; // boolean
+  public $name; // string
+}
+
+class XmlSchemaDatatype {
+}
+
+class TargetResolver {
+}
+
+class LifecycleManager {
+}
+
+class SOAPEnvelope {
+  public $SOAPBodyFirstElementLocalName; // string
+  public $SOAPBodyFirstElementNS; // OMNamespace
+  public $body; // SOAPBody
+  public $header; // SOAPHeader
+  public $version; // SOAPVersion
+}
+
+class SOAPBody {
+  public $fault; // SOAPFault
+  public $firstElementLocalName; // string
+  public $firstElementNS; // OMNamespace
+}
+
+class SOAPFault {
+  public $code; // SOAPFaultCode
+  public $detail; // SOAPFaultDetail
+  public $exception; // anyType
+  public $node; // SOAPFaultNode
+  public $reason; // SOAPFaultReason
+  public $role; // SOAPFaultRole
+}
+
+class SOAPFaultCode {
+}
+
+class SOAPFaultDetail {
+  public $allDetailEntries; // Iterator
+}
+
+class SOAPFaultNode {
+  public $nodeValue; // string
+}
+
+class SOAPFaultReason {
+  public $allSoapTexts; // anyType
+  public $firstSOAPText; // SOAPFaultText
+}
+
+class SOAPFaultText {
+  public $lang; // string
+}
+
+class SOAPFaultRole {
+  public $roleValue; // string
+}
+
+class SOAPHeader {
+}
+
+class SOAPVersion {
+  public $encodingURI; // string
+  public $envelopeURI; // string
+  public $faultCodeQName; // anyType
+  public $faultDetailQName; // anyType
+  public $faultReasonQName; // anyType
+  public $faultRoleQName; // anyType
+  public $mustUnderstandFaultCode; // anyType
+  public $nextRoleURI; // string
+  public $receiverFaultCode; // anyType
+  public $roleAttributeQName; // anyType
+  public $senderFaultCode; // anyType
+}
+
+class Attachments {
+  public $SOAPPartContentID; // string
+  public $SOAPPartContentType; // string
+  public $SOAPPartInputStream; // InputStream
+  public $allContentIDs; // string
+  public $attachmentSpecType; // string
+  public $contentIDList; // anyType
+  public $contentIDSet; // Set
+  public $contentLength; // long
+  public $incomingAttachmentStreams; // IncomingAttachmentStreams
+  public $incomingAttachmentsAsSingleStream; // InputStream
+  public $lifecycleManager; // LifecycleManager
+  public $map; // Map
+}
+
+class IncomingAttachmentStreams {
+  public $nextStream; // IncomingAttachmentInputStream
+  public $readyToGetNextStream; // boolean
+}
+
+class IncomingAttachmentInputStream {
+  public $contentId; // string
+  public $contentLocation; // string
+  public $contentType; // string
+  public $headers; // Map
+}
+
+class AuthenticationException {
+  public $uiErrorCode; // string
+}
+
+class TransportListener {
+}
+
+class TransportSender {
+}
+
+class Attr {
+  public $id; // boolean
+  public $name; // string
+  public $ownerElement; // Element
+  public $schemaTypeInfo; // TypeInfo
+  public $specified; // boolean
+  public $value; // string
+}
+
+class Element {
+  public $schemaTypeInfo; // TypeInfo
+  public $tagName; // string
+}
+
+class TypeInfo {
+  public $typeName; // string
+  public $typeNamespace; // string
+}
+
+class Options {
+  public $action; // string
+  public $callTransportCleanup; // boolean
+  public $exceptionToBeThrownOnSOAPFault; // boolean
+  public $faultTo; // EndpointReference
+  public $from; // EndpointReference
+  public $listener; // TransportListener
+  public $logCorrelationIDString; // string
+  public $manageSession; // boolean
+  public $messageId; // string
+  public $parent; // Options
+  public $password; // string
+  public $properties; // string
+  public $relatesTo; // RelatesTo
+  public $relationships; // RelatesTo
+  public $replyTo; // EndpointReference
+  public $soapVersionURI; // string
+  public $timeOutInMilliSeconds; // long
+  public $to; // EndpointReference
+  public $transportIn; // TransportInDescription
+  public $transportInProtocol; // string
+  public $transportOut; // TransportOutDescription
+  public $useSeparateListener; // boolean
+  public $userName; // string
+}
+
+class Set {
+  public $empty; // boolean
+}
+
+class Map {
+  public $empty; // boolean
+}
+
+class Iterator {
+}
+
+class LinkedList {
+  public $first; // anyType
+  public $last; // anyType
+}
+
+class LinkedHashMap {
+}
+
+class InputStream {
+}
+
+class NodeManager {
+  public $configurationContext; // ConfigurationContext
+}
+
+class AxisMessage {
+  public $axisOperation; // AxisOperation
+  public $direction; // string
+  public $effectivePolicy; // Policy
+  public $elementQName; // anyType
+  public $extensibilityAttributes; // anyType
+  public $key; // anyType
+  public $messageFlow; // anyType
+  public $messagePartName; // string
+  public $modulerefs; // string
+  public $name; // string
+  public $partName; // string
+  public $policyUpdated; // boolean
+  public $schemaElement; // XmlSchemaElement
+  public $soapHeaders; // anyType
+  public $wrapped; // boolean
+}
+
+class AxisOperation {
+  public $WSAMappingList; // anyType
+  public $axisService; // AxisService
+  public $axisSpecificMEPConstant; // int
+  public $controlOperation; // boolean
+  public $faultAction; // string
+  public $faultActionNames; // string
+  public $faultMessages; // anyType
+  public $inputAction; // string
+  public $key; // anyType
+  public $messageExchangePattern; // string
+  public $messageReceiver; // MessageReceiver
+  public $messages; // Iterator
+  public $moduleRefs; // anyType
+  public $name; // anyType
+  public $outputAction; // string
+  public $phasesInFaultFlow; // anyType
+  public $phasesOutFaultFlow; // anyType
+  public $phasesOutFlow; // anyType
+  public $remainingPhasesInFlow; // anyType
+  public $soapAction; // string
+  public $style; // string
+  public $wsamappingList; // string
+}
+
+class AxisService {
+  public $EPRs; // string
+  public $WSAddressingFlag; // string
+  public $active; // boolean
+  public $axisServiceGroup; // AxisServiceGroup
+  public $bindingName; // string
+  public $classLoader; // anyType
+  public $clientSide; // boolean
+  public $controlOperations; // anyType
+  public $customSchemaNamePrefix; // string
+  public $customSchemaNameSuffix; // string
+  public $customWsdl; // boolean
+  public $elementFormDefault; // boolean
+  public $enableAllTransports; // boolean
+  public $endpointName; // string
+  public $endpointURL; // string
+  public $endpoints; // Map
+  public $excludeInfo; // ExcludeInfo
+  public $exposedTransports; // string
+  public $fileName; // URL
+  public $importedNamespaces; // anyType
+  public $key; // anyType
+  public $lastUpdate; // long
+  public $lastupdate; // long
+  public $messageElementQNameToOperationMap; // anyType
+  public $modifyUserWSDLPortAddress; // boolean
+  public $modules; // anyType
+  public $name; // string
+  public $nameSpacesMap; // Map
+  public $namespaceMap; // Map
+  public $objectSupplier; // ObjectSupplier
+  public $operations; // Iterator
+  public $operationsNameList; // anyType
+  public $p2nMap; // Map
+  public $parent; // AxisServiceGroup
+  public $portTypeName; // string
+  public $publishedOperations; // anyType
+  public $schemaLocationsAdjusted; // boolean
+  public $schemaMappingTable; // Map
+  public $schemaTargetNamespace; // string
+  public $schemaTargetNamespacePrefix; // string
+  public $schematargetNamespace; // string
+  public $schematargetNamespacePrefix; // string
+  public $scope; // string
+  public $serviceDescription; // string
+  public $serviceLifeCycle; // ServiceLifeCycle
+  public $setEndpointsToAllUsedBindings; // boolean
+  public $soapNsUri; // string
+  public $targetNamespace; // string
+  public $targetNamespacePrefix; // string
+  public $typeTable; // TypeTable
+  public $useDefaultChains; // boolean
+  public $useUserWSDL; // boolean
+  public $wsdlFound; // boolean
+}
+
+class AxisServiceGroup {
+  public $axisDescription; // AxisConfiguration
+  public $foundWebResources; // boolean
+  public $key; // anyType
+  public $moduleRefs; // anyType
+  public $serviceGroupClassLoader; // anyType
+  public $serviceGroupName; // string
+  public $services; // Iterator
+}
+
+class TransportInDescription {
+  public $faultFlow; // Flow
+  public $faultPhase; // Phase
+  public $inFlow; // Flow
+  public $inPhase; // Phase
+  public $name; // string
+  public $parameters; // anyType
+  public $receiver; // TransportListener
+}
+
+class Flow {
+  public $handlerCount; // int
+}
+
+class HandlerDescription {
+  public $className; // string
+  public $handler; // Handler
+  public $name; // string
+  public $parameters; // anyType
+  public $parent; // ParameterInclude
+  public $rules; // PhaseRule
+}
+
+class ParameterInclude {
+  public $parameters; // anyType
+}
+
+class PhaseRule {
+  public $after; // string
+  public $before; // string
+  public $phaseFirst; // boolean
+  public $phaseLast; // boolean
+  public $phaseName; // string
+}
+
+class TransportOutDescription {
+  public $faultFlow; // Flow
+  public $faultPhase; // Phase
+  public $name; // string
+  public $outFlow; // Flow
+  public $outPhase; // Phase
+  public $parameters; // anyType
+  public $sender; // TransportSender
+}
+
+class OMNamespace {
+  public $name; // string
+  public $namespaceURI; // string
+  public $prefix; // string
+}
+
+class loginWithRememberMeCookie {
+  public $cookie; // string
+}
+
+class loginWithRememberMeCookieResponse {
+  public $return; // boolean
+}
+
+class AuthenticationAdminAuthenticationException {
+  public $AuthenticationException; // AuthenticationException
+}
+
+class logout {
+}
+
+class login {
+  public $username; // string
+  public $password; // string
+  public $remoteAddress; // string
+}
+
+class loginResponse {
+  public $return; // boolean
+}
+
+class loginWithRememberMeOption {
+  public $username; // string
+  public $password; // string
+  public $remoteAddress; // string
+}
+
+class loginWithRememberMeOptionResponse {
+  public $return; // RememberMeData
+}
+
+class getAuthenticatorName {
+}
+
+class getAuthenticatorNameResponse {
+  public $return; // string
+}
+
+class authenticateWithRememberMe {
+  public $messageContext; // MessageContext
+}
+
+class authenticateWithRememberMeResponse {
+  public $return; // boolean
+}
+
+class isDisabled {
+}
+
+class isDisabledResponse {
+  public $return; // boolean
+}
+
+class getPriority {
+}
+
+class getPriorityResponse {
+  public $return; // int
+}
+
+class MessageContext {
+  public $FLOW; // int
+  public $SOAP11; // boolean
+  public $WSAAction; // string
+  public $WSAMessageId; // string
+  public $attachmentMap; // Attachments
+  public $axisMessage; // AxisMessage
+  public $axisOperation; // AxisOperation
+  public $axisService; // AxisService
+  public $axisServiceGroup; // AxisServiceGroup
+  public $configurationContext; // ConfigurationContext
+  public $currentHandlerIndex; // int
+  public $currentPhaseIndex; // int
+  public $doingMTOM; // boolean
+  public $doingREST; // boolean
+  public $doingSwA; // boolean
+  public $effectivePolicy; // Policy
+  public $envelope; // SOAPEnvelope
+  public $executedPhases; // Iterator
+  public $executedPhasesExplicit; // LinkedList
+  public $executionChain; // anyType
+  public $failureReason; // anyType
+  public $fault; // boolean
+  public $faultTo; // EndpointReference
+  public $from; // EndpointReference
+  public $headerPresent; // boolean
+  public $inboundContentLength; // long
+  public $incomingTransportName; // string
+  public $isSOAP11Explicit; // boolean
+  public $logCorrelationID; // string
+  public $logIDString; // string
+  public $messageID; // string
+  public $newThreadRequired; // boolean
+  public $operationContext; // OperationContext
+  public $options; // Options
+  public $optionsExplicit; // Options
+  public $outputWritten; // boolean
+  public $paused; // boolean
+  public $processingFault; // boolean
+  public $properties; // Map
+  public $relatesTo; // RelatesTo
+  public $relationships; // RelatesTo
+  public $replyTo; // EndpointReference
+  public $responseWritten; // boolean
+  public $rootContext; // ConfigurationContext
+  public $selfManagedDataMapExplicit; // LinkedHashMap
+  public $serverSide; // boolean
+  public $serviceContext; // ServiceContext
+  public $serviceContextID; // string
+  public $serviceGroupContext; // ServiceGroupContext
+  public $serviceGroupContextId; // string
+  public $sessionContext; // SessionContext
+  public $soapAction; // string
+  public $to; // EndpointReference
+  public $transportIn; // TransportInDescription
+  public $transportOut; // TransportOutDescription
+}
+
+class ConfigurationContext {
+  public $anyOperationContextRegistered; // boolean
+  public $axisConfiguration; // AxisConfiguration
+  public $contextRoot; // string
+  public $listenerManager; // ListenerManager
+  public $rootContext; // ConfigurationContext
+  public $serviceContextPath; // string
+  public $serviceGroupContextIDs; // string
+  public $serviceGroupContextTimeoutInterval; // long
+  public $serviceGroupContextTimoutInterval; // long
+  public $serviceGroupContexts; // anyType
+  public $servicePath; // string
+  public $threadPool; // ThreadFactory
+  public $transportManager; // ListenerManager
+}
+
+class OperationContext {
+  public $axisOperation; // AxisOperation
+  public $complete; // boolean
+  public $configurationContext; // ConfigurationContext
+  public $key; // string
+  public $logCorrelationIDString; // string
+  public $messageContexts; // string
+  public $operationName; // string
+  public $rootContext; // ConfigurationContext
+  public $serviceContext; // ServiceContext
+  public $serviceGroupName; // string
+  public $serviceName; // string
+}
+
+class ServiceContext {
+  public $axisService; // AxisService
+  public $cachingOperationContext; // boolean
+  public $configurationContext; // ConfigurationContext
+  public $groupName; // string
+  public $lastOperationContext; // OperationContext
+  public $logCorrelationIDString; // string
+  public $myEPR; // EndpointReference
+  public $name; // string
+  public $rootContext; // ConfigurationContext
+  public $serviceGroupContext; // ServiceGroupContext
+  public $targetEPR; // EndpointReference
+}
+
+class ServiceGroupContext {
+  public $description; // AxisServiceGroup
+  public $id; // string
+  public $rootContext; // ConfigurationContext
+  public $serviceContexts; // Iterator
+}
+
+class SessionContext {
+  public $cookieID; // string
+  public $lastTouchedTime; // long
+  public $rootContext; // ConfigurationContext
+  public $serviceGroupContext; // Iterator
+}
+
+class PhasesInfo {
+  public $INPhases; // anyType
+  public $IN_FaultPhases; // anyType
+  public $OUTPhases; // anyType
+  public $OUT_FaultPhases; // anyType
+  public $globalInFaultPhases; // anyType
+  public $globalInflow; // anyType
+  public $globalOutPhaseList; // anyType
+  public $operationInFaultPhases; // anyType
+  public $operationInPhases; // anyType
+  public $operationOutFaultPhases; // anyType
+  public $operationOutPhases; // anyType
+  public $operationPhases; // AxisOperation
+  public $outFaultPhaseList; // anyType
+}
+
+class ExcludeInfo {
+}
+
+class URL {
+  public $authority; // string
+  public $content; // anyType
+  public $defaultPort; // int
+  public $file; // string
+  public $host; // string
+  public $path; // string
+  public $port; // int
+  public $protocol; // string
+  public $query; // string
+  public $ref; // string
+  public $userInfo; // string
+}
+
+class EndpointReference {
+  public $WSAddressingAnonymous; // boolean
+  public $address; // string
+  public $addressAttributes; // anyType
+  public $allReferenceParameters; // Map
+  public $attributes; // anyType
+  public $extensibleElements; // anyType
+  public $logCorrelationIDString; // string
+  public $metaData; // anyType
+  public $metadataAttributes; // anyType
+  public $name; // string
+  public $referenceParameters; // anyType
+}
+
+class RelatesTo {
+  public $extensibilityAttributes; // anyType
+  public $relationshipType; // string
+  public $value; // string
+}
+
+class SecretResolver {
+  public $initialized; // boolean
+}
+
+class AxisConfiguration {
+  public $childFirstClassLoading; // boolean
+  public $clusteringAgent; // ClusteringAgent
+  public $configurator; // AxisConfigurator
+  public $faultyModules; // string
+  public $faultyServices; // string
+  public $faultyServicesDuetoModules; // Map
+  public $globalModules; // anyType
+  public $globalOutPhase; // anyType
+  public $inFaultFlowPhases; // anyType
+  public $inFaultPhases; // anyType
+  public $inFlowPhases; // anyType
+  public $inPhasesUptoAndIncludingPostDispatch; // anyType
+  public $key; // anyType
+  public $localPolicyAssertions; // anyType
+  public $moduleClassLoader; // anyType
+  public $modules; // anyType
+  public $observersList; // anyType
+  public $outFaultFlowPhases; // anyType
+  public $outFaultPhases; // anyType
+  public $outFlowPhases; // anyType
+  public $phasesInfo; // PhasesInfo
+  public $repository; // URL
+  public $secretResolver; // SecretResolver
+  public $serviceClassLoader; // anyType
+  public $serviceGroups; // Iterator
+  public $services; // anyType
+  public $start; // boolean
+  public $systemClassLoader; // anyType
+  public $targetResolverChain; // TargetResolver
+  public $transactionConfig; // TransactionConfiguration
+  public $transactionConfiguration; // TransactionConfiguration
+  public $transportsIn; // string
+  public $transportsOut; // string
+}
+
+class ListenerManager {
+  public $configctx; // ConfigurationContext
+  public $shutdownHookRequired; // boolean
+  public $stopped; // boolean
+}
+
+class AxisConfigurator {
+  public $axisConfiguration; // AxisConfiguration
+}
+
+class ObjectSupplier {
+}
+
+class ServiceLifeCycle {
+}
+
+class MessageReceiver {
+}
+
+class Phase {
+  public $handlerCount; // int
+  public $handlerDesc; // HandlerDescription
+  public $handlers; // anyType
+  public $name; // string
+  public $phaseFirst; // Handler
+  public $phaseLast; // Handler
+  public $phaseName; // string
+}
+
+class Handler {
+  public $handlerDesc; // HandlerDescription
+  public $name; // string
+}
+
+class StateManager {
+  public $configurationContext; // ConfigurationContext
+  public $replicationExcludePatterns; // Map
+}
+
+class RememberMeData {
+  public $authenticated; // boolean
+  public $maxAge; // int
+  public $value; // string
+}
+
+class ClusteringAgent {
+  public $aliveMemberCount; // int
+  public $configurationContext; // ConfigurationContext
+  public $coordinator; // boolean
+  public $domains; // Set
+  public $members; // anyType
+  public $nodeManager; // NodeManager
+  public $stateManager; // StateManager
+}
+
+class TypeTable {
+  public $complexSchemaMap; // Map
+}
+
+
+/**
+ * AuthenticationAdmin class
+ * 
+ *  
+ * 
+ * @author    {author}
+ * @copyright {copyright}
+ * @package   {package}
+ */
+class AuthenticationAdminStub extends SoapClient {
+
+  private static $classmap = array(
+                                    'TransactionConfiguration' => 
'TransactionConfiguration',
+                                    'AbstractPolicyOperator' => 
'AbstractPolicyOperator',
+                                    'PolicyComponent' => 'PolicyComponent',
+                                    'All' => 'All',
+                                    'Policy' => 'Policy',
+                                    'Enum' => 'Enum',
+                                    'ThreadFactory' => 'ThreadFactory',
+                                    'XmlSchemaObject' => 'XmlSchemaObject',
+                                    'XmlSchemaAnnotated' => 
'XmlSchemaAnnotated',
+                                    'XmlSchemaAnnotation' => 
'XmlSchemaAnnotation',
+                                    'XmlSchemaObjectCollection' => 
'XmlSchemaObjectCollection',
+                                    'XmlSchemaParticle' => 'XmlSchemaParticle',
+                                    'XmlSchemaElement' => 'XmlSchemaElement',
+                                    'XmlSchemaDerivationMethod' => 
'XmlSchemaDerivationMethod',
+                                    'XmlSchemaForm' => 'XmlSchemaForm',
+                                    'XmlSchemaType' => 'XmlSchemaType',
+                                    'XmlSchemaDatatype' => 'XmlSchemaDatatype',
+                                    'TargetResolver' => 'TargetResolver',
+                                    'LifecycleManager' => 'LifecycleManager',
+                                    'SOAPEnvelope' => 'SOAPEnvelope',
+                                    'SOAPBody' => 'SOAPBody',
+                                    'SOAPFault' => 'SOAPFault',
+                                    'SOAPFaultCode' => 'SOAPFaultCode',
+                                    'SOAPFaultDetail' => 'SOAPFaultDetail',
+                                    'SOAPFaultNode' => 'SOAPFaultNode',
+                                    'SOAPFaultReason' => 'SOAPFaultReason',
+                                    'SOAPFaultText' => 'SOAPFaultText',
+                                    'SOAPFaultRole' => 'SOAPFaultRole',
+                                    'SOAPHeader' => 'SOAPHeader',
+                                    'SOAPVersion' => 'SOAPVersion',
+                                    'Attachments' => 'Attachments',
+                                    'IncomingAttachmentStreams' => 
'IncomingAttachmentStreams',
+                                    'IncomingAttachmentInputStream' => 
'IncomingAttachmentInputStream',
+                                    'AuthenticationException' => 
'AuthenticationException',
+                                    'TransportListener' => 'TransportListener',
+                                    'TransportSender' => 'TransportSender',
+                                    'Attr' => 'Attr',
+                                    'Element' => 'Element',
+                                    'TypeInfo' => 'TypeInfo',
+                                    'Options' => 'Options',
+                                    'Set' => 'Set',
+                                    'Map' => 'Map',
+                                    'Iterator' => 'Iterator',
+                                    'LinkedList' => 'LinkedList',
+                                    'LinkedHashMap' => 'LinkedHashMap',
+                                    'InputStream' => 'InputStream',
+                                    'NodeManager' => 'NodeManager',
+                                    'AxisMessage' => 'AxisMessage',
+                                    'AxisOperation' => 'AxisOperation',
+                                    'AxisService' => 'AxisService',
+                                    'AxisServiceGroup' => 'AxisServiceGroup',
+                                    'TransportInDescription' => 
'TransportInDescription',
+                                    'Flow' => 'Flow',
+                                    'HandlerDescription' => 
'HandlerDescription',
+                                    'ParameterInclude' => 'ParameterInclude',
+                                    'PhaseRule' => 'PhaseRule',
+                                    'TransportOutDescription' => 
'TransportOutDescription',
+                                    'OMNamespace' => 'OMNamespace',
+                                    'loginWithRememberMeCookie' => 
'loginWithRememberMeCookie',
+                                    'loginWithRememberMeCookieResponse' => 
'loginWithRememberMeCookieResponse',
+                                    
'AuthenticationAdminAuthenticationException' => 
'AuthenticationAdminAuthenticationException',
+                                    'logout' => 'logout',
+                                    'login' => 'login',
+                                    'loginResponse' => 'loginResponse',
+                                    'loginWithRememberMeOption' => 
'loginWithRememberMeOption',
+                                    'loginWithRememberMeOptionResponse' => 
'loginWithRememberMeOptionResponse',
+                                    'getAuthenticatorName' => 
'getAuthenticatorName',
+                                    'getAuthenticatorNameResponse' => 
'getAuthenticatorNameResponse',
+                                    'authenticateWithRememberMe' => 
'authenticateWithRememberMe',
+                                    'authenticateWithRememberMeResponse' => 
'authenticateWithRememberMeResponse',
+                                    'isDisabled' => 'isDisabled',
+                                    'isDisabledResponse' => 
'isDisabledResponse',
+                                    'getPriority' => 'getPriority',
+                                    'getPriorityResponse' => 
'getPriorityResponse',
+                                    'MessageContext' => 'MessageContext',
+                                    'ConfigurationContext' => 
'ConfigurationContext',
+                                    'OperationContext' => 'OperationContext',
+                                    'ServiceContext' => 'ServiceContext',
+                                    'ServiceGroupContext' => 
'ServiceGroupContext',
+                                    'SessionContext' => 'SessionContext',
+                                    'PhasesInfo' => 'PhasesInfo',
+                                    'ExcludeInfo' => 'ExcludeInfo',
+                                    'URL' => 'URL',
+                                    'EndpointReference' => 'EndpointReference',
+                                    'RelatesTo' => 'RelatesTo',
+                                    'SecretResolver' => 'SecretResolver',
+                                    'AxisConfiguration' => 'AxisConfiguration',
+                                    'ListenerManager' => 'ListenerManager',
+                                    'AxisConfigurator' => 'AxisConfigurator',
+                                    'ObjectSupplier' => 'ObjectSupplier',
+                                    'ServiceLifeCycle' => 'ServiceLifeCycle',
+                                    'MessageReceiver' => 'MessageReceiver',
+                                    'Phase' => 'Phase',
+                                    'Handler' => 'Handler',
+                                    'StateManager' => 'StateManager',
+                                    'RememberMeData' => 'RememberMeData',
+                                    'ClusteringAgent' => 'ClusteringAgent',
+                                    'TypeTable' => 'TypeTable',
+                                   );
+
+  public function AuthenticationAdminStub($wsdl = "AuthenticationAdmin.xml", 
$options = array()) {
+    foreach(self::$classmap as $key => $value) {
+      if(!isset($options['classmap'][$key])) {
+        $options['classmap'][$key] = $value;
+      }
+    }
+    parent::__construct($wsdl, $options);
+  }
+
+  /**
+   *  
+   *
+   * @param logout $parameters
+   * @return void
+   */
+  public function logout(logout $parameters) {
+    return $this->__soapCall('logout', array($parameters),       array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param loginWithRememberMeCookie $parameters
+   * @return loginWithRememberMeCookieResponse
+   */
+  public function loginWithRememberMeCookie(loginWithRememberMeCookie 
$parameters) {
+    return $this->__soapCall('loginWithRememberMeCookie', array($parameters),  
     array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param authenticateWithRememberMe $parameters
+   * @return authenticateWithRememberMeResponse
+   */
+  public function authenticateWithRememberMe(authenticateWithRememberMe 
$parameters) {
+    return $this->__soapCall('authenticateWithRememberMe', array($parameters), 
      array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param getAuthenticatorName $parameters
+   * @return getAuthenticatorNameResponse
+   */
+  public function getAuthenticatorName(getAuthenticatorName $parameters) {
+    return $this->__soapCall('getAuthenticatorName', array($parameters),       
array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param login $parameters
+   * @return loginResponse
+   */
+  public function login(login $parameters) {
+    return $this->__soapCall('login', array($parameters),       array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param loginWithRememberMeOption $parameters
+   * @return loginWithRememberMeOptionResponse
+   */
+  public function loginWithRememberMeOption(loginWithRememberMeOption 
$parameters) {
+    return $this->__soapCall('loginWithRememberMeOption', array($parameters),  
     array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param isDisabled $parameters
+   * @return isDisabledResponse
+   */
+  public function isDisabled(isDisabled $parameters) {
+    return $this->__soapCall('isDisabled', array($parameters),       array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param getPriority $parameters
+   * @return getPriorityResponse
+   */
+  public function getPriority(getPriority $parameters) {
+    return $this->__soapCall('getPriority', array($parameters),       array(
+            'uri' => 'http://authentication.services.core.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+}
+
+?>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3ca02155/app/libraries/Wsis/Stubs/TenantManager.php
----------------------------------------------------------------------
diff --git a/app/libraries/Wsis/Stubs/TenantManager.php 
b/app/libraries/Wsis/Stubs/TenantManager.php
new file mode 100755
index 0000000..26b109b
--- /dev/null
+++ b/app/libraries/Wsis/Stubs/TenantManager.php
@@ -0,0 +1,139 @@
+<?php
+namespace Wsis\Stubs;
+
+use Wsis\Stubs\TenantMgtAdminStub;
+
+/**
+ * TenantManager class
+ * 
+ * This class provide an easy to use interface for
+ * WSO2 IS 5.0.0 TenantMgtAdmin service.
+ */
+class TenantManager {
+    /**
+     * @var TenantMgtAdminStub $serviceStub
+     * @access private
+     */
+    private $serviceStub;
+
+    public function __construct($server_url, $options) {
+        $this->serviceStub = new TenantMgtAdminStub(
+                $server_url . "TenantMgtAdminService?wsdl", $options
+        );
+    }
+    
+    /**
+     * Function to get the soap client
+     * 
+     * @return SoapClient
+     */
+    public function getSoapClient(){
+        return $this->serviceStub;
+    }
+
+    /**
+     * Method to retrieve all  tenant information. Some tenant information
+     * such as admin name are not returned by wso2 IS
+     * @return mixed
+     */
+    public function retrieveTenants(){
+        $parameters = new retrieveTenants();
+        return $this->serviceStub->retrieveTenants($parameters)->return;
+    }
+
+    /**
+     * Method to get tenant information giving tenant domain
+     * @param $domain domain of the tenant
+     * @return mixed
+     */
+    public function getTenant($domain){
+        $parameters = new getTenant();
+        $parameters->tenantDomain = $domain;
+        return $this->serviceStub->getTenant($parameters)->return;
+    }
+
+    /**
+     * Method to create a new tenant
+     * @param $active whether tenant active or not
+     * @param $adminUsername
+     * @param $adminPassword
+     * @param $email
+     * @param $firstName Admin's first name
+     * @param $lastName Admin's last name
+     * @param $tenantDomain
+     */
+    public function addTenant($active, $adminUsername, $adminPassword, $email,
+                              $firstName, $lastName, $tenantDomain){
+        $tenantInfoBean = new TenantInfoBean();
+        $tenantInfoBean->active = $active;
+        $tenantInfoBean->admin = $adminUsername;
+        $tenantInfoBean->adminPassword = $adminPassword;
+        $tenantInfoBean->email = $email;
+        $tenantInfoBean->firstName = $firstName;
+        $tenantInfoBean->lastName = $lastName;
+        $tenantInfoBean->tenantDomain = $tenantDomain;
+
+        $addTenant  = new addTenant();
+        $addTenant->tenantInfoBean = $tenantInfoBean;
+        $this->serviceStub->addTenant($addTenant);
+    }
+
+    /**
+     * Method to remove an existing tenant giving tenant domain
+     * @param $tenantDomain
+     */
+    public function deleteTenant($tenantDomain){
+        $parameters = new deleteTenant();
+        $parameters->tenantDomain = $tenantDomain;
+        $this->serviceStub->deleteTenant($parameters);
+    }
+
+    /**
+     * Method to activate a tenant
+     * @param $tenantDomain
+     */
+    public function activateTenant($tenantDomain){
+        $parameters = new activateTenant();
+        $parameters->tenantDomain = $tenantDomain;
+        $this->serviceStub->activateTenant($parameters);
+    }
+
+    /**
+     * Method to deactivate a tenant
+     * @param $tenantDomain
+     */
+    public function deactivateTenant($tenantDomain){
+        $parameters = new deactivateTenant();
+        $parameters->tenantDomain = $tenantDomain;
+        $this->serviceStub->deactivateTenant($parameters);
+    }
+
+    /**
+     * Method to update an existing tenant
+     * @param $tenantId
+     * @param $active
+     * @param $adminUsername
+     * @param $adminPassword
+     * @param $email
+     * @param $firstName
+     * @param $lastName
+     * @param $tenantDomain
+     */
+    public function updateTenant($tenantId, $active, $adminUsername, 
$adminPassword, $email,
+                              $firstName, $lastName, $tenantDomain){
+        $tenantInfoBean = new TenantInfoBean();
+        $tenantInfoBean->tenantId = $tenantId;
+        $tenantInfoBean->active = $active;
+        $tenantInfoBean->admin = $adminUsername;
+        $tenantInfoBean->adminPassword = $adminPassword;
+        $tenantInfoBean->email = $email;
+        $tenantInfoBean->firstName = $firstName;
+        $tenantInfoBean->lastName = $lastName;
+        $tenantInfoBean->tenantDomain = $tenantDomain;
+
+        $updateTenant  = new updateTenant();
+        $updateTenant->tenantInfoBean = $tenantInfoBean;
+        $this->serviceStub->updateTenant($updateTenant);
+    }
+
+}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3ca02155/app/libraries/Wsis/Stubs/TenantMgtAdminStub.php
----------------------------------------------------------------------
diff --git a/app/libraries/Wsis/Stubs/TenantMgtAdminStub.php 
b/app/libraries/Wsis/Stubs/TenantMgtAdminStub.php
new file mode 100755
index 0000000..cb02705
--- /dev/null
+++ b/app/libraries/Wsis/Stubs/TenantMgtAdminStub.php
@@ -0,0 +1,306 @@
+<?php
+namespace Wsis\Stubs;
+use SoapClient;
+/**
+ * This file contains the DTOs and the method stubs for
+ * WSO2 IS 5.0.0 TenantMgtAdmin service.
+ */
+class TenantMgtAdminServiceException {
+  public $TenantMgtAdminServiceException; // Exception
+}
+
+
+class deleteTenant {
+  public $tenantDomain; // string
+}
+
+class updateTenant {
+  public $tenantInfoBean; // TenantInfoBean
+}
+
+class addTenant {
+  public $tenantInfoBean; // TenantInfoBean
+}
+
+class addTenantResponse {
+  public $return; // string
+}
+
+class activateTenant {
+  public $tenantDomain; // string
+}
+
+class deactivateTenant {
+  public $tenantDomain; // string
+}
+
+class getTenant {
+  public $tenantDomain; // string
+}
+
+class getTenantResponse {
+  public $return; // TenantInfoBean
+}
+
+class retrievePaginatedTenants {
+  public $pageNumber; // int
+}
+
+class retrievePaginatedTenantsResponse {
+  public $return; // PaginatedTenantInfoBean
+}
+
+class retrieveTenants {
+}
+
+class retrieveTenantsResponse {
+  public $return; // TenantInfoBean
+}
+
+class retrievePartialSearchTenants {
+  public $domain; // string
+}
+
+class retrievePartialSearchTenantsResponse {
+  public $return; // TenantInfoBean
+}
+
+class addSkeletonTenant {
+  public $tenantInfoBean; // TenantInfoBean
+}
+
+class addSkeletonTenantResponse {
+  public $return; // string
+}
+
+class retrievePaginatedPartialSearchTenants {
+  public $domain; // string
+  public $pageNumber; // int
+}
+
+class retrievePaginatedPartialSearchTenantsResponse {
+  public $return; // PaginatedTenantInfoBean
+}
+
+class TenantInfoBean {
+  public $active; // boolean
+  public $admin; // string
+  public $adminPassword; // string
+  public $createdDate; // dateTime
+  public $email; // string
+  public $firstname; // string
+  public $lastname; // string
+  public $originatedService; // string
+  public $successKey; // string
+  public $tenantDomain; // string
+  public $tenantId; // int
+  public $usagePlan; // string
+}
+
+class PaginatedTenantInfoBean {
+  public $numberOfPages; // int
+  public $tenantInfoBeans; // TenantInfoBean
+}
+
+
+/**
+ * TenantMgtAdminStub class
+ * 
+ *  
+ * 
+ * @author    {author}
+ * @copyright {copyright}
+ * @package   {package}
+ */
+class TenantMgtAdminStub extends SoapClient {
+
+  private static $classmap = array(
+                                    'TenantMgtAdminServiceException' => 
'TenantMgtAdminServiceException',
+                                    'deleteTenant' => 'deleteTenant',
+                                    'updateTenant' => 'updateTenant',
+                                    'addTenant' => 'addTenant',
+                                    'addTenantResponse' => 'addTenantResponse',
+                                    'activateTenant' => 'activateTenant',
+                                    'deactivateTenant' => 'deactivateTenant',
+                                    'getTenant' => 'getTenant',
+                                    'getTenantResponse' => 'getTenantResponse',
+                                    'retrievePaginatedTenants' => 
'retrievePaginatedTenants',
+                                    'retrievePaginatedTenantsResponse' => 
'retrievePaginatedTenantsResponse',
+                                    'retrieveTenants' => 'retrieveTenants',
+                                    'retrieveTenantsResponse' => 
'retrieveTenantsResponse',
+                                    'retrievePartialSearchTenants' => 
'retrievePartialSearchTenants',
+                                    'retrievePartialSearchTenantsResponse' => 
'retrievePartialSearchTenantsResponse',
+                                    'addSkeletonTenant' => 'addSkeletonTenant',
+                                    'addSkeletonTenantResponse' => 
'addSkeletonTenantResponse',
+                                    'retrievePaginatedPartialSearchTenants' => 
'retrievePaginatedPartialSearchTenants',
+                                    
'retrievePaginatedPartialSearchTenantsResponse' => 
'retrievePaginatedPartialSearchTenantsResponse',
+                                    'TenantInfoBean' => 'TenantInfoBean',
+                                    'PaginatedTenantInfoBean' => 
'PaginatedTenantInfoBean',
+                                   );
+
+  public function TenantMgtAdminStub($wsdl, $options = array()) {
+    foreach(self::$classmap as $key => $value) {
+      if(!isset($options['classmap'][$key])) {
+        $options['classmap'][$key] = $value;
+      }
+    }
+    parent::__construct($wsdl, $options);
+  }
+
+  /**
+   *  
+   *
+   * @param retrieveTenants $parameters
+   * @return retrieveTenantsResponse
+   */
+  public function retrieveTenants(retrieveTenants $parameters) {
+    return $this->__soapCall('retrieveTenants', array($parameters),       
array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param getTenant $parameters
+   * @return getTenantResponse
+   */
+  public function getTenant(getTenant $parameters) {
+    return $this->__soapCall('getTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param deactivateTenant $parameters
+   * @return void
+   */
+  public function deactivateTenant(deactivateTenant $parameters) {
+    return $this->__soapCall('deactivateTenant', array($parameters),       
array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param retrievePartialSearchTenants $parameters
+   * @return retrievePartialSearchTenantsResponse
+   */
+  public function retrievePartialSearchTenants(retrievePartialSearchTenants 
$parameters) {
+    return $this->__soapCall('retrievePartialSearchTenants', 
array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param retrievePaginatedTenants $parameters
+   * @return retrievePaginatedTenantsResponse
+   */
+  public function retrievePaginatedTenants(retrievePaginatedTenants 
$parameters) {
+    return $this->__soapCall('retrievePaginatedTenants', array($parameters),   
    array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param updateTenant $parameters
+   * @return void
+   */
+  public function updateTenant(updateTenant $parameters) {
+    return $this->__soapCall('updateTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param addSkeletonTenant $parameters
+   * @return addSkeletonTenantResponse
+   */
+  public function addSkeletonTenant(addSkeletonTenant $parameters) {
+    return $this->__soapCall('addSkeletonTenant', array($parameters),       
array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param addTenant $parameters
+   * @return addTenantResponse
+   */
+  public function addTenant(addTenant $parameters) {
+    return $this->__soapCall('addTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param retrievePaginatedPartialSearchTenants $parameters
+   * @return retrievePaginatedPartialSearchTenantsResponse
+   */
+  public function 
retrievePaginatedPartialSearchTenants(retrievePaginatedPartialSearchTenants 
$parameters) {
+    return $this->__soapCall('retrievePaginatedPartialSearchTenants', 
array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param activateTenant $parameters
+   * @return void
+   */
+  public function activateTenant(activateTenant $parameters) {
+    return $this->__soapCall('activateTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+  /**
+   *  
+   *
+   * @param deleteTenant $parameters
+   * @return void
+   */
+  public function deleteTenant(deleteTenant $parameters) {
+    return $this->__soapCall('deleteTenant', array($parameters),       array(
+            'uri' => 'http://services.mgt.tenant.carbon.wso2.org',
+            'soapaction' => ''
+           )
+      );
+  }
+
+}
+
+?>

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3ca02155/app/libraries/Wsis/Stubs/UserStoreManager.php
----------------------------------------------------------------------
diff --git a/app/libraries/Wsis/Stubs/UserStoreManager.php 
b/app/libraries/Wsis/Stubs/UserStoreManager.php
new file mode 100755
index 0000000..6fa719d
--- /dev/null
+++ b/app/libraries/Wsis/Stubs/UserStoreManager.php
@@ -0,0 +1,203 @@
+<?php
+namespace Wsis\Stubs;
+
+use Wsis\Stubs\UserStoreManagerStub;
+
+/**
+ * UsersStoreManager class
+ * 
+ * This class provide an easy to use interface for
+ * WSO2 IS 5.0.0 RemoteUserStoreManager service.
+ */
+class UserStoreManager {
+    /**
+     * @var RemoteUserManagerStub $serviceStub
+     * @access private
+     */
+    private $serviceStub;
+
+    public function __construct($server_url, $options) {
+        $this->serviceStub = new UserStoreManagerStub(
+                $server_url . "RemoteUserStoreManagerService?wsdl", $options
+        );
+    }
+    
+    /**
+     * Function to get the soap client
+     * 
+     * @return SoapClient
+     */
+    public function getSoapClient(){
+        return $this->serviceStub;
+    }
+    
+    /**
+     * Function to authenticate the user with RemoteUserStoreManager Service
+     * @param type $username
+     * @param type $password
+     */
+    public function authenticate($username, $password){
+        $parameters = new Authenticate();
+        $parameters->userName = $username;
+        $parameters->credential = $password;        
+        return $this->serviceStub->authenticate($parameters)->return;
+    }
+    
+    /**
+     * Function to add new user by providing username and password
+     * 
+     * @param type $userName
+     * @param type $password
+     */
+    public function addUser($userName, $password, $fullName){
+        $parameters = new AddUser();
+        $parameters->userName = $userName;
+        $parameters->credential = $password;
+        $parameters->claims = null;
+        $parameters->profileName = $fullName;
+        $parameters->requirePasswordChange = false;
+        $parameters->roleList = null;
+        $this->serviceStub->addUser($parameters);
+    }
+    /**
+     * Function to delete existing user by providing the username.
+     * 
+     * @param string $username
+     */
+    public function deleteUser($username){
+        $parameters = new DeleteUser();
+        $parameters->userName = $username;
+        $this->serviceStub->deleteUser($parameters);
+    }
+    
+    /**
+     * Function to check whether a role is existing 
+     *
+     * @param string $roleName 
+     * @return IsExistingRoleResponse
+     */
+    public function isExistingRole( $roleName) {
+        $parameters = new IsExistingRole();
+        $parameters->roleName = $roleName;
+        $this->serviceStub->isExistingRole( $parameters)->return;
+    }
+    /**
+     * Function to add new role by providing the role name.
+     * 
+     * @param string $roleName
+     */
+    public function addRole($roleName){
+        $paramerters = new AddRole();
+        $paramerters->roleName=$roleName;
+        $paramerters->userList=null;
+        $paramerters->permissions=null;
+        $this->serviceStub->addRole($paramerters);
+    }
+    
+    /**
+     * Function to delete an existing role
+     * 
+     * @param string $roleName
+     */
+    public function deleteRole($roleName){
+        $parameters = new DeleteRole();
+        $parameters->roleName = $roleName;
+        $this->serviceStub->deleteRole($parameters);
+    }
+    
+    /**
+     * Function to get a list of users
+     * 
+     * @return username list
+     */
+    public function listUsers(){
+        $parameters = new ListUsers();
+        $parameters->filter = "*";
+        $parameters->maxItemLimit = -1;
+        
+        return $this->serviceStub->listUsers($parameters)->return;
+    }
+
+     /**
+     * Function get user list
+     *
+     * @param GetUserList $parameters
+     * @return GetUserListResponse
+     */
+     public function getUserList(){
+        $parameters = new GetUserList();
+    }
+
+        
+    /**
+     * Function to check whether the given username already exists
+     * 
+     * @param string $username
+     * @return boolean
+     */
+    public function isExistingUser($username) {
+        $parameters = new IsExistingUser();
+        $parameters->userName = $username;
+        
+        return $this->serviceStub->isExistingUser($parameters)->return;
+    }
+
+    /**
+    * Function to get the list of all existing roles
+    *
+    * @return roles list
+    */
+    public function getRoleNames( $parameters = null){
+        $parameters = new GetRoleNames();
+        return $this->serviceStub->getRoleNames( $parameters)->return;
+    }
+
+    /**
+    * Function to get role of a user
+    *
+    * @return User Role
+    */
+    public function getRoleListOfUser( $username){
+        $parameters = new GetRoleListOfUser();
+        $parameters->userName = $username;
+        return $this->serviceStub->GetRoleListOfUser( $parameters)->return;
+    }
+
+    /**
+     * Function to get the user list of role
+     *
+     * @param GetUserListOfRole $parameters
+     * @return GetUserListOfRoleResponse
+     */
+    public function getUserListOfRole( $roleName){
+        $parameters = new GetUserListOfRole();
+        $parameters->roleName = $roleName;
+        return $this->serviceStub->getUserListOfRole( $parameters);
+    }
+    
+    /**
+     * Function to update role list of user 
+     *
+     * @param UpdateRoleListOfUser $parameters
+     * @return void
+     */
+    public function updateRoleListOfUser( $username, $roles){
+        $parameters = new UpdateRoleListOfUser();
+        $parameters->userName = $username;
+        $parameters->deletedRoles = $roles["deleted"];
+        $parameters->newRoles = $roles["new"];
+        return $this->serviceStub->updateRoleListOfUser( $parameters);
+    }
+
+    /**
+     * Function to get the tenant id
+     *
+     * @param GetTenantId $parameters
+     * @return GetTenantIdResponse
+     */
+    public function getTenantId(){
+        $parameters = new GetTenantId();
+
+        return $this->serviceStub->getTenantId( $parameters);
+    }
+}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/3ca02155/app/libraries/Wsis/Stubs/UserStoreManagerStub.php
----------------------------------------------------------------------
diff --git a/app/libraries/Wsis/Stubs/UserStoreManagerStub.php 
b/app/libraries/Wsis/Stubs/UserStoreManagerStub.php
new file mode 100755
index 0000000..d7210b1
--- /dev/null
+++ b/app/libraries/Wsis/Stubs/UserStoreManagerStub.php
@@ -0,0 +1,1570 @@
+<?php
+namespace Wsis\Stubs;
+use SoapClient;
+
+/**
+ * This file contains the DTOs and the method stubs for
+ * WSO2 IS 4.6.0 RemoteUserStoreManger service.
+ */
+
+class ClaimDTO {
+
+    /**
+     * @var string $claimUri
+     * @access public
+     */
+    public $claimUri;
+
+    /**
+     * @var string $description
+     * @access public
+     */
+    public $description;
+
+    /**
+     * @var string $dialectURI
+     * @access public
+     */
+    public $dialectURI;
+
+    /**
+     * @var int $displayOrder
+     * @access public
+     */
+    public $displayOrder;
+
+    /**
+     * @var string $displayTag
+     * @access public
+     */
+    public $displayTag;
+
+    /**
+     * @var string $regEx
+     * @access public
+     */
+    public $regEx;
+
+    /**
+     * @var boolean $required
+     * @access public
+     */
+    public $required;
+
+    /**
+     * @var boolean $supportedByDefault
+     * @access public
+     */
+    public $supportedByDefault;
+
+    /**
+     * @var string $value
+     * @access public
+     */
+    public $value;
+
+}
+
+class PermissionDTO {
+
+    /**
+     * @var string $action
+     * @access public
+     */
+    public $action;
+
+    /**
+     * @var string $resourceId
+     * @access public
+     */
+    public $resourceId;
+
+}
+
+class Tenant {
+
+    /**
+     * @var boolean $active
+     * @access public
+     */
+    public $active;
+
+    /**
+     * @var string $adminFirstName
+     * @access public
+     */
+    public $adminFirstName;
+
+    /**
+     * @var string $adminFullName
+     * @access public
+     */
+    public $adminFullName;
+
+    /**
+     * @var string $adminLastName
+     * @access public
+     */
+    public $adminLastName;
+
+    /**
+     * @var string $adminName
+     * @access public
+     */
+    public $adminName;
+
+    /**
+     * @var string $adminPassword
+     * @access public
+     */
+    public $adminPassword;
+
+    /**
+     * @var string $createdDate YYYY-MM-DD
+     * @access public
+     */
+    public $createdDate;
+
+    /**
+     * @var string $domain
+     * @access public
+     */
+    public $domain;
+
+    /**
+     * @var string $email
+     * @access public
+     */
+    public $email;
+
+    /**
+     * @var int $id
+     * @access public
+     */
+    public $id;
+
+    /**
+     * @var RealmConfiguration $realmConfig
+     * @access public
+     */
+    public $realmConfig;
+
+}
+
+class RealmConfiguration {
+
+    /**
+     * @var string $addAdmin
+     * @access public
+     */
+    public $addAdmin;
+
+    /**
+     * @var string $adminPassword
+     * @access public
+     */
+    public $adminPassword;
+
+    /**
+     * @var string $adminRoleName
+     * @access public
+     */
+    public $adminRoleName;
+
+    /**
+     * @var string $adminUserName
+     * @access public
+     */
+    public $adminUserName;
+
+    /**
+     * @var string $authorizationManagerClass
+     * @access public
+     */
+    public $authorizationManagerClass;
+
+    /**
+     * @var string $authzProperties
+     * @access public
+     */
+    public $authzProperties;
+
+    /**
+     * @var string $description
+     * @access public
+     */
+    public $description;
+
+    /**
+     * @var string $everyOneRoleName
+     * @access public
+     */
+    public $everyOneRoleName;
+
+    /**
+     * @var string $multipleCredentialProps
+     * @access public
+     */
+    public $multipleCredentialProps;
+
+    /**
+     * @var boolean $passwordsExternallyManaged
+     * @access public
+     */
+    public $passwordsExternallyManaged;
+
+    /**
+     * @var string $persistedTimestamp YYYY-MM-DD
+     * @access public
+     */
+    public $persistedTimestamp;
+
+    /**
+     * @var boolean $primary
+     * @access public
+     */
+    public $primary;
+
+    /**
+     * @var string $realmClassName
+     * @access public
+     */
+    public $realmClassName;
+
+    /**
+     * @var string $realmProperties
+     * @access public
+     */
+    public $realmProperties;
+
+    /**
+     * @var RealmConfiguration $secondaryRealmConfig
+     * @access public
+     */
+    public $secondaryRealmConfig;
+
+    /**
+     * @var int $tenantId
+     * @access public
+     */
+    public $tenantId;
+
+    /**
+     * @var string $userStoreClass
+     * @access public
+     */
+    public $userStoreClass;
+
+    /**
+     * @var string $userStoreProperties
+     * @access public
+     */
+    public $userStoreProperties;
+
+}
+
+class ClaimValue {
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $value
+     * @access public
+     */
+    public $value;
+
+}
+
+class AddUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var ClaimValue $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValuesForClaims {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValuesForClaimsResponse {
+
+    /**
+     * @var ClaimValue $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetTenantIdofUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $username;
+
+}
+
+class GetTenantIdofUserResponse {
+
+    /**
+     * @var int $return
+     * @access public
+     */
+    public $return; // int
+
+}
+
+class AddUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $claimValue
+     * @access public
+     */
+    public $claimValue;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValuesResponse {
+
+    /**
+     * @var ClaimDTO $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetTenantId {
+    
+}
+
+class GetTenantIdResponse {
+
+    /**
+     * @var int $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class AddUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $credential
+     * @access public
+     */
+    public $credential;
+
+    /**
+     * @var string $roleList
+     * @access public
+     */
+    public $roleList;
+
+    /**
+     * @var ClaimValue $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+    /**
+     * @var boolean $requiredPasswordChange
+     * @access public
+     */
+    public $requirePasswordChange;
+
+}
+
+class AddRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+    /**
+     * @var string $userList
+     * @access public
+     */
+    public $userList;
+
+    /**
+     * @var PermissionDTO $permissions
+     * @access public
+     */
+    public $permissions;
+
+}
+
+class GetUserList {
+
+    /**
+     * @var string $claimUri
+     * @access public
+     */
+    public $claimUri;
+
+    /**
+     * @var string $claimValue
+     * @access public
+     */
+    public $claimValue;
+
+    /**
+     * @var string $profile
+     * @access public
+     */
+    public $profile;
+
+}
+
+class GetUserListResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UpdateCredential {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $newCredential
+     * @access public
+     */
+    public $newCredential;
+
+    /**
+     * @var string $oldCredential
+     * @access public
+     */
+    public $oldCredential;
+
+}
+
+class UpdateUserListOfRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+    /**
+     * @var string $deletedUsers
+     * @access public
+     */
+    public $deletedUsers;
+
+    /**
+     * @var string $newUsers
+     * @access public
+     */
+    public $newUsers;
+
+}
+
+class UpdateRoleListOfUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $deletedRoles
+     * @access public
+     */
+    public $deletedRoles;
+
+    /**
+     * @var string $newRoles
+     * @access public
+     */
+    public $newRoles;
+
+}
+
+class SetUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $claimValue
+     * @access public
+     */
+    public $claimValue;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class SetUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var ClaimValue $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class DeleteUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claimURI
+     * @access public
+     */
+    public $claimURI;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class DeleteUserClaimValues {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claims
+     * @access public
+     */
+    public $claims;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetHybridRoles {
+    
+}
+
+class GetHybridRolesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetPasswordExpirationTime {
+
+    /**
+     * @var string $username
+     * @access public
+     */
+    public $username;
+
+}
+
+class GetPasswordExpirationTimeResponse {
+
+    /**
+     * @var long $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UpdateRoleName {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+    /**
+     * @var string $newRoleName
+     * @access public
+     */
+    public $newRoleName;
+
+}
+
+class ListUsers {
+
+    /**
+     * @var string $filter
+     * @access public
+     */
+    public $filter;
+
+    /**
+     * @var int $maxItemLimit
+     * @access public
+     */
+    public $maxItemLimit;
+
+}
+
+class ListUsersResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class IsExistingUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class IsExistingUserResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class IsExistingRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+}
+
+class IsExistingRoleResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetRoleNames {
+    
+}
+
+class GetRoleNamesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetProfileNames {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class GetProfileNamesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetUserListOfRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+}
+
+class GetUserListOfRoleResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetUserClaimValue {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $claim
+     * @access public
+     */
+    public $claim;
+
+    /**
+     * @var string $profileName
+     * @access public
+     */
+    public $profileName;
+
+}
+
+class GetUserClaimValueResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetAllProfileNames {
+    
+}
+
+class GetAllProfileNamesResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UpdateCredentialByAdmin {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $newCredential
+     * @access public
+     */
+    public $newCredential;
+
+}
+
+class DeleteUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class DeleteRole {
+
+    /**
+     * @var string $roleName
+     * @access public
+     */
+    public $roleName;
+
+}
+
+class GetUserId {
+
+    /**
+     * @var string $username
+     * @access public
+     */
+    public $username;
+
+}
+
+class GetUserIdResponse {
+
+    /**
+     * @var int $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetRoleListOfUser {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+}
+
+class getRoleListOfUserResponse {
+
+    /**
+     * @var string $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class GetProperties {
+
+    /**
+     * @var Tenant $tenant
+     * @access public
+     */
+    public $tenant;
+
+}
+
+class GetPropertiesResponse {
+
+    /**
+     * @var Array<string> $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class IsReadOnly {
+    
+}
+
+class IsReadOnlyResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class Authenticate {
+
+    /**
+     * @var string $userName
+     * @access public
+     */
+    public $userName;
+
+    /**
+     * @var string $credential
+     * @access public
+     */
+    public $credential;
+
+}
+
+class AuthenticateResponse {
+
+    /**
+     * @var boolean $return
+     * @access public
+     */
+    public $return;
+
+}
+
+class UserStoreException {
+    
+}
+
+/**
+ * UserStoreManagerService class
+ * 
+ */
+class UserStoreManagerStub extends SoapClient {
+
+    private static $classmap = array(
+        'ClaimDTO' => 'ClaimDTO',
+        'PermissionDTO' => 'PermissionDTO',
+        'Tenant' => 'Tenant',
+        'RealmConfiguration' => 'RealmConfiguration',
+        'ClaimValue' => 'ClaimValue',
+        'addUserClaimValues' => 'AddUserClaimValues',
+        'getUserClaimValuesForClaims' => 'GetUserClaimValuesForClaims',
+        'getUserClaimValuesForClaimsResponse' => 
'GetUserClaimValuesForClaimsResponse',
+        'getTenantIdofUser' => 'GetTenantIdofUser',
+        'getTenantIdofUserResponse' => 'GetTenantIdofUserResponse',
+        'addUserClaimValue' => 'AddUserClaimValue',
+        'getUserClaimValues' => 'GetUserClaimValues',
+        'getUserClaimValuesResponse' => 'GetUserClaimValuesResponse',
+        'getTenantId' => 'GetTenantId',
+        'getTenantIdResponse' => 'GetTenantIdResponse',
+        'addUser' => 'AddUser',
+        'addRole' => 'AddRole',
+        'getUserList' => 'GetUserList',
+        'getUserListResponse' => 'GetUserListResponse',
+        'updateCredential' => 'UpdateCredential',
+        'updateUserListOfRole' => 'UpdateUserListOfRole',
+        'updateRoleListOfUser' => 'UpdateRoleListOfUser',
+        'setUserClaimValue' => 'SetUserClaimValue',
+        'setUserClaimValues' => 'SetUserClaimValues',
+        'deleteUserClaimValue' => 'DeleteUserClaimValue',
+        'deleteUserClaimValues' => 'DeleteUserClaimValues',
+        'getHybridRoles' => 'GetHybridRoles',
+        'getHybridRolesResponse' => 'GetHybridRolesResponse',
+        'getPasswordExpirationTime' => 'GetPasswordExpirationTime',
+        'getPasswordExpirationTimeResponse' => 
'GetPasswordExpirationTimeResponse',
+        'updateRoleName' => 'UpdateRoleName',
+        'listUsers' => 'ListUsers',
+        'listUsersResponse' => 'ListUsersResponse',
+        'isExistingUser' => 'IsExistingUser',
+        'isExistingUserResponse' => 'IsExistingUserResponse',
+        'isExistingRole' => 'IsExistingRole',
+        'isExistingRoleResponse' => 'IsExistingRoleResponse',
+        'getRoleNames' => 'GetRoleNames',
+        'getRoleNamesResponse' => 'GetRoleNamesResponse',
+        'getProfileNames' => 'GetProfileNames',
+        'getProfileNamesResponse' => 'GetProfileNamesResponse',
+        'getUserListOfRole' => 'GetUserListOfRole',
+        'getUserListOfRoleResponse' => 'GetUserListOfRoleResponse',
+        'getUserClaimValue' => 'GetUserClaimValue',
+        'getUserClaimValueResponse' => 'GetUserClaimValueResponse',
+        'getAllProfileNames' => 'GetAllProfileNames',
+        'getAllProfileNamesResponse' => 'GetAllProfileNamesResponse',
+        'updateCredentialByAdmin' => 'UpdateCredentialByAdmin',
+        'deleteUser' => 'DeleteUser',
+        'deleteRole' => 'DeleteRole',
+        'getUserId' => 'GetUserId',
+        'getUserIdResponse' => 'GetUserIdResponse',
+        'getRoleListOfUser' => 'GetRoleListOfUser',
+        'getRoleListOfUserResponse' => 'GetRoleListOfUserResponse',
+        'getProperties' => 'GetProperties',
+        'getPropertiesResponse' => 'GetPropertiesResponse',
+        'isReadOnly' => 'IsReadOnly',
+        'isReadOnlyResponse' => 'IsReadOnlyResponse',
+        'authenticate' => 'Authenticate',
+        'authenticateResponse' => 'AuthenticateResponse',
+        'Tenant' => 'Tenant'
+    );
+
+    public function RemoteUserStoreManagerStub($wsdl, $options = array()) {
+        foreach (self::$classmap as $key => $value) {
+            if (!isset($options['classmap'][$key])) {
+                $options['classmap'][$key] = $value;
+            }
+        }
+        parent::__construct($wsdl, $options);
+    }
+
+    /**
+     * Function to authenticate 
+     *
+     * @param Authenticate $parameters
+     * @return AuthenticateResponse
+     */
+    public function authenticate(Authenticate $parameters) {
+        return $this->__soapCall('authenticate', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function get user list
+     *
+     * @param GetUserList $parameters
+     * @return GetUserListResponse
+     */
+    public function getUserList(GetUserList $parameters) {
+        return $this->__soapCall('getUserList', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the user claim value
+     *
+     * @param GetUserClaimValue $parameters
+     * @return GetUserClaimValueResponse
+     */
+    public function getUserClaimValue(GetUserClaimValue $parameters) {
+        return $this->__soapCall('getUserClaimValue', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the user list of role
+     *
+     * @param GetUserListOfRole $parameters
+     * @return GetUserListOfRoleResponse
+     */
+    public function getUserListOfRole(GetUserListOfRole $parameters) {
+        return $this->__soapCall('getUserListOfRole', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to check whether the service is read only 
+     *
+     * @param IsReadOnly $parameters
+     * @return IsReadOnlyResponse
+     */
+    public function isReadOnly(IsReadOnly $parameters) {
+        return $this->__soapCall('isReadOnly', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update the credentials
+     *
+     * @param UpdateCredential $parameters
+     * @return void
+     */
+    public function updateCredential(UpdateCredential $parameters) {
+        return $this->__soapCall('updateCredential', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to set user claim value 
+     *
+     * @param SetUserClaimValue $parameters
+     * @return void
+     */
+    public function setUserClaimValue(setUserClaimValue $parameters) {
+        return $this->__soapCall('setUserClaimValue', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the claim values for claims
+     *
+     * @param GetUserClaimValuesForClaims $parameters
+     * @return GetUserClaimValuesForClaimsResponse
+     */
+    public function getUserClaimValuesForClaims(GetUserClaimValuesForClaims 
$parameters) {
+        return $this->__soapCall('getUserClaimValuesForClaims', 
array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete user claim values 
+     *
+     * @param DeleteUserClaimValues $parameters
+     * @return void
+     */
+    public function deleteUserClaimValues(DeleteUserClaimValues $parameters) {
+        return $this->__soapCall('deleteUserClaimValues', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete user claim value 
+     *
+     * @param DeleteUserClaimValue $parameters
+     * @return void
+     */
+    public function deleteUserClaimValue(DeleteUserClaimValue $parameters) {
+        return $this->__soapCall('deleteUserClaimValue', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to check whether use is existing 
+     *
+     * @param IsExistingUser $parameters
+     * @return IsExistingUserResponse
+     */
+    public function isExistingUser(IsExistingUser $parameters) {
+        return $this->__soapCall('isExistingUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update credential by admin
+     *
+     * @param UpdateCredentialByAdmin $parameters
+     * @return void
+     */
+    public function updateCredentialByAdmin(UpdateCredentialByAdmin 
$parameters) {
+        return $this->__soapCall('updateCredentialByAdmin', 
array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the tenant id
+     *
+     * @param GetTenantId $parameters
+     * @return GetTenantIdResponse
+     */
+    public function getTenantId(GetTenantId $parameters) {
+        return $this->__soapCall('getTenantId', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get role names 
+     *
+     * @param GetRoleNames $parameters
+     * @return GetRoleNamesResponse
+     */
+    public function getRoleNames(GetRoleNames $parameters) {
+        return $this->__soapCall('getRoleNames', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Funtion to get properties
+     *
+     * @param GetProperties $parameters
+     * @return GetPropertiesResponse
+     */
+    public function getProperties(GetProperties $parameters) {
+        return $this->__soapCall('getProperties', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get user id
+     *
+     * @param GetUserId $parameters
+     * @return GetUserIdResponse
+     */
+    public function getUserId(GetUserId $parameters) {
+        return $this->__soapCall('getUserId', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get all the profile names  
+     *
+     * @param GetAllProfileNames $parameters
+     * @return GetAllProfileNamesResponse
+     */
+    public function getAllProfileNames(GetAllProfileNames $parameters) {
+        return $this->__soapCall('getAllProfileNames', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the password expiration time 
+     *
+     * @param GetPasswordExpirationTime $parameters
+     * @return GetPasswordExpirationTimeResponse
+     */
+    public function getPasswordExpirationTime(GetPasswordExpirationTime 
$parameters) {
+        return $this->__soapCall('getPasswordExpirationTime', 
array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to list users
+     *
+     * @param ListUsers $parameters
+     * @return ListUsersResponse
+     */
+    public function listUsers(ListUsers $parameters) {
+        return $this->__soapCall('listUsers', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete role 
+     *
+     * @param DeleteRole $parameters
+     * @return void
+     */
+    public function deleteRole(DeleteRole $parameters) {
+        return $this->__soapCall('deleteRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to delete user 
+     *
+     * @param DeleteUser $parameters
+     * @return void
+     */
+    public function deleteUser(DeleteUser $parameters) {
+        return $this->__soapCall('deleteUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function get the role list of the user 
+     *
+     * @param GetRoleListOfUser $parameters
+     * @return GetRoleListOfUserResponse
+     */
+    public function getRoleListOfUser(GetRoleListOfUser $parameters) {
+        return $this->__soapCall('getRoleListOfUser', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update the role name
+     *
+     * @param UpdateRoleName $parameters
+     * @return void
+     */
+    public function updateRoleName(UpdateRoleName $parameters) {
+        return $this->__soapCall('updateRoleName', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to check whether a role is existing 
+     *
+     * @param IsExistingRole $parameters
+     * @return IsExistingRoleResponse
+     */
+    public function isExistingRole(IsExistingRole $parameters) {
+        return $this->__soapCall('isExistingRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update role list of user 
+     *
+     * @param UpdateRoleListOfUser $parameters
+     * @return void
+     */
+    public function updateRoleListOfUser(UpdateRoleListOfUser $parameters) {
+        return $this->__soapCall('updateRoleListOfUser', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get user claim values 
+     *
+     * @param GetUserClaimValues $parameters
+     * @return GetUserClaimValuesResponse
+     */
+    public function getUserClaimValues(GetUserClaimValues $parameters) {
+        return $this->__soapCall('getUserClaimValues', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get hybrid roles
+     *
+     * @param GetHybridRoles $parameters
+     * @return GetHybridRolesResponse
+     */
+    public function getHybridRoles(GetHybridRoles $parameters) {
+        return $this->__soapCall('getHybridRoles', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add user claim values 
+     *
+     * @param AddUserClaimValues $parameters
+     * @return void
+     */
+    public function addUserClaimValues(AddUserClaimValues $parameters) {
+        return $this->__soapCall('addUserClaimValues', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add user 
+     *
+     * @param AddUser $parameters
+     * @return void
+     */
+    public function addUser(AddUser $parameters) {
+        return $this->__soapCall('addUser', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add role 
+     *
+     * @param AddRole $parameters
+     * @return void
+     */
+    public function addRole(AddRole $parameters) {
+        return $this->__soapCall('addRole', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to update user list of roles 
+     *
+     * @param UpdateUserListOfRole $parameters
+     * @return void
+     */
+    public function updateUserListOfRole(UpdateUserListOfRole $parameters) {
+        return $this->__soapCall('updateUserListOfRole', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the tenant Id 
+     *
+     * @param GetTenantIdofUser $parameters
+     * @return GetTenantIdofUserResponse
+     */
+    public function getTenantIdofUser(GetTenantIdofUser $parameters) {
+        return $this->__soapCall('getTenantIdofUser', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to set user claim values 
+     *
+     * @param SetUserClaimValues $parameters
+     * @return void
+     */
+    public function setUserClaimValues(SetUserClaimValues $parameters) {
+        return $this->__soapCall('setUserClaimValues', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to add user claim value 
+     *
+     * @param AddUserClaimValue $parameters
+     * @return void
+     */
+    public function addUserClaimValue(AddUserClaimValue $parameters) {
+        return $this->__soapCall('addUserClaimValue', array($parameters), 
array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+    /**
+     * Function to get the profile names
+     *
+     * @param GetProfileNames $parameters
+     * @return GetProfileNamesResponse
+     */
+    public function getProfileNames(GetProfileNames $parameters) {
+        return $this->__soapCall('getProfileNames', array($parameters), array(
+                    'uri' => 'http://service.ws.um.carbon.wso2.org',
+                    'soapaction' => ''
+        ));
+    }
+
+}
+
+?>

Reply via email to