You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by John Baker <jb...@sasami.atomised.org> on 2005/07/04 21:32:16 UTC

Invalid element/Deserialisation

Hi,

I'm having a small problem when making a SOAP call and I'm getting this
exception:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
  faultSubcode:
   faultString: org.xml.sax.SAXException: Invalid element in
uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
- DatabaseID
 faultActor:
  faultNode:
   faultDetail:
           {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
Invalid element in
uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
- DatabaseID
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
        at
org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)

The SOAP request is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<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><LogonToConnector
xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <ns1:UniformLoginCredentials>
      <ns1:DatabaseID>dbVal</ns1:DatabaseID>
      <ns1:UniformUserName>userVal</ns1:UniformUserName>
      <ns1:UniformPassword>passVal</ns1:UniformPassword>
   </ns1:UniformLoginCredentials>
</LogonToConnector>

</soapenv:Body></soapenv:Envelope>

And the deploy.wsdd refers to DatabaseID as follows:

      <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:>UniformLoginCredentialsType>DatabaseID"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
       />
       
Could someone point me in roughly the right direction? Is the SOAP request
badly formed? Why has it failed to look up a method of deserialising the
DatabaseID element?

Thanks,



John

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
wsdd was generated by Axis. 

wsdl is as follows:

<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/service" xmlns:sritf="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/interface" xmlns:ctypes="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:wstypes="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/messagetypes" targetNamespace="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/service" name="SRConnectorService">
	<wsdl:types>
		<xs:schema targetNamespace="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
			<xs:annotation>
				<xs:documentation>Shared UNI-form types and elements from the Central Services (CN and SC), Payments (XP) and Property (PR) modules.</xs:documentation>
			</xs:annotation>
			<xs:simpleType name="UPRNType">
				<xs:annotation>
					<xs:documentation>Property Number/UPRN.  Links to a BLPU.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="12"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType name="AddressType">
				<xs:annotation>
					<xs:documentation>An address derived from an LPI in the BS7666 property database.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="240"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType name="TechnicalKeyType">
				<xs:annotation>
					<xs:documentation>UNI-form Case Number or Technical Key - Primary Key for top-level records</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="13"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType name="RefValType">
				<xs:annotation>
					<xs:documentation>System or user generated reference value for the record.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="20"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:complexType name="AssociatedDocumentType">
				<xs:annotation>
					<xs:documentation>Type describing a document associated with a case record.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="DocumentRef">
						<xs:annotation>
							<xs:documentation>Reference code for the document.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="240"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="Description">
						<xs:annotation>
							<xs:documentation>Description of the document, including relevance to application.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="240"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="MimeType" minOccurs="0">
						<xs:annotation>
							<xs:documentation>MIME type of the document.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="240"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="OriginalFilename" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Original filename of the document.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="240"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:choice>
						<xs:element name="InlineDocumentBlob" type="xs:base64Binary">
							<xs:annotation>
								<xs:documentation>Base64 encoded document content.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="AttachedDocument">
							<xs:annotation>
								<xs:documentation>Document attached using DIME/MIME.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="InternalDocumentRef" type="xs:string">
										<xs:annotation>
											<xs:documentation>Temporary identifier for the attached document.  Used to associated document metadata with a specific attachment.</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="ExternalDocument">
							<xs:annotation>
								<xs:documentation>Document held externally to this application.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ExternalDocumentLink" type="xs:string">
										<xs:annotation>
											<xs:documentation>Text description of the location and owner of the external document.</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
					</xs:choice>
				</xs:sequence>
			</xs:complexType>
			<xs:simpleType name="YesNoField">
				<xs:annotation>
					<xs:documentation>May contain Yes, No or Null.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:enumeration value="Yes"/>
					<xs:enumeration value="No"/>
					<xs:enumeration value="Null"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType name="CNCODE_CodeValue">
				<xs:annotation>
					<xs:documentation>Lookup code for the CNCODE table.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="6"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType name="CNCODE_TextValue">
				<xs:annotation>
					<xs:documentation>Plain english text from the CNCODE lookup table.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="40"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:complexType name="CnCodeNameValuePairType">
				<xs:sequence>
					<xs:element name="CodeValue" type="CNCODE_CodeValue"/>
					<xs:element name="CodeText" type="CNCODE_TextValue"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="CnCodeNameValuePair" type="CnCodeNameValuePairType"/>
			<xs:complexType name="CnCodeType">
				<xs:annotation>
					<xs:documentation>A CNCODE lookup type.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="CodeValue" type="CNCODE_CodeValue">
						<xs:annotation>
							<xs:documentation>The code value.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="CodeText" type="CNCODE_TextValue">
						<xs:annotation>
							<xs:documentation>Plain english description of the code value.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="ExtraText" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Additional descriptive information related to this code value.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="2000"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="CnCode" type="CnCodeType"/>
			<xs:complexType name="CnCodeArrayType">
				<xs:sequence>
					<xs:element ref="CnCode" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="CnCodeArray" type="CnCodeArrayType"/>
			<xs:complexType name="CnCodeListType">
				<xs:sequence>
					<xs:element name="ListName">
						<xs:annotation>
							<xs:documentation>The name of the list e.g. DCAPPTYP.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="20"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="ListText">
						<xs:annotation>
							<xs:documentation>Plain english description of the list.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="40"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="CodeList" type="CnCodeArrayType">
						<xs:annotation>
							<xs:documentation>The CNCODE objects contained in this list.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="CnCodeList" type="CnCodeListType"/>
			<xs:simpleType name="OfficerCode">
				<xs:annotation>
					<xs:documentation>Officer code from the CNOFFCODE table.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="6"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType name="OfficerName">
				<xs:annotation>
					<xs:documentation>Officer name corresponding to OFFCODE.</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="60"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:complexType name="AssociatedDocumentArrayType">
				<xs:annotation>
					<xs:documentation>A collection of documents associated with a case record.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="AssociatedDocument" type="AssociatedDocumentType" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="PaymentDetailsType">
				<xs:annotation>
					<xs:documentation>Type describing a payment for services made to the LA.</xs:documentation>
				</xs:annotation>
				<xs:all>
					<xs:element name="AmountReceived">
						<xs:annotation>
							<xs:documentation>Amount paid.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:decimal">
								<xs:totalDigits value="12"/>
								<xs:fractionDigits value="2"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="PaymentMethod" type="CNCODE_CodeValue">
						<xs:annotation>
							<xs:documentation>Method of payment.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="PayerName" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Name of the payer of the fee.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="60"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="PayerAddress" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Address of the Payer.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="240"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="NameOnCheque" minOccurs="0">
						<xs:annotation>
							<xs:documentation>Name on cheque if different to payer name.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="60"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:all>
			</xs:complexType>
			<xs:simpleType name="TrueFalseField">
				<xs:annotation>
					<xs:documentation>May contain True, False or Null</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:enumeration value="True"/>
					<xs:enumeration value="False"/>
					<xs:enumeration value="Null"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:complexType name="AlternativeReferenceType">
				<xs:annotation>
					<xs:documentation>Models the CNALTREF entries</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="ReferenceValue">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="80"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="ReferenceType" type="CNCODE_CodeValue" minOccurs="0"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="AlternativeReference" type="AlternativeReferenceType"/>
			<xs:simpleType name="UniformSiteIdentification">
				<xs:annotation>
					<xs:documentation>UNI-form system site identification code</xs:documentation>
				</xs:annotation>
				<xs:restriction base="xs:string">
					<xs:maxLength value="2"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:schema>
		<xs:schema targetNamespace="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
			<xs:annotation>
				<xs:documentation>Schema definition for global types and elements used by UNI-form Web Service Connectors. </xs:documentation>
			</xs:annotation>
			<xs:complexType name="UniformDatabaseAlias">
				<xs:annotation>
					<xs:documentation>Represents a Uniform Database that is accessible from this host.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="DatabaseID" type="xs:string"/>
					<xs:element name="Description" type="xs:string" minOccurs="0"/>
					<xs:element name="IsActive" type="xs:boolean" minOccurs="0"/>
				</xs:sequence>
			</xs:complexType>
			<xs:complexType name="ArrayOfUniformDatabaseAliasType">
				<xs:sequence>
					<xs:element name="UniformDatabaseAlias" type="UniformDatabaseAlias" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="ArrayOfUniformDatabaseAlias" type="ArrayOfUniformDatabaseAliasType"/>
			<xs:complexType name="GetUniformDatabaseAliasesType"/>
			<xs:element name="GetUniformDatabaseAliases" type="GetUniformDatabaseAliasesType"/>
			<xs:complexType name="GetUniformDatabaseAliasesResponseType">
				<xs:sequence>
					<xs:element ref="ArrayOfUniformDatabaseAlias"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="GetUniformDatabaseAliasesResponse" type="GetUniformDatabaseAliasesResponseType"/>
			<xs:complexType name="UniformLoginCredentialsType">
				<xs:annotation>
					<xs:documentation>User credentials for a UNI-form login request to a specific database.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="DatabaseID">
						<xs:annotation>
							<xs:documentation>The alias of the UNI-form system the user wishes to log on to.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="240"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="UniformUserName">
						<xs:annotation>
							<xs:documentation>UNI-form user name.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="16"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
					<xs:element name="UniformPassword" minOccurs="0">
						<xs:annotation>
							<xs:documentation>UNI-form password.</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:maxLength value="16"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="UniformLoginCredentials" type="UniformLoginCredentialsType"/>
			<xs:complexType name="UniformLoginRequestType">
				<xs:annotation>
					<xs:documentation>UNI-form login request.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element ref="UniformLoginCredentials"/>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="UniformLoginRequest" type="UniformLoginRequestType"/>
			<xs:complexType name="UniformLoginResponseType">
				<xs:annotation>
					<xs:documentation>Response to a UNI-form login attempt.  Indicates success/failure, together with a descriptive message.</xs:documentation>
				</xs:annotation>
				<xs:sequence>
					<xs:element name="LogonSuccessful" type="xs:boolean">
						<xs:annotation>
							<xs:documentation>True if successful</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="Message" type="xs:string" minOccurs="0">
						<xs:annotation>
							<xs:documentation>e.g. invalid password.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="UniformLoginResponse" type="UniformLoginResponseType"/>
			<xs:complexType name="UniformLogoffResponseType">
				<xs:sequence>
					<xs:element name="LogoffSuccessful" type="xs:boolean">
						<xs:annotation>
							<xs:documentation>True if successful.</xs:documentation>
						</xs:annotation>
					</xs:element>
					<xs:element name="Message" type="xs:string" minOccurs="0">
						<xs:annotation>
							<xs:documentation>e.g. not logged in.</xs:documentation>
						</xs:annotation>
					</xs:element>
				</xs:sequence>
			</xs:complexType>
			<xs:element name="UniformLogoffResponse" type="UniformLogoffResponseType"/>
		</xs:schema>
		<xs:schema targetNamespace="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:uni="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" xmlns:conn="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
			<xs:import namespace="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"/>
			<xs:import namespace="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"/>
			<xs:annotation>
				<xs:documentation>Schema defining the common message elements used by UNI-form Connectors.</xs:documentation>
			</xs:annotation>
			<xs:element name="GetUniformDatabaseAliases" type="conn:GetUniformDatabaseAliasesType"/>
			<xs:element name="GetUniformDatabaseAliasesResponse" type="conn:GetUniformDatabaseAliasesResponseType"/>
			<xs:element name="LogonToConnector" type="conn:UniformLoginRequestType"/>
			<xs:element name="LogonToConnectorResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="conn:UniformLoginResponse"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="LogoffFromConnector">
				<xs:complexType/>
			</xs:element>
			<xs:element name="LogoffFromConnectorResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="conn:UniformLogoffResponse"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GetConnectorLoginStatus"/>
			<xs:element name="GetConnectorLoginStatusResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="LoggedIn" type="xs:boolean">
							<xs:annotation>
								<xs:documentation>True if the current session is logged in to the connector.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GetCnCodeList">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ListName">
							<xs:annotation>
								<xs:documentation>The  name of the CNCODE list to be retrieved e.g. DCAPPTYP.</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="20"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GetCnCodeListResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="uni:CnCodeList"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GetCnCodeListByCategory">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ListName">
							<xs:annotation>
								<xs:documentation>The  name of the CNCODE list to be retrieved e.g. DCAPPTYP.</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="20"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="Category">
							<xs:annotation>
								<xs:documentation>Category value to filter the code list by</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="6"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GetCnCodeListByCategoryResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="uni:CnCodeList"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GetCnCodeCategories">
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CategoryListName">
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:maxLength value="20"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="GetCnCodeCategoriesResponse">
				<xs:complexType>
					<xs:sequence>
						<xs:element ref="uni:CnCodeList"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:schema>
	</wsdl:types>
	<wsdl:message name="GetUniformDatabaseAliasesInputMessage">
		<wsdl:part name="parameters" element="ctypes:GetUniformDatabaseAliases"/>
	</wsdl:message>
	<wsdl:message name="GetUniformDatabaseAliasesOutputMessage">
		<wsdl:part name="parameters" element="ctypes:GetUniformDatabaseAliasesResponse"/>
	</wsdl:message>
	<wsdl:message name="LogonToConnectorInputMessage">
		<wsdl:part name="parameters" element="ctypes:LogonToConnector"/>
	</wsdl:message>
	<wsdl:message name="LogonToConnectorOutputMessage">
		<wsdl:part name="parameters" element="ctypes:LogonToConnectorResponse"/>
	</wsdl:message>
	<wsdl:message name="LogoffFromConnectorInputMessage">
		<wsdl:part name="parameters" element="ctypes:LogoffFromConnector"/>
	</wsdl:message>
	<wsdl:message name="LogoffFromConnectorOutputMessage">
		<wsdl:part name="parameters" element="ctypes:LogoffFromConnectorResponse"/>
	</wsdl:message>
	<wsdl:message name="GetConnectorLoginStatusInputMessage">
		<wsdl:part name="parameters" element="ctypes:GetConnectorLoginStatus"/>
	</wsdl:message>
	<wsdl:message name="GetConnectorLoginStatusOutputMessage">
		<wsdl:part name="parameters" element="ctypes:GetConnectorLoginStatusResponse"/>
	</wsdl:message>
	<wsdl:message name="GetCnCodeListInputMessage">
		<wsdl:part name="parameters" element="ctypes:GetCnCodeList"/>
	</wsdl:message>
	<wsdl:message name="GetCnCodeListOutputMessage">
		<wsdl:part name="parameters" element="ctypes:GetCnCodeListResponse"/>
	</wsdl:message>
	<wsdl:message name="GetCnCodeListByCategoryInputMessage">
		<wsdl:part name="parameters" element="ctypes:GetCnCodeListByCategory"/>
	</wsdl:message>
	<wsdl:message name="GetCnCodeListByCategoryOutputMessage">
		<wsdl:part name="parameters" element="ctypes:GetCnCodeListByCategoryResponse"/>
	</wsdl:message>
	<wsdl:message name="GetCnCodeCategoriesInputMessage">
		<wsdl:part name="parameters" element="ctypes:GetCnCodeCategories"/>
	</wsdl:message>
	<wsdl:message name="GetCnCodeCategoriesOutputMessage">
		<wsdl:part name="parameters" element="ctypes:GetCnCodeCategoriesResponse"/>
	</wsdl:message>
	<wsdl:portType name="ICommonConnector">
		<wsdl:operation name="GetUniformDatabaseAliases">
			<wsdl:input message="tns:GetUniformDatabaseAliasesInputMessage"/>
			<wsdl:output message="tns:GetUniformDatabaseAliasesOutputMessage"/>
		</wsdl:operation>
		<wsdl:operation name="LogonToConnector">
			<wsdl:input message="tns:LogonToConnectorInputMessage"/>
			<wsdl:output message="tns:LogonToConnectorOutputMessage"/>
		</wsdl:operation>
		<wsdl:operation name="LogoffFromConnector">
			<wsdl:input message="tns:LogoffFromConnectorInputMessage"/>
			<wsdl:output message="tns:LogoffFromConnectorOutputMessage"/>
		</wsdl:operation>
		<wsdl:operation name="GetConnectorLoginStatus">
			<wsdl:input message="tns:GetConnectorLoginStatusInputMessage"/>
			<wsdl:output message="tns:GetConnectorLoginStatusOutputMessage"/>
		</wsdl:operation>
		<wsdl:operation name="GetCnCodeList">
			<wsdl:input message="tns:GetCnCodeListInputMessage"/>
			<wsdl:output message="tns:GetCnCodeListOutputMessage"/>
		</wsdl:operation>
		<wsdl:operation name="GetCnCodeListByCategory">
			<wsdl:input message="tns:GetCnCodeListByCategoryInputMessage"/>
			<wsdl:output message="tns:GetCnCodeListByCategoryOutputMessage"/>
		</wsdl:operation>
		<wsdl:operation name="GetCnCodeCategories">
			<wsdl:input message="tns:GetCnCodeCategoriesInputMessage"/>
			<wsdl:output message="tns:GetCnCodeCategoriesOutputMessage"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="CommonConnectorSoapBinding" type="tns:ICommonConnector">
		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="GetUniformDatabaseAliases">
			<soap:operation soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetUniformDatabaseAliases" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="LogonToConnector">
			<soap:operation soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogonToConnector" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="LogoffFromConnector">
			<soap:operation soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogoffFromConnector" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="GetConnectorLoginStatus">
			<soap:operation soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetConnectorLoginStatus" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="GetCnCodeList">
			<soap:operation soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeList" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="GetCnCodeListByCategory">
			<soap:operation soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeListByCategory" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="GetCnCodeCategories">
			<soap:operation soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeCategories" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="ServiceRequestConnectorService">
		<wsdl:port name="CommonConnectorSoapPort" binding="tns:CommonConnectorSoapBinding">
			<soap:address location="http://localhost/ServiceRequestConnectorService/ServiceRequestConnectorService.asmx"/>
		</wsdl:port>
	</wsdl:service>
	<!-- common interface -->
	<!-- end of common interface file contents -->
	<!-- start of service req interface -->
	<!-- end of service interface file contents -->
