You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Rich Adili <Ri...@xata.com> on 2007/03/18 15:12:04 UTC

diffgram?

Can/will Axis2 support diffgrams? Example appears below. The 1.1.1
release throws an "Unexpected subelement diffgram" exception. If no
support is in the works, can someone suggest a workaround?

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wsse
curity-secext-1.0.xsd"
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd">
	<soap:Header>
		<wsa:Action>
	
http://www.xatanet.net/XataNetWebService/xatadispatchwebservice/GetActua
lDispatchPlanByTripIDResponse
		</wsa:Action>
	
<wsa:MessageID>uuid:ad54d82c-8d3d-4215-8b55-f195b9778b2b</wsa:MessageID>
	
<wsa:RelatesTo>uuid:1df19d43-dce4-4783-825a-8a25f671004a</wsa:RelatesTo>
	
<wsa:To>http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous<
/wsa:To>
		<wsse:Security>
			<wsu:Timestamp
wsu:Id="Timestamp-131bf180-1728-4cc9-860c-f99cf52470f6">
	
<wsu:Created>2007-03-18T14:05:52Z</wsu:Created>
	
<wsu:Expires>2007-03-18T14:10:52Z</wsu:Expires>
			</wsu:Timestamp>
		</wsse:Security>
	</soap:Header>
	<soap:Body>
		<GetActualDispatchPlanByTripIDResult
	
xmlns="http://www.xatanet.net/XataNetWebService/xatadispatchwebservice">
			<xs:schema id="TripDataConduitDataObject"
xmlns=""
	
xmlns:xs="http://www.w3.org/2001/XMLSchema"
	
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
				<xs:element
name="TripDataConduitDataObject" msdata:IsDataSet="true"
	
msdata:UseCurrentLocale="true">
					<xs:complexType>
						<xs:choice minOccurs="0"
maxOccurs="unbounded">
							<xs:element
name="Trip">
	
<xs:complexType>
	
<xs:attribute name="TripID" msdata:ReadOnly="true"
	
msdata:AutoIncrement="true" type="xs:int"
	
use="required"/>
	
<xs:attribute name="CurrentRevisionNumber" type="xs:int"/>
	
<xs:attribute name="IsDispatch" type="xs:boolean"/>
	
<xs:attribute name="IsActive" type="xs:boolean"/>
	
<xs:attribute name="IsComplete" type="xs:boolean"/>
	
<xs:attribute name="IsArchived" type="xs:boolean"/>
	
<xs:attribute name="IsPlanValid" type="xs:boolean"/>
	
<xs:attribute name="IsActualValid" type="xs:boolean"/>
	
<xs:attribute name="XVIN" type="xs:int"/>
	
<xs:attribute name="OrganizationID" type="xs:int"/>
	
<xs:attribute name="UserDefinedRouteID" type="xs:string"/>
	
<xs:attribute name="UserDefinedTripID" type="xs:string"/>
	
<xs:attribute name="PlanStartDate" type="xs:dateTime"/>
	
<xs:attribute name="StartDate" type="xs:dateTime"/>
	
<xs:attribute name="EndDate" type="xs:dateTime"/>
	
<xs:attribute name="LastMessageDate" type="xs:dateTime"/>
	
<xs:attribute name="LastMessageType" type="xs:string"/>
	
<xs:attribute name="TripType" type="xs:string"/>
	
<xs:attribute name="LastLocation" type="xs:string"/>
	
<xs:attribute name="TimeVariance" type="xs:int"/>
	
<xs:attribute name="DateLastModified" type="xs:dateTime"/>
	
<xs:attribute name="DispatchCreationDate" type="xs:dateTime"/>
	
<xs:attribute name="DispatchLastXVIN" type="xs:int"/>
	
<xs:attribute name="DispatchLastStartedDate" type="xs:int"/>
	
<xs:attribute name="DispatchLastDriverID" type="xs:int"/>
	
<xs:attribute name="ArchiveDate" type="xs:dateTime"/>
	
