axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ankur sarkar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2693) Client code generation not possible
Date Tue, 22 May 2007 05:50:16 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497716
] 

ankur sarkar commented on AXIS2-2693:
-------------------------------------

Thanks a lot but I have used "xmlbeans" as databinding type as well but got the same error.
build.xml
----------------

<project name="build" default="makejars" basedir=".">

     <property name="lib.dir" value="../lib" />
	 <property name="build.classes.dir" value="../classes"/>
     <property name="wsdl.dir" value="../etc/wsdl"/>
     <property name="wsdl.filename" value="ManageCustomerOrder.wsdl"/>
     <property name="src.generated.dir" value="../src"/>
	 <property name="app.lib.dir" location="../../../APP-INF/lib"/>
     <property name="axis.lib.dir" location="../../../axis2/WEB-INF/lib"/>
	 <property name="project.name" value="ManageCustomerOrder"/>

	 <target name="init">
		<mkdir dir="${src.generated.dir}"/>
		<mkdir dir="${build.classes.dir}"/>
		<mkdir dir="${lib.dir}"/>
	 </target>
	 
	 <target name="clean">
		<delete dir="${lib.dir}"/>
		<delete dir="${build.classes.dir}"/>
		<delete dir="${src.generated.dir}"/>

	 </target>
	
	 <path id="axis.classpath">

		<fileset dir="${axis.lib.dir}">
			<include name="**/*.jar" />
		</fileset>

	</path>



 <target name="declare" >
<taskdef name="codegen"
 classname="org.apache.axis2.tool.ant.AntCodegenTask"
 classpathref="axis.classpath"/>
</target>
<target name="import-wsdl" depends="clean,init,declare">
<codegen 
 wsdlfilename="${wsdl.dir}/${wsdl.filename}"
 databindingname="xmlbeans"
 output="${src.generated.dir}"
 classpathref="axis.classpath"/>
</target>

 
 
   <target name="compile" depends="import-wsdl">
	   <javac srcdir="${src.generated.dir}" destdir="${build.classes.dir}" classpathref="axis.classpath"
		 debuglevel="lines,vars,source" debug="true" includeAntRuntime="false"/>
   </target>



	<target name="makejars" depends="compile" >
	
		<jar destfile="${lib.dir}/${project.name}.jar">
			<fileset dir="${build.classes.dir}"/>
		</jar>
		<delete dir="${build.classes.dir}"/>
		
	</target>
</project>