</wsdl:definitions>


On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> Please post the WSDL. 
> 
> There is a big difference between the two messages -- one has an extra
> <LogonToConnector> wrapper element. But if that's the problem, then
> I'd expect the error to occur on that element rather than on
> DatabaseID.
> 
> Your WSDD also looks suspect. The qname should be
> qname="ns:DatabaseID" rather than
> qname="ns:>UniformLoginCredentialsType>DatabaseID".
> 
> Anne
> 
> On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > Further to my post, I have derived that if I create Stub classes from WSDL
> > and make a WS call using Axis - to an Axis server - the client generates
> > this call:
> > 
> > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> >  <LogonToConnector>
> >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> >      <ns1:DatabaseID>a</ns1:DatabaseID>
> >      <ns1:UniformUserName>b</ns1:UniformUserName>
> >      <ns1:UniformPassword>c</ns1:UniformPassword>
> >    </ns1:UniformLoginCredentials>
> >  </LogonToConnector>
> > </LogonToConnector>
> > 
> > Which is unserialised without a problem. So what is different between that
> > and this:
> > 
> > <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>
> >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> >    <ns1:UniformLoginCredentials>
> >     <ns1:DatabaseID>a</ns1:DatabaseID>
> >     <ns1:UniformUserName>b</ns1:UniformUserName>
> >     <ns1:UniformPassword>c</ns1:UniformPassword>
> >    </ns1:UniformLoginCredentials>
> >   </LogonToConnector>
> >  </soapenv:Body>
> > </soapenv:Envelope>
> > 
> > Well I can see they are different, but what key fact makes one unserialisable?
> > 
> > Thanks,
> > 
> > 
> > John
> > 
> > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > Hi,
> > >
> > > I'm having a small problem when making a SOAP call and I'm getting this
> > > exception:
> > >
> > > AxisFault
> > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > >   faultSubcode:
> > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > - DatabaseID
> > >  faultActor:
> > >   faultNode:
> > >    faultDetail:
> > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > Invalid element in
> > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > - DatabaseID
> > >         at
> > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > >         at
> > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > >
> > > The SOAP request is as follows:
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <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><LogonToConnector
> > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > >    <ns1:UniformLoginCredentials>
> > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > >    </ns1:UniformLoginCredentials>
> > > </LogonToConnector>
> > >
> > > </soapenv:Body></soapenv:Envelope>
> > >
> > > And the deploy.wsdd refers to DatabaseID as follows:
> > >
> > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > >         type="java:java.lang.String"
> > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > >         encodingStyle=""
> > >        />
> > >
> > > Could someone point me in roughly the right direction? Is the SOAP request
> > > badly formed? Why has it failed to look up a method of deserialising the
> > > DatabaseID element?
> > >
> > > Thanks,
> > >
> > >
> > >
> > > John
> >

Re: Invalid element/Deserialisation

Posted by Wendy Bao <ta...@hotmail.com>.
Hi Dims,

Thanks for the url. I visited that site, it has only axis1.4.

Thanks anyway.

Wendy

dims wrote:
> 
> http://archive.apache.org/ has the old releases.
> 
> -- dims
> 
> On 9/6/07, Wendy Bao <ta...@hotmail.com> wrote:
>>
>> Hi Deepal,
>>
>> That site has axis2. I was looking for axis.  I got one from WSAD 5.1
>> now.
>>
>> Thanks.
>>
>> Wendy
>>
>>
>> Deepal Jayasinghe-2 wrote:
>> >
>> > Wendy Bao wrote:
>> >> Hi John,
>> >>
>> >> Could you let me know where I can get the axis-1.2 or axis-1.2.1? I
>> >> visited
>> >> a couple of Aparch web site,  axis-1.2 is no longer available.
>> >>
>> > Try this
>> > http://ws.apache.org/axis2/download/1_2/download.cgi
>> >
>> > Thanks
>> > Deepal
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: axis-user-help@ws.apache.org
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Invalid-element-Deserialisation-tf121531.html#a12522632
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
> 
> 
> -- 
> Davanum Srinivas :: http://davanum.wordpress.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Invalid-element-Deserialisation-tf121531.html#a12555793
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Invalid element/Deserialisation

Posted by Davanum Srinivas <da...@gmail.com>.
http://archive.apache.org/ has the old releases.

-- dims

On 9/6/07, Wendy Bao <ta...@hotmail.com> wrote:
>
> Hi Deepal,
>
> That site has axis2. I was looking for axis.  I got one from WSAD 5.1 now.
>
> Thanks.
>
> Wendy
>
>
> Deepal Jayasinghe-2 wrote:
> >
> > Wendy Bao wrote:
> >> Hi John,
> >>
> >> Could you let me know where I can get the axis-1.2 or axis-1.2.1? I
> >> visited
> >> a couple of Aparch web site,  axis-1.2 is no longer available.
> >>
> > Try this
> > http://ws.apache.org/axis2/download/1_2/download.cgi
> >
> > Thanks
> > Deepal
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Invalid-element-Deserialisation-tf121531.html#a12522632
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Invalid element/Deserialisation

Posted by Wendy Bao <ta...@hotmail.com>.
Hi Deepal,

That site has axis2. I was looking for axis.  I got one from WSAD 5.1 now.

Thanks.

Wendy


Deepal Jayasinghe-2 wrote:
> 
> Wendy Bao wrote:
>> Hi John,
>>
>> Could you let me know where I can get the axis-1.2 or axis-1.2.1? I
>> visited
>> a couple of Aparch web site,  axis-1.2 is no longer available.  
>>   
> Try this
> http://ws.apache.org/axis2/download/1_2/download.cgi
> 
> Thanks
> Deepal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Invalid-element-Deserialisation-tf121531.html#a12522632
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Invalid element/Deserialisation

Posted by Deepal jayasinghe <de...@gmail.com>.
Wendy Bao wrote:
> Hi John,
>
> Could you let me know where I can get the axis-1.2 or axis-1.2.1? I visited
> a couple of Aparch web site,  axis-1.2 is no longer available.  
>   
Try this
http://ws.apache.org/axis2/download/1_2/download.cgi

Thanks
Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Invalid element/Deserialisation

Posted by Wendy Bao <ta...@hotmail.com>.
Hi John,

Could you let me know where I can get the axis-1.2 or axis-1.2.1? I visited
a couple of Aparch web site,  axis-1.2 is no longer available.  

Thanks,

Wendy 


