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="<Trip
InternalElementID="1" TripType="Normal"
UserID="1086" OrganizationID="365">
<Plan
InternalElementID="2" UserDefinedRouteID="MyRoute"
XVIN="2079" UseRouteTemplate="No"
BeginTime="2007-03-16T19:27:00"
AdjustTripBeginTime="True"
LibraryUpload="True">
<PlanStop
InternalElementID="3" StopNumber="BEG"
XSiteID="0" SiteID="mylittleplaceinthewoods"
ArrivalLock="False"
ArrivalTime="2007-03-16T19:27:00"
DepartureTime="2007-03-16T19:27:00"
LegOverride="False" LegTime="0"
LegMiles="0">
<PlanCargo
InternalElementID="4" Action="Pick"
Units="0" Weight="300000" BillID="Bill_0"
Duration="0" />
<ValidationLocationError
InternalElementID="5" Description="Site ID must be
specified." Resolution="None"
/>
<ValidationError InternalElementID="6"
Description="Unable to retrieve FixedStopTime from site."
/>
</PlanStop>
</Plan>
</Trip>
"
DateOfQuery="2007-03-18T14:05:52.1-05:00"/>
</TripDataConduitDataObject>
</diffgr:diffgram>
</GetActualDispatchPlanByTripIDResult>
</soap:Body>
</soap:Envelope>