Hi I have a wsdl file, and i created java source using wsdl2java, i used parameter -w to create wrap Arrays , i wrote java code to create all the objects to call the web service, and i am getting the following error faultString: org.xml.sax.SAXException: Invalid element in com.pfizer.www.bod.mapslims.req.UserAreaTypeTransaction - TransactionRecord
I am pasting the wsdl file here, any ideas how to resolve it <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://www.pfizer.com/mapslims/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl=" http://www.pfizer.com/mapslims/" xmlns:intf="http://www.pfizer.com/mapslims/" xmlns:tns1="http://www.pfizer.com/bod/mapslims/req" xmlns:tns2=" http://www.pfizer.com/bod/mapslims/res" xmlns:wsdl=" http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap=" http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)--> <wsdl:types> <schema targetNamespace="http://www.pfizer.com/bod/mapslims/req" xmlns=" http://www.w3.org/2001/XMLSchema"> <import namespace="http://www.pfizer.com/bod/mapslims/res"/> <complexType name="SystemType"> <sequence> <element name="LogicalID" nillable="true" type="xsd:string"/> <element name="ComponentID" nillable="true" type="xsd:string"/> <element name="TaskID" nillable="true" type="xsd:string"/> <element name="ReferenceID" nillable="true" type="xsd:string"/> <element name="ConfirmationCode" nillable="true" type="xsd:string"/> <element name="AuthorizationID" nillable="true" type="xsd:string"/> </sequence> </complexType> <complexType name="ApplicationAreaType"> <sequence> <element name="Sender" nillable="true" type="tns1:SystemType"/> <element name="CreationDateTime" nillable="true" type="xsd:dateTime"/> <element name="BODID" type="xsd:string"/> <element name="UserAreaN" nillable="true"> <complexType> <sequence> <element name="Receiver" nillable="true" type="tns1:SystemType"/> </sequence> </complexType> </element> </sequence> </complexType> <complexType name="SyncType"> <sequence> <element name="ActionCriteria" nillable="true"> <complexType> <sequence> <element name="ActionExpression" nillable="true"> <complexType> <sequence/> <attribute name="actionCode" type="xsd:string"/> <attribute name="expressionLanguage" type="xsd:string"/> </complexType> </element> </sequence> </complexType> </element> </sequence> </complexType> <complexType name="TransactionRecord"> <sequence> <element maxOccurs="1" minOccurs="0" name="SenderSeqNum" nillable="true" type="xsd:decimal"/> <element maxOccurs="1" minOccurs="0" name="SenderModule" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="ReceiverSeqNum" nillable="true" type="xsd:decimal"/> <element maxOccurs="1" minOccurs="0" name="ReceiverModule" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="InitiatingModuleSeq" nillable="true" type="xsd:decimal"/> <element maxOccurs="1" minOccurs="0" name="InitiatingModule" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionGroupId" nillable="true" type="xsd:decimal"/> <element maxOccurs="1" minOccurs="0" name="GroupSeqCount" nillable="true" type="xsd:decimal"/> <element maxOccurs="1" minOccurs="0" name="GroupDetailsSeq" nillable="true" type="xsd:decimal"/> <element maxOccurs="1" minOccurs="0" name="TransactionSubType" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionName" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionParameterCount" nillable="true" type="xsd:decimal"/> <element maxOccurs="1" minOccurs="0" name="TransactionData" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionCondition" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionStatus" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionSyncFlag" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionPriority" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionRetries" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionStartDate" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionProcessDate" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionUpdateDate" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionGeneralData" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="TransactionChecksum" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="ModuleCode" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="ItemCode" nillable="true" type="xsd:string"/> <element name="LotNumber" nillable="true" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="SublotNumber" nillable="true" type="xsd:string"/> </sequence> </complexType> <complexType name="UserAreaType"> <sequence> <element name="Transaction" nillable="true"> <complexType> <sequence> <element maxOccurs="unbounded" name="TransactionRecord" nillable="true" type="tns1:TransactionRecord"/> </sequence> </complexType> </element> </sequence> </complexType> <complexType name="LotInfoType"> <sequence> <element maxOccurs="1" minOccurs="0" name="ID" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="SubLot" nillable="true" type="xsd:string"/> <element name="UserArea" nillable="true" type="tns1:UserAreaType"/> </sequence> </complexType> <complexType name="DataAreaType"> <sequence> <element name="Sync" nillable="true" type="tns1:SyncType"/> <element name="LotInformation" nillable="true" type="tns1:LotInfoType"/> </sequence> </complexType> <element name="SyncLotInfo"> <complexType> <sequence> <element name="ApplicationArea" nillable="true" type="tns1:ApplicationAreaType"/> <element name="DataArea" nillable="true" type="tns1:DataAreaType"/> </sequence> <attribute name="languageCode" type="xsd:string"/> <attribute name="releaseID" type="xsd:string"/> <attribute name="systemEnvironmentCode" type="xsd:string"/> <attribute name="versionID" type="xsd:string"/> </complexType> </element> </schema> <schema targetNamespace="http://www.pfizer.com/bod/mapslims/res" xmlns=" http://www.w3.org/2001/XMLSchema"> <import namespace="http://www.pfizer.com/bod/mapslims/req"/> <complexType name="SenderType"> <sequence> <element name="LogicalId" nillable="true" type="xsd:string"/> <element name="ComponentId" nillable="true" type="xsd:string"/> <element name="TaskId" nillable="true" type="xsd:string"/> <element name="ReferenceId" nillable="true" type="xsd:string"/> <element name="ConfirmationCode" type="xsd:boolean"/> <element name="AuthorizationId" nillable="true" type="xsd:string"/> </sequence> </complexType> <complexType name="SignatureType"> <sequence/> <attribute name="qualifyingAgency" type="xsd:string"/> </complexType> <complexType name="ApplicationAreaType"> <sequence> <element name="Sender" nillable="true" type="tns2:SenderType"/> <element name="CreationDateTime" nillable="true" type="xsd:dateTime"/> <element name="Signature" nillable="true" type="tns2:SignatureType"/> <element name="BODId" type="xsd:string"/> </sequence> </complexType> <complexType name="ConfirmType"> <sequence/> <attribute name="confirm" type="xsd:string"/> </complexType> <complexType name="OriginalApplicationAreaType"> <sequence> <element name="Sender" nillable="true" type="tns2:SenderType"/> <element name="CreationDateTime" nillable="true" type="xsd:dateTime"/> <element name="Signature" nillable="true" type="tns2:SignatureType"/> <element name="BODId" type="xsd:string"/> </sequence> </complexType> <complexType name="DescriptionType"> <sequence/> <attribute name="null" type="xsd:string"/> </complexType> <complexType name="NoteType"> <sequence/> <attribute name="null" type="xsd:string"/> </complexType> <complexType name="ErrorMessageType"> <sequence> <element name="Description" nillable="true" type="tns2:DescriptionType"/> <element name="ReasonCode" nillable="true" type="xsd:string"/> </sequence> </complexType> <complexType name="WarningMessageType"> <sequence> <element name="Description" nillable="true" type="tns2:DescriptionType"/> <element name="ReasonCode" nillable="true" type="xsd:string"/> </sequence> </complexType> <complexType name="BODFailureMessageType"> <sequence> <element name="ErrorMessage" nillable="true" type="tns2:ErrorMessageType"/> <element name="WarningMessage" nillable="true" type="tns2:WarningMessageType"/> </sequence> </complexType> <complexType name="TransactionRecordType"> <sequence> <element name="GroupDetailsSeq" nillable="true" type="xsd:decimal"/> <element name="Status" nillable="true" type="xsd:string"/> <element name="Condition" nillable="true" type="xsd:string"/> <element name="Sync" nillable="true" type="xsd:string"/> <element name="TransInfo" nillable="true" type="xsd:string"/> <element name="ReceiverId" nillable="true" type="xsd:decimal"/> <element name="ProcessDate" nillable="true" type="xsd:string"/> <element name="FinishDate" nillable="true" type="xsd:string"/> <element name="ReasonCode" nillable="true" type="xsd:string"/> </sequence> </complexType> <complexType name="TransactionType"> <sequence> <element maxOccurs="unbounded" name="TransactionRecord" nillable="true" type="tns2:TransactionRecordType"/> </sequence> </complexType> <complexType name="UserAreaType"> <sequence> <element name="Transaction" nillable="true" type="tns2:TransactionType"/> </sequence> </complexType> <complexType name="BODType"> <sequence> <element name="OriginalApplicationArea" nillable="true" type="tns2:OriginalApplicationAreaType"/> <element name="Description" nillable="true" type="tns2:DescriptionType"/> <element name="Note" nillable="true" type="tns2:NoteType"/> <element name="BODFailureMessage" type="tns2:BODFailureMessageType"/> <element name="UserArea" nillable="true" type="tns2:UserAreaType"/> </sequence> </complexType> <complexType name="DataAreaType"> <sequence> <element name="Confirm" nillable="true" type="tns2:ConfirmType"/> <element name="BOD" type="tns2:BODType"/> </sequence> </complexType> <element name="ConfirmBOD"> <complexType> <sequence> <element name="ApplicationArea" nillable="true" type="tns2:ApplicationAreaType"/> <element name="DataArea" nillable="true" type="tns2:DataAreaType"/> </sequence> <attribute name="environment" type="xsd:string"/> <attribute name="lang" type="xsd:string"/> <attribute name="revision" type="xsd:string"/> </complexType> </element> </schema> </wsdl:types> <wsdl:message name="SyncLotInfoRequest"> <wsdl:part element="tns1:SyncLotInfo" name="SyncLotInfo"/> </wsdl:message> <wsdl:message name="SyncLotInfoResponse"> <wsdl:part element="tns2:ConfirmBOD" name="ConfirmBOD"/> </wsdl:message> <wsdl:portType name="MapsLimsServerType"> <wsdl:operation name="SyncLotInfo" parameterOrder="SyncLotInfo"> <wsdl:input message="impl:SyncLotInfoRequest" name="SyncLotInfoRequest"/> <wsdl:output message="impl:SyncLotInfoResponse" name="SyncLotInfoResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="MapsLimsServerPortSoapBinding" type="impl:MapsLimsServerType"> <wsdlsoap:binding style="document" transport=" http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="SyncLotInfo"> <wsdlsoap:operation soapAction=" http://www.pfizer.com/mapslims/MapsLimsServer/SyncLotInfo"/> <wsdl:input name="SyncLotInfoRequest"> <wsdlsoap:body use="literal"/> </wsdl:input> <wsdl:output name="SyncLotInfoResponse"> <wsdlsoap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="MapsLimsServer"> <wsdl:port binding="impl:MapsLimsServerPortSoapBinding" name="MapsLimsServerPort"> <wsdlsoap:address location=" http://localhost:4080/mapslims/services/MapsLimsServerPort"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
