CTAS causes ORA-31061: XDB error: XML event error
The query works, the CTAS fails:
CREATE TABLE Moocows AS
ERROR at line 1:
ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
In line 1 of orastream:
LPX-00245: extra data after end of document
CREATE TABLE Moocows AS
WITH
XML(Document)
AS
SELECT
--Amazon_PAPI.Get_Response(Amazon_PAPI.ItemLookup('032244047145', 'UPC', 'Toys', '5011363525517', 'EAN', 'Toys'))
--Amazon_PAPI.Get_Response(Amazon_PAPI.ItemLookup('032244047145', 'UPC', 'All', '5011363525517', 'EAN', 'All'))
Amazon_PAPI.Get_Response(Amazon_PAPI.ItemSearch('Hungry Hungry Hippos', 'All', '', '', '', 'Mastermind', 'All', '', '', ''))
FROM
Dual
SELECT
Items.Id,
Items.Code,
Items.Message,
Items.Isvalid,
Item.Id Item_Id,
Item.ASIN,
Item.DetailPageURL,
XMLAGG(Item.ItemLink) ItemLink,
Item.SmallImage_URL,
Item.SmallImage_Height,
Item.SmallImage_Height_Units,
Item.SmallImage_Width,
Item.SmallImage_Width_Units,
Item.MediumImage_URL,
Item.MediumImage_Height,
Item.MediumImage_Height_Units,
Item.MediumImage_Width,
Item.MediumImage_Width_Units,
Item.LargeImage_URL,
Item.LargeImage_Height,
Item.LargeImage_Height_Units,
Item.LargeImage_Width,
Item.LargeImage_Width_Units,
XMLAGG(Item.ImageSet) ImageSet,
XMLAGG(Item.Actor) Actor,
XMLAGG(Item.Artist) Artist,
Item.AspectRatio,
Item.AudienceRating,
XMLAGG(Item.AudioFormat) AudioFormat,
XMLAGG(Item.Author) Author,
Item.Binding,
Item.Brand,
XMLAGG(Item.CatalogNumberListElement) CatalogNumberListElement,
XMLAGG(Item.Category) Category,
Item.CEROAgeRating,
Item.ClothingSize,
Item.Color,
XMLAGG(Item.Creator) Creator,
XMLAGG(Item.Director) Director,
Item.EAN,
XMLAGG(Item.EANListElement) EANListElement,
Item.Edition,
XMLAGG(Item.EISBN) EISBN,
Item.EpisodeSequence,
Item.ESRBAgeRating,
XMLAGG(Item.Feature) Feature,
XMLAGG(Item.Format) Format,
Item.Genre,
Item.HardwarePlatform,
Item.HazardousMaterialType,
Item.IsAdultProduct,
Item.IsAutographed,
Item.ISBN,
Item.IsEligibileForTrade,
Item.IsMemorabilia,
Item.IssuesPerYear,
XMLAGG(Item.ItemDimensions) ItemDimensions,
Item.ItemPartNumber,
Item.Label,
XMLAGG(Item.Langauge) Langauge,
Item.LegalDisclaimer,
Item.ListPrice,
Item.MagazineType,
Item.Manufacturer,
Item.ManufacturerMaximumAge,
Item.ManufacturerMinimumAge,
Item.ManufacturerPartsWarrantyDesc,
Item.MediaType,
Item.Model,
Item.ModelYear,
Item.MPN,
Item.NumberOfDiscs,
Item.NumberOfIssues,
Item.NumberOfItems,
Item.NumberOfPages,
Item.NumberOfTracks,
Item.OperatingSystem,
Item.PackageDimensions_Height,
Item.PackageDimensions_Height_Units,
Item.PackageDimensions_Length,
Item.PackageDimensions_Length_Units,
Item.PackageDimensions_Weight,
Item.PackageDimensions_Weight_Units,
Item.PackageDimensions_Width,
Item.PackageDimensions_Width_Units,
Item.PackageQuantity,
Item.PartNumber,
XMLAGG(Item.PictureFormat) PictureFormat,
XMLAGG(Item.Platform) Platform,
Item.ProductGroup,
Item.ProductTypeName,
Item.ProductTypeSubcategory,
Item.PublicationDate,
Item.Publisher,
Item.RegionCode,
Item.ReleaseDate,
Item.RunningTime,
Item.SeikodoProductCode,
Item.Item_Size,
Item.SKU,
Item.Studio,
Item.SubscriptionLength,
Item.Title,
Item.TrackSequence,
Item.TradeInValue,
Item.UPC,
XMLAGG(Item.UPCListElement) UPCListElement,
Item.Warranty,
Item.WEEETaxValue
FROM
XMLTABLE
XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
'//OperationRequest/Errors/Error
| //Items'
PASSING
(SELECT Document FROM XML)
COLUMNS
Id FOR ORDINALITY,
Code VARCHAR2(0050) PATH 'Code',
Message VARCHAR2(4000) PATH 'Message',
IsValid VARCHAR2(005) PATH 'Request/IsValid',
Item XMLTYPE PATH 'Item'
) Items
LEFT JOIN
XMLTABLE
XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
'/Item'
PASSING
Items.Item
COLUMNS
Id FOR ORDINALITY,
ASIN VARCHAR2(0010) PATH 'ASIN',
DetailPageURL VARCHAR2(0256) PATH 'DetailPageURL',
ItemLink XMLTYPE PATH 'ItemLinks/ItemLink',
SmallImage_URL VARCHAR2(0256) PATH 'SmallImage/URL',
SmallImage_Height NUMBER(4) PATH 'SmallImage/Height',
SmallImage_Height_Units VARCHAR2(0006) PATH 'SmallImage/Height/@Units',
SmallImage_Width NUMBER(4) PATH 'SmallImage/Width',
SmallImage_Width_Units VARCHAR2(0006) PATH 'SmallImage/Width/@Units',
MediumImage_URL VARCHAR2(0256) PATH 'MediumImage/URL',
MediumImage_Height NUMBER(4) PATH 'MediumImage/Height',
MediumImage_Height_Units VARCHAR2(0006) PATH 'MediumImage/Height/@Units',
MediumImage_Width NUMBER(4) PATH 'MediumImage/Width',
MediumImage_Width_Units VARCHAR2(0006) PATH 'MediumImage/Width/@Units',
LargeImage_URL VARCHAR2(0256) PATH 'LargeImage/URL',
LargeImage_Height NUMBER(4) PATH 'LargeImage/Height',
LargeImage_Height_Units VARCHAR2(0006) PATH 'LargeImage/Height/@Units',
LargeImage_Width NUMBER(4) PATH 'LargeImage/Width',
LargeImage_Width_Units VARCHAR2(0006) PATH 'LargeImage/Width/@Units',
ImageSet XMLTYPE PATH 'ImageSets/ImageSet',
Actor XMLTYPE PATH 'ItemAttributes/Actor',
Artist XMLTYPE PATH 'ItemAttributes/Artist',
AspectRatio VARCHAR2(0020) PATH 'ItemAttributes/AspectRatio',
AudienceRating VARCHAR2(0020) PATH 'ItemAttributes/AudienceRating',
AudioFormat XMLTYPE PATH 'ItemAttributes/AudioFormat',
Author XMLTYPE PATH 'ItemAttributes/Author',
Binding VARCHAR2(0050) PATH 'ItemAttributes/Binding',
Brand VARCHAR2(4000) PATH 'ItemAttributes/Brand',
CatalogNumberListElement XMLTYPE PATH 'ItemAttributes/CatalogNumberList/CatalogNumberListElement',
Category XMLTYPE PATH 'ItemAttributes/Category',
CEROAgeRating VARCHAR2(0020) PATH 'ItemAttributes/CEROAgeRating',
ClothingSize VARCHAR2(0050) PATH 'ItemAttributes/ClothingSize',
Color VARCHAR2(0100) PATH 'ItemAttributes/Color',
Creator XMLTYPE PATH 'ItemAttributes/Creator',
Department VARCHAR2(0050) PATH 'ItemAttributes/Department',
Director XMLTYPE PATH 'ItemAttributes/Director',
EAN NUMBER(15) PATH 'ItemAttributes/EAN',
EANListElement XMLTYPE PATH 'ItemAttributes/EANList/EANListElement',
Edition VARCHAR2(0020) PATH 'ItemAttributes/Edition',
EISBN XMLTYPE PATH 'ItemAttributes/EISBN',
EpisodeSequence VARCHAR2(0020) PATH 'ItemAttributes/EpisodeSequence',
ESRBAgeRating VARCHAR2(0020) PATH 'ItemAttributes/ESRBAgeRating',
Feature XMLTYPE PATH 'ItemAttributes/Feature',
Format XMLTYPE PATH 'ItemAttributes/Format',
Genre VARCHAR2(0050) PATH 'ItemAttributes/Genre',
HardwarePlatform VARCHAR2(0020) PATH 'ItemAttributes/HardwarePlatform',
HazardousMaterialType VARCHAR2(0050) PATH 'ItemAttributes/HazardousMaterialType',
IsAdultProduct VARCHAR2(0005) PATH 'ItemAttributes/IsAdultProduct',
IsAutographed VARCHAR2(0005) PATH 'ItemAttributes/IsAutographed',
ISBN VARCHAR2(0013) PATH 'ItemAttributes/ISBN',
IsEligibileForTrade VARCHAR2(0005) PATH 'ItemAttributes/IsEligibileForTrade',
IsMemorabilia VARCHAR2(0005) PATH 'ItemAttributes/IsMemorabilia',
IssuesPerYear VARCHAR2(0050) PATH 'ItemAttributes/IssuesPerYear',
ItemDimensions XMLTYPE PATH 'ItemAttributes/ItemDimensions',
ItemPartNumber VARCHAR2(0255) PATH 'ItemAttributes/ItemPartNumber',
Label VARCHAR2(4000) PATH 'ItemAttributes/Label',
Langauge XMLTYPE PATH 'ItemAttributes/Languages/Langauge',
LegalDisclaimer VARCHAR2(4000) PATH 'ItemAttributes/LegalDisclaimer',
ListPrice VARCHAR2(0020) PATH 'ItemAttributes/ListPrice',
MagazineType VARCHAR2(0020) PATH 'ItemAttributes/MagazineType',
Manufacturer VARCHAR2(4000) PATH 'ItemAttributes/Manufacturer',
ManufacturerMaximumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMaximumAge',
ManufacturerMinimumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMinimumAge',
ManufacturerPartsWarrantyDesc VARCHAR2(4000) PATH 'ItemAttributes/ManufacturerPartsWarrantyDesc',
MediaType VARCHAR2(0020) PATH 'ItemAttributes/MediaType',
Model VARCHAR2(0100) PATH 'ItemAttributes/Model',
ModelYear NUMBER(4) PATH 'ItemAttributes/ModelYear',
MPN VARCHAR2(0255) PATH 'ItemAttributes/MPN',
NumberOfDiscs NUMBER(3) PATH 'ItemAttributes/NumberOfDiscs',
NumberOfIssues NUMBER(3) PATH 'ItemAttributes/NumberOfIssues',
NumberOfItems NUMBER(7) PATH 'ItemAttributes/NumberOfItems',
NumberOfPages NUMBER(4) PATH 'ItemAttributes/NumberOfPages',
NumberOfTracks NUMBER(3) PATH 'ItemAttributes/NumberOfTracks',
OperatingSystem VARCHAR2(20) PATH 'ItemAttributes/OperatingSystem',
PackageDimensions_Height NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Height',
PackageDimensions_Height_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Height/@Units',
PackageDimensions_Length NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Length',
PackageDimensions_Length_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Length/@Units',
PackageDimensions_Weight NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Weight',
PackageDimensions_Weight_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Weight/@Units',
PackageDimensions_Width NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Width',
PackageDimensions_Width_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Width/@Units',
PackageQuantity NUMBER(5) PATH 'ItemAttributes/PackageQuantity',
PartNumber VARCHAR2(0100) PATH 'ItemAttributes/PartNumber',
PictureFormat XMLTYPE PATH 'ItemAttributes/PictureFormat',
Platform XMLTYPE PATH 'ItemAttributes/Platform',
ProductGroup VARCHAR2(0050) PATH 'ItemAttributes/ProductGroup',
ProductTypeName VARCHAR2(4000) PATH 'ItemAttributes/ProductTypeName',
ProductTypeSubcategory VARCHAR2(50) PATH 'ItemAttributes/ProductTypeSubcategory',
PublicationDate VARCHAR2(20) PATH 'ItemAttributes/PubliucationDate',
Publisher VARCHAR2(0255) PATH 'ItemAttributes/Publisher',
RegionCode VARCHAR2(20) PATH 'ItemAttributes/RegionCode',
ReleaseDate VARCHAR2(20) PATH 'ItemAttributes/ReleaseDate',
RunningTime VARCHAR2(20) PATH 'ItemAttributes/RunningTime',
SeikodoProductCode VARCHAR2(50) PATH 'ItemAttributes/SeikodoProductCode',
Item_Size VARCHAR2(50) PATH 'ItemAttributes/Size',
SKU VARCHAR2(0255) PATH 'ItemAttributes/SKU',
Studio VARCHAR2(0255) PATH 'ItemAttributes/Studio',
SubscriptionLength VARCHAR2(20) PATH 'ItemAttributes/SubscriptionLength',
Title VARCHAR2(4000) PATH 'ItemAttributes/Title',
TrackSequence VARCHAR2(0100) PATH 'ItemAttributes/TrackSequence',
TradeInValue VARCHAR2(4000) PATH 'ItemAttributes/TradeInValue',
UPC NUMBER(12) PATH 'ItemAttributes/UPC',
UPCListElement XMLTYPE PATH 'ItemAttributes/UPCList/UPCListElement',
Warranty VARCHAR2(4000) PATH 'ItemAttributes/Warranty',
WEEETaxValue VARCHAR2(0100) PATH 'ItemAttributes/WEEETaxValue'
) Item
ON
1 = 1
GROUP BY
Items.Id,
Items.Code,
Items.Message,
Items.Isvalid,
Item.Id,
Item.ASIN,
Item.DetailPageURL,
Item.SmallImage_URL,
Item.SmallImage_Height,
Item.SmallImage_Height_Units,
Item.SmallImage_Width,
Item.SmallImage_Width_Units,
Item.MediumImage_URL,
Item.MediumImage_Height,
Item.MediumImage_Height_Units,
Item.MediumImage_Width,
Item.MediumImage_Width_Units,
Item.LargeImage_URL,
Item.LargeImage_Height,
Item.LargeImage_Height_Units,
Item.LargeImage_Width,
Item.LargeImage_Width_Units,
Item.AspectRatio,
Item.AudienceRating,
Item.Binding,
Item.Brand,
Item.CEROAgeRating,
Item.ClothingSize,
Item.Color,
Item.EAN,
Item.Edition,
Item.EpisodeSequence,
Item.ESRBAgeRating,
Item.Genre,
Item.HardwarePlatform,
Item.HazardousMaterialType,
Item.IsAdultProduct,
Item.IsAutographed,
Item.ISBN,
Item.IsEligibileForTrade,
Item.IsMemorabilia,
Item.IssuesPerYear,
Item.ItemPartNumber,
Item.Label,
Item.LegalDisclaimer,
Item.ListPrice,
Item.MagazineType,
Item.Manufacturer,
Item.ManufacturerMaximumAge,
Item.ManufacturerMinimumAge,
Item.ManufacturerPartsWarrantyDesc,
Item.MediaType,
Item.Model,
Item.ModelYear,
Item.MPN,
Item.NumberOfDiscs,
Item.NumberOfIssues,
Item.NumberOfItems,
Item.NumberOfPages,
Item.NumberOfTracks,
Item.OperatingSystem,
Item.PackageDimensions_Height,
Item.PackageDimensions_Height_Units,
Item.PackageDimensions_Length,
Item.PackageDimensions_Length_Units,
Item.PackageDimensions_Weight,
Item.PackageDimensions_Weight_Units,
Item.PackageDimensions_Width,
Item.PackageDimensions_Width_Units,
Item.PackageQuantity,
Item.PartNumber,
Item.ProductGroup,
Item.ProductTypeName,
Item.ProductTypeSubcategory,
Item.PublicationDate,
Item.Publisher,
Item.RegionCode,
Item.ReleaseDate,
Item.RunningTime,
Item.SeikodoProductCode,
Item.Item_Size,
Item.SKU,
Item.Studio,
Item.SubscriptionLength,
Item.Title,
Item.TrackSequence,
Item.TradeInValue,
Item.UPC,
Item.Warranty,
Item.WEEETaxValue
ORDER BY
Items.Id,
Item.Id;
By using //, i am able to use the same query for both. Is there a better way?If using a single query is a must, then I guess it's OK.
Ideally, however, i would like the text of each (without tags), separated by commas.The fn:string-join() function can do that, e.g. :
ItemLinkDesc VARCHAR2(4000) PATH 'fn:string-join(ItemLinks/ItemLink/Description, ";")'But I'm not sure it's a good idea because you'll be losing the structured nature of the data.
Maybe it would be better to collect repeating elements into a collection of SQL object types, but again it all depends on how you want to use the data later.
So, following your advice, i removed the XMLAGGs and GROUP BY clause, but, again the query works, the CTAS does not:Strange...
Works for me :
SQL> select * from v$version;
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL>
SQL> CREATE TABLE Moocows AS
2 SELECT
3 Items.Id,
4 Items.Code,
5 Items.Message,
6 Items.Isvalid,
7 Item.Id Item_Id,
8 Item.ASIN,
9 Item.DetailPageURL,
10 Item.ItemLink,
11 Item.SmallImage_URL,
12 Item.SmallImage_Height,
13 Item.SmallImage_Height_Units,
14 Item.SmallImage_Width,
15 Item.SmallImage_Width_Units,
16 Item.MediumImage_URL,
17 Item.MediumImage_Height,
18 Item.MediumImage_Height_Units,
19 Item.MediumImage_Width,
20 Item.MediumImage_Width_Units,
21 Item.LargeImage_URL,
22 Item.LargeImage_Height,
23 Item.LargeImage_Height_Units,
24 Item.LargeImage_Width,
25 Item.LargeImage_Width_Units,
26 Item.ImageSet,
27 Item.Actor,
28 Item.Artist,
29 Item.AspectRatio,
30 Item.AudienceRating,
31 Item.AudioFormat,
32 Item.Author,
33 Item.Binding,
34 Item.Brand,
35 Item.CatalogNumberListElement,
36 Item.Category,
37 Item.CEROAgeRating,
38 Item.ClothingSize,
39 Item.Color,
40 Item.Creator,
41 Item.Director,
42 Item.EAN,
43 Item.EANListElement,
44 Item.Edition,
45 Item.EISBN,
46 Item.EpisodeSequence,
47 Item.ESRBAgeRating,
48 Item.Feature,
49 Item.Format,
50 Item.Genre,
51 Item.HardwarePlatform,
52 Item.HazardousMaterialType,
53 Item.IsAdultProduct,
54 Item.IsAutographed,
55 Item.ISBN,
56 Item.IsEligibileForTrade,
57 Item.IsMemorabilia,
58 Item.IssuesPerYear,
59 Item.ItemDimensions,
60 Item.ItemPartNumber,
61 Item.Label,
62 Item.Langauge,
63 Item.LegalDisclaimer,
64 Item.ListPrice,
65 Item.MagazineType,
66 Item.Manufacturer,
67 Item.ManufacturerMaximumAge,
68 Item.ManufacturerMinimumAge,
69 Item.ManufacturerPartsWarrantyDesc,
70 Item.MediaType,
71 Item.Model,
72 Item.ModelYear,
73 Item.MPN,
74 Item.NumberOfDiscs,
75 Item.NumberOfIssues,
76 Item.NumberOfItems,
77 Item.NumberOfPages,
78 Item.NumberOfTracks,
79 Item.OperatingSystem,
80 Item.PackageDimensions_Height,
81 Item.PackageDimensions_Height_Units,
82 Item.PackageDimensions_Length,
83 Item.PackageDimensions_Length_Units,
84 Item.PackageDimensions_Weight,
85 Item.PackageDimensions_Weight_Units,
86 Item.PackageDimensions_Width,
87 Item.PackageDimensions_Width_Units,
88 Item.PackageQuantity,
89 Item.PartNumber,
90 Item.PictureFormat,
91 Item.Platform,
92 Item.ProductGroup,
93 Item.ProductTypeName,
94 Item.ProductTypeSubcategory,
95 Item.PublicationDate,
96 Item.Publisher,
97 Item.RegionCode,
98 Item.ReleaseDate,
99 Item.RunningTime,
100 Item.SeikodoProductCode,
101 Item.Item_Size,
102 Item.SKU,
103 Item.Studio,
104 Item.SubscriptionLength,
105 Item.Title,
106 Item.TrackSequence,
107 Item.TradeInValue,
108 Item.UPC,
109 Item.UPCListElement,
110 Item.Warranty,
111 Item.WEEETaxValue
112 FROM
113 XMLTABLE
114 (
115 XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
116 '//OperationRequest/Errors/Error
117 | //Items'
118 PASSING get_document()
119 COLUMNS
120 Id FOR ORDINALITY,
121 Code VARCHAR2(0050) PATH 'Code',
122 Message VARCHAR2(4000) PATH 'Message',
123 IsValid VARCHAR2(005) PATH 'Request/IsValid',
124 Item XMLTYPE PATH 'Item'
125 ) Items
126 LEFT JOIN
127 XMLTABLE
128 (
129 XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
130 '/Item'
131 PASSING
132 Items.Item
133 COLUMNS
134 Id FOR ORDINALITY,
135 ASIN VARCHAR2(0010) PATH 'ASIN',
136 DetailPageURL VARCHAR2(0256) PATH 'DetailPageURL',
137 ItemLink XMLTYPE PATH 'ItemLinks/ItemLink',
138 SmallImage_URL VARCHAR2(0256) PATH 'SmallImage/URL',
139 SmallImage_Height NUMBER(4) PATH 'SmallImage/Height',
140 SmallImage_Height_Units VARCHAR2(0006) PATH 'SmallImage/Height/@Units',
141 SmallImage_Width NUMBER(4) PATH 'SmallImage/Width',
142 SmallImage_Width_Units VARCHAR2(0006) PATH 'SmallImage/Width/@Units',
143 MediumImage_URL VARCHAR2(0256) PATH 'MediumImage/URL',
144 MediumImage_Height NUMBER(4) PATH 'MediumImage/Height',
145 MediumImage_Height_Units VARCHAR2(0006) PATH 'MediumImage/Height/@Units',
146 MediumImage_Width NUMBER(4) PATH 'MediumImage/Width',
147 MediumImage_Width_Units VARCHAR2(0006) PATH 'MediumImage/Width/@Units',
148 LargeImage_URL VARCHAR2(0256) PATH 'LargeImage/URL',
149 LargeImage_Height NUMBER(4) PATH 'LargeImage/Height',
150 LargeImage_Height_Units VARCHAR2(0006) PATH 'LargeImage/Height/@Units',
151 LargeImage_Width NUMBER(4) PATH 'LargeImage/Width',
152 LargeImage_Width_Units VARCHAR2(0006) PATH 'LargeImage/Width/@Units',
153 ImageSet XMLTYPE PATH 'ImageSets/ImageSet',
154 Actor XMLTYPE PATH 'ItemAttributes/Actor',
155 Artist XMLTYPE PATH 'ItemAttributes/Artist',
156 AspectRatio VARCHAR2(0020) PATH 'ItemAttributes/AspectRatio',
157 AudienceRating VARCHAR2(0020) PATH 'ItemAttributes/AudienceRating',
158 AudioFormat XMLTYPE PATH 'ItemAttributes/AudioFormat',
159 Author XMLTYPE PATH 'ItemAttributes/Author',
160 Binding VARCHAR2(0050) PATH 'ItemAttributes/Binding',
161 Brand VARCHAR2(4000) PATH 'ItemAttributes/Brand',
162 CatalogNumberListElement XMLTYPE PATH 'ItemAttributes/CatalogNumberList/CatalogNumberListElement',
163 Category XMLTYPE PATH 'ItemAttributes/Category',
164 CEROAgeRating VARCHAR2(0020) PATH 'ItemAttributes/CEROAgeRating',
165 ClothingSize VARCHAR2(0050) PATH 'ItemAttributes/ClothingSize',
166 Color VARCHAR2(0100) PATH 'ItemAttributes/Color',
167 Creator XMLTYPE PATH 'ItemAttributes/Creator',
168 Department VARCHAR2(0050) PATH 'ItemAttributes/Department',
169 Director XMLTYPE PATH 'ItemAttributes/Director',
170 EAN NUMBER(15) PATH 'ItemAttributes/EAN',
171 EANListElement XMLTYPE PATH 'ItemAttributes/EANList/EANListElement',
172 Edition VARCHAR2(0020) PATH 'ItemAttributes/Edition',
173 EISBN XMLTYPE PATH 'ItemAttributes/EISBN',
174 EpisodeSequence VARCHAR2(0020) PATH 'ItemAttributes/EpisodeSequence',
175 ESRBAgeRating VARCHAR2(0020) PATH 'ItemAttributes/ESRBAgeRating',
176 Feature XMLTYPE PATH 'ItemAttributes/Feature',
177 Format XMLTYPE PATH 'ItemAttributes/Format',
178 Genre VARCHAR2(0050) PATH 'ItemAttributes/Genre',
179 HardwarePlatform VARCHAR2(0020) PATH 'ItemAttributes/HardwarePlatform',
180 HazardousMaterialType VARCHAR2(0050) PATH 'ItemAttributes/HazardousMaterialType',
181 IsAdultProduct VARCHAR2(0005) PATH 'ItemAttributes/IsAdultProduct',
182 IsAutographed VARCHAR2(0005) PATH 'ItemAttributes/IsAutographed',
183 ISBN VARCHAR2(0013) PATH 'ItemAttributes/ISBN',
184 IsEligibileForTrade VARCHAR2(0005) PATH 'ItemAttributes/IsEligibileForTrade',
185 IsMemorabilia VARCHAR2(0005) PATH 'ItemAttributes/IsMemorabilia',
186 IssuesPerYear VARCHAR2(0050) PATH 'ItemAttributes/IssuesPerYear',
187 ItemDimensions XMLTYPE PATH 'ItemAttributes/ItemDimensions',
188 ItemPartNumber VARCHAR2(0255) PATH 'ItemAttributes/ItemPartNumber',
189 Label VARCHAR2(4000) PATH 'ItemAttributes/Label',
190 Langauge XMLTYPE PATH 'ItemAttributes/Languages/Langauge',
191 LegalDisclaimer VARCHAR2(4000) PATH 'ItemAttributes/LegalDisclaimer',
192 ListPrice VARCHAR2(0020) PATH 'ItemAttributes/ListPrice',
193 MagazineType VARCHAR2(0020) PATH 'ItemAttributes/MagazineType',
194 Manufacturer VARCHAR2(4000) PATH 'ItemAttributes/Manufacturer',
195 ManufacturerMaximumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMaximumAge',
196 ManufacturerMinimumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMinimumAge',
197 ManufacturerPartsWarrantyDesc VARCHAR2(4000) PATH 'ItemAttributes/ManufacturerPartsWarrantyDesc',
198 MediaType VARCHAR2(0020) PATH 'ItemAttributes/MediaType',
199 Model VARCHAR2(0100) PATH 'ItemAttributes/Model',
200 ModelYear NUMBER(4) PATH 'ItemAttributes/ModelYear',
201 MPN VARCHAR2(0255) PATH 'ItemAttributes/MPN',
202 NumberOfDiscs NUMBER(3) PATH 'ItemAttributes/NumberOfDiscs',
203 NumberOfIssues NUMBER(3) PATH 'ItemAttributes/NumberOfIssues',
204 NumberOfItems NUMBER(7) PATH 'ItemAttributes/NumberOfItems',
205 NumberOfPages NUMBER(4) PATH 'ItemAttributes/NumberOfPages',
206 NumberOfTracks NUMBER(3) PATH 'ItemAttributes/NumberOfTracks',
207 OperatingSystem VARCHAR2(20) PATH 'ItemAttributes/OperatingSystem',
208 PackageDimensions_Height NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Height',
209 PackageDimensions_Height_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Height/@Units',
210 PackageDimensions_Length NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Length',
211 PackageDimensions_Length_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Length/@Units',
212 PackageDimensions_Weight NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Weight',
213 PackageDimensions_Weight_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Weight/@Units',
214 PackageDimensions_Width NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Width',
215 PackageDimensions_Width_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Width/@Units',
216 PackageQuantity NUMBER(5) PATH 'ItemAttributes/PackageQuantity',
217 PartNumber VARCHAR2(0100) PATH 'ItemAttributes/PartNumber',
218 PictureFormat XMLTYPE PATH 'ItemAttributes/PictureFormat',
219 Platform XMLTYPE PATH 'ItemAttributes/Platform',
220 ProductGroup VARCHAR2(0050) PATH 'ItemAttributes/ProductGroup',
221 ProductTypeName VARCHAR2(4000) PATH 'ItemAttributes/ProductTypeName',
222 ProductTypeSubcategory VARCHAR2(50) PATH 'ItemAttributes/ProductTypeSubcategory',
223 PublicationDate VARCHAR2(20) PATH 'ItemAttributes/PubliucationDate',
224 Publisher VARCHAR2(0255) PATH 'ItemAttributes/Publisher',
225 RegionCode VARCHAR2(20) PATH 'ItemAttributes/RegionCode',
226 ReleaseDate VARCHAR2(20) PATH 'ItemAttributes/ReleaseDate',
227 RunningTime VARCHAR2(20) PATH 'ItemAttributes/RunningTime',
228 SeikodoProductCode VARCHAR2(50) PATH 'ItemAttributes/SeikodoProductCode',
229 Item_Size VARCHAR2(50) PATH 'ItemAttributes/Size',
230 SKU VARCHAR2(0255) PATH 'ItemAttributes/SKU',
231 Studio VARCHAR2(0255) PATH 'ItemAttributes/Studio',
232 SubscriptionLength VARCHAR2(20) PATH 'ItemAttributes/SubscriptionLength',
233 Title VARCHAR2(4000) PATH 'ItemAttributes/Title',
234 TrackSequence VARCHAR2(0100) PATH 'ItemAttributes/TrackSequence',
235 TradeInValue VARCHAR2(4000) PATH 'ItemAttributes/TradeInValue',
236 UPC NUMBER(12) PATH 'ItemAttributes/UPC',
237 UPCListElement XMLTYPE PATH 'ItemAttributes/UPCList/UPCListElement',
238 Warranty VARCHAR2(4000) PATH 'ItemAttributes/Warranty',
239 WEEETaxValue VARCHAR2(0100) PATH 'ItemAttributes/WEEETaxValue'
240 ) Item
241 ON
242 1 = 1
243 ORDER BY
244 Items.Id,
245 Item.Id;
Table created
Similar Messages
-
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 64-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Productionnot sure what I am doing wrong here. (I don't use xml often so I'm sure it is something obvious)
ok created the following table and sequence
CREATE TABLE saved_queries
seq_cd NUMBER,
user_id VARCHAR2 (50 BYTE) NOT NULL,
query_name VARCHAR2 (200 BYTE) NOT NULL,
create_dt DATE NOT NULL,
last_update_dt DATE NOT NULL,
query_info SYS.XMLTYPE NOT NULL
ALTER TABLE saved_queries ADD (
CONSTRAINT SAVED_QUERIES_PK
PRIMARY KEY (SEQ_CD));
ALTER TABLE saved_queries ADD (
CONSTRAINT SAVED_QUERIES_UQ unique (user_id , query_name ));
CREATE SEQUENCE saved_queries_seq
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE;however when I try my insert
INSERT INTO saved_queries (seq_cd,
user_id,
query_name,
create_dt,
last_update_dt,
query_info)
VALUES (
saved_queries_seq.nextval,
'Bdellinger',
'My First Query',
SYSDATE,
SYSDATE,
sys.xmltype.
createxml (
'<query>
<DropDownListAssignedTo>Bryan Dellinger</DropDownListAssignedTo>
< DropDownListTaskStatus>In-Progress</DropDownListTaskStatus>
< DropDownListTaskStatus>Pending</DropDownListTaskStatus>
</query>'));I receive
ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
In line 3 of orastream:
LPX-00231: invalid character 32 (' ') found in a Name or Nmtokenthanks for your help
let me know if you need any more info.Could it be the space after the '<' in this part:
< DropDownListTaskStatus>In-Progress</DropDownListTaskStatus>
< DropDownListTaskStatus>Pending</DropDownListTaskStatus>? -
Deserialization error: XML parsing error: Illegal XML character
Hi All,
Anybody knows what caused this? This error occured at the client side when the server returned an object that contains other objects to client during a jaxrpc call. It worked before, something is definitely changed, I reversed my changes but still the same.
Please help, thanx a lot.
[java] java.rmi.RemoteException: Runtime exception; nested exception is:
[java] deserialization error: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:2: Illegal XML character:
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:234)
[java] at com.ummq.ME_Stub.getMsg(MsgExpertIF_Stub.java:1333)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
[java] at javax.swing.AbstractButton$ForwardActionEvents.actionPerforme
d(AbstractButton.java:1817)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
[java] at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
[java] at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
[java] at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mous
eReleased(BasicMenuItemUI.java:943)
[java] at java.awt.Component.processMouseEvent(Component.java:5093)
[java] at java.awt.Component.processEvent(Component.java:4890)
[java] at java.awt.Container.processEvent(Container.java:1566)
[java] at java.awt.Component.dispatchEventImpl(Component.java:3598)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1623)
[java] at java.awt.Component.dispatchEvent(Component.java:3439)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1609)
[java] at java.awt.Window.dispatchEventImpl(Window.java:1585)
[java] at java.awt.Component.dispatchEvent(Component.java:3439)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
[java] Caused by: deserialization error: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:2: Illegal XML character:
[java] at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deseriali
zeMultiRefObjects(SOAPDeserializationContext.java:65)
[java] before getMsg
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:175)
[java] ... 30 more
[java] java.rmi.RemoteException: Runtime exception; nested exception is:
[java] deserialization error: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:2: Illegal XML character:
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:234)
[java] at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1161)
[java] at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1218)
[java] at javax.swing.JComboBox.contentsChanged(JComboBox.java:1265)
[java] at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
[java] at javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:88)
[java] at javax.swing.JComboBox.setSelectedItem(JComboBox.java:551)
[java] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
[java] at javax.swing.AbstractButton$ForwardActionEvents.actionPerforme
d(AbstractButton.java:1817)
[java] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
[java] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
[java] at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
[java] at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109)
[java] at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mous
eReleased(BasicMenuItemUI.java:943)
[java] at java.awt.Component.processMouseEvent(Component.java:5093)
[java] at java.awt.Component.processEvent(Component.java:4890)
[java] at java.awt.Container.processEvent(Container.java:1566)
[java] at java.awt.Component.dispatchEventImpl(Component.java:3598)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1623)
[java] at java.awt.Component.dispatchEvent(Component.java:3439)
[java] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
[java] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
[java] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
[java] at java.awt.Container.dispatchEventImpl(Container.java:1609)
[java] at java.awt.Window.dispatchEventImpl(Window.java:1585)
[java] at java.awt.Component.dispatchEvent(Component.java:3439)
[java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
[java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
[java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
[java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
[java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
[java] Caused by: deserialization error: deserialization error: deserializa
tion error: XML parsing error: com.sun.xml.rpc.sp.ParseException:2: Illegal XML character:
[java] at com.sun.xml.rpc.encoding.SOAPDeserializationContext.deseriali
zeMultiRefObjects(SOAPDeserializationContext.java:65)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:175)
[java] ... 39 moreWhat type of encoding are you using? Do you transform a string in an array of bytes or viceversa?
Marco -
since installing the latest update, Firefox first operated with some errors but now will not load at all; it gives me the following error --
XML Parsing Error: not well formed
locations chrome://browser/content/browser.xml
Line Number 1191, column 20:
utton id="back-forward-dropmarker" type="menu" chromedir="&locale.dir;"-------------------
please note that the words "utton ID" are exactly as the error message gives it; and at the end of the message there are exactly 19 hyphens.
I don't know why this faulty code is referencing things to do with "chrome"... the Chrome browser is not installed on this PC or anywhere on our network.
Also, this is not the first problem I had after clicking Firefox's prompt for the latest update. Before Firefox retreated into this error message, it was loading but running with some faults...
1. the bookmark symbol was not appearing on the right hand side of the URL line, so I had always to click on "bookmark this page", after which the bookmark symbol did appear; however I don't know if the bookmarking function worked properly.
2. the back and forward buttons were not highlighted, as if I had not come from a previous page; so once I clicked on a link to a new page I could not go back to where I came from because Fiefox thought I hadn't come from anywhere.
3. there may have been other errors, but I did not find them.
How do I reinstate my Firefox program to work properly please? do I have to download the latest version and reinstal? if so, do I have to remove the old version first? or is there a fix?
Even to write this message I have been forced to use (yuk -- I don't like to say this!!!) Internet Explorer. So please -- I need help urgently.
Thanks,
NOELSome how I solved my problem by opening a user account and downloading Firefox 4.0 beta and installing it, I did try it, worked fine, so I did close the user account and did go back to my own account(switched user), the main page that I had problem with Firefox which would not open, I dabble click on Firefox it start working again!! I hope that solves your problem too.
firefox will not open, it gives me this cod and would not turn off, Error on switching in renew: NS_ERROR_UNEXPECTED, Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref] id: none -
Deserialization error: XML reader error: unexpected character content:
Hi,
I'm just learning to write web services. I pasted the service and it seems to work.
It's code is :
package server;
import javax.jws.WebService;
public class HelloImpl {
* @param name
* @return Say hello to the person.
public String sayHello(String name) {
return "Hello, " + name + "!";
}I wired the service using spring, following the tutorial :
public class HellowsImpl {
String name;
public HellowsImpl() {
private Hellows service;
public void setService(Hellows service) {
this.service = service;
public void sayHi() {
try {
service.sayHello(name);
} catch (RemoteException e) {
// TODO
public Hellows getService() {
return service;
public void setName(String name) {
this.name = name;
}But when I try this : HellowsImpl service ;
service=(HellowsImpl)ac.getBean("hellowsclient");
service.sayHi();I get the exception : Caught exception while handling request: deserialization error: XML reader error: unexpected character content: "fd"
Where might be the problem?Hi, I am also facing this error while trying to create "Dynamic Proxy Client"
I am accessing the WS method like this
String UrlString = "http://localhost:1559/DynamicProxy/DProxy?WSDL";
String nameSpace = "urn:DProxy/wsdl";
String serviceName = "DProxy";
String port = "DProxySEIPort";
URL serviceUrl = new URL(UrlString);
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService(serviceUrl,new QName(nameSpace,serviceName));
dproxy.DProxySEI myProxy = (dproxy.DProxySEI)service.getPort(new QName(nameSpace,port),dproxy.DProxySEI.class);
String message = myProxy.sayHello("rajeev");
WSDL File content :
<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:DProxy/wsdl" xmlns:ns2="urn:DProxy/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="DProxy" targetNamespace="urn:DProxy/wsdl">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:DProxy/types" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:DProxy/types">
<complexType name="sayHello">
<sequence>
<element name="String_1" type="string" nillable="true"/></sequence></complexType>
<complexType name="sayHelloResponse">
<sequence>
<element name="result" type="string" nillable="true"/></sequence></complexType>
<element name="sayHello" type="tns:sayHello"/>
<element name="sayHelloResponse" type="tns:sayHelloResponse"/></schema></types>
<message name="DProxySEI_sayHello">
<part name="parameters" element="ns2:sayHello"/></message>
<message name="DProxySEI_sayHelloResponse">
<part name="result" element="ns2:sayHelloResponse"/></message>
<portType name="DProxySEI">
<operation name="sayHello">
<input message="tns:DProxySEI_sayHello"/>
<output message="tns:DProxySEI_sayHelloResponse"/></operation></portType>
<binding name="DProxySEIBinding" type="tns:DProxySEI">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="sayHello">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/></input>
<output>
<soap:body use="literal"/></output></operation></binding>
<service name="DProxy">
<port name="DProxySEIPort" binding="tns:DProxySEIBinding">
<soap:address location="http://localhost:1559/DynamicProxy/DProxy" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"/></port></service></definitions>
and Here is my SEI Implementation class
public java.lang.String sayHello(String name) throws java.rmi.RemoteException {
String message = "hi.."+name+"..How r u";
return message;
Can any one help me plz...
Thanks in advance.. -
I have install flash builder 4 beta 2 + blazeds 4.00.7548. While try to connect to data service and face a problem.
When i use a beta 1 that no such probem. please help.
ERROR: XML parse error: Error on line 1 of document: cvc-elt.1: Can not find the declaration of element ‘model’. Nested exception: Can not find the declaration of element ‘model’.Hello All!
I'm just getting started with Flash Builder 4 and BlazeDS and I'm having this same issue. I have installed the FlashBuilder 4 beta 2 Build 253292, and Blaze 4 ( blazeds-turnkey-4.0.0.14341 ). I have also installed the livecycle_dataservices3_modelerplugin_100509. Upon clicking Data-Connect to data/service and then Blazeds, I can see my DAO object listed. However, if I select it I receive the dreaded error. Now if I code in the remote object manually, in the .mxml file and run it, all works just fine. It's only while trying to use the object within Flashbuilder that I have the problem. I see lots of ideas kicked around for this, and it seems that various solutions have worked for different users. Can somebody put together a 'cookbook' of just exactly how to set things up to make this work?
Thanks -
Hello, looking to see if there's anyone out there who knows how to resolve this error from popping up when I open a previously saved adobe file with data populated inside (tax form).
The error states:
XML Parsing error: not well-formed (invalid token) (error code 4), line 16028, column 2 of file.
So when I go to open this file, THAT ERROR appears. But then allows me to view the content inside the PDF (tax form) - however it will not allow further editing - this is an issue.
This began after working and populating certain files, then transferring to a hosting site. Now when I open any PDF file from the hosting site, the error appears. Could just be coincidental however throwing that out there in case it's useful.
What causes this error & what is the fix?
Cheers!Unfortunately No. This was a tax form downloaded from IRS.gov. The PDF file has been populated and saved off. I believe the file has somehow become corrupt. Curious how to cleanse the file so it opens without issue (that error message).
Thanks for your response -
What causes "ORA-01445: cannot select ROWID from" error
While executing a SELECT query i got this error:
ORA-01445: cannot select ROWID from, or sample, a join view without a
key-preserved table
Below mentioned is the join condition part of the query. The line which the error has occured is italicized
from checkout_hdtl ch
inner join pmt_htl ph on ph.post_ln_a = ch.post_ln_code
inner join pin_dls pd on pd.post_ln_a = ph.post_ln_code
inner join carton_dtl cd on cd.carton_nbr = ch.carton_nbr
and cd.lseq_nbr = pd.lseq_nbr
inner join invoice_module im on cd.invevt_code = im.inv_code
inner join item_dock_master del on nm.invent_code = iwm.inv_code
left outer join inv_curr_comm_code mnb on ium.invent_code = im.inv_code
and icc.cntry = ph.shipto_cntry
left outer join vw_ver_master vw on vw.del_rec = ch.del_rec
left outer join cmd code_entry on code_pi.cntry =
cd.code_entry where ch.shpmt_nbr = '3'
What do i do?I would rather use Notepad than store my data in SQL server. It just so happens that our product is released for SQL Server as well. Hence i did the testing.
>Is there a limit to the number of joins that can be performed in Oracle?
Wrong question as it does not have anything to do with the number of views.. it has everything to do with the ability to correctly identify the unique row. Re-read the error message details posted by Blu - it explains the error.As you can see from my post, i created a table using the(CTAS) SELECT query from the View vw_ver_master's definition. So the view's result set is now stored in a table and now there are only tables involved in these JOINS.
The query will succeed if i comment out ANY one of these JOINS in this statement. This is so weird.
I -
I've upgraded database version *11.2.0.1* to *11.2.0.2* by DBUA, during upgrade this error came up.
ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
I chose Ignore then finally DBUA report all upgrade processes have been successful. This is my production database and it's now running fine but I'm worry that the error might cause further issues. Is there any idea or suggestion?... that the error might cause further issuesIt depends. If you don't use XDB (it's installed by default), you can ignore the error. Otherwise you have to find the 'XML event error' and to fix it. There should be more errors in the logfile, when XDB is upgraded.
Werner -
ORA-31061 error while creating XMLType table with virtual column
I'm not calling it frustration ;)
but still... what about this one :
SQL> select * from v$version;
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL> create table test_virtual of xmltype
2 xmltype store as binary xml
3 virtual columns (
4 doc_id as (
5 xmlcast(
6 xmlquery('/root/@id'
7 passing object_value returning content)
8 as number
9 )
10 )
11 )
12 ;
Table created.Now, on the latest version :
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for 32-bit Windows: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL> create table test_virtual of xmltype
2 xmltype store as binary xml
3 virtual columns (
4 doc_id as (
5 xmlcast(
6 xmlquery('/root/@id'
7 passing object_value returning content)
8 as number
9 )
10 )
11 )
12 ;
passing object_value returning content)
ERROR at line 7:
ORA-00604: error occurred at recursive SQL level 1
ORA-31061: XDB error: dbms_xdbutil_int.get_tablespace_tab
ORA-06512: at "XDB.DBMS_XDBUTIL_INT", line 1002Is there something I should be aware of?
Right now, I'm just evaluating the version so I can't submit any SR.
Thanks for anyone trying to reproduce the issue.Just tested again on a new installation (64-bit server).
It works :
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for 64-bit Windows: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
SQL>
SQL> create table test_virtual of xmltype
2 xmltype store as binary xml
3 virtual columns (
4 doc_id as (
5 xmlcast(
6 xmlquery('/root/@id'
7 passing object_value returning content)
8 as number
9 )
10 )
11 );
Table created
Now I'll try to see what are the differences between the two installations.
Thanks Dan and Marco for looking into this.
Edited by: odie_63 on 2 mai 2012 15:51 -
XML-23002: (Error) internal xpath error while calling template
Hi,
I have used call-template named Chemloop in my xslt in the following way as attached in the xsl file. But when I am testing this xsl file through the bpel transformation, getting the error XML-23002: (Error) internal xpath error. Using this xslt I am converting a flat file into a xml file. My xslt except the call template part is working fine. Please suggest me if I m doing anything wrong.
XSLT:
<?xml version="1.0" encoding="UTF-8" ?>
<?oracle-xsl-mapper <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
<mapSources>
<source type="WSDL">
<schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
<rootElement name="SynchAdvancedShipmentNotice" namespace="http://oracle.com/EbizGateway/NA/SynchASN/V2"/>
</source>
</mapSources>
<mapTargets>
<target type="WSDL">
<schema location="../ReadASNNAEbizAlcanFileAdapter.wsdl"/>
<rootElement name="ShipNotice" namespace=""/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.6.0(build 111214.0600.1553) AT [TUE FEB 12 21:05:56 GMT+05:30 2013]. -->
?>
<xsl:stylesheet version="2.0"
xmlns:svcdoc="http://xmlns.oracle.com/Services/Documentation/V1"
xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:pc="http://xmlns.oracle.com/pcbpel/"
xmlns:bpm="http://xmlns.oracle.com/bpmn20/extensions"
xmlns:alcebo="http://oracle.com/EbizGateway/NA/SynchASN/V2"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ora="http://schemas.oracle.com/xpath/extension"
xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
xmlns:med="http://schemas.oracle.com/mediator/xpath"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:alcabcs="http://xmlns.oracle.com/pcbpel/adapter/file/T2FJAN/CreateASNNAEBIZAlcanProvABCSImpl/ReadASNNAEbizAlcanFileAdapter"
xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
exclude-result-prefixes="xsi xsl pc alcebo plnk wsdl jca xsd alcabcs aia bpws xp20 bpel bpm ora socket mhdr oraext dvm hwf med ids xdk xref ldap">
<xsl:template match="/">
<ShipNotice>
<Header>
<BOLNo>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:BILL_OF_LADING_1000"/>
</BOLNo>
<TripNo>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:TRIP_NAME_1000"/>
</TripNo>
<Action>
<xsl:text disable-output-escaping="no"></xsl:text>
</Action>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
</Header>
<Shipment>
<ShipDate>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D1DP1_1000/alcebo:DEPARTURE_DATE_1000"/>
</ShipDate>
<RouteCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT4_1010"/>
</RouteCode>
<xsl:choose>
<xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
<RateRouteCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
</RateRouteCode>
</xsl:when>
<xsl:otherwise>
<RateRouteCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
</RateRouteCode>
</xsl:otherwise>
</xsl:choose>
<xsl:choose>
<xsl:when test='/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010 = "R"'>
<CarrierCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT3_1010"/>
</CarrierCode>
</xsl:when>
<xsl:otherwise>
<CarrierCode>
<xsl:value-of select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010"/>
</CarrierCode>
</xsl:otherwise>
</xsl:choose>
<TransportModeCode>
<xsl:value-of select="substring(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT2_1010,1.0,1.0)"/>
</TransportModeCode>
<TransportModeType>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:RTIN1_1030/alcebo:ROUTING_INSTRUCTIONS1_1030)"/>
</TransportModeType>
<xsl:choose>
<xsl:when test='normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:SHIP_METHOD_CODE_EXT1_1010) = "R"'>
<TrailerNo>
<xsl:value-of select="concat(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A1DL1_3600[1]/alcebo:DELIVERY_ATTRIBUTE1_3600,/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:A2DL2_3610[1]/alcebo:DELIVERY_ATTRIBUTE5_3610)"/>
</TrailerNo>
</xsl:when>
<xsl:otherwise>
<TrailerNo>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_NUMBER_1010)"/>
</TrailerNo>
</xsl:otherwise>
</xsl:choose>
<SealNo>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D2DP2_1010[1]/alcebo:EQUIPMENT_SEAL_1010)"/>
</SealNo>
<Quantity>
<xsl:value-of select='sum(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520) + sum(format-number(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder/alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.00"))'/>
</Quantity>
<QuantityUOM>
<xsl:value-of select="normalize-space(/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:D3DP3_1015[1]/alcebo:DELIVERY_TARE_WEIGHT_UOM_EXT1_1015)"/>
</QuantityUOM>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
<ShipmentItems>
<xsl:for-each select="/alcebo:SynchAdvancedShipmentNotice/alcebo:AdvanceShipmentNotice/alcebo:ASNShipmentLevel/alcebo:UnpackedOrder">
<ShipmentItem>
<ShipListNo>
<xsl:value-of select='concat(substring("0000",1.0,4.0 - string-length(string(position()))),string(position()))'/>
</ShipListNo>
<OrderNo>
<xsl:value-of select="normalize-space(alcebo:P1PO1_4000/alcebo:PURCHASE_ORDER_NUMBER_4000)"/>
</OrderNo>
<LineNo>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I2IT2_4510[1]/alcebo:CUST_PO_LINE_NUM_4510)"/>
</LineNo>
<ItemNoXref>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:BUYER_PART_NO_4500)"/>
</ItemNoXref>
<AlcoaPartNo>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I1IT1_4500[1]/alcebo:SUPPLIER_PART_NUMBER_4500)"/>
</AlcoaPartNo>
<Quantity>
<xsl:value-of select="sum(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520/alcebo:SHIPPED_QUANTITY_4520)"/>
</Quantity>
<QuantityUOM>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
</QuantityUOM>
<TareWeight>
<xsl:value-of select='format-number(alcebo:P1PO1_4000/alcebo:FREIGHT_TERMS_CODE_EXT3_4000,"##############0.##")'/>
</TareWeight>
<TareWeightUOM>
<xsl:value-of select="normalize-space(alcebo:UnpackedItemDetail/alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520)"/>
</TareWeightUOM>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
<xsl:for-each select="alcebo:UnpackedItemDetail">
<Bundle>
<LotNo>
<xsl:value-of select="alcebo:DeliveryDetail/alcebo:LSDET_5500[1]/alcebo:LOT_NUMBER_5500"/>
</LotNo>
<SubLotNo>
<xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT09_5591"/>
</SubLotNo>
<Quantity>
<xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:SHIPPED_QUANTITY_4520"/>
</Quantity>
<QuantityUOM>
<xsl:value-of select="alcebo:I3IT3_4520[1]/alcebo:ORDER_QUANTITY_UOM_INT_4520"/>
</QuantityUOM>
<Pieces>
<xsl:value-of select="alcebo:DeliveryDetail/alcebo:EX02_5591[1]/alcebo:DSNO_LEV06_EXT10_5591"/>
</Pieces>
<Attr1>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr1>
<Attr2>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr2>
<Attr3>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr3>
<Attr4>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr4>
<Attr5>
<xsl:text disable-output-escaping="no"></xsl:text>
</Attr5>
<!-- User Defined Templates -->
<xsl:call-template name="Chemloop">
<xsl:with-param name="i">1</xsl:with-param>
</xsl:call-template>
</Bundle>
</xsl:for-each>
</ShipmentItem>
</xsl:for-each>
</ShipmentItems>
</Shipment>
</ShipNotice>
</xsl:template>
<xsl:template name="Chemloop">
<xsl:param name="i"/>
<xsl:variable name="ChemRow"
select="concat(/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT01_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT02_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT03_5590,/alcebo:DeliveryDetail[position()]/alcebo:EX01_5590[1]/alcebo:DSNO_LEV06_EXT04_5590)"/>
<xsl:variable name="ChemBlock"
select="substring($ChemRow,1+($i-1)*33,33)"/>
<xsl:if test="$ChemBlock!=' '">
<ChemicalAnalysis>
<ElementName>
<xsl:value-of select="substring($ChemBlock,1,5)"/>
</ElementName>
<RNDValue>
<xsl:value-of select="substring($ChemBlock,6,15)"/>
</RNDValue>
<ValueQualifier>
<xsl:value-of select="substring($ChemBlock,21,2)"/>
</ValueQualifier>
<NumDecimals>
<xsl:value-of select="substring($ChemBlock,23,3)"/>
</NumDecimals>
<DropNo>
<xsl:value-of select="substring($ChemBlock,26,8)"/>
</DropNo>
</ChemicalAnalysis>
</xsl:if>
<xsl:if test="($ChemBlock=' ') and $i=1">
<xsl:message terminate="yes">No Chemical data found</xsl:message>
</xsl:if>
<xsl:if test="$i <= 26">
<xsl:call-template name="Chemloop">
<xsl:with-param name="i">
<!-- Increment index-->
<xsl:value-of select="$i + 1"/>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>I can't get what are you trying to achieve by a construction like bellow...
/alcebo:DeliveryDetail[position()]
Remember XSLT is not a procedural language... a selector like /alcebo:DeliveryDetail[position() = $var] or just /alcebo:DeliveryDetail[$var] would make more sense...
Cheers,
Vlad -
Accidentally clicked on "Allow for Safe Networks Only" and saved it. When launching Firefox, this error: XML Parsing Error: no element found
Location: jar:file:///C:/Program%20Files/Mozilla%20Firefox/chrome/toolkit.jar!/content/global/netError.xhtml
Line Number 1, Column 1:
I have uninstalled and reinstalled, changed to a new profile, nothing works. I have looked at Options - Network - No Proxy
Please help as I love FirefoxStart Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
* Don't make any changes on the Safe mode start window.
See:
* [[Troubleshooting extensions and themes]] -
Service error - ECC_EMPTIMSHEETCHGRC - XML Serialization Error
I am not able to execute the service - EmployeeTimeSheetChangeRequestConfirmation_In (http://<host:port>/sap/bc/srt/xip/sap/ECC_EMPTIMSHEETCHGRC?sap-client=<number>&wsdl=1.1&mode=sap_wsdl) in the discovery system.
I am getting the following error - XML Serialization Error. Object content does not correspond to Schema restrictions of type [http://sap.com/xi/EA-HR/SE/Global][/wsdl:definitions/wsdl:types/xsd:schema[2]/xsd:complexType[48]/xsd:simpleContent/xsd:extension/xsd:attribute[2]/xsd:simpleType].
Procedure followed :
WSADMIN -> execute the service.
Pass the following values to create a new record for a employee.
Action code (02),
Work Agreement ID,
External ID,
item-> Category code,
Price -> Amount,
price -> base Quantinty
Full Working day indicator,
Employee time validity,
Quantity,
Amount,
Employee Time ID,
Employee Time item ID,
Sending Cost Center,
Activity Type,
Receiving cost center,
Receiver WBS element,
Weekday indicator.
Start date and end date
Please specify, why I am not able to execute the same.
I have already gone through the ES Workplace -> service details.
Kindly help.
- antoThis was resolved through a ticket. Error caused due to incompatible values or not skipping the relevant nodes. (Error raised due to poor documentation. The mandatory values specified were not required. on not passing the said mandatory values, the service works fine ).
-
"XML Load error: An invalid character was found in text content" Drill Thru
Hi,
I am using Smart View, 2007 ms office.
We are using EIS to have Drill Through reports.
When I select the particular intersection and click on Hyperion --> Adhoc Analysis--> Drill Through Reports,
Drill Through selection window is opening but when click on Launch/Execute.
It throwing below Error
"XML Load error: An invalid character was found in text content"
This error is showing only some intersections...some other intersections are working fine.
The same intersection if retrieve from ESSBASE --> Addins--> linked objects, Drill thru reports are showing fine.
From Excel Addins everythg working fine.
I tried in 2003 MS office from my colleague system. the same error.
"XML Load error: An invalid character was found in text content"
Please someone help me....!
Regards,
Rajendra Prasad Gella.
Edited by: Rajendra Prasad Gella on Jun 10, 2010 4:26 AMThis type of Issue does not happen using Excel Add-in but Smart View. We encountered it as well. I have a feeling the root cause is the ESSLANG which used to be selected during installation. If the Essbase has for instance "English Latin1" or "English US Ascii Binary" and the client does not have it, then this would occur.
We had old SR on it because we were testin the APS 7.1.6. SR 2-603906: Excel Essbase Add-in splitting special characters such as the " ü " in. Whe we reinstalled and selected same ESSLANG as Essbase server the isue stopped.
We did not have to chnage our code to scrub out ant special characters. !
Jullin -
XML parsing error registering a JSR168 portlet
Hi, I'm trying to register a deployed application as a portlet provider, and I'm getting an XML parsing error (full details below). Basically, when I complete the Register Provider wizard, it falls over with "Illegal Namespace prefix: xml".
I'm guessing this is coming from the service description: the response from WSRPServiceDescriptionService.getServiceDescription contains xml:lang="en" attributes on many of the elements.
Anyone have any ideas how to fix this? Should these attributes not be present, or should the portal be able to parse them?
I'm using the following versions:
JDeveloper Studio Edition 10.1.3.2.0.4066
Oracle Application Server 10.1.2.0.2
Oracle Portal 10.1.4
Oracle Java Portlet Container 10.1.4 (wsrp-install.jar from Portlet PDK)
ADF Runtime 10.1.3.40.66
Thanks,
Full exception details:
An error occurred when attempting to call the providers register function. (WWC-43134)
An error occurred during the call to the WSRP Provider: java.rmi.RemoteException: Runtime exception; nested exception is:
deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.encoding.DeserializationException: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.encoding.DeserializationException: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
com.sun.xml.rpc.streaming.XMLReaderException: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
Java stack trace from root exception:
com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2015)
at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2000)
at com.sun.xml.rpc.sp.Parser2.processStartElement(Parser2.java:2794)
at com.sun.xml.rpc.sp.Parser2.parseContent(Parser2.java:3036)
at com.sun.xml.rpc.sp.Parser2.parse(Parser2.java:2360)
at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:105)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
at oracle.webdb.wsrp.PortletDescription_LiteralSerializer.doDeserialize(PortletDescription_LiteralSerializer.java:94)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:174)
at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:84)
at oracle.webdb.wsrp.ServiceDescription_LiteralSerializer.doDeserialize(ServiceDescription_LiteralSerializer.java:88)
at com.sun.xml.rpc.encoding.literal. (WWC-43273)This might not be related at all, but...
Did you specify J2EE 1.3 (Servlet 2.3/JSP 1.2) when you created the portlet and did you compile the project with JDK 1.4.x...?
...'cause whenever I've forgotten to do the above and try to deploy to Portal 10.1.4 on OAS 10.1.2.0.2 (which is J2EE 1.3-based) all heck breaks loose...
Maybe you are looking for
-
I want to know how to create a new script that can be run in batch proces in Photoshop Element 11 ?
-
Running FlexUnit in Security Application Server environments
Hi all, our flex client is running/provided in a application server context with basic authentification. that mean when the user request our flex client he is running into a authentification dialog box inputs username and password and then after vali
-
(RTF) Check if there is enogh space for tables on page...
Hi All, I have a report consisting of various tables of grouped data, each of which can contain varying amounts of rows. The first row of each table is defined as the header row and set to repeat across page breaks. What is happening as a result, is
-
Is Director's Lingo faster than Flash's Actionscript?
Back in 2001, Gary Rosenzweig published "Comparing Lingo and ActionScript" over at http://director-online.com/buildArticle.php?id=973 At the time Lingo was 45x faster for a script that finds all of the prime numbers between 1 and 1000. AS code and Li
-
Hi, Can any body tell me how to upload my photo in my business card? The URL showing Error. How the Business card 100% get completed? Regards Naveen