<xs:attribute name="TripData" type="xs:string"/>
	
<xs:attribute name="UserComments" type="xs:string"/>
	
<xs:attribute name="XataNetUserID" type="xs:int"/>
	
<xs:attribute name="Reason" type="xs:string"/>
	
<xs:attribute name="DateOfQuery" type="xs:dateTime"/>
	
</xs:complexType>
							</xs:element>
						</xs:choice>
					</xs:complexType>
					<xs:unique
name="TripDataConduitDataObjectKey1" msdata:PrimaryKey="true">
						<xs:selector
xpath=".//Trip"/>
						<xs:field
xpath="@TripID"/>
					</xs:unique>
				</xs:element>
			</xs:schema>
			<diffgr:diffgram
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
	
xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
				<TripDataConduitDataObject xmlns="">
					<Trip diffgr:id="Trip1"
msdata:rowOrder="0" TripID="62174"
					      CurrentRevisionNumber="1"
IsDispatch="true" IsActive="false"
					      IsComplete="false"
IsArchived="false" IsPlanValid="false"
					      IsActualValid="false"
XVIN="2079" OrganizationID="365"
	
UserDefinedRouteID="MyRoute" PlanStartDate="2007-03-16T19:27:00.7-05:00"
	
StartDate="2007-03-16T14:27:50.013-05:00"
	
EndDate="2007-03-16T14:27:50.013-05:00"
	
LastMessageDate="2007-03-16T14:27:50.013-05:00" LastMessageType=""
					      TripType="Normal"
LastLocation="" TimeVariance="0"
	
DateLastModified="2007-03-16T19:29:25.493-05:00"
	
DispatchCreationDate="2007-03-16T14:27:50.013-05:00"
DispatchLastXVIN="0"
	
DispatchLastStartedDate="0" ArchiveDate="2007-03-16T14:27:50.013-05:00"
					      TripData="&lt;Trip
InternalElementID=&quot;1&quot; TripType=&quot;Normal&quot;
UserID=&quot;1086&quot; OrganizationID=&quot;365&quot;&gt;&#xA;&lt;Plan
InternalElementID=&quot;2&quot; UserDefinedRouteID=&quot;MyRoute&quot;
XVIN=&quot;2079&quot; UseRouteTemplate=&quot;No&quot;
BeginTime=&quot;2007-03-16T19:27:00&quot;
AdjustTripBeginTime=&quot;True&quot;
LibraryUpload=&quot;True&quot;&gt;&#xA;&lt;PlanStop
InternalElementID=&quot;3&quot; StopNumber=&quot;BEG&quot;
XSiteID=&quot;0&quot; SiteID=&quot;mylittleplaceinthewoods&quot;
ArrivalLock=&quot;False&quot;
ArrivalTime=&quot;2007-03-16T19:27:00&quot;
DepartureTime=&quot;2007-03-16T19:27:00&quot;
LegOverride=&quot;False&quot; LegTime=&quot;0&quot;
LegMiles=&quot;0&quot;&gt;&#xA;&lt;PlanCargo
InternalElementID=&quot;4&quot; Action=&quot;Pick&quot;
Units=&quot;0&quot; Weight=&quot;300000&quot; BillID=&quot;Bill_0&quot;
Duration=&quot;0&quot; /&gt;&#xA;&lt;ValidationLocationError
InternalElementID=&quot;5&quot; Description=&quot;Site ID must be
specified.&quot; Resolution=&quot;None&quot;
/&gt;&#xA;&lt;ValidationError InternalElementID=&quot;6&quot;
Description=&quot;Unable to retrieve FixedStopTime from site.&quot;
/&gt;&#xA;&lt;/PlanStop&gt;&#xA;&lt;/Plan&gt;&#xA;&lt;/Trip&gt;&#xA;"
	
DateOfQuery="2007-03-18T14:05:52.1-05:00"/>
				</TripDataConduitDataObject>
			</diffgr:diffgram>
		</GetActualDispatchPlanByTripIDResult>
	</soap:Body>
</soap:Envelope>