Hello,
I have webservice created with Axis 1.2.1 and that I am trying to consuming in .NET (VB) using the Microsoft provided tools. While I am able to consume methods on the service that return simple type, I cannot consume methods that return complex objects. I have tried experimenting, with this, but am at a bit of loss on where the problem lies. When I call the services from a browser, I do get back the response that contains valid data. Any help on this would be greatly appreciated. I have attached supporting files. For the purpose of an example, I am using the getLogin method.
Thanks in advance.
Leslie
Start your day with Yahoo! - make it your home page
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://localhost:9082/axis/services/AuthLogin" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:9082/axis/services/AuthLogin" xmlns:intf="http://localhost:9082/axis/services/AuthLogin" xmlns:tns1="urn:AuthLogin" xmlns:tns2="http://security.ws.diamelle" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.2.1 Built on Jun 14, 2005 (09:15:57 EDT)--> <wsdl:types> <schema elementFormDefault="qualified" targetNamespace="urn:AuthLogin" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://xml.apache.org/xml-soap"/> <import namespace="http://localhost:9082/axis/services/AuthLogin"/> <element name="authenticate"> <complexType> <sequence> <element name="serviceId" type="xsd:string"/> <element name="login" type="xsd:string"/> <element name="password" type="xsd:string"/> </sequence> </complexType> </element> <element name="authenticateResponse"> <complexType> <sequence> <element name="authenticateResponse" type="tns1:SSOSubject"/> </sequence> </complexType> </element> <complexType name="SSOSubject"> <sequence> <element name="authenticatingAuthority" nillable="true" type="xsd:string"/> <element name="entitlements" nillable="true" type="impl:ArrayOf_xsd_anyType"/> <element name="expirationTime" type="xsd:long"/> <element name="permissions" nillable="true" type="impl:ArrayOf_xsd_anyType"/> <element name="principals" nillable="true" type="impl:ArrayOf_xsd_anyType"/> <element name="privateCredentials" nillable="true" type="impl:ArrayOf_xsd_anyType"/> <element name="publicCredentials" nillable="true" type="impl:ArrayOf_xsd_anyType"/> <element name="readOnly" type="xsd:boolean"/> <element name="userACLs" nillable="true" type="impl:ArrayOf_xsd_anyType"/> <element name="userGroups" nillable="true" type="impl:ArrayOf_xsd_anyType"/> <element name="userId" nillable="true" type="xsd:string"/> <element name="userRoles" nillable="true" type="impl:ArrayOf_xsd_anyType"/> </sequence> </complexType> <element name="getUserId"> <complexType> <sequence> <element name="serviceId" type="xsd:string"/> <element name="login" type="xsd:string"/> <element name="password" type="xsd:string"/> </sequence> </complexType> </element> <element name="getUserIdResponse"> <complexType> <sequence> <element name="getUserIdResponse" type="xsd:string"/> </sequence> </complexType> </element> <element name="autoResetPassword"> <complexType> <sequence> <element name="serviceId" type="xsd:string"/> <element name="login" type="xsd:string"/> </sequence> </complexType> </element> <element name="autoResetPasswordResponse"> <complexType> <sequence> <element name="autoResetPasswordResponse" type="xsd:string"/> </sequence> </complexType> </element> <element name="getLogin"> <complexType> <sequence> <element name="serviceId" type="xsd:string"/> <element name="login" type="xsd:string"/> </sequence> </complexType> </element> <element name="getLoginResponse"> <complexType> <sequence> <element name="getLoginResponse" type="tns1:WSLoginValue"/> </sequence> </complexType> </element> <complexType name="WSLoginValue"> <sequence> <element name="authFailureCount" type="xsd:int"/> <element name="changePassword" nillable="true" type="xsd:dateTime"/> <element name="createDate" nillable="true" type="xsd:dateTime"/> <element name="createdBy" nillable="true" type="xsd:string"/> <element name="currentLoginHost" nillable="true" type="xsd:string"/> <element name="gracePeriodExp" nillable="true" type="xsd:dateTime"/> <element name="guest" type="xsd:boolean"/> <element name="lastAuthAttempt" nillable="true" type="xsd:dateTime"/> <element name="locked" type="xsd:boolean"/> <element name="login" nillable="true" type="xsd:string"/> <element name="newUser" type="xsd:boolean"/> <element name="password" nillable="true" type="xsd:string"/> <element name="passwordEquivalentToken" nillable="true" type="xsd:string"/> <element name="passwordExp" nillable="true" type="xsd:dateTime"/> <element name="resetPassword" type="xsd:boolean"/> <element name="service" nillable="true" type="xsd:string"/> <element name="status" nillable="true" type="xsd:string"/> <element name="token" nillable="true" type="xsd:string"/> <element name="userId" nillable="true" type="xsd:string"/> </sequence> </complexType> <element name="removeLogin"> <complexType> <sequence> <element name="serviceId" type="xsd:string"/> <element name="loginId" type="xsd:string"/> </sequence> </complexType> </element> <element name="removeLoginResponse"> <complexType/> </element> <element name="getAllLogins"> <complexType> <sequence> <element name="userId" type="xsd:string"/> </sequence> </complexType> </element> <element name="getAllLoginsResponse"> <complexType> <sequence> <element name="getAllLoginsResponse" type="tns1:ArrayOfSSOPrincipal"/> </sequence> </complexType> </element> <complexType name="ArrayOfSSOPrincipal"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/> </sequence> </complexType> <element name="getPrincipals"> <complexType> <sequence> <element name="userId" type="xsd:string"/> </sequence> </complexType> </element> <element name="getPrincipalsResponse"> <complexType> <sequence> <element name="getPrincipalsReturn" type="tns1:ArrayOfSSOPrincipal"/> </sequence> </complexType> </element> </schema> <schema elementFormDefault="qualified" targetNamespace="http://localhost:9082/axis/services/AuthLogin" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://xml.apache.org/xml-soap"/> <import namespace="urn:AuthLogin"/> <complexType name="ArrayOf_xsd_anyType"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/> </sequence> </complexType> </schema> <schema elementFormDefault="qualified" targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="urn:AuthLogin"/> <import namespace="http://localhost:9082/axis/services/AuthLogin"/> <complexType name="Vector"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type="xsd:anyType"/> </sequence> </complexType> </schema> <schema elementFormDefault="qualified" targetNamespace="http://security.ws.diamelle" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://xml.apache.org/xml-soap"/> <import namespace="urn:AuthLogin"/> <import namespace="http://localhost:9082/axis/services/AuthLogin"/> <element name="authenticateToken"> <complexType> <sequence> <element name="userId" type="xsd:string"/> <element name="token" type="xsd:string"/> </sequence> </complexType> </element> <element name="authenticateTokenResponse"> <complexType> <sequence> <element name="authenticateTokenReturn" type="tns1:SSOSubject"/> </sequence> </complexType> </element> <element name="logout"> <complexType> <sequence> <element name="userId" type="xsd:string"/> </sequence> </complexType> </element> <element name="logoutResponse"> <complexType/> </element> <element name="addLogin"> <complexType> <sequence> <element name="loginValue" type="tns1:WSLoginValue"/> </sequence> </complexType> </element> <element name="addLoginResponse"> <complexType/> </element> <element name="updateLogin"> <complexType> <sequence> <element name="lv" type="tns1:WSLoginValue"/> </sequence> </complexType> </element> <element name="updateLoginResponse"> <complexType/> </element> <element name="encrypt"> <complexType> <sequence> <element name="clearText" type="xsd:string"/> </sequence> </complexType> </element> <element name="encryptResponse"> <complexType> <sequence> <element name="encryptReturn" type="xsd:string"/> </sequence> </complexType> </element> <element name="decrypt"> <complexType> <sequence> <element name="token" type="xsd:string"/> </sequence> </complexType> </element> <element name="decryptResponse"> <complexType> <sequence> <element name="decryptReturn" type="xsd:string"/> </sequence> </complexType> </element> </schema> </wsdl:types>
<wsdl:message name="authenticateTokenRequest">
<wsdl:part element="tns2:authenticateToken" name="parameters"/>
</wsdl:message>
<wsdl:message name="logoutRequest">
<wsdl:part element="tns2:logout" name="parameters"/>
</wsdl:message>
<wsdl:message name="updateLoginRequest">
<wsdl:part element="tns2:updateLogin" name="parameters"/>
</wsdl:message>
<wsdl:message name="decryptRequest">
<wsdl:part element="tns2:decrypt" name="parameters"/>
</wsdl:message>
<wsdl:message name="removeLoginResponse">
<wsdl:part element="tns1:removeLoginResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="authenticateTokenResponse">
<wsdl:part element="tns2:authenticateTokenResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getLoginRequest">
<wsdl:part element="tns1:getLogin" name="parameters"/>
</wsdl:message>
<wsdl:message name="logoutResponse">
<wsdl:part element="tns2:logoutResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="encryptResponse">
<wsdl:part element="tns2:encryptResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getUserIdRequest">
<wsdl:part element="tns1:getUserId" name="parameters"/>
</wsdl:message>
<wsdl:message name="authenticateRequest">
<wsdl:part element="tns1:authenticate" name="parameters"/>
</wsdl:message>
<wsdl:message name="addLoginRequest">
<wsdl:part element="tns2:addLogin" name="parameters"/>
</wsdl:message>
<wsdl:message name="getPrincipalsResponse">
<wsdl:part element="tns1:getPrincipalsResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="autoResetPasswordRequest">
<wsdl:part element="tns1:autoResetPassword" name="parameters"/>
</wsdl:message>
<wsdl:message name="encryptRequest">
<wsdl:part element="tns2:encrypt" name="parameters"/>
</wsdl:message>
<wsdl:message name="getAllLoginsResponse">
<wsdl:part element="tns1:getAllLoginsResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="addLoginResponse">
<wsdl:part element="tns2:addLoginResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getPrincipalsRequest">
<wsdl:part element="tns1:getPrincipals" name="parameters"/>
</wsdl:message>
<wsdl:message name="autoResetPasswordResponse">
<wsdl:part element="tns1:autoResetPasswordResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getLoginResponse">
<wsdl:part element="tns1:getLoginResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getUserIdResponse">
<wsdl:part element="tns1:getUserIdResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="removeLoginRequest">
<wsdl:part element="tns1:removeLogin" name="parameters"/>
</wsdl:message>
<wsdl:message name="updateLoginResponse">
<wsdl:part element="tns2:updateLoginResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="authenticateResponse">
<wsdl:part element="tns1:authenticateResponse" name="parameters"/>
</wsdl:message>
<wsdl:message name="getAllLoginsRequest">
<wsdl:part element="tns1:getAllLogins" name="parameters"/>
</wsdl:message>
<wsdl:message name="decryptResponse">
<wsdl:part element="tns2:decryptResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="AuthLogin">
<wsdl:operation name="authenticate">
<wsdl:input message="impl:authenticateRequest" name="authenticateRequest"/>
<wsdl:output message="impl:authenticateResponse" name="authenticateResponse"/>
</wsdl:operation>
<wsdl:operation name="getUserId">
<wsdl:input message="impl:getUserIdRequest" name="getUserIdRequest"/>
<wsdl:output message="impl:getUserIdResponse" name="getUserIdResponse"/>
</wsdl:operation>
<wsdl:operation name="autoResetPassword">
<wsdl:input message="impl:autoResetPasswordRequest" name="autoResetPasswordRequest"/>
<wsdl:output message="impl:autoResetPasswordResponse" name="autoResetPasswordResponse"/>
</wsdl:operation>
<wsdl:operation name="getLogin">
<wsdl:input message="impl:getLoginRequest" name="getLoginRequest"/>
<wsdl:output message="impl:getLoginResponse" name="getLoginResponse"/>
</wsdl:operation>
<wsdl:operation name="removeLogin">
<wsdl:input message="impl:removeLoginRequest" name="removeLoginRequest"/>
<wsdl:output message="impl:removeLoginResponse" name="removeLoginResponse"/>
</wsdl:operation>
<wsdl:operation name="getAllLogins">
<wsdl:input message="impl:getAllLoginsRequest" name="getAllLoginsRequest"/>
<wsdl:output message="impl:getAllLoginsResponse" name="getAllLoginsResponse"/>
</wsdl:operation>
<wsdl:operation name="getPrincipals">
<wsdl:input message="impl:getPrincipalsRequest" name="getPrincipalsRequest"/>
<wsdl:output message="impl:getPrincipalsResponse" name="getPrincipalsResponse"/>
</wsdl:operation>
<wsdl:operation name="authenticateToken">
<wsdl:input message="impl:authenticateTokenRequest" name="authenticateTokenRequest"/>
<wsdl:output message="impl:authenticateTokenResponse" name="authenticateTokenResponse"/>
</wsdl:operation>
<wsdl:operation name="logout">
<wsdl:input message="impl:logoutRequest" name="logoutRequest"/>
<wsdl:output message="impl:logoutResponse" name="logoutResponse"/>
</wsdl:operation>
<wsdl:operation name="addLogin">
<wsdl:input message="impl:addLoginRequest" name="addLoginRequest"/>
<wsdl:output message="impl:addLoginResponse" name="addLoginResponse"/>
</wsdl:operation>
<wsdl:operation name="updateLogin">
<wsdl:input message="impl:updateLoginRequest" name="updateLoginRequest"/>
<wsdl:output message="impl:updateLoginResponse" name="updateLoginResponse"/>
</wsdl:operation>
<wsdl:operation name="encrypt">
<wsdl:input message="impl:encryptRequest" name="encryptRequest"/>
<wsdl:output message="impl:encryptResponse" name="encryptResponse"/>
</wsdl:operation>
<wsdl:operation name="decrypt">
<wsdl:input message="impl:decryptRequest" name="decryptRequest"/>
<wsdl:output message="impl:decryptResponse" name="decryptResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AuthLoginSoapBinding" type="impl:AuthLogin">
<wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="authenticate">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="authenticateRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="authenticateResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getUserId">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getUserIdRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getUserIdResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="autoResetPassword">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="autoResetPasswordRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="autoResetPasswordResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getLogin">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getLoginRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getLoginResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="removeLogin">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="removeLoginRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="removeLoginResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getAllLogins">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getAllLoginsRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getAllLoginsResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getPrincipals">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getPrincipalsRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getPrincipalsResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="authenticateToken">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="authenticateTokenRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="authenticateTokenResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="logout">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="logoutRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="logoutResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="addLogin">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="addLoginRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="addLoginResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="updateLogin">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="updateLoginRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="updateLoginResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="encrypt">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="encryptRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="encryptResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="decrypt">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="decryptRequest">
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="decryptResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AuthLoginService">
<wsdl:port binding="impl:AuthLoginSoapBinding" name="AuthLogin">
<wsdlsoap:address location="http://localhost:9082/axis/services/AuthLogin"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
<?xml version="1.0" encoding="UTF-8"?> <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <globalConfiguration> <parameter name="sendMultiRefs" value="true"/> <parameter name="disablePrettyXML" value="true"/> <parameter name="adminPassword" value="admin"/> <parameter name="attachments.Directory" value="C:\devtool\IBM\Rational\SDP\6.0\runtimes\base_v6\profiles\idmSrv\installedApps\gwNode03Cell\axisEAR.ear\axis.war\WEB-INF\attachments"/> <parameter name="dotNetSoapEncFix" value="true"/> <parameter name="enableNamespacePrefixOptimization" value="true"/> <parameter name="sendXMLDeclaration" value="true"/> <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/> <parameter name="sendXsiTypes" value="true"/> <requestFlow> <handler type="java:org.apache.axis.handlers.JWSHandler"> <parameter name="scope" value="session"/> </handler> <handler type="java:org.apache.axis.handlers.JWSHandler"> <parameter name="scope" value="request"/> <parameter name="extension" value=".jwr"/> </handler> </requestFlow> </globalConfiguration> <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/> <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/> <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/> <service name="AdminService" provider="java:MSG"> <parameter name="allowedMethods" value="AdminService"/> <parameter name="enableRemoteAdmin" value="false"/> <parameter name="className" value="org.apache.axis.utils.Admin"/> <namespace>http://xml.apache.org/axis/wsdd/</namespace> </service> <service name="Version" provider="java:RPC"> <parameter name="allowedMethods" value="getVersion"/> <parameter name="className" value="org.apache.axis.Version"/> </service> <service name="AuthLogin" provider="java:RPC" style="wrapped" use="literal"> <operation name="authenticate" qname="ns1:authenticate" returnQName="ns1:authenticateResponse" returnType="ns1:SSOSubject" soapAction="" xmlns:ns1="urn:AuthLogin"> <parameter name="serviceId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="login" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="password" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getUserId" qname="ns2:getUserId" returnQName="ns2:getUserIdResponse" returnType="xsd:string" soapAction="" xmlns:ns2="urn:AuthLogin" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <parameter name="serviceId" type="xsd:string"/> <parameter name="login" type="xsd:string"/> <parameter name="password" type="xsd:string"/> </operation> <operation name="autoResetPassword" qname="ns3:autoResetPassword" returnQName="ns3:autoResetPasswordResponse" returnType="xsd:string" soapAction="" xmlns:ns3="urn:AuthLogin" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <parameter name="serviceId" type="xsd:string"/> <parameter name="login" type="xsd:string"/> </operation> <operation name="getLogin" qname="ns4:getLogin" returnQName="ns4:getLoginResponse" returnType="xsd:string" soapAction="" xmlns:ns4="urn:AuthLogin" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <parameter name="login" type="xsd:string"/> <parameter name="serviceId" type="xsd:string"/> </operation> <operation name="removeLogin" qname="ns5:removeLogin" returnQName="ns5:removeLoginResponse" soapAction="" xmlns:ns5="urn:AuthLogin"> <parameter name="serviceId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="loginId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getAllLogins" qname="ns6:getAllLogins" returnQName="ns6:getAllLoginsResponse" returnType="ns6:ArrayOfSSOPrincipal" soapAction="" xmlns:ns6="urn:AuthLogin"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getPrincipals" qname="ns7:getPrincipals" returnQName="ns7:getPrincipalsReturn" returnType="ns7:ArrayOfSSOPrincipal" soapAction="" xmlns:ns7="urn:AuthLogin"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <parameter name="allowedMethods" value="addLogin autoResetPassword getLogin getAllLogins removeLogin updateLogin getUserId getPrincipals authenticate authenticateToken encrypt decrypt logout"/> <parameter name="className" value="diamelle.ws.security.AuthLogin"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns8:ArrayOfMenuData" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:diamelle.ebc.navigator.MenuData[]" xmlns:ns8="urn:AuthLogin"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns9:ArrayOfSSOPrincipal" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:diamelle.security.auth.SSOPrincipal[]" xmlns:ns9="urn:AuthLogin"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns10:ArrayOfString" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:java.lang.String[]" xmlns:ns10="urn:AuthLogin"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns11:ArrayOfRoleValue" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:diamelle.security.auth.RoleValue[]" xmlns:ns11="urn:AuthLogin"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns12:ArrayOfEntitlementValue" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:diamelle.security.auth.EntitlementValue[]" xmlns:ns12="urn:AuthLogin"/> <beanMapping languageSpecificType="java:diamelle.security.auth.SSOSubject" qname="ns13:SSOSubject" xmlns:ns13="urn:AuthLogin"/> <beanMapping languageSpecificType="java:diamelle.ws.security.WSLoginValue" qname="ns14:WSLoginValue" xmlns:ns14="urn:AuthLogin"/> <beanMapping languageSpecificType="java:diamelle.security.auth.LoginValue" qname="ns15:LoginValue" xmlns:ns15="urn:AuthLogin"/> <beanMapping languageSpecificType="java:diamelle.security.auth.SSOPrincipal" qname="ns16:SSOPrincipal" xmlns:ns16="urn:AuthLogin"/> <beanMapping languageSpecificType="java:diamelle.security.auth.RoleValue" qname="ns17:RoleValue" xmlns:ns17="urn:AuthLogin"/> <beanMapping languageSpecificType="java:diamelle.security.auth.EntitlementValue" qname="ns18:EntitlementValue" xmlns:ns18="urn:AuthLogin"/> <beanMapping languageSpecificType="java:diamelle.ebc.navigator.MenuData" qname="ns19:MenuData" xmlns:ns19="urn:AuthLogin"/> </service> <service name="UserService" provider="java:RPC" style="wrapped" use="literal"> <operation name="findUser" qname="ns20:findUser" returnQName="ns20:findUserResponse" returnType="ns20:ArrayOfUserData" soapAction="" xmlns:ns20="urn:UserService"> <parameter name="search" type="ns20:UserSearch"/> </operation> <operation name="getUser" qname="ns21:getUser" returnQName="ns21:getUserResponse" returnType="ns21:UserData" soapAction="" xmlns:ns21="urn:UserService"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getPhone" qname="ns22:getPhone" returnQName="ns22:getPhoneResponse" returnType="ns22:Phone" soapAction="" xmlns:ns22="urn:UserService"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="phoneId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getAddress" qname="ns23:getAddress" returnQName="ns23:getAddressResponse" returnType="ns23:Address" soapAction="" xmlns:ns23="urn:UserService"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="addressId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getEmail" qname="ns24:getEmail" returnQName="ns24:getEmailResponse" returnType="ns24:Email" soapAction="" xmlns:ns24="urn:UserService"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="emailId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getDefaultPhone" qname="ns25:getDefaultPhone" returnQName="ns25:getDefaultPhoneResponse" returnType="ns25:Phone" soapAction="" xmlns:ns25="urn:UserService"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getDefaultAddress" qname="ns26:getDefaultAddress" returnQName="ns26:getDefaultAddressResponse" returnType="ns26:Address" soapAction="" xmlns:ns26="urn:UserService"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getDefaultEmail" qname="ns27:getDefaultEmail" returnQName="ns27:getDefaultEmailResponse" returnType="ns27:Email" soapAction="" xmlns:ns27="urn:UserService"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <parameter name="allowedMethods" value="findUser getUser getPhone getAddress getEmail getDefaultAddress getDefaultEmail getDefaultPhone"/> <parameter name="className" value="diamelle.ws.common.Users"/> <parameter name="sendXsiTypes" value="false"/> <parameter name="sendMultiRefs" value="false"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns28:ArrayOfUserData" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:diamelle.ebc.user.UserData[]" xmlns:ns28="urn:UserService"/> <beanMapping languageSpecificType="java:diamelle.ebc.user.UserData" qname="ns29:UserData" xmlns:ns29="urn:UserService"/> <beanMapping languageSpecificType="java:diamelle.ebc.user.UserSearch" qname="ns30:UserSearch" xmlns:ns30="urn:UserService"/> <beanMapping languageSpecificType="java:diamelle.ebc.user.Phone" qname="ns31:Phone" xmlns:ns31="urn:UserService"/> <beanMapping languageSpecificType="java:diamelle.ebc.user.Address" qname="ns32:Address" xmlns:ns32="urn:UserService"/> <beanMapping languageSpecificType="java:diamelle.ebc.user.Email" qname="ns33:Email" xmlns:ns33="urn:UserService"/> </service> <service name="GroupRole" provider="java:RPC" style="wrapped" use="literal"> <operation name="addGroupRole" qname="ns34:addGroupRole" returnQName="ns34:addGroupRoleResponse" soapAction="" xmlns:ns34="urn:GroupRole"> <parameter name="groupId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="roleId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="removeGroupRole" qname="ns35:removeGroupRole" returnQName="ns35:removeGroupRoleResponse" soapAction="" xmlns:ns35="urn:GroupRole"> <parameter name="groupId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="roleId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <parameter name="allowedMethods" value="addGroup addGroupRole updateGroup deleteGroup getAllGroups addRoleToGroup removeGroupsInRole removeGroupRole getGroupsInRole"/> <parameter name="className" value="diamelle.ws.security.GroupRole"/> <beanMapping languageSpecificType="java:diamelle.security.auth.RoleValue" qname="ns36:RoleValue" xmlns:ns36="urn:GroupRole"/> <beanMapping languageSpecificType="java:diamelle.security.auth.GroupValue" qname="ns37:GroupValue" xmlns:ns37="urn:GroupRole"/> </service> <service name="Authorizer" provider="java:RPC" style="wrapped" use="literal"> <operation name="getPermissions" qname="ns38:getPermissions" returnQName="ns38:getPermissionsResponse" returnType="ns38:ArrayOfMenuData" soapAction="" xmlns:ns38="urn:Authorizer"> <parameter name="userId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="menuGroup" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="langCd" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="isUserInRole" qname="ns39:isUserInRole" returnQName="ns39:isUserInRoleResponse" returnType="xsd:boolean" soapAction="" xmlns:ns39="urn:Authorizer" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <parameter name="userId" type="xsd:string"/> <parameter name="roleId" type="xsd:string"/> </operation> <operation name="getPermissionsInRole" qname="ns40:getPermissionsInRole" returnQName="ns40:getPermissionsInRoleResponse" returnType="ns40:ArrayOfMenuData" soapAction="" xmlns:ns40="urn:Authorizer"> <parameter name="role" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="langCd" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="getAllUsersByRole" qname="ns41:getAllUsersByRole" returnQName="ns41:getAllUsersByResponse" returnType="ns41:ArrayOfWSUserData" soapAction="" xmlns:ns41="urn:Authorizer"> <parameter name="role" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="addPermission" qname="ns42:addPermission" returnQName="ns42:addPermissionResponse" soapAction="" xmlns:ns42="urn:Authorizer"> <parameter name="roleId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="menuId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <operation name="removePermission" qname="ns43:removePermission" returnQName="ns43:removePermissionResponse" soapAction="" xmlns:ns43="urn:Authorizer"> <parameter name="roleId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> <parameter name="menuId" type="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/> </operation> <parameter name="allowedMethods" value="hasPermission getPermissions getPermissionsInRole addPermission removePermission isUserInRole getRoleValue addRole updateRole deleteRole getAllRoles getAllUsersByRole"/> <parameter name="className" value="diamelle.ws.security.Authorizer"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns44:ArrayOfMenuData" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:diamelle.ebc.navigator.MenuData[]" xmlns:ns44="urn:Authorizer"/> <typeMapping deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns45:ArrayOfWSUserData" serializer="org.apache.axis.encoding.ser.ArraySerializerFactory" type="java:diamelle.ws.common.WSUserData[]" xmlns:ns45="urn:Authorizer"/> <beanMapping languageSpecificType="java:diamelle.security.auth.RoleValue" qname="ns46:RoleValue" xmlns:ns46="urn:Authorizer"/> <beanMapping languageSpecificType="java:diamelle.ebc.navigator.MenuData" qname="ns47:MenuData" xmlns:ns47="urn:Authorizer"/> <beanMapping languageSpecificType="java:diamelle.ws.common.WSUserData" qname="ns48:WSUserData" xmlns:ns48="urn:Authorizer"/> </service> <transport name="http"> <requestFlow> <handler type="URLMapper"/> <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/> </requestFlow> <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/> <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/> <parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/> <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/> <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/> <parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/> </transport> <transport name="local"> <responseFlow> <handler type="LocalResponder"/> </responseFlow> </transport> </deployment>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <getLoginResponse> <ns1:getLoginResponse xmlns:ns1="urn:AuthLogin"> <authFailureCount>0</authFailureCount> <changePassword xsi:nil="1"/> <createDate xsi:nil="1"/> <createdBy xsi:nil="1"/> <currentLoginHost xsi:nil="1"/> <gracePeriodExp xsi:nil="1"/> <guest>false</guest> <lastAuthAttempt xsi:nil="1"/> <locked>false</locked> <login>sysadmin</login> <newUser>false</newUser> <password>passwd00</password> <passwordEquivalentToken xsi:nil="1"/> <passwordExp xsi:nil="1"/> <resetPassword>false</resetPassword> <service>IDM</service> <status xsi:nil="1"/> <token xsi:nil="1"/> <userId>3000</userId> </ns1:getLoginResponse> </getLoginResponse> </soapenv:Body> </soapenv:Envelope>
