Bad Request response with XML data conten

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I?m testing my own web service. I have it function for certain data sets,
but I am having trouble with a particular set. The ?content? var is ?any?
type. The request is below. If I replace the XML in <ns1:content
id="abcdef"> with other XML it works fine. I can not find anything wrong in
the request. Even if the XML (in content) was poorly formed the SOAP call
should work because as far as the SOAP server is concerned this is just a
string right?



<?xml version="1.0" encoding="UTF-8" ?> 
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="http://www.starstandards.org/webservices/2005/10/transport";>
- <SOAP-ENV:Header>
- <ns1:payloadManifest>
  <ns1:manifest contentID="abcdef" namespaceURI="urn::mynamespace"
element="data" /> 
  </ns1:payloadManifest>
  </SOAP-ENV:Header>
- <SOAP-ENV:Body>
- <ns1:ProcessMessage>
- <ns1:payload>
  <ns1:content /> 
- <ns1:content id="abcdef">
  <?xml version="1.0" encoding="UTF-8" ?> 
- <rey_VIVehicleInventory
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="rey_VIVehicleInventory.xsd" revision="1.0">
- <ApplicationArea>
- <Sender>
  <Component>ERA</Component> 
  <Task>VI</Task> 
  <CreatorNameCode>RR</CreatorNameCode> 
  <SenderNameCode>RR</SenderNameCode> 
  <DealerNumber>934201236441890</DealerNumber> 
  <StoreNumber>01</StoreNumber> 
  <AreaNumber>01</AreaNumber> 
  </Sender>
  <CreationDateTime /> 
  <BODId>9e980c3a-01b2-1ed2-842c-bc3690029d20</BODId> 
- <Destination>
  <DestinationNameCode>RCI</DestinationNameCode> 
  </Destination>
  </ApplicationArea>
- <VehInvRec>
  <TransType>I</TransType> 
- <Vehicle VehicleYr="01" ExtClrCode="PS2" MakePfx="CH" AccentClr="YN SILVER
CLEARCOAT ACC" ExtClrDesc="BRIGHT SILVER" Vin="2C8GP74L61R294579"
ModelDesc="S/W T/C EX FWD" VehicleMake="CHRYSLER" Carline="TOWN & COUNTRY"
IntClrCode="M2" RoofClr="PWR MOON ROOF 13B" IntClrDesc="40 60 MED GRAPHITE
CLOTH" MdlNo="RSYX53">
  <VehicleDetail ChassisNo="12345C" AlarmNo="" Transm="44M" KeyNo2="1901"
UnitsofMeasure="E" KeyNo1="M1901" EngineConfig="" VehClass="" CategCode=""
Weight="3913" EngNo="992" Aircond="Y" Fuel="G" LicExpDate="" NewUsed="N"
KeylessNo="" FuelEcon="" LicNo="" Bodysize="MINIVAN" Trim="" NoOfCyl="6"
Pwrstr="Y" Axle="X19" Wheelbase="" KeyChipNo="" Turbo="N" OdomReading="1" />

- <Option FactAccCode="CGS" FactAccDesc="AIR BAGS-SIDE">
  <OptionAccounting Rtl="0.0" RefNo="" Amt="0.0" /> 
  </Option>
- <Option FactAccCode="EGH" FactAccDesc="3.8L MPI V6">
  <OptionAccounting Rtl="0.0" RefNo="" Amt="0.0" /> 
  </Option>
- <DlrOption DlrAccCode="99" DlrAccDesc="PRICE ADJUSTMENT">
  <OptionAccounting Rtl="0.0" RefNo="" Amt="-410.0" /> 
  </DlrOption>
- <OptionPackage PkgCodeDesc="502A" PkgCode="">
  <OptionAccounting Rtl="0.0" RefNo="" Amt="0.0" /> 
- <Option FactAccCode="768" FactAccDesc="CHROME REAR STEP BUMPER">
  <OptionAccounting Rtl="0.0" RefNo="" Amt="0.0" /> 
  </Option>
- <Option FactAccCode="642" FactAccDesc="WHEELS">
  <OptionAccounting Rtl="0.0" RefNo="" Amt="0.0" /> 
  </Option>
  </OptionPackage>
  </Vehicle>
  <StockingInfo StatCode="1" UsedGroup="" StatDesc="IN-STOCK"
RcptDate="06/07/2001" AcctgMake="CH" Loc="" Id="1520990" VehicleType="P" /> 
  <MiscInfo MemoLine2="UNPARK3" PurchDate="06/07/2001" MemoLine1="LOT1"
WarrExpDate="" /> 
- <Floorplan FlrplnVend="2017" FlrplnVendName="CHRYLER MOTOR CORP">
  <FloorplanInfo FlrplnIntrRate="26751.55" IntrStartDate="06/07/2001" /> 
  </Floorplan>
  <OrderInfo PriceLvl="820" AsmblyPlant="NORFOLK" OrderProcDate="01/15/2001"
MfrStat="ARR AT RAMP35" SpecOrdr="" FactOrdNo="WX178180" ProdDate=""
MfrSchedDate="02/15/2001" OrderPrty="80" OrdDate="01/15/2001" OrdType="S"
MfrStatDate="02/01/2001" Omal="05" EstArrivalDate="03/01/2001" /> 
  <PriceCost HbkAmt="575.5" BestPrice="" InvenAmt="25751.5" CodedCost=""
PdiAmt="" InvAmt="25751.5" ListPrice="27220.0" SlsCost="25751.5" DMVAmt=""
InvenGlAmt="" LicFee="" CostPackAmt="" SlsCode="" /> 
  </VehInvRec>
  </rey_VIVehicleInventory>
  </ns1:content>
  </ns1:payload>
  </ns1:ProcessMessage>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>


Roger Harrell
Founder CrossFit Marin
http://www.CrossFitMarin.com

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux