axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xu liujuan" <xuliuj...@hotmail.com>
Subject for help,with the wsdl and xsd added
Date Wed, 24 Dec 2003 09:05:06 GMT

Hi

  when I try to use org.apache.axis.wsdl.WSDL2Java.main() to  generate java 
cods for genericCai3g.wsdl 
  , I get the following exception 
java.lang.NullPointerException 
   at 

org.apache.axis.wsdl.symbolTable.SymbolTable.getParameterFromParts(SymbolTable.java:1641)




     [java]     at 
org.apache.axis.wsdl.toJava.JavaFaultWriter.writeFileBody(JavaFaultWriter.java:105) 



     [java]     at 
org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:148) 
     [java]     at 
org.apache.axis.wsdl.toJava.JavaDefinitionWriter.writeFaults(JavaDefinitionWriterjava:145)




     [java]     at 
org.apache.axis.wsdl.toJava.JavaDefinitionWriter.generate(JavaDefinitionWriterjava:99) 



     [java]     at 
org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JJavaGeneratorFactory.java:307)




     [java]     at 
org.apache.axis.wsdl.gen.Parser.generate(Parser.java:336) 
     [java] 
org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:82) 
       at 
org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:246) 
     [java]     at java.lang.Thread.run(Thread.java:536) 
Maybe there is something wrong in the wsdl file or there is a bug in axis 
source. 
I have dificulty to find the way to solve the problem. 
Is there any one who can help me? 

the wsdl file:
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
xmlns:cai3g="http://schemas.ericsson.com/cai3g1.0/2003/05/30/" 
targetNamespace="http://schemas.ericsson.com/cai3g1.0/2003/05/30/">
	<import namespace="http://schemas.ericsson.com/cai3g1.0/2003/05/30/" 
location="GenericCai3gType.xsd"/>
	<message name="CreateRequest">
		<part name="parameters" element="cai3g:Create"/>
	</message>
	<message name="CreateResponse">
		<part name="parameters" element="cai3g:CreateResponse"/>
	</message>
	<message name="GenericResponse"/>
	<message name="GetRequest">
		<part name="parameters" element="cai3g:Get"/>
	</message>
	<message name="GetResponse">
		<part name="parameters" element="cai3g:GetResponse"/>
	</message>
	<message name="SetRequest">
		<part name="parameters" element="cai3g:Set"/>
	</message>
	<message name="SetResponse">
		<part name="parameters" element="cai3g:SetResponse"/>
	</message>
	<message name="DeleteRequest">
		<part name="parameters" element="cai3g:Delete"/>
	</message>
	<message name="LoginRequest">
		<part name="parameters" element="cai3g:Login"/>
	</message>
	<message name="LoginResponse">
		<part name="parameters" element="cai3g:LoginResponse"/>
	</message>
	<message name="LogoutRequest">
		<part name="parameters" element="cai3g:Logout"/>
	</message>
	<message name="HeadInfo">
		<part name="sessionId" element="cai3g:SessionId"/>
		<part name="transactionId" element="cai3g:TransactionId"/>
		<part name="sequenceId" element="cai3g:SequenceId"/>
	</message>
	<message name="SubscribeRequest">
		<part name="parameters" element="cai3g:Subscribe"/>
	</message>
	<message name="SubscribeResponse">
		<part name="parameters" element="cai3g:SubscribeResponse"/>
	</message>
	<message name="UnsubscribeRequest">
		<part name="parameters" element="cai3g:Unsubscribe"/>
	</message>
	<message name="NotifyRequest">
		<part name="parameters" element="cai3g:Notify"/>
	</message>
	<message name="Cai3gFault">
		<part name="parameters" element="cai3g:Cai3gFault"/>
	</message>
	<message name="Cai3gHeaderFault">
		<part name="sessionIdFault" type="cai3g:SessionIdFault"/>
		<part name="transactionIdFault" type="cai3g:TransactionIdFault"/>
		<part name="sequenceIdFault" type="cai3g:SequenceIdFault"/>
	</message>
	<portType name="Provisioning">
		<operation name="Create">
			<input message="cai3g:CreateRequest"/>
			<output message="cai3g:CreateResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
		<operation name="Delete">
			<input message="cai3g:DeleteRequest"/>
			<output message="cai3g:GenericResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
		<operation name="Get">
			<input message="cai3g:GetRequest"/>
			<output message="cai3g:GetResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
		<operation name="Set">
			<input message="cai3g:SetRequest"/>
			<output message="cai3g:SetResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
	</portType>
	<portType name="SessionControl">
		<operation name="Login">
			<input message="cai3g:LoginRequest"/>
			<output message="cai3g:LoginResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
		<operation name="Logout">
			<input message="cai3g:LogoutRequest"/>
			<output message="cai3g:GenericResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
	</portType>
	<portType name="Notification">
		<operation name="Subscribe">
			<input message="cai3g:SubscribeRequest"/>
			<output message="cai3g:SubscribeResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
		<operation name="Notify">
			<output message="cai3g:NotifyRequest"/>
			<input message="cai3g:GenericResponse"/>
		</operation>
		<operation name="Unsubscribe">
			<input message="cai3g:UnsubscribeRequest"/>
			<output message="cai3g:GenericResponse"/>
			<fault name="Cai3gFault" message="cai3g:Cai3gFault"/>
		</operation>
	</portType>
	<binding name="Provisioning" type="cai3g:Provisioning">
		<soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="Create">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Create" 
style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sessionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sequenceId" 
use="literal"/>
				</soap:header>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
		<operation name="Delete">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Delete" 
style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sessionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sequenceId" 
use="literal"/>
				</soap:header>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
		<operation name="Get">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Get" 
style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sessionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sequenceId" 
use="literal"/>
				</soap:header>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
		<operation name="Set">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Set" 
style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sessionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sequenceId" 
use="literal"/>
				</soap:header>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
	</binding>
	<binding name="SessionControl" type="cai3g:SessionControl">
		<soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="Login">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Login" 
style="document"/>
			<input>
				<soap:body use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
		<operation name="Logout">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Logout" 
style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sessionId" 
use="literal"/>
				</soap:header>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
	</binding>
	<binding name="Notification" type="cai3g:Notification">
		<soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="Subscribe">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Subscribe" 
style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sessionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sequenceId" 
use="literal"/>
				</soap:header>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
		<operation name="Unsubscribe">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Unsubscribe" 
style="document"/>
			<input>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal"/>
			</input>
			<output>
				<soap:body use="literal"/>
				<soap:header message="cai3g:HeadInfo" part="sessionId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sessionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="transactionId" 
use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="transactionId" 
use="literal"/>
				</soap:header>
				<soap:header message="cai3g:HeadInfo" part="sequenceId" use="literal">
					<soap:headerfault message="cai3g:HeadInfo" part="sequenceId" 
use="literal"/>
				</soap:header>
			</output>
			<fault name="Cai3gFault">
				<soap:fault name="Cai3gFault" use="literal"/>
			</fault>
		</operation>
		<operation name="Notify">
			<soap:operation 
soapAction="http://schemas.ericsson.com/cai3g1.0/2003/05/30/Notify" 
style="document"/>
			<output>
				<soap:body use="literal"/>
			</output>
			<input>
				<soap:body use="literal"/>
			</input>
		</operation>
	</binding>
	<service name="CAI3G">
		<port name="Provisioning" binding="cai3g:Provisioning">
			<soap:address 
location="http://anyema.anyprovisioningprovider.com/cai3g"/>
		</port>
		<port name="SessionControl" binding="cai3g:SessionControl">
			<soap:address 
location="http://anyema.anyprovisioningprovider.com/cai3g"/>
		</port>
		<port name="Notification" binding="cai3g:Notification">
			<soap:address 
location="http://anyema.anyprovisioningprovider.com/cai3g"/>
		</port>
	</service>
	<!-- 1. imported schema -->
	<!-- 2. message definition -->
	<!-- 3. portType definition -->
	<!-- 4. binding definition -->
	<!-- 5. service definition -->
</definitions>

the xml schema
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U (http://www.xmlspy.com) by He Zheng 
(RDC) -->
<xs:schema 
targetNamespace="http://schemas.ericsson.com/cai3g1.0/2003/05/30/" 
xmlns:xs="http://www.w3.org/2001/XMLSchema" 
xmlns="http://schemas.ericsson.com/cai3g1.0/2003/05/30/" 
elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="Create">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="MOType" type="MoType"/>
				<xs:element name="MOId" type="AnyMOIdType" minOccurs="0"/>
				<xs:element name="MOAttributes" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="CreateMODefinition"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="CreateResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="MOId" type="AnyMOIdType"/>
				<xs:element name="MOAttributes" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="GetMODefinition"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Get">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="MOType" type="MoType"/>
				<xs:element name="MOId" type="AnyMOIdType" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="GetResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="MOId" type="AnyMOIdType" minOccurs="0" 
maxOccurs="unbounded"/>
				<xs:element name="MOAttributes">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="GetMODefinition"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Set">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="MOType" type="MoType"/>
				<xs:element name="MOId" type="AnyMOIdType"/>
				<xs:element name="MOAttributes">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="SetMODefinition"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SetResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="MOAttributes" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="GetMODefinition"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Delete">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="MOType" type="MoType"/>
				<xs:element name="MOId" type="AnyMOIdType"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Login">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="userId" type="UserIdType"/>
				<xs:element name="pwd" type="xs:string"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Logout">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="sessionId" type="SessionIdType"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="LoginResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="sessionId" type="SessionIdType"/>
				<xs:element name="baseSequenceId" type="xs:unsignedLong"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Subscribe">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="managerRef" type="xs:anyURI"/>
				<xs:element name="filter" type="NotificationFilterType" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SubscribeResponse">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="subscriptionId" type="xs:string"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Unsubscribe">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="managerReference" type="xs:anyURI"/>
				<xs:element name="subscriptionId" type="xs:string" minOccurs="0"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Notify">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="NotificationHeader" type="NotificationHeaderType"/>
				<xs:element name="correlatedNotifications" type="xs:string" 
minOccurs="0" maxOccurs="unbounded"/>
				<xs:element name="additionalText" type="xs:string" minOccurs="0"/>
				<xs:element name="sourceIndicator" type="xs:anyURI" minOccurs="0"/>
				<xs:element name="notificationData">
					<xs:complexType>
						<xs:sequence>
							<xs:any namespace="##any" processContents="lax" 
maxOccurs="unbounded"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="Cai3gFault">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="faultcode" type="xs:integer"/>
				<xs:element name="faultreason">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="reasonText" type="xs:string" 
maxOccurs="unbounded"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="faultrole" type="xs:string"/>
				<xs:element name="details" minOccurs="0">
					<xs:complexType>
						<xs:sequence>
							<xs:any namespace="##any" processContents="lax"/>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="SessionId" type="SessionIdType"/>
	<xs:element name="TransactionId" type="xs:unsignedLong"/>
	<xs:element name="SequenceId" type="xs:unsignedLong"/>
	<xs:complexType name="AbstractCreateAttributeType" abstract="true"/>
	<xs:complexType name="AbstractSetAttributeType" abstract="true"/>
	<xs:complexType name="AbstractGetAttributeType" abstract="true"/>
	<xs:simpleType name="SessionIdType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[\d\w]{1,}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="NotificationHeaderType">
		<xs:sequence>
			<xs:element name="cai3gUser" type="KeyString"/>
			<xs:element name="moType" type="MoType"/>
			<xs:element name="moInstance" type="AnyMOIdType"/>
			<xs:element name="notificationId" type="xs:string" minOccurs="0"/>
			<xs:element name="eventTime" type="xs:time"/>
			<xs:element name="notificationActor" type="xs:anyURI" minOccurs="0"/>
			<xs:element name="operation" type="NotificationOperationType"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="NotificationFilterType">
		<xs:sequence>
			<xs:element name="cai3gUser" type="KeyString" minOccurs="0" 
maxOccurs="unbounded"/>
			<xs:element name="moType" type="MoType" minOccurs="0" 
maxOccurs="unbounded"/>
			<xs:element name="operation" type="NotificationOperationType" 
minOccurs="0" maxOccurs="unbounded"/>
			<xs:element name="moInstance" type="AnyMOIdType" minOccurs="0" 
maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="AnyMOIdType">
		<xs:sequence>
			<xs:any namespace="##any" processContents="lax" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="KeyString">
		<xs:restriction base="xs:string">
			<xs:pattern value="[A-Za-z][_A-Za-z0-9]*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="MoType">
		<xs:restriction base="xs:string">
			<xs:pattern value="[A-Za-z][_A-Za-z0-9]*@.*"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="NotificationOperationType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ObjectCreation"/>
			<xs:enumeration value="ObjectDeletion"/>
			<xs:enumeration value="AttributeValueChange"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="SessionIdFault" final="restriction">
		<xs:complexContent>
			<xs:extension base="HeaderFaultType">
				<xs:sequence>
					<xs:element name="faultcode">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:enumeration value="Invalid SessionId"/>
								<xs:enumeration value="Session Timeout"/>
								<xs:enumeration value="SessionId Syntax Error"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="SequenceIdFault" final="restriction">
		<xs:complexContent>
			<xs:extension base="HeaderFaultType">
				<xs:sequence>
					<xs:element name="faultcode">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:enumeration value="Invalid SequenceId"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:complexType name="TransactionIdFault" final="restriction">
		<xs:complexContent>
			<xs:extension base="HeaderFaultType">
				<xs:sequence>
					<xs:element name="faultcode">
						<xs:simpleType>
							<xs:restriction base="xs:string">
								<xs:enumeration value="Invalid TransactionId"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="CreateMODefinition" type="AbstractCreateAttributeType" 
abstract="true"/>
	<xs:element name="SetMODefinition" type="AbstractSetAttributeType" 
abstract="true"/>
	<xs:element name="GetMODefinition" type="AbstractGetAttributeType" 
abstract="true"/>
	<xs:complexType name="HeaderFaultType">
		<xs:sequence>
			<xs:element name="faultactor" type="xs:string"/>
			<xs:element name="description" type="xs:string"/>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="UserIdType">
		<xs:restriction base="xs:string">
			<xs:pattern value="\w[\d\w_]*"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>

B Rs. 
/Xuliujuan

_________________________________________________________________
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  


Mime
View raw message