> Client code generation not possible
> -----------------------------------
>
>                 Key: AXIS2-2693
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2693
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api, codegen
>    Affects Versions: 1.1.1
>         Environment: WebLogic 8.1 sp5,  jdk1.4
>            Reporter: ankur sarkar
>             Fix For: 1.1.1
>
>         Attachments: build.xml, ManageCustomerOrder.wsdl, ManageCustomerOrder.xsd, StandardHeader.xsd
>
>
> Hi,
> I am migrating from axis 1.4 to axis2 in my current project. Currently we are using axis2
version 1.1.1. While trying to generate client classes through ant script I am getting the
following error:
>  org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException.
> But this was working fine with axis 1.4. I have tried both "adb" and "xmlbeans" databinding
feature, but none of them seems to work
> Can you please help me out.
> Please find below the build script, the WSDL and the xsd files.
> build.xml
> -----------------
> <project name="build" default="makejars" basedir=".">
>      <property name="lib.dir" value="../lib" />
> 	 <property name="build.classes.dir" value="../classes"/>
>      <property name="wsdl.dir" value="../etc/wsdl"/>
>      <property name="wsdl.filename" value="ManageCustomerOrder.wsdl"/>
>      <property name="src.generated.dir" value="../src"/>
> 	 <property name="app.lib.dir" location="../../../APP-INF/lib"/>
>      <property name="axis.lib.dir" location="../../../axis2/WEB-INF/lib"/>
> 	 <property name="project.name" value="ManageCustomerOrder"/>
> 	 <target name="init">
> 		<mkdir dir="${src.generated.dir}"/>
> 		<mkdir dir="${build.classes.dir}"/>
> 		<mkdir dir="${lib.dir}"/>
> 	 </target>
> 	 
> 	 <target name="clean">
> 		<delete dir="${lib.dir}"/>
> 		<delete dir="${build.classes.dir}"/>
> 		<delete dir="${src.generated.dir}"/>
> 	 </target>
> 	
> 	 <path id="axis.classpath">
> 		<fileset dir="${axis.lib.dir}">
> 			<include name="**/*.jar" />
> 		</fileset>
> 	</path>
>  <target name="declare" >
> <taskdef name="codegen"
>  classname="org.apache.axis2.tool.ant.AntCodegenTask"
>  classpathref="axis.classpath"/>
> </target>
> <target name="import-wsdl" depends="clean,init,declare">
> <codegen 
>  wsdlfilename="${wsdl.dir}/${wsdl.filename}"
>  databindingname="adb"
>  output="${src.generated.dir}"
>  classpathref="axis.classpath"/>
> </target>
>  
>  
>    <target name="compile" depends="import-wsdl">
> 	   <javac srcdir="${src.generated.dir}" destdir="${build.classes.dir}" classpathref="axis.classpath"
> 		 debuglevel="lines,vars,source" debug="true" includeAntRuntime="false"/>
>    </target>
> 	<target name="makejars" depends="compile" >
> 	
> 		<jar destfile="${lib.dir}/${project.name}.jar">
> 			<fileset dir="${build.classes.dir}"/>
> 		</jar>
> 		<delete dir="${build.classes.dir}"/>
> 		
> 	</target>
> </project>
> ManageCustomerOrder.wsdl
> -----------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions xmlns:MCO="http://itprogrammes.intra.bt.com/pdb/capabilities/ManageCustomerOrder/2006/12/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://capabilities.nat.bt.com/wsdl/ManageCustomerOrder"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="MCO" targetNamespace="http://capabilities.nat.bt.com/wsdl/ManageCustomerOrder">
> 	<wsdl:types>
> 		<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:mrm="http://capabilities.nat.bt.com/wsdl/ManageCustomerOrder"
targetNamespace="http://capabilities.nat.bt.com/wsdl/ManageCustomerOrder">
> 			<import namespace="http://itprogrammes.intra.bt.com/pdb/capabilities/ManageCustomerOrder/2006/12/"
schemaLocation="ManageCustomerOrder.xsd"/>
> 		</schema>
> 	</wsdl:types>
> 	<wsdl:message name="queryOrderRequest">
> 		<wsdl:part name="queryOrderRequest" element="MCO:queryOrderRequest"/>
> 	</wsdl:message>
> 	<wsdl:message name="queryOrderResponse">
> 		<wsdl:part name="queryOrderResponse" element="MCO:queryOrderResponse"/>
> 	</wsdl:message>
> 	<wsdl:message name="requestOrderRequest">
> 		<wsdl:part name="requestOrderRequest" element="MCO:requestOrder"/>
> 	</wsdl:message>
> 	<wsdl:message name="requestOrderResponse">
> 		<wsdl:part name="requestOrderResponse" element="MCO:requestOrder"/>
> 	</wsdl:message>
> 	<wsdl:portType name="ManageCustomerOrderPortType">
> 		<wsdl:operation name="queryOrder">
> 			<wsdl:input message="tns:queryOrderRequest"/>
> 			<wsdl:output message="tns:queryOrderResponse"/>
> 		</wsdl:operation>
> 		<wsdl:operation name="RequestOrder">
> 			<wsdl:input message="tns:requestOrderRequest"/>
> 			<wsdl:output message="tns:requestOrderResponse"/>
> 		</wsdl:operation>
> 	</wsdl:portType>
> 	<wsdl:binding name="ManageCustomerOrderBinding" type="tns:ManageCustomerOrderPortType">
> 		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> 		<wsdl:operation name="queryOrder">
> 			<soap:operation/>
> 			<wsdl:input>
> 				<soap:body use="literal"/>
> 			</wsdl:input>
> 			<wsdl:output>
> 				<soap:body use="literal"/>
> 			</wsdl:output>
> 		</wsdl:operation>
> 		<wsdl:operation name="RequestOrder">
> 			<soap:operation/>
> 			<wsdl:input>
> 				<soap:body use="literal"/>
> 			</wsdl:input>
> 			<wsdl:output>
> 				<soap:body use="literal"/>
> 			</wsdl:output>
> 		</wsdl:operation>
> 	</wsdl:binding>
> 	<wsdl:service name="ManageCustomerOrder">
> 		<wsdl:port name="ManageCustomerOrderPort" binding="tns:ManageCustomerOrderBinding">
> 			<soap:address location="http://localhost:9080/wassoap/servlet/router"/>
> 		</wsdl:port>
> 	</wsdl:service>
> </wsdl:definitions>
> ManageCustomerOrder.xsd
> -----------------------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by TCS (Tata Consultancy
Services) -->
> <!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by XMLSPY 2006 Professional
Ed. (BT) -->
> <xs:schema xmlns:header="http://wsi.nat.bt.com/2005/06/StandardHeader/" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:MCO="http://itprogrammes.intra.bt.com/pdb/capabilities/ManageCustomerOrder/2006/12/"
targetNamespace="http://itprogrammes.intra.bt.com/pdb/capabilities/ManageCustomerOrder/2006/12/"
elementFormDefault="qualified" attributeFormDefault="unqualified">
> 	<xs:import namespace="http://wsi.nat.bt.com/2005/06/StandardHeader/" schemaLocation="StandardHeader.xsd"/>
> 	<xs:element name="queryOrderRequest">
> 		<xs:complexType>
> 			<xs:sequence>
> 				<xs:element ref="header:standardHeader"/>
> 				<xs:choice>
> 					<xs:element name="OrderNumber" type="xs:string"/>
> 					<xs:element name="CustomerOrderReference" type="xs:string"/>
> 				</xs:choice>
> 			</xs:sequence>
> 		</xs:complexType>
> 	</xs:element>
> 	<xs:element name="queryOrderResponse">
> 		<xs:complexType>
> 			<xs:sequence>
> 				<xs:element ref="header:standardHeader"/>
> 				<xs:element name="Order" minOccurs="0">
> 					<xs:complexType>
> 						<xs:sequence>
> 							<xs:element name="CustomerOrderReference" type="xs:string" minOccurs="0"/>
> 							<xs:element name="OrderNumber" type="xs:string"/>
> 							<xs:element name="Description" type="xs:string" minOccurs="0"/>
> 							<xs:element name="SalesChannel" type="xs:string"/>
> 							<xs:element name="SalesPartner" type="xs:string" minOccurs="0"/>
> 							<xs:element name="Status" type="xs:string"/>
> 							<xs:element name="SubStatus" type="xs:string"/>
> 							<xs:element name="OrderDate" type="xs:string" minOccurs="0"/>
> 							<xs:element name="ListOfPayment" minOccurs="0">
> 								<xs:complexType>
> 									<xs:sequence>
> 										<xs:element name="Payment" minOccurs="0" maxOccurs="unbounded">
> 											<xs:complexType>
> 												<xs:sequence>
> 													<xs:element name="PaymentId" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardAuthorizationCode" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardVerificationNumber" type="xs:string" minOccurs="0"/>
> 													<xs:element name="BuyNetSalesId" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardExpiryDate" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardIssueNumber" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardOwnerConfirmed" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardType" type="xs:string" minOccurs="0"/>
> 													<xs:element name="TransactionAmount" type="xs:string" minOccurs="0"/>
> 													<xs:element name="VATAmount" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardHolder" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CardNumber" type="xs:string" minOccurs="0"/>
> 													<xs:element name="PaymentMethod" type="xs:string" minOccurs="0"/>
> 												</xs:sequence>
> 											</xs:complexType>
> 										</xs:element>
> 									</xs:sequence>
> 								</xs:complexType>
> 							</xs:element>
> 							<xs:element name="ListOfAppointment" minOccurs="0">
> 								<xs:complexType>
> 									<xs:sequence>
> 										<xs:element name="Appointment" maxOccurs="unbounded">
> 											<xs:complexType>
> 												<xs:sequence>
> 													<xs:element name="AppointmentId" type="xs:string"/>
> 													<xs:element name="SlotStart" type="xs:string"/>
> 													<xs:element name="SlotEnd" type="xs:string"/>
> 													<xs:element name="Status"/>
> 													<xs:element name="Contact" minOccurs="0">
> 														<xs:complexType>
> 															<xs:sequence>
> 																<xs:element name="EMail" type="xs:string" minOccurs="0"/>
> 																<xs:element name="Title" type="xs:string" minOccurs="0"/>
> 																<xs:element name="Initial" type="xs:string" minOccurs="0"/>
> 																<xs:element name="Forename" type="xs:string" minOccurs="0"/>
> 																<xs:element name="Surname" type="xs:string"/>
> 																<xs:element name="DateOfBirth" type="xs:string" minOccurs="0"/>
> 															</xs:sequence>
> 														</xs:complexType>
> 													</xs:element>
> 												</xs:sequence>
> 											</xs:complexType>
> 										</xs:element>
> 									</xs:sequence>
> 								</xs:complexType>
> 							</xs:element>
> 							<xs:element name="ListOfOrderItem" minOccurs="0">
> 								<xs:complexType>
> 									<xs:sequence>
> 										<xs:element ref="MCO:OrderItem" minOccurs="0" maxOccurs="unbounded"/>
> 									</xs:sequence>
> 								</xs:complexType>
> 							</xs:element>
> 						</xs:sequence>
> 					</xs:complexType>
> 				</xs:element>
> 			</xs:sequence>
> 		</xs:complexType>
> 	</xs:element>
> 	<xs:element name="requestOrder">
> 		<xs:complexType>
> 			<xs:sequence>
> 				<xs:element ref="header:standardHeader"/>
> 				<xs:element name="OrderRequest" minOccurs="0">
> 					<xs:complexType>
> 						<xs:sequence>
> 							<xs:element name="CustomerId" type="xs:string"/>
> 							<xs:element name="ListOfBillingAccounts" minOccurs="0">
> 								<xs:complexType>
> 									<xs:sequence>
> 										<xs:element name="BillingAccount" minOccurs="0" maxOccurs="unbounded">
> 											<xs:complexType>
> 												<xs:choice>
> 													<xs:element name="AccountNumber" type="xs:string" minOccurs="0"/>
> 													<xs:sequence>
> 														<xs:element name="AccountIndex" type="xs:string" minOccurs="0"/>
> 														<xs:element name="NewBillingAccount">
> 															<xs:complexType>
> 																<xs:sequence>
> 																	<xs:element name="Contact" type="MCO:Contact"/>
> 																	<xs:element name="PaymentMethod" type="xs:string"/>
> 																	<xs:element name="BillType" type="xs:string"/>
> 																	<xs:element name="BankDetails">
> 																		<xs:complexType>
> 																			<xs:sequence>
> 																				<xs:element name="BankAccountHolder" type="xs:string" minOccurs="0"/>
> 																				<xs:element name="BankAccountNumber" type="xs:string" minOccurs="0"/>
> 																				<xs:element name="BankSortCode" type="xs:string" minOccurs="0"/>
> 																			</xs:sequence>
> 																		</xs:complexType>
> 																	</xs:element>
> 																	<xs:element name="BillFrequency" type="xs:string"/>
> 																	<xs:element name="PaymentDay" type="xs:string"/>
> 																</xs:sequence>
> 															</xs:complexType>
> 														</xs:element>
> 													</xs:sequence>
> 												</xs:choice>
> 											</xs:complexType>
> 										</xs:element>
> 									</xs:sequence>
> 								</xs:complexType>
> 							</xs:element>
> 							<xs:element name="ListOfOrder">
> 								<xs:complexType>
> 									<xs:sequence>
> 										<xs:element name="Order">
> 											<xs:complexType>
> 												<xs:sequence>
> 													<xs:element name="CustomerOrderReference" type="xs:string"/>
> 													<xs:element name="OrderNumber" type="xs:string" minOccurs="0"/>
> 													<xs:element name="Description" type="xs:string" minOccurs="0"/>
> 													<xs:element name="ReasonCategory" type="xs:string" minOccurs="0"/>
> 													<xs:element name="CustomerRequiredByDate" type="xs:string"/>
> 													<xs:element name="SalesChannel" type="xs:string"/>
> 													<xs:element name="SalesPartner" type="xs:string" minOccurs="0"/>
> 													<xs:element name="RecordsOnly" type="xs:string" minOccurs="0"/>
> 													<xs:element name="ListOfPaymentInfo" minOccurs="0">
> 														<xs:complexType>
> 															<xs:sequence>
> 																<xs:element name="PaymentInfo" maxOccurs="unbounded">
> 																	<xs:complexType>
> 																		<xs:sequence>
> 																			<xs:element name="CardAuthorizationCode" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="BuyNetSalesId" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="CardExpiryDate" type="xs:string"/>
> 																			<xs:element name="CardIssueNumber" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="CardOwnerConfirmed" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="CardVerificationNumber" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="CardType" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="PaymentIndex" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="TransactionAmount" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="VATAmount" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="CardHolder" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="CardNumber" type="xs:string"/>
> 																			<xs:element name="PaymentMethod" type="xs:string" minOccurs="0"/>
> 																			<xs:element name="Address" type="MCO:Address" minOccurs="0"/>
> 																			<xs:element name="CardStartDate" type="xs:string" minOccurs="0"/>
> 																		</xs:sequence>
> 																	</xs:complexType>
> 																</xs:element>
> 															</xs:sequence>
> 														</xs:complexType>
> 													</xs:element>
> 													<xs:element name="ListOfAppointment" minOccurs="0">
> 														<xs:complexType>
> 															<xs:sequence>
> 																<xs:element name="Appointment" maxOccurs="unbounded">
> 																	<xs:complexType>
> 																		<xs:sequence>
> 																			<xs:element name="AppointmentIndex" type="xs:string"/>
> 																			<xs:element name="BESAppointmentId" type="xs:string"/>
> 																			<xs:element name="SlotStart" type="xs:string"/>
> 																			<xs:element name="SlotEnd" type="xs:string"/>
> 																			<xs:element name="Status" type="xs:string"/>
> 																			<xs:element name="Contact" type="MCO:Contact" minOccurs="0"/>
> 																		</xs:sequence>
> 																	</xs:complexType>
> 																</xs:element>
> 															</xs:sequence>
> 														</xs:complexType>
> 													</xs:element>
> 													<xs:element name="ListOfOrderItem">
> 														<xs:complexType>
> 															<xs:sequence>
> 																<xs:element name="OrderItem" type="MCO:OrderItem" maxOccurs="unbounded"/>
> 															</xs:sequence>
> 														</xs:complexType>
> 													</xs:element>
> 												</xs:sequence>
> 											</xs:complexType>
> 										</xs:element>
> 									</xs:sequence>
> 								</xs:complexType>
> 							</xs:element>
> 						</xs:sequence>
> 					</xs:complexType>
> 				</xs:element>
> 			</xs:sequence>
> 		</xs:complexType>
> 	</xs:element>
> 	<xs:element name="OrderItem">
> 		<xs:complexType>
> 			<xs:sequence>
> 				<xs:element name="Action" type="xs:string"/>
> 				<xs:element name="AssetId" type="xs:string" minOccurs="0"/>
> 				<xs:element name="ServiceId" type="xs:string" minOccurs="0"/>
> 				<xs:element name="AdjustedPrice" type="xs:string" minOccurs="0"/>
> 				<xs:element name="ListPrice" type="xs:string" minOccurs="0"/>
> 				<xs:element name="PriceType" type="xs:string" minOccurs="0"/>
> 				<xs:element name="PaymentType" type="xs:string" minOccurs="0"/>
> 				<xs:element name="BillingAccountNumber" type="xs:string" minOccurs="0"/>
> 				<xs:element name="CustomerAgreedDate" type="xs:string" minOccurs="0"/>
> 				<xs:element name="Status" type="xs:string"/>
> 				<xs:element name="SubStatus" type="xs:string"/>
> 				<xs:element name="ProductName" type="xs:string"/>
> 				<xs:element name="ProductCode" type="xs:string"/>
> 				<xs:element name="AppointmentId" type="xs:string" minOccurs="0"/>
> 				<xs:element name="PromotionId" type="xs:string" minOccurs="0"/>
> 				<xs:element name="Quantity" type="xs:string"/>
> 				<xs:element name="PaymentId" type="xs:string" minOccurs="0"/>
> 				<xs:element name="ListOfOrderItemAttribute" minOccurs="0">
> 					<xs:complexType>
> 						<xs:sequence>
> 							<xs:element name="OrderItemAttribute" minOccurs="0" maxOccurs="unbounded">
> 								<xs:complexType>
> 									<xs:sequence>
> 										<xs:element name="Action" type="xs:string" minOccurs="0"/>
> 										<xs:element name="Attribute" type="xs:string"/>
> 										<xs:element name="Value" type="xs:string"/>
> 									</xs:sequence>
> 								</xs:complexType>
> 							</xs:element>
> 						</xs:sequence>
> 					</xs:complexType>
> 				</xs:element>
> 				<xs:element ref="MCO:OrderItem" minOccurs="0" maxOccurs="unbounded"/>
> 			</xs:sequence>
> 		</xs:complexType>
> 	</xs:element>
> 	<xs:complexType name="Contact">
> 		<xs:sequence>
> 			<xs:element name="ContactId" type="xs:string" minOccurs="0"/>
> 			<xs:element name="TelephoneNumber" type="xs:string" minOccurs="0"/>
> 			<xs:element name="MobileNumber" type="xs:string" minOccurs="0"/>
> 			<xs:element name="EMail" type="xs:string" minOccurs="0"/>
> 			<xs:element name="Roles" type="xs:string" minOccurs="0"/>
> 			<xs:element name="Person" type="MCO:Person" minOccurs="0"/>
> 			<xs:element name="Address" type="MCO:Address" minOccurs="0"/>
> 			<xs:element name="DateOfBirth" type="xs:string" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="Person">
> 		<xs:sequence>
> 			<xs:element name="Title" type="xs:string" minOccurs="0"/>
> 			<xs:element name="Initial" type="xs:string" minOccurs="0"/>
> 			<xs:element name="Forename" type="xs:string"/>
> 			<xs:element name="Surname" type="xs:string"/>
> 			<xs:element name="Honours" type="xs:string" minOccurs="0"/>
> 			<xs:element name="JobTitle" type="xs:string" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="Address">
> 		<xs:sequence>
> 			<xs:element name="AddressId" type="xs:string"/>
> 			<xs:element name="SubBuildingName" type="xs:string" minOccurs="0"/>
> 			<xs:element name="BuildingName" type="xs:string" minOccurs="0"/>
> 			<xs:element name="BuildingNumber" type="xs:string" minOccurs="0"/>
> 			<xs:element name="CherishedName" type="xs:string" minOccurs="0"/>
> 			<xs:element name="DependentThoroughfare" type="xs:string" minOccurs="0"/>
> 			<xs:element name="Thoroughfare" type="xs:string" minOccurs="0"/>
> 			<xs:element name="DoubleDependentLocality" type="xs:string" minOccurs="0"/>
> 			<xs:element name="DependentLocality" type="xs:string" minOccurs="0"/>
> 			<xs:element name="POBox" type="xs:string" minOccurs="0"/>
> 			<xs:element name="PostTown" type="xs:string" minOccurs="0"/>
> 			<xs:element name="County" type="xs:string" minOccurs="0"/>
> 			<xs:element name="PostCode" type="xs:string"/>
> 			<xs:element name="Country" type="xs:string" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="OrderItem">
> 		<xs:sequence>
> 			<xs:element name="ActionCode" type="xs:string"/>
> 			<xs:element name="ShipToAccount" type="xs:string" minOccurs="0"/>
> 			<xs:element name="ShipToContact" minOccurs="0">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="Contact" type="MCO:Contact"/>
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 			<xs:element name="DeliveryDetail" minOccurs="0">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="DeliveryMethod" type="xs:string" minOccurs="0"/>
> 						<xs:element name="Address" type="MCO:Address"/>
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 			<xs:element name="AccountIndex" type="xs:string" minOccurs="0"/>
> 			<xs:element name="AccountNumber" type="xs:string" minOccurs="0"/>
> 			<xs:element name="AppointmentIndex" type="xs:string" minOccurs="0"/>
> 			<xs:element name="CustomerAgreedDate" type="xs:string" minOccurs="0"/>
> 			<xs:element name="ProductName" type="xs:string"/>
> 			<xs:element name="ProductCode" type="xs:string"/>
> 			<xs:element name="AssetId" type="xs:string" minOccurs="0"/>
> 			<xs:element name="ServiceId" type="xs:string" minOccurs="0"/>
> 			<xs:element name="PromotionId" type="xs:string" minOccurs="0"/>
> 			<xs:element name="ProvisionInstruction" type="xs:string" minOccurs="0"/>
> 			<xs:element name="NRCPaymentType" type="xs:string" minOccurs="0"/>
> 			<xs:element name="PaymentIndex" type="xs:string" minOccurs="0"/>
> 			<xs:element name="Quantity" type="xs:string"/>
> 			<xs:element name="ListOfActivity" minOccurs="0">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="Activity" maxOccurs="unbounded">
> 							<xs:complexType>
> 								<xs:sequence>
> 									<xs:element name="Date" type="xs:string" minOccurs="0"/>
> 									<xs:element name="AccountName" type="xs:string" minOccurs="0"/>
> 									<xs:element name="Category" type="xs:string"/>
> 									<xs:element name="Comment" type="xs:string" minOccurs="0"/>
> 									<xs:element name="Description" type="xs:string" minOccurs="0"/>
> 									<xs:element name="Status" type="xs:string"/>
> 									<xs:element name="Type" type="xs:string" minOccurs="0"/>
> 									<xs:element name="ListOfPreOrderCheckResults" minOccurs="0">
> 										<xs:complexType>
> 											<xs:sequence>
> 												<xs:element name="PreOrderCheckResult" minOccurs="0" maxOccurs="unbounded">
> 													<xs:complexType>
> 														<xs:sequence>
> 															<xs:element name="CheckDescription" type="xs:string" minOccurs="0"/>
> 															<xs:element name="CheckName" type="xs:string" minOccurs="0"/>
> 															<xs:element name="CheckResult" type="xs:string" minOccurs="0"/>
> 														</xs:sequence>
> 													</xs:complexType>
> 												</xs:element>
> 											</xs:sequence>
> 										</xs:complexType>
> 									</xs:element>
> 								</xs:sequence>
> 							</xs:complexType>
> 						</xs:element>
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 			<xs:element name="ListOfOrderItemNotes" minOccurs="0">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="OrderItemNote" minOccurs="0" maxOccurs="unbounded">
> 							<xs:complexType>
> 								<xs:sequence>
> 									<xs:element name="NoteText" type="xs:string" minOccurs="0"/>
> 									<xs:element name="NoteType" type="xs:string" minOccurs="0"/>
> 								</xs:sequence>
> 							</xs:complexType>
> 						</xs:element>
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 			<xs:element name="ListOfOrderItemAttributes" minOccurs="0">
> 				<xs:complexType>
> 					<xs:sequence>
> 						<xs:element name="OrderItemAttribute" maxOccurs="unbounded">
> 							<xs:complexType>
> 								<xs:sequence>
> 									<xs:element name="Action" type="xs:string"/>
> 									<xs:element name="AttributeName" type="xs:string"/>
> 									<xs:element name="AttributeValue" type="xs:string"/>
> 								</xs:sequence>
> 							</xs:complexType>
> 						</xs:element>
> 					</xs:sequence>
> 				</xs:complexType>
> 			</xs:element>
> 			<xs:element name="OrderItem" type="MCO:OrderItem" minOccurs="0" maxOccurs="unbounded"/>
> 		</xs:sequence>
> 	</xs:complexType>
> </xs:schema>
> StandardHeader.xsd
> -----------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by BT (BT) -->
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:header="http://wsi.nat.bt.com/2005/06/StandardHeader/"
targetNamespace="http://wsi.nat.bt.com/2005/06/StandardHeader/" elementFormDefault="qualified"
attributeFormDefault="unqualified">
> 	<!-- Approved  version of IDD Common Header for production usage. 2005/06.
> 	  Revision 2005/12/08. JonC: Anonymous complex type removed from inside 'contextItem'
and made global declaration 'ContextItem'  
>       Revision 2005/12/08. JonC: Attributes 'contextItemId' and 'contextItemName' explicitly
set types of 'xs:string' -->
> 	<xs:element name="standardHeader" type="header:StandardHeaderBlock"/>
> 	<xs:complexType name="StandardHeaderBlock">
> 		<xs:sequence>
> 			<xs:element name="e2e" type="header:E2E" nillable="true" minOccurs="0"/>
> 			<xs:element name="serviceState">
> 				<xs:complexType>
> 					<xs:complexContent>
> 						<xs:extension base="header:ServiceState">
> 							<xs:sequence>
> 								<xs:element name="stateCode" type="xs:string"/>
> 								<xs:element name="errorCode" type="xs:string" nillable="true" minOccurs="0"/>
> 								<xs:element name="errorDesc" type="xs:string" nillable="true" minOccurs="0"/>
> 								<xs:element name="errorText" type="xs:string" nillable="true" minOccurs="0"/>
> 								<xs:element name="errorTrace" type="xs:string" nillable="true" minOccurs="0"/>
> 								<xs:element name="resendIndicator" type="xs:boolean" nillable="true" minOccurs="0"/>
> 								<xs:element name="retriesRemaining" type="xs:integer" nillable="true" minOccurs="0"/>
> 								<xs:element name="retryInterval" type="xs:integer" nillable="true" minOccurs="0"/>
> 							</xs:sequence>
> 						</xs:extension>
> 					</xs:complexContent>
> 				</xs:complexType>
> 			</xs:element>
> 			<xs:element name="serviceAddressing" type="header:ServiceAddressing"/>
> 			<xs:element name="serviceProperties" type="header:ServiceProperties" nillable="true"
minOccurs="0"/>
> 			<xs:element name="serviceSpecification" type="header:ServiceSpecification" nillable="true"
minOccurs="0"/>
> 			<xs:element name="serviceSecurity" type="header:ServiceSecurity" nillable="true"
minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="E2E">
> 		<xs:sequence>
> 			<xs:element name="E2EDATA" type="xs:string" nillable="true" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="ServiceState"/>
> 	<xs:complexType name="AddressReference">
> 		<xs:sequence>
> 			<xs:element name="address" type="xs:anyURI"/>
> 			<xs:element name="contextItemList" type="header:ContextItemList" nillable="true"
minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="ContextItemList">
> 		<xs:sequence>
> 			<xs:element name="contextItem" type="header:ContextItem" nillable="true" maxOccurs="unbounded"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="ContextItem">
> 		<xs:simpleContent>
> 			<xs:extension base="xs:string">
> 				<xs:attribute name="contextId" type="xs:string"/>
> 				<xs:attribute name="contextName" type="xs:string"/>
> 			</xs:extension>
> 		</xs:simpleContent>
> 	</xs:complexType>
> 	<xs:complexType name="ServiceAddressing">
> 		<xs:sequence>
> 			<xs:element name="from" type="xs:anyURI" nillable="true" minOccurs="0"/>
> 			<xs:element name="to" type="header:AddressReference" nillable="true" minOccurs="0"/>
> 			<xs:element name="replyTo" type="header:AddressReference" nillable="true" minOccurs="0"/>
> 			<xs:element name="relatesTo" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="faultTo" type="header:AddressReference" nillable="true" minOccurs="0"/>
> 			<xs:element name="messageId" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="serviceName" type="xs:anyURI" nillable="true" minOccurs="0"/>
> 			<xs:element name="action" type="xs:anyURI" nillable="true"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="ServiceSpecification">
> 		<xs:sequence>
> 			<xs:element name="payloadFormat" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="version" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="revision" type="xs:string" nillable="true" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="ServiceProperties">
> 		<xs:sequence>
> 			<xs:element name="messageExpiry" type="header:MessageExpiry" nillable="true" minOccurs="0"/>
> 			<xs:element name="messageDelivery" type="header:MessageDelivery" nillable="true"
minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="MessageExpiry">
> 		<xs:sequence>
> 			<xs:element name="expiryTime" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="expiryAction" type="xs:string" nillable="true" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="MessageDelivery">
> 		<xs:sequence>
> 			<xs:element name="messagePersistence" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="messageRetries" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="messageRetryInterval" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="messageQoS" type="xs:string" nillable="true" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> 	<xs:complexType name="ServiceSecurity">
> 		<xs:sequence>
> 			<xs:element name="id" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="role" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="type" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="authenticationLevel" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="authenticationToken" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="userEntitlements" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="tokenExpiry" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="callingApplication" type="xs:string" nillable="true" minOccurs="0"/>
> 			<xs:element name="callingApplicationCredentials" type="xs:string" nillable="true"
minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> </xs:schema>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message