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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> >> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