John Baker-2 wrote:
> 
> Excellent. Thanks. That's it :)
> 
> 
> On Wed, Jul 06, 2005 at 10:22:34AM -0400, Anne Thomas Manes wrote:
>> John,
>> 
>> Okay -- I see the problem. You haven't actually defined the
>> LogonToConnector element exactly according to the wrapped convention,
>> so Axis is getting confused.
>> 
>> You defined LogonToConnector like this:
>> 
>>     <xs:element name="LogonToConnector" 
>>              type="conn:UniformLoginRequestType" />
>> 
>> Axis can't quite identify the child parameter element which is of type
>> UniformLoginRequestType, so it created another LogonToConnector
>> element to represent this type. (indicated by the <parameter>
>> definition in your WSDD)
>> 
>> Please modify LogonToConnector element description in your WSDL to this:
>> 
>>                        <xs:element name="LogonToConnector">
>>                                <xs:complexType>
>>                                        <xs:sequence>
>>                                                <xs:element
>> ref="conn:UniformLoginRequest" />
>>                                        </xs:sequence>
>>                                </xs:complexType>
>>                        </xs:element>
>> 
>> That should take care of it.
>> 
>> Anne
>> 
>> On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
>> > Here's the wsdd file as generated by Axis 1.2.1:
>> > 
>> > <!-- Use this file to deploy some handlers/chains and services      -->
>> > <!-- Two ways to do this:                                           -->
>> > <!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
>> > <!--      after the axis server is running                          -->
>> > <!-- or                                                             -->
>> > <!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
>> > <!--      from the same directory that the Axis engine runs         -->
>> > 
>> > <deployment
>> >    xmlns="http://xml.apache.org/axis/wsdd/"
>> >    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
>> > 
>> >  <!-- Services from ServiceRequestConnectorService WSDL service -->
>> > 
>> >  <service name="CommonConnectorSoapPort" provider="java:RPC"
>> style="wrapped" use="literal">
>> >      <parameter name="wsdlTargetNamespace"
>> value="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/service"/>
>> >      <parameter name="wsdlServiceElement"
>> value="ServiceRequestConnectorService"/>
>> >      <parameter name="schemaQualified"
>> value="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes,http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes,http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>> >      <parameter name="wsdlServicePort"
>> value="CommonConnectorSoapPort"/>
>> >      <parameter name="className"
>> value="uk.co.caps_solutions.www.webservices.connectors.servicerequest.service.CommonConnectorSoapBindingImpl"/>
>> >      <parameter name="wsdlPortType" value="ICommonConnector"/>
>> >      <parameter name="typeMappingVersion" value="1.2"/>
>> >      <operation name="getUniformDatabaseAliases"
>> qname="operNS:GetUniformDatabaseAliases"
>> xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> returnQName="retNS:ArrayOfUniformDatabaseAlias"
>> xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> returnType="rtns:ArrayOfUniformDatabaseAliasType"
>> xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetUniformDatabaseAliases"
>> >
>> >      </operation>
>> >      <operation name="logonToConnector" qname="LogonToConnector"
>> returnQName="retNS:LogonToConnectorResponse"
>> xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> returnType="rtns:>LogonToConnectorResponse"
>> xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogonToConnector"
>> >
>> >        <parameter qname="pns:LogonToConnector"
>> xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> type="tns:UniformLoginRequestType"
>> xmlns:tns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"/>
>> >      </operation>
>> >      <operation name="logoffFromConnector"
>> qname="operNS:LogoffFromConnector"
>> xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> returnQName="retNS:UniformLogoffResponse"
>> xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> returnType="rtns:UniformLogoffResponseType"
>> xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogoffFromConnector"
>> >
>> >      </operation>
>> >      <operation name="getConnectorLoginStatus"
>> qname="GetConnectorLoginStatus"
>> returnQName="retNS:GetConnectorLoginStatusResponse"
>> xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> returnType="rtns:>GetConnectorLoginStatusResponse"
>> xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetConnectorLoginStatus"
>> >
>> >        <parameter qname="pns:GetConnectorLoginStatus"
>> xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> type="tns:anyType" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
>> >      </operation>
>> >      <operation name="getCnCodeList" qname="operNS:GetCnCodeList"
>> xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> returnQName="retNS:CnCodeList"
>> xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> returnType="rtns:CnCodeListType"
>> xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeList"
>> >
>> >        <parameter qname="pns:ListName"
>> xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> type="tns:>>GetCnCodeList>ListName"
>> xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>> >      </operation>
>> >      <operation name="getCnCodeListByCategory"
>> qname="operNS:GetCnCodeListByCategory"
>> xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> returnQName="retNS:CnCodeList"
>> xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> returnType="rtns:CnCodeListType"
>> xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeListByCategory"
>> >
>> >        <parameter qname="pns:ListName"
>> xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> type="tns:>>GetCnCodeListByCategory>ListName"
>> xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>> >        <parameter qname="pns:Category"
>> xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> type="tns:>>GetCnCodeListByCategory>Category"
>> xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>> >      </operation>
>> >      <operation name="getCnCodeCategories"
>> qname="operNS:GetCnCodeCategories"
>> xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> returnQName="retNS:CnCodeList"
>> xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> returnType="rtns:CnCodeListType"
>> xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeCategories"
>> >
>> >        <parameter qname="pns:CategoryListName"
>> xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> type="tns:>>GetCnCodeCategories>CategoryListName"
>> xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>> >      </operation>
>> >      <parameter name="allowedMethods" value="getConnectorLoginStatus
>> getUniformDatabaseAliases getCnCodeListByCategory logoffFromConnector
>> logonToConnector getCnCodeCategories getCnCodeList"/>
>> > 
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:CnCodeType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:TechnicalKeyType"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>PaymentDetailsType>PayerName"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> >        qname="ns:>>GetCnCodeListByCategory>Category"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:RefValType"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:UniformLoginCredentialsType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginCredentialsType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:AssociatedDocumentArrayType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentArrayType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:OfficerCode"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:>UniformLoginCredentialsType>UniformUserName"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>PaymentDetailsType>NameOnCheque"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>AssociatedDocumentType>MimeType"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:TrueFalseField"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.TrueFalseField"
>> >        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:AssociatedDocumentType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:CNCODE_TextValue"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:AddressType"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:UniformLogoffResponseType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLogoffResponseType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:ArrayOfUniformDatabaseAliasType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.ArrayOfUniformDatabaseAliasType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>AssociatedDocumentType>DocumentRef"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>AssociatedDocumentType>OriginalFilename"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:CnCodeListType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeListType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:UniformLoginResponseType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginResponseType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:YesNoField"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.YesNoField"
>> >        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:UniformSiteIdentification"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>CnCodeListType>ListName"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:AlternativeReferenceType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AlternativeReferenceType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>PaymentDetailsType>PayerAddress"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>CnCodeType>ExtraText"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>AssociatedDocumentType>AttachedDocument"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeAttachedDocument"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> >        qname="ns:>>GetCnCodeListByCategory>ListName"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:GetUniformDatabaseAliasesResponseType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesResponseType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>AssociatedDocumentType>ExternalDocument"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeExternalDocument"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>PaymentDetailsType>AmountReceived"
>> >        type="java:java.math.BigDecimal"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:PaymentDetailsType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.PaymentDetailsType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:UniformLoginRequestType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>AssociatedDocumentType>Description"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> >        qname="ns:>>GetCnCodeList>ListName"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:CnCodeArrayType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeArrayType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:>UniformLoginCredentialsType>UniformPassword"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:OfficerName"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:UniformDatabaseAlias"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformDatabaseAlias"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:>UniformLoginCredentialsType>DatabaseID"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>CnCodeListType>ListText"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> >        qname="ns:>>GetCnCodeCategories>CategoryListName"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:>AlternativeReferenceType>ReferenceValue"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> >        qname="ns:GetUniformDatabaseAliasesType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:CNCODE_CodeValue"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:CnCodeNameValuePairType"
>> >       
>> type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeNameValuePairType"
>> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >      <typeMapping
>> >       
>> xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>> >        qname="ns:UPRNType"
>> >        type="java:java.lang.String"
>> >       
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> >       
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> >        encodingStyle=""
>> >      />
>> >  </service>
>> > </deployment>
>> > 
>> > 
>> > On Wed, Jul 06, 2005 at 09:10:25AM -0400, Anne Thomas Manes wrote:
>> > > John,
>> > >
>> > > Please post the complete WSDD file also.
>> > >
>> > > Anne
>> > >
>> > > On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
>> > > > And as a further twist, another method called from the Axis Stubs
>> generated
>> > > > from teh WSDL what would seem to send the correct request:
>> > > >
>> > > > <soapenv:Body>
>> > > >  <GetCnCodeList
>> xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
>> > > >    <ListName>moo</ListName>
>> > > >  </GetCnCodeList>
>> > > >
>> > > > So it would seem as if it's just the LogonToConnector method that
>> suffers
>> > > > from this repeating element problem, i.e. the Stubs generate two
>> elements
>> > > > and not one.
>> > > >
>> > > > John
>> > > >
>> > > >
>> > > > On Wed, Jul 06, 2005 at 11:25:39AM +0100, John Baker wrote:
>> > > > > As a bit of an update, by hacking the 'commercial app' and
>> persuading it to
>> > > > > send this:
>> > > > >
>> > > > >  <soapenv:Body>
>> > > > >    <ns1:LogonToConnector
>> > > > >
>> xmlns:ns1="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
>> > > > >    <ns1:LogonToConnector>
>> > > > >        <ns1:UniformLoginCredentials
>> > > > >
>> xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes">
>> > > > >
>> > > > > (i.e. two LogonToConnector nodes), the WS is deserialised
>> correctly.
>> > > > >
>> > > > > So I guess my question is now: Why does the Java sources and WSDD
>> generated
>> > > > > from the WSDL (which I have put here:
>> > > > > http://www.javasystemsolutions.com/source.wsdl) result in the
>> doubling of
>> > > > > that element in the SOAP request? What is telling Axis to expect
>> two
>> > > > > LogonToConnector nodes? I assume the deploy.wsdd? Why? :)
>> > > > >
>> > > > > Thanks,
>> > > > >
>> > > > >
>> > > > > John
>> > > > >
>> > > > > On Wed, Jul 06, 2005 at 06:29:42AM +0100, John Baker wrote:
>> > > > > > Or rather, put more simply, I am generating Stub classes from a
>> WDSL which
>> > > > > > generate a second LogonToConnector element. The 'commercial
>> app' seems to be
>> > > > > > building the SOAP message manually (it's not using stubs) so
>> perhaps that's
>> > > > > > why the XML is so different, but I'd like to understand why
>> there are two
>> > > > > > LogonToConnector elements from the Stub request.
>> > > > > >
>> > > > > >
>> > > > > > John
>> > > > > >
>> > > > > > On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
>> > > > > > > I'm generating Stubs and a deploy.wsdd file from the wsdl.
>> I'm then directly
>> > > > > > > deploying the stubs (by changing the classname in the
>> deploy.wsdd). I then
>> > > > > > > wrote a few lines to invoke the stub and logged the output,
>> giving the
>> > > > > > > double LogonToConnector output.
>> > > > > > >
>> > > > > > > What I'm trying to achieve is invokation of a deployed
>> webservice, where
>> > > > > > > that deployed webservice was derived from the original WSDL.
>> > > > > > >
>> > > > > > >
>> > > > > > > John
>> > > > > > >
>> > > > > > > On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes
>> wrote:
>> > > > > > > > According to the WSDL, there should be only one
>> LogonToConnector
>> > > > > > > > element. The message should look like the first message you
>> posted
>> > > > > > > > (the one generated by your Java application. I have no idea
>> why the
>> > > > > > > > stub generates an extra LogonToConnector element, or why
>> that message
>> > > > > > > > seems to work. I also don't know why the stub adds the
>> xsi:type
>> > > > > > > > attribute to the <UniformLoginCredentials> element. (It
>> shouldn't.)
>> > > > > > > >
>> > > > > > > > Can you review for us again the sequence you went through
>> to create
>> > > > > > > > the service and the client?
>> > > > > > > >
>> > > > > > > > I also suggest that you edit the WSDD typeMapping to
>> specify:
>> > > > > > > > qname="ns:DatabaseID" rather than
>> > > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID"
>> > > > > > > >
>> > > > > > > > Also, what version of Axis are you using?
>> > > > > > > >
>> > > > > > > > Anne
>> > > > > > > >
>> > > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
>> > > > > > > > > I should point out that the call which works is being
>> generated by the Java
>> > > > > > > > > stubs generated from the WSDL, while the offending
>> request is being
>> > > > > > > > > generated by another bit of Java building up it's own
>> SOAP message (although
>> > > > > > > > > it seems to use the axis client libraries). I guess the
>> major question is:
>> > > > > > > > > Why did the stubs use two LogonToConnector elements...
>> > > > > > > > >
>> > > > > > > > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas
>> Manes wrote:
>> > > > > > > > > > Please post the WSDL.
>> > > > > > > > > >
>> > > > > > > > > > There is a big difference between the two messages --
>> one has an extra
>> > > > > > > > > > <LogonToConnector> wrapper element. But if that's the
>> problem, then
>> > > > > > > > > > I'd expect the error to occur on that element rather
>> than on
>> > > > > > > > > > DatabaseID.
>> > > > > > > > > >
>> > > > > > > > > > Your WSDD also looks suspect. The qname should be
>> > > > > > > > > > qname="ns:DatabaseID" rather than
>> > > > > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
>> > > > > > > > > >
>> > > > > > > > > > Anne
>> > > > > > > > > >
>> > > > > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org>
>> wrote:
>> > > > > > > > > > > Further to my post, I have derived that if I create
>> Stub classes from WSDL
>> > > > > > > > > > > and make a WS call using Axis - to an Axis server -
>> the client generates
>> > > > > > > > > > > this call:
>> > > > > > > > > > >
>> > > > > > > > > > > <LogonToConnector
>> xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
>> > > > > > > > > > >  <LogonToConnector>
>> > > > > > > > > > >    <ns1:UniformLoginCredentials
>> xsi:type="ns1:UniformLoginCredentialsType"
>> xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>> > > > > > > > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
>> > > > > > > > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
>> > > > > > > > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
>> > > > > > > > > > >    </ns1:UniformLoginCredentials>
>> > > > > > > > > > >  </LogonToConnector>
>> > > > > > > > > > > </LogonToConnector>
>> > > > > > > > > > >
>> > > > > > > > > > > Which is unserialised without a problem. So what is
>> different between that
>> > > > > > > > > > > and this:
>> > > > > > > > > > >
>> > > > > > > > > > > <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>
>> > > > > > > > > > >   <LogonToConnector
>> xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>> xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
>> > > > > > > > > > >    <ns1:UniformLoginCredentials>
>> > > > > > > > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
>> > > > > > > > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
>> > > > > > > > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
>> > > > > > > > > > >    </ns1:UniformLoginCredentials>
>> > > > > > > > > > >   </LogonToConnector>
>> > > > > > > > > > >  </soapenv:Body>
>> > > > > > > > > > > </soapenv:Envelope>
>> > > > > > > > > > >
>> > > > > > > > > > > Well I can see they are different, but what key fact
>> makes one unserialisable?
>> > > > > > > > > > >
>> > > > > > > > > > > Thanks,
>> > > > > > > > > > >
>> > > > > > > > > > >
>> > > > > > > > > > > John
>> > > > > > > > > > >
>> > > > > > > > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker
>> wrote:
>> > > > > > > > > > > > Hi,
>> > > > > > > > > > > >
>> > > > > > > > > > > > I'm having a small problem when making a SOAP call
>> and I'm getting this
>> > > > > > > > > > > > exception:
>> > > > > > > > > > > >
>> > > > > > > > > > > > AxisFault
>> > > > > > > > > > > >  faultCode:
>> {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>> > > > > > > > > > > >   faultSubcode:
>> > > > > > > > > > > >    faultString: org.xml.sax.SAXException: Invalid
>> element in
>> > > > > > > > > > > >
>> uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
>> > > > > > > > > > > > - DatabaseID
>> > > > > > > > > > > >  faultActor:
>> > > > > > > > > > > >   faultNode:
>> > > > > > > > > > > >    faultDetail:
>> > > > > > > > > > > >           
>> {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
>> > > > > > > > > > > > Invalid element in
>> > > > > > > > > > > >
>> uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
>> > > > > > > > > > > > - DatabaseID
>> > > > > > > > > > > >         at
>> > > > > > > > > > > >
>> org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
>> > > > > > > > > > > >         at
>> > > > > > > > > > > >
>> org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
>> > > > > > > > > > > >
>> > > > > > > > > > > > The SOAP request is as follows:
>> > > > > > > > > > > >
>> > > > > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
>> > > > > > > > > > > > <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><LogonToConnector
>> > > > > > > > > > > >
>> xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
>> > > > > > > > > > > >
>> xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
>> > > > > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>> > > > > > > > > > > >
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>> > > > > > > > > > > >    <ns1:UniformLoginCredentials>
>> > > > > > > > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
>> > > > > > > > > > > >      
>> <ns1:UniformUserName>userVal</ns1:UniformUserName>
>> > > > > > > > > > > >      
>> <ns1:UniformPassword>passVal</ns1:UniformPassword>
>> > > > > > > > > > > >    </ns1:UniformLoginCredentials>
>> > > > > > > > > > > > </LogonToConnector>
>> > > > > > > > > > > >
>> > > > > > > > > > > > </soapenv:Body></soapenv:Envelope>
>> > > > > > > > > > > >
>> > > > > > > > > > > > And the deploy.wsdd refers to DatabaseID as
>> follows:
>> > > > > > > > > > > >
>> > > > > > > > > > > >       <typeMapping
>> xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
>> > > > > > > > > > > >        
>> qname="ns:>UniformLoginCredentialsType>DatabaseID"
>> > > > > > > > > > > >         type="java:java.lang.String"
>> > > > > > > > > > > >        
>> serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>> > > > > > > > > > > >        
>> deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>> > > > > > > > > > > >         encodingStyle=""
>> > > > > > > > > > > >        />
>> > > > > > > > > > > >
>> > > > > > > > > > > > Could someone point me in roughly the right
>> direction? Is the SOAP request
>> > > > > > > > > > > > badly formed? Why has it failed to look up a method
>> of deserialising the
>> > > > > > > > > > > > DatabaseID element?
>> > > > > > > > > > > >
>> > > > > > > > > > > > Thanks,
>> > > > > > > > > > > >
>> > > > > > > > > > > >
>> > > > > > > > > > > >
>> > > > > > > > > > > > John
>> > > > > > > > > > >
>> > > > > > > > >
>> > > >
>> >
> 
> 

-- 
View this message in context: http://www.nabble.com/Invalid-element-Deserialisation-tf121531.html#a12507537
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
Excellent. Thanks. That's it :)


On Wed, Jul 06, 2005 at 10:22:34AM -0400, Anne Thomas Manes wrote:
> John,
> 
> Okay -- I see the problem. You haven't actually defined the
> LogonToConnector element exactly according to the wrapped convention,
> so Axis is getting confused.
> 
> You defined LogonToConnector like this:
> 
>     <xs:element name="LogonToConnector" 
>              type="conn:UniformLoginRequestType" />
> 
> Axis can't quite identify the child parameter element which is of type
> UniformLoginRequestType, so it created another LogonToConnector
> element to represent this type. (indicated by the <parameter>
> definition in your WSDD)
> 
> Please modify LogonToConnector element description in your WSDL to this:
> 
>                        <xs:element name="LogonToConnector">
>                                <xs:complexType>
>                                        <xs:sequence>
>                                                <xs:element
> ref="conn:UniformLoginRequest" />
>                                        </xs:sequence>
>                                </xs:complexType>
>                        </xs:element>
> 
> That should take care of it.
> 
> Anne
> 
> On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
> > Here's the wsdd file as generated by Axis 1.2.1:
> > 
> > <!-- Use this file to deploy some handlers/chains and services      -->
> > <!-- Two ways to do this:                                           -->
> > <!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
> > <!--      after the axis server is running                          -->
> > <!-- or                                                             -->
> > <!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
> > <!--      from the same directory that the Axis engine runs         -->
> > 
> > <deployment
> >    xmlns="http://xml.apache.org/axis/wsdd/"
> >    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> > 
> >  <!-- Services from ServiceRequestConnectorService WSDL service -->
> > 
> >  <service name="CommonConnectorSoapPort" provider="java:RPC" style="wrapped" use="literal">
> >      <parameter name="wsdlTargetNamespace" value="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/service"/>
> >      <parameter name="wsdlServiceElement" value="ServiceRequestConnectorService"/>
> >      <parameter name="schemaQualified" value="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes,http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes,http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
> >      <parameter name="wsdlServicePort" value="CommonConnectorSoapPort"/>
> >      <parameter name="className" value="uk.co.caps_solutions.www.webservices.connectors.servicerequest.service.CommonConnectorSoapBindingImpl"/>
> >      <parameter name="wsdlPortType" value="ICommonConnector"/>
> >      <parameter name="typeMappingVersion" value="1.2"/>
> >      <operation name="getUniformDatabaseAliases" qname="operNS:GetUniformDatabaseAliases" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:ArrayOfUniformDatabaseAlias" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" returnType="rtns:ArrayOfUniformDatabaseAliasType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetUniformDatabaseAliases" >
> >      </operation>
> >      <operation name="logonToConnector" qname="LogonToConnector" returnQName="retNS:LogonToConnectorResponse" xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnType="rtns:>LogonToConnectorResponse" xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogonToConnector" >
> >        <parameter qname="pns:LogonToConnector" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:UniformLoginRequestType" xmlns:tns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"/>
> >      </operation>
> >      <operation name="logoffFromConnector" qname="operNS:LogoffFromConnector" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:UniformLogoffResponse" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" returnType="rtns:UniformLogoffResponseType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogoffFromConnector" >
> >      </operation>
> >      <operation name="getConnectorLoginStatus" qname="GetConnectorLoginStatus" returnQName="retNS:GetConnectorLoginStatusResponse" xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnType="rtns:>GetConnectorLoginStatusResponse" xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetConnectorLoginStatus" >
> >        <parameter qname="pns:GetConnectorLoginStatus" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:anyType" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
> >      </operation>
> >      <operation name="getCnCodeList" qname="operNS:GetCnCodeList" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeList" >
> >        <parameter qname="pns:ListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeList>ListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
> >      </operation>
> >      <operation name="getCnCodeListByCategory" qname="operNS:GetCnCodeListByCategory" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeListByCategory" >
> >        <parameter qname="pns:ListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeListByCategory>ListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
> >        <parameter qname="pns:Category" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeListByCategory>Category" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
> >      </operation>
> >      <operation name="getCnCodeCategories" qname="operNS:GetCnCodeCategories" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeCategories" >
> >        <parameter qname="pns:CategoryListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeCategories>CategoryListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
> >      </operation>
> >      <parameter name="allowedMethods" value="getConnectorLoginStatus getUniformDatabaseAliases getCnCodeListByCategory logoffFromConnector logonToConnector getCnCodeCategories getCnCodeList"/>
> > 
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:CnCodeType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:TechnicalKeyType"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>PaymentDetailsType>PayerName"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
> >        qname="ns:>>GetCnCodeListByCategory>Category"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:RefValType"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:UniformLoginCredentialsType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginCredentialsType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:AssociatedDocumentArrayType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentArrayType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:OfficerCode"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:>UniformLoginCredentialsType>UniformUserName"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>PaymentDetailsType>NameOnCheque"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>AssociatedDocumentType>MimeType"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:TrueFalseField"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.TrueFalseField"
> >        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:AssociatedDocumentType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:CNCODE_TextValue"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:AddressType"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:UniformLogoffResponseType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLogoffResponseType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:ArrayOfUniformDatabaseAliasType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.ArrayOfUniformDatabaseAliasType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>AssociatedDocumentType>DocumentRef"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>AssociatedDocumentType>OriginalFilename"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:CnCodeListType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeListType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:UniformLoginResponseType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginResponseType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:YesNoField"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.YesNoField"
> >        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:UniformSiteIdentification"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>CnCodeListType>ListName"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:AlternativeReferenceType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AlternativeReferenceType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>PaymentDetailsType>PayerAddress"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>CnCodeType>ExtraText"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>AssociatedDocumentType>AttachedDocument"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeAttachedDocument"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
> >        qname="ns:>>GetCnCodeListByCategory>ListName"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:GetUniformDatabaseAliasesResponseType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesResponseType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>AssociatedDocumentType>ExternalDocument"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeExternalDocument"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>PaymentDetailsType>AmountReceived"
> >        type="java:java.math.BigDecimal"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:PaymentDetailsType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.PaymentDetailsType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:UniformLoginRequestType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>AssociatedDocumentType>Description"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
> >        qname="ns:>>GetCnCodeList>ListName"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:CnCodeArrayType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeArrayType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:>UniformLoginCredentialsType>UniformPassword"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:OfficerName"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:UniformDatabaseAlias"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformDatabaseAlias"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:>UniformLoginCredentialsType>DatabaseID"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>CnCodeListType>ListText"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
> >        qname="ns:>>GetCnCodeCategories>CategoryListName"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:>AlternativeReferenceType>ReferenceValue"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
> >        qname="ns:GetUniformDatabaseAliasesType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:CNCODE_CodeValue"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:CnCodeNameValuePairType"
> >        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeNameValuePairType"
> >        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
> >        encodingStyle=""
> >      />
> >      <typeMapping
> >        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
> >        qname="ns:UPRNType"
> >        type="java:java.lang.String"
> >        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >        encodingStyle=""
> >      />
> >  </service>
> > </deployment>
> > 
> > 
> > On Wed, Jul 06, 2005 at 09:10:25AM -0400, Anne Thomas Manes wrote:
> > > John,
> > >
> > > Please post the complete WSDD file also.
> > >
> > > Anne
> > >
> > > On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > And as a further twist, another method called from the Axis Stubs generated
> > > > from teh WSDL what would seem to send the correct request:
> > > >
> > > > <soapenv:Body>
> > > >  <GetCnCodeList xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > >    <ListName>moo</ListName>
> > > >  </GetCnCodeList>
> > > >
> > > > So it would seem as if it's just the LogonToConnector method that suffers
> > > > from this repeating element problem, i.e. the Stubs generate two elements
> > > > and not one.
> > > >
> > > > John
> > > >
> > > >
> > > > On Wed, Jul 06, 2005 at 11:25:39AM +0100, John Baker wrote:
> > > > > As a bit of an update, by hacking the 'commercial app' and persuading it to
> > > > > send this:
> > > > >
> > > > >  <soapenv:Body>
> > > > >    <ns1:LogonToConnector
> > > > > xmlns:ns1="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > >    <ns1:LogonToConnector>
> > > > >        <ns1:UniformLoginCredentials
> > > > > xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes">
> > > > >
> > > > > (i.e. two LogonToConnector nodes), the WS is deserialised correctly.
> > > > >
> > > > > So I guess my question is now: Why does the Java sources and WSDD generated
> > > > > from the WSDL (which I have put here:
> > > > > http://www.javasystemsolutions.com/source.wsdl) result in the doubling of
> > > > > that element in the SOAP request? What is telling Axis to expect two
> > > > > LogonToConnector nodes? I assume the deploy.wsdd? Why? :)
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > John
> > > > >
> > > > > On Wed, Jul 06, 2005 at 06:29:42AM +0100, John Baker wrote:
> > > > > > Or rather, put more simply, I am generating Stub classes from a WDSL which
> > > > > > generate a second LogonToConnector element. The 'commercial app' seems to be
> > > > > > building the SOAP message manually (it's not using stubs) so perhaps that's
> > > > > > why the XML is so different, but I'd like to understand why there are two
> > > > > > LogonToConnector elements from the Stub request.
> > > > > >
> > > > > >
> > > > > > John
> > > > > >
> > > > > > On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
> > > > > > > I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
> > > > > > > deploying the stubs (by changing the classname in the deploy.wsdd). I then
> > > > > > > wrote a few lines to invoke the stub and logged the output, giving the
> > > > > > > double LogonToConnector output.
> > > > > > >
> > > > > > > What I'm trying to achieve is invokation of a deployed webservice, where
> > > > > > > that deployed webservice was derived from the original WSDL.
> > > > > > >
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > > On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> > > > > > > > According to the WSDL, there should be only one LogonToConnector
> > > > > > > > element. The message should look like the first message you posted
> > > > > > > > (the one generated by your Java application. I have no idea why the
> > > > > > > > stub generates an extra LogonToConnector element, or why that message
> > > > > > > > seems to work. I also don't know why the stub adds the xsi:type
> > > > > > > > attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> > > > > > > >
> > > > > > > > Can you review for us again the sequence you went through to create
> > > > > > > > the service and the client?
> > > > > > > >
> > > > > > > > I also suggest that you edit the WSDD typeMapping to specify:
> > > > > > > > qname="ns:DatabaseID" rather than
> > > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > > >
> > > > > > > > Also, what version of Axis are you using?
> > > > > > > >
> > > > > > > > Anne
> > > > > > > >
> > > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > > > I should point out that the call which works is being generated by the Java
> > > > > > > > > stubs generated from the WSDL, while the offending request is being
> > > > > > > > > generated by another bit of Java building up it's own SOAP message (although
> > > > > > > > > it seems to use the axis client libraries). I guess the major question is:
> > > > > > > > > Why did the stubs use two LogonToConnector elements...
> > > > > > > > >
> > > > > > > > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > > > > > > > > Please post the WSDL.
> > > > > > > > > >
> > > > > > > > > > There is a big difference between the two messages -- one has an extra
> > > > > > > > > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > > > > > > > > I'd expect the error to occur on that element rather than on
> > > > > > > > > > DatabaseID.
> > > > > > > > > >
> > > > > > > > > > Your WSDD also looks suspect. The qname should be
> > > > > > > > > > qname="ns:DatabaseID" rather than
> > > > > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > > > > > > > > >
> > > > > > > > > > Anne
> > > > > > > > > >
> > > > > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > > > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > > > > > > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > > > > > > > > this call:
> > > > > > > > > > >
> > > > > > > > > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > > > > > > > >  <LogonToConnector>
> > > > > > > > > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > > >  </LogonToConnector>
> > > > > > > > > > > </LogonToConnector>
> > > > > > > > > > >
> > > > > > > > > > > Which is unserialised without a problem. So what is different between that
> > > > > > > > > > > and this:
> > > > > > > > > > >
> > > > > > > > > > > <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>
> > > > > > > > > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > > > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > > >   </LogonToConnector>
> > > > > > > > > > >  </soapenv:Body>
> > > > > > > > > > > </soapenv:Envelope>
> > > > > > > > > > >
> > > > > > > > > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > > > > > > > > Hi,
> > > > > > > > > > > >
> > > > > > > > > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > > > > > > > > exception:
> > > > > > > > > > > >
> > > > > > > > > > > > AxisFault
> > > > > > > > > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > > > > > > > >   faultSubcode:
> > > > > > > > > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > > > > - DatabaseID
> > > > > > > > > > > >  faultActor:
> > > > > > > > > > > >   faultNode:
> > > > > > > > > > > >    faultDetail:
> > > > > > > > > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > > > > > > > > Invalid element in
> > > > > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > > > > - DatabaseID
> > > > > > > > > > > >         at
> > > > > > > > > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > > > > > > > > >         at
> > > > > > > > > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > > > > > > > > >
> > > > > > > > > > > > The SOAP request is as follows:
> > > > > > > > > > > >
> > > > > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > > > <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><LogonToConnector
> > > > > > > > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > > > > > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > > > > > > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > > > > > > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > > > > </LogonToConnector>
> > > > > > > > > > > >
> > > > > > > > > > > > </soapenv:Body></soapenv:Envelope>
> > > > > > > > > > > >
> > > > > > > > > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > > > > > > > > >
> > > > > > > > > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > > > > > > >         type="java:java.lang.String"
> > > > > > > > > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > > > > > > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > > > > > > > > >         encodingStyle=""
> > > > > > > > > > > >        />
> > > > > > > > > > > >
> > > > > > > > > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > > > > > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > > > > > > > > DatabaseID element?
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > >
> > > >
> >

Re: Invalid element/Deserialisation

Posted by Anne Thomas Manes <at...@gmail.com>.
John,

Okay -- I see the problem. You haven't actually defined the
LogonToConnector element exactly according to the wrapped convention,
so Axis is getting confused.

You defined LogonToConnector like this:

    <xs:element name="LogonToConnector" 
             type="conn:UniformLoginRequestType" />

Axis can't quite identify the child parameter element which is of type
UniformLoginRequestType, so it created another LogonToConnector
element to represent this type. (indicated by the <parameter>
definition in your WSDD)

Please modify LogonToConnector element description in your WSDL to this:

                       <xs:element name="LogonToConnector">
                               <xs:complexType>
                                       <xs:sequence>
                                               <xs:element
ref="conn:UniformLoginRequest" />
                                       </xs:sequence>
                               </xs:complexType>
                       </xs:element>

That should take care of it.

Anne

On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
> Here's the wsdd file as generated by Axis 1.2.1:
> 
> <!-- Use this file to deploy some handlers/chains and services      -->
> <!-- Two ways to do this:                                           -->
> <!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
> <!--      after the axis server is running                          -->
> <!-- or                                                             -->
> <!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
> <!--      from the same directory that the Axis engine runs         -->
> 
> <deployment
>    xmlns="http://xml.apache.org/axis/wsdd/"
>    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> 
>  <!-- Services from ServiceRequestConnectorService WSDL service -->
> 
>  <service name="CommonConnectorSoapPort" provider="java:RPC" style="wrapped" use="literal">
>      <parameter name="wsdlTargetNamespace" value="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/service"/>
>      <parameter name="wsdlServiceElement" value="ServiceRequestConnectorService"/>
>      <parameter name="schemaQualified" value="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes,http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes,http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>      <parameter name="wsdlServicePort" value="CommonConnectorSoapPort"/>
>      <parameter name="className" value="uk.co.caps_solutions.www.webservices.connectors.servicerequest.service.CommonConnectorSoapBindingImpl"/>
>      <parameter name="wsdlPortType" value="ICommonConnector"/>
>      <parameter name="typeMappingVersion" value="1.2"/>
>      <operation name="getUniformDatabaseAliases" qname="operNS:GetUniformDatabaseAliases" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:ArrayOfUniformDatabaseAlias" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" returnType="rtns:ArrayOfUniformDatabaseAliasType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetUniformDatabaseAliases" >
>      </operation>
>      <operation name="logonToConnector" qname="LogonToConnector" returnQName="retNS:LogonToConnectorResponse" xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnType="rtns:>LogonToConnectorResponse" xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogonToConnector" >
>        <parameter qname="pns:LogonToConnector" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:UniformLoginRequestType" xmlns:tns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"/>
>      </operation>
>      <operation name="logoffFromConnector" qname="operNS:LogoffFromConnector" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:UniformLogoffResponse" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" returnType="rtns:UniformLogoffResponseType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogoffFromConnector" >
>      </operation>
>      <operation name="getConnectorLoginStatus" qname="GetConnectorLoginStatus" returnQName="retNS:GetConnectorLoginStatusResponse" xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnType="rtns:>GetConnectorLoginStatusResponse" xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetConnectorLoginStatus" >
>        <parameter qname="pns:GetConnectorLoginStatus" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:anyType" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
>      </operation>
>      <operation name="getCnCodeList" qname="operNS:GetCnCodeList" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeList" >
>        <parameter qname="pns:ListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeList>ListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>      </operation>
>      <operation name="getCnCodeListByCategory" qname="operNS:GetCnCodeListByCategory" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeListByCategory" >
>        <parameter qname="pns:ListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeListByCategory>ListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>        <parameter qname="pns:Category" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeListByCategory>Category" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>      </operation>
>      <operation name="getCnCodeCategories" qname="operNS:GetCnCodeCategories" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeCategories" >
>        <parameter qname="pns:CategoryListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeCategories>CategoryListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
>      </operation>
>      <parameter name="allowedMethods" value="getConnectorLoginStatus getUniformDatabaseAliases getCnCodeListByCategory logoffFromConnector logonToConnector getCnCodeCategories getCnCodeList"/>
> 
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:CnCodeType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:TechnicalKeyType"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>PaymentDetailsType>PayerName"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>        qname="ns:>>GetCnCodeListByCategory>Category"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:RefValType"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:UniformLoginCredentialsType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginCredentialsType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:AssociatedDocumentArrayType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentArrayType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:OfficerCode"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:>UniformLoginCredentialsType>UniformUserName"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>PaymentDetailsType>NameOnCheque"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>AssociatedDocumentType>MimeType"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:TrueFalseField"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.TrueFalseField"
>        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:AssociatedDocumentType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:CNCODE_TextValue"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:AddressType"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:UniformLogoffResponseType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLogoffResponseType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:ArrayOfUniformDatabaseAliasType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.ArrayOfUniformDatabaseAliasType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>AssociatedDocumentType>DocumentRef"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>AssociatedDocumentType>OriginalFilename"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:CnCodeListType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeListType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:UniformLoginResponseType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginResponseType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:YesNoField"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.YesNoField"
>        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:UniformSiteIdentification"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>CnCodeListType>ListName"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:AlternativeReferenceType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AlternativeReferenceType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>PaymentDetailsType>PayerAddress"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>CnCodeType>ExtraText"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>AssociatedDocumentType>AttachedDocument"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeAttachedDocument"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>        qname="ns:>>GetCnCodeListByCategory>ListName"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:GetUniformDatabaseAliasesResponseType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesResponseType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>AssociatedDocumentType>ExternalDocument"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeExternalDocument"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>PaymentDetailsType>AmountReceived"
>        type="java:java.math.BigDecimal"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:PaymentDetailsType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.PaymentDetailsType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:UniformLoginRequestType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>AssociatedDocumentType>Description"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>        qname="ns:>>GetCnCodeList>ListName"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:CnCodeArrayType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeArrayType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:>UniformLoginCredentialsType>UniformPassword"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:OfficerName"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:UniformDatabaseAlias"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformDatabaseAlias"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:>UniformLoginCredentialsType>DatabaseID"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>CnCodeListType>ListText"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
>        qname="ns:>>GetCnCodeCategories>CategoryListName"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:>AlternativeReferenceType>ReferenceValue"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
>        qname="ns:GetUniformDatabaseAliasesType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:CNCODE_CodeValue"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:CnCodeNameValuePairType"
>        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeNameValuePairType"
>        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
>        encodingStyle=""
>      />
>      <typeMapping
>        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
>        qname="ns:UPRNType"
>        type="java:java.lang.String"
>        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>        encodingStyle=""
>      />
>  </service>
> </deployment>
> 
> 
> On Wed, Jul 06, 2005 at 09:10:25AM -0400, Anne Thomas Manes wrote:
> > John,
> >
> > Please post the complete WSDD file also.
> >
> > Anne
> >
> > On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > And as a further twist, another method called from the Axis Stubs generated
> > > from teh WSDL what would seem to send the correct request:
> > >
> > > <soapenv:Body>
> > >  <GetCnCodeList xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > >    <ListName>moo</ListName>
> > >  </GetCnCodeList>
> > >
> > > So it would seem as if it's just the LogonToConnector method that suffers
> > > from this repeating element problem, i.e. the Stubs generate two elements
> > > and not one.
> > >
> > > John
> > >
> > >
> > > On Wed, Jul 06, 2005 at 11:25:39AM +0100, John Baker wrote:
> > > > As a bit of an update, by hacking the 'commercial app' and persuading it to
> > > > send this:
> > > >
> > > >  <soapenv:Body>
> > > >    <ns1:LogonToConnector
> > > > xmlns:ns1="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > >    <ns1:LogonToConnector>
> > > >        <ns1:UniformLoginCredentials
> > > > xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes">
> > > >
> > > > (i.e. two LogonToConnector nodes), the WS is deserialised correctly.
> > > >
> > > > So I guess my question is now: Why does the Java sources and WSDD generated
> > > > from the WSDL (which I have put here:
> > > > http://www.javasystemsolutions.com/source.wsdl) result in the doubling of
> > > > that element in the SOAP request? What is telling Axis to expect two
> > > > LogonToConnector nodes? I assume the deploy.wsdd? Why? :)
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > John
> > > >
> > > > On Wed, Jul 06, 2005 at 06:29:42AM +0100, John Baker wrote:
> > > > > Or rather, put more simply, I am generating Stub classes from a WDSL which
> > > > > generate a second LogonToConnector element. The 'commercial app' seems to be
> > > > > building the SOAP message manually (it's not using stubs) so perhaps that's
> > > > > why the XML is so different, but I'd like to understand why there are two
> > > > > LogonToConnector elements from the Stub request.
> > > > >
> > > > >
> > > > > John
> > > > >
> > > > > On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
> > > > > > I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
> > > > > > deploying the stubs (by changing the classname in the deploy.wsdd). I then
> > > > > > wrote a few lines to invoke the stub and logged the output, giving the
> > > > > > double LogonToConnector output.
> > > > > >
> > > > > > What I'm trying to achieve is invokation of a deployed webservice, where
> > > > > > that deployed webservice was derived from the original WSDL.
> > > > > >
> > > > > >
> > > > > > John
> > > > > >
> > > > > > On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> > > > > > > According to the WSDL, there should be only one LogonToConnector
> > > > > > > element. The message should look like the first message you posted
> > > > > > > (the one generated by your Java application. I have no idea why the
> > > > > > > stub generates an extra LogonToConnector element, or why that message
> > > > > > > seems to work. I also don't know why the stub adds the xsi:type
> > > > > > > attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> > > > > > >
> > > > > > > Can you review for us again the sequence you went through to create
> > > > > > > the service and the client?
> > > > > > >
> > > > > > > I also suggest that you edit the WSDD typeMapping to specify:
> > > > > > > qname="ns:DatabaseID" rather than
> > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > >
> > > > > > > Also, what version of Axis are you using?
> > > > > > >
> > > > > > > Anne
> > > > > > >
> > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > > I should point out that the call which works is being generated by the Java
> > > > > > > > stubs generated from the WSDL, while the offending request is being
> > > > > > > > generated by another bit of Java building up it's own SOAP message (although
> > > > > > > > it seems to use the axis client libraries). I guess the major question is:
> > > > > > > > Why did the stubs use two LogonToConnector elements...
> > > > > > > >
> > > > > > > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > > > > > > > Please post the WSDL.
> > > > > > > > >
> > > > > > > > > There is a big difference between the two messages -- one has an extra
> > > > > > > > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > > > > > > > I'd expect the error to occur on that element rather than on
> > > > > > > > > DatabaseID.
> > > > > > > > >
> > > > > > > > > Your WSDD also looks suspect. The qname should be
> > > > > > > > > qname="ns:DatabaseID" rather than
> > > > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > > > > > > > >
> > > > > > > > > Anne
> > > > > > > > >
> > > > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > > > > > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > > > > > > > this call:
> > > > > > > > > >
> > > > > > > > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > > > > > > >  <LogonToConnector>
> > > > > > > > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > >  </LogonToConnector>
> > > > > > > > > > </LogonToConnector>
> > > > > > > > > >
> > > > > > > > > > Which is unserialised without a problem. So what is different between that
> > > > > > > > > > and this:
> > > > > > > > > >
> > > > > > > > > > <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>
> > > > > > > > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > >   </LogonToConnector>
> > > > > > > > > >  </soapenv:Body>
> > > > > > > > > > </soapenv:Envelope>
> > > > > > > > > >
> > > > > > > > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > > > > > > > Hi,
> > > > > > > > > > >
> > > > > > > > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > > > > > > > exception:
> > > > > > > > > > >
> > > > > > > > > > > AxisFault
> > > > > > > > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > > > > > > >   faultSubcode:
> > > > > > > > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > > > - DatabaseID
> > > > > > > > > > >  faultActor:
> > > > > > > > > > >   faultNode:
> > > > > > > > > > >    faultDetail:
> > > > > > > > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > > > > > > > Invalid element in
> > > > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > > > - DatabaseID
> > > > > > > > > > >         at
> > > > > > > > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > > > > > > > >         at
> > > > > > > > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > > > > > > > >
> > > > > > > > > > > The SOAP request is as follows:
> > > > > > > > > > >
> > > > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > > <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><LogonToConnector
> > > > > > > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > > > > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > > > > > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > > > > > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > > > </LogonToConnector>
> > > > > > > > > > >
> > > > > > > > > > > </soapenv:Body></soapenv:Envelope>
> > > > > > > > > > >
> > > > > > > > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > > > > > > > >
> > > > > > > > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > > > > > >         type="java:java.lang.String"
> > > > > > > > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > > > > > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > > > > > > > >         encodingStyle=""
> > > > > > > > > > >        />
> > > > > > > > > > >
> > > > > > > > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > > > > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > > > > > > > DatabaseID element?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > >
> > > > > > > >
> > >
>

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
Here's the wsdd file as generated by Axis 1.2.1:

<!-- Use this file to deploy some handlers/chains and services      -->
<!-- Two ways to do this:                                           -->
<!--   java org.apache.axis.client.AdminClient deploy.wsdd          -->
<!--      after the axis server is running                          -->
<!-- or                                                             -->
<!--   java org.apache.axis.utils.Admin client|server deploy.wsdd   -->
<!--      from the same directory that the Axis engine runs         -->

<deployment
    xmlns="http://xml.apache.org/axis/wsdd/"
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

  <!-- Services from ServiceRequestConnectorService WSDL service -->

  <service name="CommonConnectorSoapPort" provider="java:RPC" style="wrapped" use="literal">
      <parameter name="wsdlTargetNamespace" value="http://www.caps-solutions.co.uk/webservices/connectors/servicerequest/service"/>
      <parameter name="wsdlServiceElement" value="ServiceRequestConnectorService"/>
      <parameter name="schemaQualified" value="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes,http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes,http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
      <parameter name="wsdlServicePort" value="CommonConnectorSoapPort"/>
      <parameter name="className" value="uk.co.caps_solutions.www.webservices.connectors.servicerequest.service.CommonConnectorSoapBindingImpl"/>
      <parameter name="wsdlPortType" value="ICommonConnector"/>
      <parameter name="typeMappingVersion" value="1.2"/>
      <operation name="getUniformDatabaseAliases" qname="operNS:GetUniformDatabaseAliases" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:ArrayOfUniformDatabaseAlias" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" returnType="rtns:ArrayOfUniformDatabaseAliasType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetUniformDatabaseAliases" >
      </operation>
      <operation name="logonToConnector" qname="LogonToConnector" returnQName="retNS:LogonToConnectorResponse" xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnType="rtns:>LogonToConnectorResponse" xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogonToConnector" >
        <parameter qname="pns:LogonToConnector" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:UniformLoginRequestType" xmlns:tns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"/>
      </operation>
      <operation name="logoffFromConnector" qname="operNS:LogoffFromConnector" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:UniformLogoffResponse" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" returnType="rtns:UniformLogoffResponseType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/LogoffFromConnector" >
      </operation>
      <operation name="getConnectorLoginStatus" qname="GetConnectorLoginStatus" returnQName="retNS:GetConnectorLoginStatusResponse" xmlns:retNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnType="rtns:>GetConnectorLoginStatusResponse" xmlns:rtns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetConnectorLoginStatus" >
        <parameter qname="pns:GetConnectorLoginStatus" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:anyType" xmlns:tns="http://www.w3.org/2001/XMLSchema"/>
      </operation>
      <operation name="getCnCodeList" qname="operNS:GetCnCodeList" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeList" >
        <parameter qname="pns:ListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeList>ListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
      </operation>
      <operation name="getCnCodeListByCategory" qname="operNS:GetCnCodeListByCategory" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeListByCategory" >
        <parameter qname="pns:ListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeListByCategory>ListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
        <parameter qname="pns:Category" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeListByCategory>Category" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
      </operation>
      <operation name="getCnCodeCategories" qname="operNS:GetCnCodeCategories" xmlns:operNS="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" returnQName="retNS:CnCodeList" xmlns:retNS="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" returnType="rtns:CnCodeListType" xmlns:rtns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes" soapAction="http://www.caps-solutions.co.uk/webservices/connectors/common/actions/GetCnCodeCategories" >
        <parameter qname="pns:CategoryListName" xmlns:pns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" type="tns:>>GetCnCodeCategories>CategoryListName" xmlns:tns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"/>
      </operation>
      <parameter name="allowedMethods" value="getConnectorLoginStatus getUniformDatabaseAliases getCnCodeListByCategory logoffFromConnector logonToConnector getCnCodeCategories getCnCodeList"/>

      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:CnCodeType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:TechnicalKeyType"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>PaymentDetailsType>PayerName"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
        qname="ns:>>GetCnCodeListByCategory>Category"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:RefValType"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:UniformLoginCredentialsType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginCredentialsType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:AssociatedDocumentArrayType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentArrayType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:OfficerCode"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:>UniformLoginCredentialsType>UniformUserName"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>PaymentDetailsType>NameOnCheque"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>AssociatedDocumentType>MimeType"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:TrueFalseField"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.TrueFalseField"
        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:AssociatedDocumentType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:CNCODE_TextValue"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:AddressType"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:UniformLogoffResponseType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLogoffResponseType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:ArrayOfUniformDatabaseAliasType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.ArrayOfUniformDatabaseAliasType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>AssociatedDocumentType>DocumentRef"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>AssociatedDocumentType>OriginalFilename"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:CnCodeListType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeListType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:UniformLoginResponseType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginResponseType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:YesNoField"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.YesNoField"
        serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:UniformSiteIdentification"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>CnCodeListType>ListName"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:AlternativeReferenceType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AlternativeReferenceType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>PaymentDetailsType>PayerAddress"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>CnCodeType>ExtraText"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>AssociatedDocumentType>AttachedDocument"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeAttachedDocument"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
        qname="ns:>>GetCnCodeListByCategory>ListName"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:GetUniformDatabaseAliasesResponseType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesResponseType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>AssociatedDocumentType>ExternalDocument"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.AssociatedDocumentTypeExternalDocument"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>PaymentDetailsType>AmountReceived"
        type="java:java.math.BigDecimal"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:PaymentDetailsType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.PaymentDetailsType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:UniformLoginRequestType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>AssociatedDocumentType>Description"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
        qname="ns:>>GetCnCodeList>ListName"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:CnCodeArrayType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeArrayType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:>UniformLoginCredentialsType>UniformPassword"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:OfficerName"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:UniformDatabaseAlias"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformDatabaseAlias"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:>UniformLoginCredentialsType>DatabaseID"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>CnCodeListType>ListText"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes"
        qname="ns:>>GetCnCodeCategories>CategoryListName"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:>AlternativeReferenceType>ReferenceValue"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes"
        qname="ns:GetUniformDatabaseAliasesType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.GetUniformDatabaseAliasesType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:CNCODE_CodeValue"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:CnCodeNameValuePairType"
        type="java:uk.co.caps_solutions.www.schema.uniform._72b.common.uniformtypes.CnCodeNameValuePairType"
        serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="http://www.caps-solutions.co.uk/schema/uniform/72b/common/uniformtypes"
        qname="ns:UPRNType"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
  </service>
</deployment>


On Wed, Jul 06, 2005 at 09:10:25AM -0400, Anne Thomas Manes wrote:
> John, 
> 
> Please post the complete WSDD file also.
> 
> Anne
> 
> On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
> > And as a further twist, another method called from the Axis Stubs generated
> > from teh WSDL what would seem to send the correct request:
> > 
> > <soapenv:Body>
> >  <GetCnCodeList xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> >    <ListName>moo</ListName>
> >  </GetCnCodeList>
> > 
> > So it would seem as if it's just the LogonToConnector method that suffers
> > from this repeating element problem, i.e. the Stubs generate two elements
> > and not one.
> > 
> > John
> > 
> > 
> > On Wed, Jul 06, 2005 at 11:25:39AM +0100, John Baker wrote:
> > > As a bit of an update, by hacking the 'commercial app' and persuading it to
> > > send this:
> > >
> > >  <soapenv:Body>
> > >    <ns1:LogonToConnector
> > > xmlns:ns1="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > >    <ns1:LogonToConnector>
> > >        <ns1:UniformLoginCredentials
> > > xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes">
> > >
> > > (i.e. two LogonToConnector nodes), the WS is deserialised correctly.
> > >
> > > So I guess my question is now: Why does the Java sources and WSDD generated
> > > from the WSDL (which I have put here:
> > > http://www.javasystemsolutions.com/source.wsdl) result in the doubling of
> > > that element in the SOAP request? What is telling Axis to expect two
> > > LogonToConnector nodes? I assume the deploy.wsdd? Why? :)
> > >
> > > Thanks,
> > >
> > >
> > > John
> > >
> > > On Wed, Jul 06, 2005 at 06:29:42AM +0100, John Baker wrote:
> > > > Or rather, put more simply, I am generating Stub classes from a WDSL which
> > > > generate a second LogonToConnector element. The 'commercial app' seems to be
> > > > building the SOAP message manually (it's not using stubs) so perhaps that's
> > > > why the XML is so different, but I'd like to understand why there are two
> > > > LogonToConnector elements from the Stub request.
> > > >
> > > >
> > > > John
> > > >
> > > > On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
> > > > > I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
> > > > > deploying the stubs (by changing the classname in the deploy.wsdd). I then
> > > > > wrote a few lines to invoke the stub and logged the output, giving the
> > > > > double LogonToConnector output.
> > > > >
> > > > > What I'm trying to achieve is invokation of a deployed webservice, where
> > > > > that deployed webservice was derived from the original WSDL.
> > > > >
> > > > >
> > > > > John
> > > > >
> > > > > On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> > > > > > According to the WSDL, there should be only one LogonToConnector
> > > > > > element. The message should look like the first message you posted
> > > > > > (the one generated by your Java application. I have no idea why the
> > > > > > stub generates an extra LogonToConnector element, or why that message
> > > > > > seems to work. I also don't know why the stub adds the xsi:type
> > > > > > attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> > > > > >
> > > > > > Can you review for us again the sequence you went through to create
> > > > > > the service and the client?
> > > > > >
> > > > > > I also suggest that you edit the WSDD typeMapping to specify:
> > > > > > qname="ns:DatabaseID" rather than
> > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > >
> > > > > > Also, what version of Axis are you using?
> > > > > >
> > > > > > Anne
> > > > > >
> > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > I should point out that the call which works is being generated by the Java
> > > > > > > stubs generated from the WSDL, while the offending request is being
> > > > > > > generated by another bit of Java building up it's own SOAP message (although
> > > > > > > it seems to use the axis client libraries). I guess the major question is:
> > > > > > > Why did the stubs use two LogonToConnector elements...
> > > > > > >
> > > > > > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > > > > > > Please post the WSDL.
> > > > > > > >
> > > > > > > > There is a big difference between the two messages -- one has an extra
> > > > > > > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > > > > > > I'd expect the error to occur on that element rather than on
> > > > > > > > DatabaseID.
> > > > > > > >
> > > > > > > > Your WSDD also looks suspect. The qname should be
> > > > > > > > qname="ns:DatabaseID" rather than
> > > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > > > > > > >
> > > > > > > > Anne
> > > > > > > >
> > > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > > > > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > > > > > > this call:
> > > > > > > > >
> > > > > > > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > > > > > >  <LogonToConnector>
> > > > > > > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > >  </LogonToConnector>
> > > > > > > > > </LogonToConnector>
> > > > > > > > >
> > > > > > > > > Which is unserialised without a problem. So what is different between that
> > > > > > > > > and this:
> > > > > > > > >
> > > > > > > > > <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>
> > > > > > > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > >   </LogonToConnector>
> > > > > > > > >  </soapenv:Body>
> > > > > > > > > </soapenv:Envelope>
> > > > > > > > >
> > > > > > > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > > > > > > Hi,
> > > > > > > > > >
> > > > > > > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > > > > > > exception:
> > > > > > > > > >
> > > > > > > > > > AxisFault
> > > > > > > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > > > > > >   faultSubcode:
> > > > > > > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > > - DatabaseID
> > > > > > > > > >  faultActor:
> > > > > > > > > >   faultNode:
> > > > > > > > > >    faultDetail:
> > > > > > > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > > > > > > Invalid element in
> > > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > > - DatabaseID
> > > > > > > > > >         at
> > > > > > > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > > > > > > >         at
> > > > > > > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > > > > > > >
> > > > > > > > > > The SOAP request is as follows:
> > > > > > > > > >
> > > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > > <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><LogonToConnector
> > > > > > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > > > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > > > > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > > > > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > > </LogonToConnector>
> > > > > > > > > >
> > > > > > > > > > </soapenv:Body></soapenv:Envelope>
> > > > > > > > > >
> > > > > > > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > > > > > > >
> > > > > > > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > > > > >         type="java:java.lang.String"
> > > > > > > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > > > > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > > > > > > >         encodingStyle=""
> > > > > > > > > >        />
> > > > > > > > > >
> > > > > > > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > > > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > > > > > > DatabaseID element?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > >
> > > > > > >
> >

Re: Invalid element/Deserialisation

Posted by Anne Thomas Manes <at...@gmail.com>.
John, 

Please post the complete WSDD file also.

Anne

On 7/6/05, John Baker <jb...@sasami.atomised.org> wrote:
> And as a further twist, another method called from the Axis Stubs generated
> from teh WSDL what would seem to send the correct request:
> 
> <soapenv:Body>
>  <GetCnCodeList xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
>    <ListName>moo</ListName>
>  </GetCnCodeList>
> 
> So it would seem as if it's just the LogonToConnector method that suffers
> from this repeating element problem, i.e. the Stubs generate two elements
> and not one.
> 
> John
> 
> 
> On Wed, Jul 06, 2005 at 11:25:39AM +0100, John Baker wrote:
> > As a bit of an update, by hacking the 'commercial app' and persuading it to
> > send this:
> >
> >  <soapenv:Body>
> >    <ns1:LogonToConnector
> > xmlns:ns1="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> >    <ns1:LogonToConnector>
> >        <ns1:UniformLoginCredentials
> > xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes">
> >
> > (i.e. two LogonToConnector nodes), the WS is deserialised correctly.
> >
> > So I guess my question is now: Why does the Java sources and WSDD generated
> > from the WSDL (which I have put here:
> > http://www.javasystemsolutions.com/source.wsdl) result in the doubling of
> > that element in the SOAP request? What is telling Axis to expect two
> > LogonToConnector nodes? I assume the deploy.wsdd? Why? :)
> >
> > Thanks,
> >
> >
> > John
> >
> > On Wed, Jul 06, 2005 at 06:29:42AM +0100, John Baker wrote:
> > > Or rather, put more simply, I am generating Stub classes from a WDSL which
> > > generate a second LogonToConnector element. The 'commercial app' seems to be
> > > building the SOAP message manually (it's not using stubs) so perhaps that's
> > > why the XML is so different, but I'd like to understand why there are two
> > > LogonToConnector elements from the Stub request.
> > >
> > >
> > > John
> > >
> > > On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
> > > > I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
> > > > deploying the stubs (by changing the classname in the deploy.wsdd). I then
> > > > wrote a few lines to invoke the stub and logged the output, giving the
> > > > double LogonToConnector output.
> > > >
> > > > What I'm trying to achieve is invokation of a deployed webservice, where
> > > > that deployed webservice was derived from the original WSDL.
> > > >
> > > >
> > > > John
> > > >
> > > > On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> > > > > According to the WSDL, there should be only one LogonToConnector
> > > > > element. The message should look like the first message you posted
> > > > > (the one generated by your Java application. I have no idea why the
> > > > > stub generates an extra LogonToConnector element, or why that message
> > > > > seems to work. I also don't know why the stub adds the xsi:type
> > > > > attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> > > > >
> > > > > Can you review for us again the sequence you went through to create
> > > > > the service and the client?
> > > > >
> > > > > I also suggest that you edit the WSDD typeMapping to specify:
> > > > > qname="ns:DatabaseID" rather than
> > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > >
> > > > > Also, what version of Axis are you using?
> > > > >
> > > > > Anne
> > > > >
> > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > I should point out that the call which works is being generated by the Java
> > > > > > stubs generated from the WSDL, while the offending request is being
> > > > > > generated by another bit of Java building up it's own SOAP message (although
> > > > > > it seems to use the axis client libraries). I guess the major question is:
> > > > > > Why did the stubs use two LogonToConnector elements...
> > > > > >
> > > > > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > > > > > Please post the WSDL.
> > > > > > >
> > > > > > > There is a big difference between the two messages -- one has an extra
> > > > > > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > > > > > I'd expect the error to occur on that element rather than on
> > > > > > > DatabaseID.
> > > > > > >
> > > > > > > Your WSDD also looks suspect. The qname should be
> > > > > > > qname="ns:DatabaseID" rather than
> > > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > > > > > >
> > > > > > > Anne
> > > > > > >
> > > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > > > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > > > > > this call:
> > > > > > > >
> > > > > > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > > > > >  <LogonToConnector>
> > > > > > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > >  </LogonToConnector>
> > > > > > > > </LogonToConnector>
> > > > > > > >
> > > > > > > > Which is unserialised without a problem. So what is different between that
> > > > > > > > and this:
> > > > > > > >
> > > > > > > > <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>
> > > > > > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > >   </LogonToConnector>
> > > > > > > >  </soapenv:Body>
> > > > > > > > </soapenv:Envelope>
> > > > > > > >
> > > > > > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > > > > > exception:
> > > > > > > > >
> > > > > > > > > AxisFault
> > > > > > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > > > > >   faultSubcode:
> > > > > > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > - DatabaseID
> > > > > > > > >  faultActor:
> > > > > > > > >   faultNode:
> > > > > > > > >    faultDetail:
> > > > > > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > > > > > Invalid element in
> > > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > > - DatabaseID
> > > > > > > > >         at
> > > > > > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > > > > > >         at
> > > > > > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > > > > > >
> > > > > > > > > The SOAP request is as follows:
> > > > > > > > >
> > > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > > <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><LogonToConnector
> > > > > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > > > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > > > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > > </LogonToConnector>
> > > > > > > > >
> > > > > > > > > </soapenv:Body></soapenv:Envelope>
> > > > > > > > >
> > > > > > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > > > > > >
> > > > > > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > > > >         type="java:java.lang.String"
> > > > > > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > > > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > > > > > >         encodingStyle=""
> > > > > > > > >        />
> > > > > > > > >
> > > > > > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > > > > > DatabaseID element?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > John
> > > > > > > >
> > > > > >
>

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
And as a further twist, another method called from the Axis Stubs generated
from teh WSDL what would seem to send the correct request:

<soapenv:Body>
  <GetCnCodeList xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
    <ListName>moo</ListName>
  </GetCnCodeList>

So it would seem as if it's just the LogonToConnector method that suffers
from this repeating element problem, i.e. the Stubs generate two elements
and not one.

John


On Wed, Jul 06, 2005 at 11:25:39AM +0100, John Baker wrote:
> As a bit of an update, by hacking the 'commercial app' and persuading it to
> send this:
> 
>  <soapenv:Body>
>    <ns1:LogonToConnector
> xmlns:ns1="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
>    <ns1:LogonToConnector>
>        <ns1:UniformLoginCredentials
> xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes">
> 
> (i.e. two LogonToConnector nodes), the WS is deserialised correctly.
> 
> So I guess my question is now: Why does the Java sources and WSDD generated
> from the WSDL (which I have put here:
> http://www.javasystemsolutions.com/source.wsdl) result in the doubling of
> that element in the SOAP request? What is telling Axis to expect two
> LogonToConnector nodes? I assume the deploy.wsdd? Why? :)
> 
> Thanks,
> 
> 
> John
> 
> On Wed, Jul 06, 2005 at 06:29:42AM +0100, John Baker wrote:
> > Or rather, put more simply, I am generating Stub classes from a WDSL which
> > generate a second LogonToConnector element. The 'commercial app' seems to be
> > building the SOAP message manually (it's not using stubs) so perhaps that's
> > why the XML is so different, but I'd like to understand why there are two
> > LogonToConnector elements from the Stub request.
> > 
> > 
> > John
> > 
> > On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
> > > I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
> > > deploying the stubs (by changing the classname in the deploy.wsdd). I then
> > > wrote a few lines to invoke the stub and logged the output, giving the
> > > double LogonToConnector output.
> > > 
> > > What I'm trying to achieve is invokation of a deployed webservice, where
> > > that deployed webservice was derived from the original WSDL.
> > > 
> > > 
> > > John
> > > 
> > > On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> > > > According to the WSDL, there should be only one LogonToConnector
> > > > element. The message should look like the first message you posted
> > > > (the one generated by your Java application. I have no idea why the
> > > > stub generates an extra LogonToConnector element, or why that message
> > > > seems to work. I also don't know why the stub adds the xsi:type
> > > > attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> > > > 
> > > > Can you review for us again the sequence you went through to create
> > > > the service and the client?
> > > > 
> > > > I also suggest that you edit the WSDD typeMapping to specify:
> > > > qname="ns:DatabaseID" rather than
> > > > qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > 
> > > > Also, what version of Axis are you using?
> > > > 
> > > > Anne
> > > > 
> > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > I should point out that the call which works is being generated by the Java
> > > > > stubs generated from the WSDL, while the offending request is being
> > > > > generated by another bit of Java building up it's own SOAP message (although
> > > > > it seems to use the axis client libraries). I guess the major question is:
> > > > > Why did the stubs use two LogonToConnector elements...
> > > > > 
> > > > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > > > > Please post the WSDL.
> > > > > >
> > > > > > There is a big difference between the two messages -- one has an extra
> > > > > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > > > > I'd expect the error to occur on that element rather than on
> > > > > > DatabaseID.
> > > > > >
> > > > > > Your WSDD also looks suspect. The qname should be
> > > > > > qname="ns:DatabaseID" rather than
> > > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > > > > >
> > > > > > Anne
> > > > > >
> > > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > > > > this call:
> > > > > > >
> > > > > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > > > >  <LogonToConnector>
> > > > > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > >  </LogonToConnector>
> > > > > > > </LogonToConnector>
> > > > > > >
> > > > > > > Which is unserialised without a problem. So what is different between that
> > > > > > > and this:
> > > > > > >
> > > > > > > <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>
> > > > > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > >   </LogonToConnector>
> > > > > > >  </soapenv:Body>
> > > > > > > </soapenv:Envelope>
> > > > > > >
> > > > > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > > > > exception:
> > > > > > > >
> > > > > > > > AxisFault
> > > > > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > > > >   faultSubcode:
> > > > > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > - DatabaseID
> > > > > > > >  faultActor:
> > > > > > > >   faultNode:
> > > > > > > >    faultDetail:
> > > > > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > > > > Invalid element in
> > > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > > - DatabaseID
> > > > > > > >         at
> > > > > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > > > > >         at
> > > > > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > > > > >
> > > > > > > > The SOAP request is as follows:
> > > > > > > >
> > > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > > <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><LogonToConnector
> > > > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > > </LogonToConnector>
> > > > > > > >
> > > > > > > > </soapenv:Body></soapenv:Envelope>
> > > > > > > >
> > > > > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > > > > >
> > > > > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > > >         type="java:java.lang.String"
> > > > > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > > > > >         encodingStyle=""
> > > > > > > >        />
> > > > > > > >
> > > > > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > > > > DatabaseID element?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > John
> > > > > > >
> > > > >

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
As a bit of an update, by hacking the 'commercial app' and persuading it to
send this:

 <soapenv:Body>
   <ns1:LogonToConnector
xmlns:ns1="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
   <ns1:LogonToConnector>
       <ns1:UniformLoginCredentials
xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes">

(i.e. two LogonToConnector nodes), the WS is deserialised correctly.

So I guess my question is now: Why does the Java sources and WSDD generated
from the WSDL (which I have put here:
http://www.javasystemsolutions.com/source.wsdl) result in the doubling of
that element in the SOAP request? What is telling Axis to expect two
LogonToConnector nodes? I assume the deploy.wsdd? Why? :)

Thanks,


John

On Wed, Jul 06, 2005 at 06:29:42AM +0100, John Baker wrote:
> Or rather, put more simply, I am generating Stub classes from a WDSL which
> generate a second LogonToConnector element. The 'commercial app' seems to be
> building the SOAP message manually (it's not using stubs) so perhaps that's
> why the XML is so different, but I'd like to understand why there are two
> LogonToConnector elements from the Stub request.
> 
> 
> John
> 
> On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
> > I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
> > deploying the stubs (by changing the classname in the deploy.wsdd). I then
> > wrote a few lines to invoke the stub and logged the output, giving the
> > double LogonToConnector output.
> > 
> > What I'm trying to achieve is invokation of a deployed webservice, where
> > that deployed webservice was derived from the original WSDL.
> > 
> > 
> > John
> > 
> > On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> > > According to the WSDL, there should be only one LogonToConnector
> > > element. The message should look like the first message you posted
> > > (the one generated by your Java application. I have no idea why the
> > > stub generates an extra LogonToConnector element, or why that message
> > > seems to work. I also don't know why the stub adds the xsi:type
> > > attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> > > 
> > > Can you review for us again the sequence you went through to create
> > > the service and the client?
> > > 
> > > I also suggest that you edit the WSDD typeMapping to specify:
> > > qname="ns:DatabaseID" rather than
> > > qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > 
> > > Also, what version of Axis are you using?
> > > 
> > > Anne
> > > 
> > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > I should point out that the call which works is being generated by the Java
> > > > stubs generated from the WSDL, while the offending request is being
> > > > generated by another bit of Java building up it's own SOAP message (although
> > > > it seems to use the axis client libraries). I guess the major question is:
> > > > Why did the stubs use two LogonToConnector elements...
> > > > 
> > > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > > > Please post the WSDL.
> > > > >
> > > > > There is a big difference between the two messages -- one has an extra
> > > > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > > > I'd expect the error to occur on that element rather than on
> > > > > DatabaseID.
> > > > >
> > > > > Your WSDD also looks suspect. The qname should be
> > > > > qname="ns:DatabaseID" rather than
> > > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > > > >
> > > > > Anne
> > > > >
> > > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > > > this call:
> > > > > >
> > > > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > > >  <LogonToConnector>
> > > > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > >    </ns1:UniformLoginCredentials>
> > > > > >  </LogonToConnector>
> > > > > > </LogonToConnector>
> > > > > >
> > > > > > Which is unserialised without a problem. So what is different between that
> > > > > > and this:
> > > > > >
> > > > > > <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>
> > > > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > > > >    <ns1:UniformLoginCredentials>
> > > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > > >    </ns1:UniformLoginCredentials>
> > > > > >   </LogonToConnector>
> > > > > >  </soapenv:Body>
> > > > > > </soapenv:Envelope>
> > > > > >
> > > > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > >
> > > > > > John
> > > > > >
> > > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > > > Hi,
> > > > > > >
> > > > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > > > exception:
> > > > > > >
> > > > > > > AxisFault
> > > > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > > >   faultSubcode:
> > > > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > - DatabaseID
> > > > > > >  faultActor:
> > > > > > >   faultNode:
> > > > > > >    faultDetail:
> > > > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > > > Invalid element in
> > > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > > - DatabaseID
> > > > > > >         at
> > > > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > > > >         at
> > > > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > > > >
> > > > > > > The SOAP request is as follows:
> > > > > > >
> > > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > > <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><LogonToConnector
> > > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > > >    <ns1:UniformLoginCredentials>
> > > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > > > >    </ns1:UniformLoginCredentials>
> > > > > > > </LogonToConnector>
> > > > > > >
> > > > > > > </soapenv:Body></soapenv:Envelope>
> > > > > > >
> > > > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > > > >
> > > > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > > >         type="java:java.lang.String"
> > > > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > > > >         encodingStyle=""
> > > > > > >        />
> > > > > > >
> > > > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > > > DatabaseID element?
> > > > > > >
> > > > > > > Thanks,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > John
> > > > > >
> > > >

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
Or rather, put more simply, I am generating Stub classes from a WDSL which
generate a second LogonToConnector element. The 'commercial app' seems to be
building the SOAP message manually (it's not using stubs) so perhaps that's
why the XML is so different, but I'd like to understand why there are two
LogonToConnector elements from the Stub request.


John

On Tue, Jul 05, 2005 at 08:54:32PM +0100, John Baker wrote:
> I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
> deploying the stubs (by changing the classname in the deploy.wsdd). I then
> wrote a few lines to invoke the stub and logged the output, giving the
> double LogonToConnector output.
> 
> What I'm trying to achieve is invokation of a deployed webservice, where
> that deployed webservice was derived from the original WSDL.
> 
> 
> John
> 
> On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> > According to the WSDL, there should be only one LogonToConnector
> > element. The message should look like the first message you posted
> > (the one generated by your Java application. I have no idea why the
> > stub generates an extra LogonToConnector element, or why that message
> > seems to work. I also don't know why the stub adds the xsi:type
> > attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> > 
> > Can you review for us again the sequence you went through to create
> > the service and the client?
> > 
> > I also suggest that you edit the WSDD typeMapping to specify:
> > qname="ns:DatabaseID" rather than
> > qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > 
> > Also, what version of Axis are you using?
> > 
> > Anne
> > 
> > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > I should point out that the call which works is being generated by the Java
> > > stubs generated from the WSDL, while the offending request is being
> > > generated by another bit of Java building up it's own SOAP message (although
> > > it seems to use the axis client libraries). I guess the major question is:
> > > Why did the stubs use two LogonToConnector elements...
> > > 
> > > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > > Please post the WSDL.
> > > >
> > > > There is a big difference between the two messages -- one has an extra
> > > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > > I'd expect the error to occur on that element rather than on
> > > > DatabaseID.
> > > >
> > > > Your WSDD also looks suspect. The qname should be
> > > > qname="ns:DatabaseID" rather than
> > > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > > >
> > > > Anne
> > > >
> > > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > > this call:
> > > > >
> > > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > > >  <LogonToConnector>
> > > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > >    </ns1:UniformLoginCredentials>
> > > > >  </LogonToConnector>
> > > > > </LogonToConnector>
> > > > >
> > > > > Which is unserialised without a problem. So what is different between that
> > > > > and this:
> > > > >
> > > > > <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>
> > > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > > >    <ns1:UniformLoginCredentials>
> > > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > > >    </ns1:UniformLoginCredentials>
> > > > >   </LogonToConnector>
> > > > >  </soapenv:Body>
> > > > > </soapenv:Envelope>
> > > > >
> > > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > > John
> > > > >
> > > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > > exception:
> > > > > >
> > > > > > AxisFault
> > > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > > >   faultSubcode:
> > > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > - DatabaseID
> > > > > >  faultActor:
> > > > > >   faultNode:
> > > > > >    faultDetail:
> > > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > > Invalid element in
> > > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > > - DatabaseID
> > > > > >         at
> > > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > > >         at
> > > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > > >
> > > > > > The SOAP request is as follows:
> > > > > >
> > > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > > <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><LogonToConnector
> > > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > > >    <ns1:UniformLoginCredentials>
> > > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > > >    </ns1:UniformLoginCredentials>
> > > > > > </LogonToConnector>
> > > > > >
> > > > > > </soapenv:Body></soapenv:Envelope>
> > > > > >
> > > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > > >
> > > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > > >         type="java:java.lang.String"
> > > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > > >         encodingStyle=""
> > > > > >        />
> > > > > >
> > > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > > DatabaseID element?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > >
> > > > > >
> > > > > > John
> > > > >
> > >

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
I'm generating Stubs and a deploy.wsdd file from the wsdl. I'm then directly
deploying the stubs (by changing the classname in the deploy.wsdd). I then
wrote a few lines to invoke the stub and logged the output, giving the
double LogonToConnector output.

What I'm trying to achieve is invokation of a deployed webservice, where
that deployed webservice was derived from the original WSDL.


John

On Tue, Jul 05, 2005 at 01:01:29PM -0400, Anne Thomas Manes wrote:
> According to the WSDL, there should be only one LogonToConnector
> element. The message should look like the first message you posted
> (the one generated by your Java application. I have no idea why the
> stub generates an extra LogonToConnector element, or why that message
> seems to work. I also don't know why the stub adds the xsi:type
> attribute to the <UniformLoginCredentials> element. (It shouldn't.)
> 
> Can you review for us again the sequence you went through to create
> the service and the client?
> 
> I also suggest that you edit the WSDD typeMapping to specify:
> qname="ns:DatabaseID" rather than
> qname="ns:>UniformLoginCredentialsType>DatabaseID"
> 
> Also, what version of Axis are you using?
> 
> Anne
> 
> On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > I should point out that the call which works is being generated by the Java
> > stubs generated from the WSDL, while the offending request is being
> > generated by another bit of Java building up it's own SOAP message (although
> > it seems to use the axis client libraries). I guess the major question is:
> > Why did the stubs use two LogonToConnector elements...
> > 
> > On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > > Please post the WSDL.
> > >
> > > There is a big difference between the two messages -- one has an extra
> > > <LogonToConnector> wrapper element. But if that's the problem, then
> > > I'd expect the error to occur on that element rather than on
> > > DatabaseID.
> > >
> > > Your WSDD also looks suspect. The qname should be
> > > qname="ns:DatabaseID" rather than
> > > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> > >
> > > Anne
> > >
> > > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > > and make a WS call using Axis - to an Axis server - the client generates
> > > > this call:
> > > >
> > > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > > >  <LogonToConnector>
> > > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > > >    </ns1:UniformLoginCredentials>
> > > >  </LogonToConnector>
> > > > </LogonToConnector>
> > > >
> > > > Which is unserialised without a problem. So what is different between that
> > > > and this:
> > > >
> > > > <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>
> > > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > > >    <ns1:UniformLoginCredentials>
> > > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > > >    </ns1:UniformLoginCredentials>
> > > >   </LogonToConnector>
> > > >  </soapenv:Body>
> > > > </soapenv:Envelope>
> > > >
> > > > Well I can see they are different, but what key fact makes one unserialisable?
> > > >
> > > > Thanks,
> > > >
> > > >
> > > > John
> > > >
> > > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > > Hi,
> > > > >
> > > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > > exception:
> > > > >
> > > > > AxisFault
> > > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > > >   faultSubcode:
> > > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > - DatabaseID
> > > > >  faultActor:
> > > > >   faultNode:
> > > > >    faultDetail:
> > > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > > Invalid element in
> > > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > > - DatabaseID
> > > > >         at
> > > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > > >         at
> > > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > > >
> > > > > The SOAP request is as follows:
> > > > >
> > > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > > <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><LogonToConnector
> > > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > > >    <ns1:UniformLoginCredentials>
> > > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > > >    </ns1:UniformLoginCredentials>
> > > > > </LogonToConnector>
> > > > >
> > > > > </soapenv:Body></soapenv:Envelope>
> > > > >
> > > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > > >
> > > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > > >         type="java:java.lang.String"
> > > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > > >         encodingStyle=""
> > > > >        />
> > > > >
> > > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > > DatabaseID element?
> > > > >
> > > > > Thanks,
> > > > >
> > > > >
> > > > >
> > > > > John
> > > >
> >

Re: Invalid element/Deserialisation

Posted by Anne Thomas Manes <at...@gmail.com>.
According to the WSDL, there should be only one LogonToConnector
element. The message should look like the first message you posted
(the one generated by your Java application. I have no idea why the
stub generates an extra LogonToConnector element, or why that message
seems to work. I also don't know why the stub adds the xsi:type
attribute to the <UniformLoginCredentials> element. (It shouldn't.)

Can you review for us again the sequence you went through to create
the service and the client?

I also suggest that you edit the WSDD typeMapping to specify:
qname="ns:DatabaseID" rather than
qname="ns:>UniformLoginCredentialsType>DatabaseID"

Also, what version of Axis are you using?

Anne

On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> I should point out that the call which works is being generated by the Java
> stubs generated from the WSDL, while the offending request is being
> generated by another bit of Java building up it's own SOAP message (although
> it seems to use the axis client libraries). I guess the major question is:
> Why did the stubs use two LogonToConnector elements...
> 
> On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> > Please post the WSDL.
> >
> > There is a big difference between the two messages -- one has an extra
> > <LogonToConnector> wrapper element. But if that's the problem, then
> > I'd expect the error to occur on that element rather than on
> > DatabaseID.
> >
> > Your WSDD also looks suspect. The qname should be
> > qname="ns:DatabaseID" rather than
> > qname="ns:>UniformLoginCredentialsType>DatabaseID".
> >
> > Anne
> >
> > On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > > Further to my post, I have derived that if I create Stub classes from WSDL
> > > and make a WS call using Axis - to an Axis server - the client generates
> > > this call:
> > >
> > > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> > >  <LogonToConnector>
> > >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > >      <ns1:DatabaseID>a</ns1:DatabaseID>
> > >      <ns1:UniformUserName>b</ns1:UniformUserName>
> > >      <ns1:UniformPassword>c</ns1:UniformPassword>
> > >    </ns1:UniformLoginCredentials>
> > >  </LogonToConnector>
> > > </LogonToConnector>
> > >
> > > Which is unserialised without a problem. So what is different between that
> > > and this:
> > >
> > > <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>
> > >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> > >    <ns1:UniformLoginCredentials>
> > >     <ns1:DatabaseID>a</ns1:DatabaseID>
> > >     <ns1:UniformUserName>b</ns1:UniformUserName>
> > >     <ns1:UniformPassword>c</ns1:UniformPassword>
> > >    </ns1:UniformLoginCredentials>
> > >   </LogonToConnector>
> > >  </soapenv:Body>
> > > </soapenv:Envelope>
> > >
> > > Well I can see they are different, but what key fact makes one unserialisable?
> > >
> > > Thanks,
> > >
> > >
> > > John
> > >
> > > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > > Hi,
> > > >
> > > > I'm having a small problem when making a SOAP call and I'm getting this
> > > > exception:
> > > >
> > > > AxisFault
> > > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > > >   faultSubcode:
> > > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > - DatabaseID
> > > >  faultActor:
> > > >   faultNode:
> > > >    faultDetail:
> > > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > > Invalid element in
> > > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > > - DatabaseID
> > > >         at
> > > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > > >         at
> > > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > > >
> > > > The SOAP request is as follows:
> > > >
> > > > <?xml version="1.0" encoding="UTF-8"?>
> > > > <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><LogonToConnector
> > > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > > >    <ns1:UniformLoginCredentials>
> > > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > > >    </ns1:UniformLoginCredentials>
> > > > </LogonToConnector>
> > > >
> > > > </soapenv:Body></soapenv:Envelope>
> > > >
> > > > And the deploy.wsdd refers to DatabaseID as follows:
> > > >
> > > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > > >         type="java:java.lang.String"
> > > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > > >         encodingStyle=""
> > > >        />
> > > >
> > > > Could someone point me in roughly the right direction? Is the SOAP request
> > > > badly formed? Why has it failed to look up a method of deserialising the
> > > > DatabaseID element?
> > > >
> > > > Thanks,
> > > >
> > > >
> > > >
> > > > John
> > >
>

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
I should point out that the call which works is being generated by the Java
stubs generated from the WSDL, while the offending request is being
generated by another bit of Java building up it's own SOAP message (although
it seems to use the axis client libraries). I guess the major question is:
Why did the stubs use two LogonToConnector elements...

On Tue, Jul 05, 2005 at 10:58:15AM -0400, Anne Thomas Manes wrote:
> Please post the WSDL. 
> 
> There is a big difference between the two messages -- one has an extra
> <LogonToConnector> wrapper element. But if that's the problem, then
> I'd expect the error to occur on that element rather than on
> DatabaseID.
> 
> Your WSDD also looks suspect. The qname should be
> qname="ns:DatabaseID" rather than
> qname="ns:>UniformLoginCredentialsType>DatabaseID".
> 
> Anne
> 
> On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> > Further to my post, I have derived that if I create Stub classes from WSDL
> > and make a WS call using Axis - to an Axis server - the client generates
> > this call:
> > 
> > <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
> >  <LogonToConnector>
> >    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> >      <ns1:DatabaseID>a</ns1:DatabaseID>
> >      <ns1:UniformUserName>b</ns1:UniformUserName>
> >      <ns1:UniformPassword>c</ns1:UniformPassword>
> >    </ns1:UniformLoginCredentials>
> >  </LogonToConnector>
> > </LogonToConnector>
> > 
> > Which is unserialised without a problem. So what is different between that
> > and this:
> > 
> > <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>
> >   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
> >    <ns1:UniformLoginCredentials>
> >     <ns1:DatabaseID>a</ns1:DatabaseID>
> >     <ns1:UniformUserName>b</ns1:UniformUserName>
> >     <ns1:UniformPassword>c</ns1:UniformPassword>
> >    </ns1:UniformLoginCredentials>
> >   </LogonToConnector>
> >  </soapenv:Body>
> > </soapenv:Envelope>
> > 
> > Well I can see they are different, but what key fact makes one unserialisable?
> > 
> > Thanks,
> > 
> > 
> > John
> > 
> > On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > > Hi,
> > >
> > > I'm having a small problem when making a SOAP call and I'm getting this
> > > exception:
> > >
> > > AxisFault
> > >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> > >   faultSubcode:
> > >    faultString: org.xml.sax.SAXException: Invalid element in
> > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > - DatabaseID
> > >  faultActor:
> > >   faultNode:
> > >    faultDetail:
> > >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > > Invalid element in
> > > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > > - DatabaseID
> > >         at
> > > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> > >         at
> > > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> > >
> > > The SOAP request is as follows:
> > >
> > > <?xml version="1.0" encoding="UTF-8"?>
> > > <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><LogonToConnector
> > > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> > >    <ns1:UniformLoginCredentials>
> > >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> > >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> > >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> > >    </ns1:UniformLoginCredentials>
> > > </LogonToConnector>
> > >
> > > </soapenv:Body></soapenv:Envelope>
> > >
> > > And the deploy.wsdd refers to DatabaseID as follows:
> > >
> > >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> > >         type="java:java.lang.String"
> > >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> > >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> > >         encodingStyle=""
> > >        />
> > >
> > > Could someone point me in roughly the right direction? Is the SOAP request
> > > badly formed? Why has it failed to look up a method of deserialising the
> > > DatabaseID element?
> > >
> > > Thanks,
> > >
> > >
> > >
> > > John
> >

Re: Invalid element/Deserialisation

Posted by Anne Thomas Manes <at...@gmail.com>.
Please post the WSDL. 

There is a big difference between the two messages -- one has an extra
<LogonToConnector> wrapper element. But if that's the problem, then
I'd expect the error to occur on that element rather than on
DatabaseID.

Your WSDD also looks suspect. The qname should be
qname="ns:DatabaseID" rather than
qname="ns:>UniformLoginCredentialsType>DatabaseID".

Anne

On 7/5/05, John Baker <jb...@sasami.atomised.org> wrote:
> Further to my post, I have derived that if I create Stub classes from WSDL
> and make a WS call using Axis - to an Axis server - the client generates
> this call:
> 
> <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
>  <LogonToConnector>
>    <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>      <ns1:DatabaseID>a</ns1:DatabaseID>
>      <ns1:UniformUserName>b</ns1:UniformUserName>
>      <ns1:UniformPassword>c</ns1:UniformPassword>
>    </ns1:UniformLoginCredentials>
>  </LogonToConnector>
> </LogonToConnector>
> 
> Which is unserialised without a problem. So what is different between that
> and this:
> 
> <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>
>   <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
>    <ns1:UniformLoginCredentials>
>     <ns1:DatabaseID>a</ns1:DatabaseID>
>     <ns1:UniformUserName>b</ns1:UniformUserName>
>     <ns1:UniformPassword>c</ns1:UniformPassword>
>    </ns1:UniformLoginCredentials>
>   </LogonToConnector>
>  </soapenv:Body>
> </soapenv:Envelope>
> 
> Well I can see they are different, but what key fact makes one unserialisable?
> 
> Thanks,
> 
> 
> John
> 
> On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> > Hi,
> >
> > I'm having a small problem when making a SOAP call and I'm getting this
> > exception:
> >
> > AxisFault
> >  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> >   faultSubcode:
> >    faultString: org.xml.sax.SAXException: Invalid element in
> > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > - DatabaseID
> >  faultActor:
> >   faultNode:
> >    faultDetail:
> >            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> > Invalid element in
> > uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> > - DatabaseID
> >         at
> > org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
> >         at
> > org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> >
> > The SOAP request is as follows:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <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><LogonToConnector
> > xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> > xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> >    <ns1:UniformLoginCredentials>
> >       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
> >       <ns1:UniformUserName>userVal</ns1:UniformUserName>
> >       <ns1:UniformPassword>passVal</ns1:UniformPassword>
> >    </ns1:UniformLoginCredentials>
> > </LogonToConnector>
> >
> > </soapenv:Body></soapenv:Envelope>
> >
> > And the deploy.wsdd refers to DatabaseID as follows:
> >
> >       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> >         qname="ns:>UniformLoginCredentialsType>DatabaseID"
> >         type="java:java.lang.String"
> >         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
> >         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
> >         encodingStyle=""
> >        />
> >
> > Could someone point me in roughly the right direction? Is the SOAP request
> > badly formed? Why has it failed to look up a method of deserialising the
> > DatabaseID element?
> >
> > Thanks,
> >
> >
> >
> > John
>

Re: Invalid element/Deserialisation

Posted by John Baker <jb...@sasami.atomised.org>.
Further to my post, I have derived that if I create Stub classes from WSDL
and make a WS call using Axis - to an Axis server - the client generates
this call:

<LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes">
 <LogonToConnector>
   <ns1:UniformLoginCredentials xsi:type="ns1:UniformLoginCredentialsType" xmlns:ns1="http://www.caps-solutions.co.uk/schema/uniform/72b/common/connectortypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <ns1:DatabaseID>a</ns1:DatabaseID>
     <ns1:UniformUserName>b</ns1:UniformUserName>
     <ns1:UniformPassword>c</ns1:UniformPassword>
   </ns1:UniformLoginCredentials>
 </LogonToConnector>
</LogonToConnector>
            
Which is unserialised without a problem. So what is different between that
and this:

<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>
  <LogonToConnector xmlns="http://www.caps-solutions.co.uk/webservices/connectors/common/messagetypes" xmlns:ns1="http://www.caps-solutions.co.uk/schema/unifor
   <ns1:UniformLoginCredentials>
    <ns1:DatabaseID>a</ns1:DatabaseID>
    <ns1:UniformUserName>b</ns1:UniformUserName>
    <ns1:UniformPassword>c</ns1:UniformPassword>
   </ns1:UniformLoginCredentials>
  </LogonToConnector>
 </soapenv:Body>
</soapenv:Envelope>
            
Well I can see they are different, but what key fact makes one unserialisable?

Thanks,


John

On Mon, Jul 04, 2005 at 08:32:16PM +0100, John Baker wrote:
> Hi,
> 
> I'm having a small problem when making a SOAP call and I'm getting this
> exception:
> 
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>   faultSubcode:
>    faultString: org.xml.sax.SAXException: Invalid element in
> uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> - DatabaseID
>  faultActor:
>   faultNode:
>    faultDetail:
>            {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException:
> Invalid element in
> uk.co.caps_solutions.www.schema.uniform._72b.common.connectortypes.UniformLoginRequestType
> - DatabaseID
>         at
> org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:255)
>         at
> org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
> 
> The SOAP request is as follows:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <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><LogonToConnector
> xmlns="http://www.xxx.co.uk/webservices/connectors/common/messagetypes"
> xmlns:ns1="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>    <ns1:UniformLoginCredentials>
>       <ns1:DatabaseID>dbVal</ns1:DatabaseID>
>       <ns1:UniformUserName>userVal</ns1:UniformUserName>
>       <ns1:UniformPassword>passVal</ns1:UniformPassword>
>    </ns1:UniformLoginCredentials>
> </LogonToConnector>
> 
> </soapenv:Body></soapenv:Envelope>
> 
> And the deploy.wsdd refers to DatabaseID as follows:
> 
>       <typeMapping xmlns:ns="http://www.xxx.co.uk/schema/uniform/72b/common/connectortypes"
>         qname="ns:>UniformLoginCredentialsType>DatabaseID"
>         type="java:java.lang.String"
>         serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
>         deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
>         encodingStyle=""
>        />
>        
> Could someone point me in roughly the right direction? Is the SOAP request
> badly formed? Why has it failed to look up a method of deserialising the
> DatabaseID element?
> 
> Thanks,
> 
> 
> 
> John