DateFormat problem in xsd
Hi all,
I have an ESB project in which there is a file adapter. This file adapter reads files from a folder applying this files an xsd.
In each file, there is a date which can be 22-FEB-2007 or 2-FEB-2007. The problem is the day, which can be a 1 digit number or a 2 digit number.
In the xsd file, I have defined the date element like this:
<xsd:element name="FechaFin" type="xsd:dateTime" nxsd:skipMode="before"
nxsd:skip="20" nxsd:dateFormat="dd-MMM-yyyy hh:mm"
nxsd:localeLanguage="es" nxsd:style="terminated"
nxsd:terminatedBy="${eol}">
</xsd:element>
So, it works all right when the date in the source file is 22-FEB-2007, but gives an unparseable error when the date in the source file is 2-FEB-2007.
I tried doing this:
<xsd:element name="FechaFin" type="xsd:dateTime" nxsd:skipMode="before"
nxsd:skip="20" nxsd:dateFormat=’"d-MMM-yyyy hh:mm” | “dd-MMM-yyyy hh:mm"’
nxsd:localeLanguage="es" nxsd:style="terminated"
nxsd:terminatedBy="${eol}">
</xsd:element>
which again gave an unparseable error.
And also tried this:
<xsd:element name="FechaIni"
nxsd:skip="19" nxsd:skipMode="before"
nxsd:localeLanguage="es" nxsd:style="fixedLength"
nxsd:length="17">
<xsd:simpleType>
<xsd:restriction base="xsd:dateTime">
<xsd:pattern
value="([0-3])?[0-9][-][A-Z][A-Z][A-Z][-][0-2][0-2][0-9][0-9]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
This works, I mean, the file adapter reads the file and gets the date but the element is a string, so, when i try to save that date in the database, it saves a wrong date. (string saved as date gives a wrong result)
I also tried reading the date as a string, and after that, converting that string in a dateTime type in the xsl mapping file. But again didn't work. The date gets read as a string ok, and then in the mapping file the result is a blank element.
Does anybody know how can I solve this problem? I really need help, don't know what else to do...
Thanks a lot in advance.
Zaloa
Hi again,
I tried to solve the dates problem using a simpleType definition with a union element inside. This way, it would be possible to parse one format or another, right? So this is what I wrote:
<xsd:element name="FechaIni" type="tipoFecha" nxsd:skip="19"
nxsd:skipMode="before"
nxsd:localeLanguage="es" nxsd:style="fixedLength"
nxsd:length="17">
</xsd:element>
<xsd:simpleType name="tipoFecha">
<xsd:union>
<xsd:simpleType nxsd:dateFormat="dd-MMM-yyyy hh:mm">
<xsd:restriction base="xsd:dateTime">
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType nxsd:dateFormat="d-MMM-yyyy hh:mm">
<xsd:restriction base="xsd:dateTime">
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
With this, if the file has 22-FEB-2007 or 2-FEB-2007, is read ok. The problem is that nxsd:dateFormat is not working in the simpleType element. I mean, the date is read as a string.
Does anybody now how to solve this? Or where can I find nxsd:dateFormat documentation?
Please, I need help with this. Thanks anyway,
Zaloa
Message was edited by:
zaloa
Similar Messages
-
Hi all,
I have an ESB project in which there is a file adapter. This file adapter reads files from a folder applying this files an xsd.
In each file, there is a date which can be 22-FEB-2007 or 2-FEB-2007. The problem is the day, which can be a 1 digit number or a 2 digit number.
In the xsd file, I have defined the date element like this:
<xsd:element name="FechaFin" type="xsd:dateTime" nxsd:skipMode="before"
nxsd:skip="20" nxsd:dateFormat="dd-MMM-yyyy hh:mm"
nxsd:localeLanguage="es" nxsd:style="terminated"
nxsd:terminatedBy="${eol}">
</xsd:element>
So, it works all right when the date in the source file is 22-FEB-2007, but gives an unparseable error when the date in the source file is 2-FEB-2007.
I tried doing this:
<xsd:element name="FechaFin" type="xsd:dateTime" nxsd:skipMode="before"
nxsd:skip="20" nxsd:dateFormat=’"d-MMM-yyyy hh:mm” | “dd-MMM-yyyy hh:mm"’
nxsd:localeLanguage="es" nxsd:style="terminated"
nxsd:terminatedBy="${eol}">
</xsd:element>
which again gave an unparseable error.
And also tried this:
<xsd:element name="FechaIni"
nxsd:skip="19" nxsd:skipMode="before"
nxsd:localeLanguage="es" nxsd:style="fixedLength"
nxsd:length="17">
<xsd:simpleType>
<xsd:restriction base="xsd:dateTime">
<xsd:pattern
value="([0-3])?[0-9][-][A-Z][A-Z][A-Z][-][0-2][0-2][0-9][0-9]"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
This works, I mean, the file adapter reads the file and gets the date but the element is a string, so, when i try to save that date in the database, it saves a wrong date. (string saved as date gives a wrong result)
I also tried reading the date as a string, and after that, converting that string in a dateTime type in the xsl mapping file. But again didn't work. The date gets read as a string ok, and then in the mapping file the result is a blank element.
Does anybody know how can I solve this problem? I really need help, don't know what else to do...
Thanks a lot in advance.
ZaloaHi again,
I tried to solve the dates problem using a simpleType definition with a union element inside. This way, it would be possible to parse one format or another, right? So this is what I wrote:
<xsd:element name="FechaIni" type="tipoFecha" nxsd:skip="19"
nxsd:skipMode="before"
nxsd:localeLanguage="es" nxsd:style="fixedLength"
nxsd:length="17">
</xsd:element>
<xsd:simpleType name="tipoFecha">
<xsd:union>
<xsd:simpleType nxsd:dateFormat="dd-MMM-yyyy hh:mm">
<xsd:restriction base="xsd:dateTime">
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType nxsd:dateFormat="d-MMM-yyyy hh:mm">
<xsd:restriction base="xsd:dateTime">
</xsd:restriction>
</xsd:simpleType>
</xsd:union>
</xsd:simpleType>
With this, if the file has 22-FEB-2007 or 2-FEB-2007, is read ok. The problem is that nxsd:dateFormat is not working in the simpleType element.I mean, the date is read as a string.
Does anybody now how to solve this? Or where can I find nxsd:dateFormat documentation?
Please, I need help with this. Thanks anyway,
Zaloa
Message was edited by:
Zaloa -
Problem with XSD validation in Java 5
Hi everyone,
my application creates in memory schema using JDOM. In Java 6 validation runs fine, but in Java 5 (which is the target platform currently) it fails.
I tried a second test with just parsing an existing XSD document (not created using JDOM) and that works.
The textual representation of both (file and JDOM generated) are identical. If I replace the XSD file with the JDOM output, the "file test" runs fine, too.
Here's the test code:
protected void assertXsdValid(Source xsdSource, InputSource xmlInputSource) throws SAXException, ParserConfigurationException, IOException {
isValid = true;
SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
sf.setErrorHandler(myErrorHandler);
Schema schema = sf.newSchema(xsdSource); // <<--------- THIS LINE FAILS IN JAVA 5
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
dbf.setNamespaceAware(true);
dbf.setSchema(schema);
DocumentBuilder db = dbf.newDocumentBuilder();
db.setErrorHandler(myErrorHandler);
db.parse(xmlInputSource);
assertTrue(isValid);
}This is the XSD:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://some.org/metamodel" elementFormDefault="qualified">
<xs:element name="system">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="vendor" type="xs:string" />
<xs:element name="version" type="xs:decimal" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>This is the error message I get:
ERROR: org.xml.sax.SAXParseException: s4s-att-invalid-value: Invalid attribute value for 'type' in element 'element'. Recorded reason: UndeclaredPrefix: Cannot resolve 'xs:string' as a QName: the prefix 'xs' is not declared.
This is how I call the test code in the JDOM test:
assertXsdValid(new JDOMSource(xsdDoc), new JDOMSource(xmlDoc).getInputSource());If I change the code to parsing not the JDOMSource, but a StreamSource reading the textual representation of the XSD, it works fine!
assertXsdValid(new StreamSource(new ByteArrayInputStream(new XMLOutputter().outputString(xsdDoc).getBytes())), new JDOMSource(xmlDoc).getInputSource());But this is not what I want (I expect suboptimal performance with large XSD documents). So, if it works with Java 6, then why doesn't it work with Java 5?
How can I use the Java 6 JAXP in Java 5?
Thank you.A new user name?
I can think of ways round your problem but can you first provide a reference that indicates that byte 0x80 is the MS936 encoding for the Euro?
P.S. This is a forum and the vast majority of participants, including me, have no direct relationship with Oracle so getting definitive answers from Oracle via this forum is unlikely. If you think you have found a bug in 1.5 and/or 1.6, and I am not convinced you have, you need to report it via the bug database. If it is a bug then the response time for a fix is likely to be months rather than days.
P.P.S No I can't explain why it works in 1.7! -
Actually I have a problem relating to Oracle 10g XML DB. Ill explain the scenario.
1. First an xml file needs to be loaded into the database( after registering the schema)
2. Later maybe after inserting suppose 10 xml files into the table, I need to add an element in the xml.
3. And the new xml's which are later loaded will have that additional field coming in. so how should I go about from here.
What Ive thought is:
1. Generate a new XSD schema (dont know how to generate this automatically), implementing the additional field change.(can u help me in this)
2. Create a new XSL depending on the new XSD schema (dont know how to generate this automatically). (can u help me in this)
3. apply the new xsl to the original xml to get the new xml.
4. in the meantime, keep the old xml in a temporary tables, and later, update those xml corresponding to the new schema (can u help me in this)
I dont know if this a correct procedure, if in case, there is a different and an easy method to do it, please let me know.
regards,
atharDoes the following help
SQL> set long 10000 pages 50
SQL> --
SQL> declare
2 res boolean;
3 xmlschema xmltype := xmltype(
4 '<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://x
5 <xsd:complexType name="T_person" xdb:SQLType="PERSON_T">
6 <xsd:all>
7 <xsd:element name="first_name" type="xsd:string" />
8 <xsd:element name="last_name" type="xsd:string" />
9 <xsd:element name="birth_day" type="xsd:date" />
10 </xsd:all>
11 <xsd:attribute name="employee_id" type="xsd:positiveInteger" />
12 </xsd:complexType>
13 <xsd:element name="person" type="T_person" xdb:defaultTable="XML_LOAD"/>
14 </xsd:schema>');
15 begin
16 if (dbms_xdb.existsResource('/public/testcase.xsd')) then
17 dbms_xdb.deleteResource('/public/testcase.xsd');
18 end if;
19 res := dbms_xdb.createResource('/public/testcase.xsd',xmlschema);
20 end;
21 /
PL/SQL procedure successfully completed.
SQL> call dbms_xmlschema.deleteSchema('www.WMDurl.com',4)
2 /
Call completed.
SQL> begin
2 dbms_xmlschema.registerSchema ('www.WMDurl.com',xdburitype('/public/testcas
3 end;
4 /
PL/SQL procedure successfully completed.
SQL> desc XML_LOAD
Name Null? Type
TABLE of SYS.XMLTYPE(XMLSchema "www.WMDurl.com" Element "person") STORAGE Object-r
SQL> --
SQL> desc PERSON_T
PERSON_T is NOT FINAL
Name Null? Type
SYS_XDBPD$ XDB.XDB$RAW_LIST_T
employee_id NUMBER(38)
first_name VARCHAR2(4000 CHAR)
last_name VARCHAR2(4000 CHAR)
birth_day DATE
SQL> --
SQL> insert into xml_load values (xmltype(
2 '<person employee_id="1">
3 <first_name>mark</first_name>
4 <last_name>drake</last_name>
5 <birth_day>2006-01-31</birth_day>
6 </person>'
7 ))
8 /
1 row created.
SQL> commit
2 /
Commit complete.
SQL> set long 10000
SQL> --
SQL> select * from xml_load
2 /
SYS_NC_ROWINFO$
<person employee_id="1">
<first_name>mark</first_name>
<last_name>drake</last_name>
<birth_day>2006-01-31</birth_day>
</person>
SQL> insert into xml_load values (xmltype(
2 '<person employee_id="1">
3 <first_name>barney</first_name>
4 <last_name>rubble</last_name>
5 <birth_day>2006-01-31</birth_day>
6 <address>Bedrock</address>
7 </person>'
8 ))
9 /
insert into xml_load values (xmltype(
ERROR at line 1:
ORA-30937: No schema definition for 'address' (namespace '##local') in parent
'/person'
SQL> commit
2 /
Commit complete.
SQL> set long 10000
SQL> --
SQL> select * from xml_load
2 /
SYS_NC_ROWINFO$
<person employee_id="1">
<first_name>mark</first_name>
<last_name>drake</last_name>
<birth_day>2006-01-31</birth_day>
</person>
SQL> select xdbUriType('/public/testcase.xsd').getXML()
2 from dual
3 /
XDBURITYPE('/PUBLIC/TESTCASE.XSD').GETXML()
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns
.oracle.com/xdb">
<xsd:complexType name="T_person" xdb:SQLType="PERSON_T">
<xsd:all>
<xsd:element name="first_name" type="xsd:string"/>
<xsd:element name="last_name" type="xsd:string"/>
<xsd:element name="birth_day" type="xsd:date"/>
</xsd:all>
<xsd:attribute name="employee_id" type="xsd:positiveInteger"/>
</xsd:complexType>
<xsd:element name="person" type="T_person" xdb:defaultTable="XML_LOAD"/>
</xsd:schema>
SQL> declare
2 xmlschema xmltype := xdburitype('/public/testcase.xsd').getXML();
3 res boolean;
4 begin
5 select insertChildXML
6 (
7 xmlschema,
8 '/xsd:schema/xsd:complexType[@name="T_person"]/xsd:all',
9 'xsd:element',
10 xmltype('<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema"
11 'xmlns:xsd="http://www.w3.org/2001/XMLSchema"'
12 )
13 into xmlSchema
14 from dual;
15 if (dbms_xdb.existsResource('/public/newTestcase.xsd')) then
16 dbms_xdb.deleteResource('/public/newTestcase.xsd');
17 end if;
18 res := dbms_xdb.createResource('/public/newTestcase.xsd',xmlschema);
19 end;
20 /
PL/SQL procedure successfully completed.
SQL> select xdbUriType('/public/newTestcase.xsd').getXML()
2 from dual
3 /
XDBURITYPE('/PUBLIC/NEWTESTCASE.XSD').GETXML()
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns
.oracle.com/xdb">
<xsd:complexType name="T_person" xdb:SQLType="PERSON_T">
<xsd:all>
<xsd:element name="first_name" type="xsd:string"/>
<xsd:element name="last_name" type="xsd:string"/>
<xsd:element name="birth_day" type="xsd:date"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="address" t
ype="xsd:string"/>
</xsd:all>
<xsd:attribute name="employee_id" type="xsd:positiveInteger"/>
</xsd:complexType>
<xsd:element name="person" type="T_person" xdb:defaultTable="XML_LOAD"/>
</xsd:schema>
SQL> begin
2 dbms_xmlschema.CopyEvolve
3 (
4 xdb$string_list_t('www.WMDurl.com'),
5 XMLSequenceType(xdburitype('/public/newTestcase.xsd').getXML()),
6 null
7 );
8 end;
9 /
PL/SQL procedure successfully completed.
SQL> desc XML_LOAD
Name Null? Type
TABLE of SYS.XMLTYPE(XMLSchema "www.WMDurl.com" Element "person") STORAGE Object-r
SQL> --
SQL> desc PERSON_T
PERSON_T is NOT FINAL
Name Null? Type
SYS_XDBPD$ XDB.XDB$RAW_LIST_T
employee_id NUMBER(38)
first_name VARCHAR2(4000 CHAR)
last_name VARCHAR2(4000 CHAR)
birth_day DATE
address VARCHAR2(4000 CHAR)
SQL> --
SQL> insert into xml_load values (xmltype(
2 '<person employee_id="2">
3 <first_name>barney</first_name>
4 <last_name>rubble</last_name>
5 <birth_day>2006-01-31</birth_day>
6 <address>Bedrock</address>
7 </person>'
8 ))
9 /
1 row created.
SQL> commit
2 /
Commit complete.
SQL> set long 10000
SQL> --
SQL> select * from xml_load
2 /
SYS_NC_ROWINFO$
<person employee_id="1">
<first_name>mark</first_name>
<last_name>drake</last_name>
<birth_day>2006-01-31</birth_day>
</person>
<person employee_id="2">
<first_name>barney</first_name>
<last_name>rubble</last_name>
<birth_day>2006-01-31</birth_day>
<address>Bedrock</address>
</person>
SQL> update XML_LOAD
2 set object_value = insertChildXML
3 (
4 object_value,
5 '/person',
6 'address',
7 xmltype('<address/>')
8 )
9 where existsNode(object_value,'/person/address') = 0
10 /
1 row updated.
SQL> commit
2 /
Commit complete.
SQL> select * from xml_load
2 /
SYS_NC_ROWINFO$
<person employee_id="1">
<first_name>mark</first_name>
<last_name>drake</last_name>
<birth_day>2006-01-31</birth_day>
<address/>
</person>
<person employee_id="2">
<first_name>barney</first_name>
<last_name>rubble</last_name>
<birth_day>2006-01-31</birth_day>
<address>Bedrock</address>
</person> -
hi,
my scenario is file to idoc . coming to my problem is import multiple xsd's under one external defination from sender side.
please can u give approach how to handle this?
thanks,
durga.You can import multiple XSDs provided if you have one main xsd file which has include tags to reference other xsd files.
import tag will be used to declare or define different target namespace.
include tag will be used to declare or define same target namespace. -
DateFormat Problem by "recycling" legacy systems
Folks,
Congratulations to the Jheadstart development team!
Now I am traing to "recycle" a legacy system and have problems with the German DateFormat 01.03.2005 and the expected dd-MMM-yyyy DateFormat...
What should I do?
Regards
BorisBoris,
When you generate an application with JHeadstart, you can specify the desired date format in the Application Structure File, at Service level.
See also the JHeadstart Developer's Guide, Chapter 5, and look for date format. It tells you how to specify different formats for different languages.
kind regards,
Sandra Muller
JHeadstart Team
Oracle Consulting -
ORA-00942 -- Problem with XSD Registration
I was able to successfully register an XSD file and the corresponding tables got created.
When I query "Select * from tab" I can see all the the tables.
BUT
When i do a 'desc' or a 'select count(*) from <table_name>'
ORA-00942: table or view does not exist
i always run into this error, I caanot understand the problem, please helpMore than likely the tables are in mixed case so the describe has to be done in double quotes i.e desc "My_Table_0Ai3"
Regards
Coby -
I'm getting a wierd problem with dateformat, coldfusion
version 6,1. I just installed the updater as well, but not sure if
I now need to run it, or how to run it. There were mentions of this
problem in the updater fixes, so it might well be down to that.
If I need to run the updater can someone tell me how?
Here's the issue anyway
Can anyone tell me why this dateformat string works
#DATEFORMAT("Mon, 23 Oct 2006 07:04 CDT", "m/d/")#
I get 10/23
While this one
#DATEFORMAT("Wed, 18 Oct 2006 07:40 CDT", "m/d/")#
gives me this java error
Parameter validation error for function DATEFORMAT.
The value of the parameter 1, which is currently "Wed, 18 Oct
2006 07:40 CDT", must be a class java.util.Date value.
I'm ouputting some dates from an rss feed and some dates
work, and some don't, while they are all in the same format?
Any help will be greatly appreciated.> The value of the parameter 1, which is currently "Wed,
18 Oct 2006 07:40 CDT",
Right. "Wed, 18 Oct 2006 07:40 CDT" is a string...
> must be a class java.util.Date value.
... not a java.util.Date. So that explains the error.
Although the error
pretty much did that too ;-)
As per
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000441.htm,
dateFormat() does not take a string as its first argument, it
takes a date.
I suggest you attempt to parse your string with
parseDateTime():
http://livedocs.macromedia.com/coldfusion/7/htmldocs/00000594.htm
Then you can use the result in dateFormat().
Adam -
Dear experts,
I have a problem uploadng an XSD in my datatype. I created a datatype "tipoTipoCmp" and uploaded below XSD, but then I only get the first simpletype. I need the complete structure, what am I doing wrong? Hope anyone can help
Thanks in advance,
William.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema id="comprobantes" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://afip.com" targetNamespace="http://afip.com">
<xs:simpleType name="tipoTipoCmp">
<xs:restriction base="xs:integer">
<xs:enumeration value="19" />
<xs:enumeration value="20" />
<xs:enumeration value="21" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tipoPtoVta">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="9999" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tipoNroCmp">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="99999999" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tipoCodAut">
<xs:restriction base="xs:integer">
<xs:minInclusive value="10000000000000" />
<xs:maxInclusive value="99999999999999" />
</xs:restriction>
</xs:simpleType>
<xs:element name="comprobantes">
<xs:complexType>
<xs:sequence>
<xs:element name="comprobante" minOccurs="1" maxOccurs="50">
<xs:complexType>
<xs:all>
<xs:element name="tipo" type="tipoTipoCmp" minOccurs="0" maxOccurs="1" />
<xs:element name="ptovta" type="tipoPtoVta" minOccurs="0" maxOccurs="1" />
<xs:element name="nro" type="tipoNroCmp" minOccurs="0" maxOccurs="1" />
<xs:element name="tipocodaut" type="tipoTexto1" minOccurs="0" maxOccurs="1" fixed="E" />
<xs:element name="codaut" type="tipoCodAut" minOccurs="0" maxOccurs="1" />
<xs:element name="vtocodaut" type="xs:date" minOccurs="0" maxOccurs="1" />
<xs:element name="cuitemisor" type="tipoCUIT" minOccurs="0" maxOccurs="1" />Hi ,
While importing XSD from External Definitions Select
category as xsd & Messages as From all Availabale Global Elements.
Try once with above.
Thnx,
Siva. -
ThinGraph timezone / dateFormat problem
Hey,
We're using BI Beans to display history statistics concerning security attacks/issues per day. Normally, the X-axis looks like this (dots act like spaces):
18....21....24....27....30....02....05....08....11....14
Oct 10............................Nov............................
A customer of ours complained last week about his graph labels on the X-axis to be displayed incorrectly. They sent a screenshot displaying the labels like this (*vertically* aligned underneath the X-axis, dots act like spaces):
2010-....2010-....2010-....2010-....2010-....2010-....
We were thinking this had to do with the daylight saving time switch of last week, so we started to investigate why especially this customer had problems and the others didn't. Then we saw that the Java timezone was set to Australia/Sydney instead of our software's default Etc/GMT. That seemed to be causing the problem described here. It appears that the Tasmanian timezone is the only Australian Timezone that shows the X-axis labels correctly.
We currently changed the customer's timezone to the one above, but what could be causing the dateFormat to be displayed incorrectly? It seems the Date objects are just printed out as 2010-10-18 hh:ss (only the '2010-' part is visible on the graph), instead of actually formatting them.
I already did a search on Google and this forum, but I can't seem to find any thread concerning the problem we have.
The version of the library we're using (and this in a Java 1.5 environment):
ComponentBuildVersion=3.2.2.0.24.2
ComponentBuildMode=nondebug
Copyright=Copyright ¬ 2001, 2005, Oracle. All rights reserved.
ComponentNumber=10.1.2.67.0
ReleaseDescription=BI Beans 10.1.2 Production Release
We're not actually defining a custom dateFormat in our XML configuration. We only use the predefined Oracle constants, which have always worked up until now, for the default timezone:
<Graph version="3.2.0.22" name="Graph" ... timeAxisTimeFormat="NONE" timeAxisDayFormat="AUTOMATIC" timeAxisMonthFormat="MONTH_SHORT" timeAxisYearFormat="YEAR_SHORT" graphType="LINE_VERT_ABS">
Anyone else had this problem?
Thanks and kind regards,
JeroenIf you're in the states that value is probably correct. What you are looking at is the date and time "01 Jan 70 00:00:00 GMT" translated into your own time zone.
That's what 0 epoch time means.
If you want "now" do
Timestamp = new Timestamp(System.currentTimeMillis()); -
Hi,
I have the input date in my csv file as a string and I was able to convert into into the required format which is: "YYYY-MM-DDTHH:MI:SS"
The problem when when my input date is in the format 01/22/2009 it works fine but when I have the date as 1/22/2009 or a 1/3/2009, it fails to transform (i.e., when MM and DD just M and D for single digit months and days).
Can anyone please help me on how can I convert the input string to MM/DD/YYYY before I convert it to the required format.
Thanks and appreciate your help
-PrapoornaHi,
You can use nested substring Xpath functions and concat all these strings to form your standard format. I was facing similar problem to convert date from YYYY/MM/DD 00:00:00 to YYYY-MM-DDThh:mm:ss format.
I have use the below mentioned code to convert the date format where $date is the input date variable.
<db:P_X_DATE_FROM>
<xsl:value-of select='concat(substring($date,1.0,4.0),"-",substring($date,6.0,2.0),"-",substring($date,9.0,2.0),"T",substring($date,12.0,8.0))'/>
</db:P_X_DATE_FROM>
I think you have to do the reverse thing here. You have to take two characters for both DD and MM incase of ‘01/22/2009’. In case of ‘1/22/2009’ or ‘11/3/2008’ you should take only one character.
I think this information can help you.
Thanks & Regards,
Jyotirmoy. -
Hello,
i am trying to import a .xsd file into my wsdl file which I need as a partner link in my bpel process. I include the .xsd file in the following way: <xsd:include schemaLocation="../NPSSchema.xsd" />, but if I try to start the whole system I get this failure message:
ERROR: Successful execution of Deploy: D:\Masterstudium\Internetapplikationen\Assignment2\Assignment2ProcessApp/dist/Assignment2ProcessApp.zip
WARNING: (JBIMA0404) Deployment of service assembly Assignment2ProcessApp succeeded partially; some service units failed to deploy.
* Component: sun-http-binding
ERROR: (SOAPBC_DEPLOY_2) HTTPBC-E00201: Deployment failed. javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xs:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at ''../NPSSchema.xsd'', relative to ''file:/C:/Users/stefan/.personalDomain/personalDomain/jbi/service-assemblies/Assignment2ProcessApp/Assignment2ProcessApp-sun-http-binding/sun-http-binding/Assignment2/numberportingservice.wsdl''.: java.io.FileNotFoundException: This file was not found: file:/C:/Users/stefan/.personalDomain/personalDomain/jbi/service-assemblies/Assignment2ProcessApp/Assignment2ProcessApp-sun-http-binding/sun-http-binding/NPSSchema.xsd
The .xsd file exists, I have really no idea why it doesn't work. Could anybody help??
Thanks a lot!
SteveHey,
Can you try this? open BEPL-Structure Panel >>Expand Schemas>>import Schema>> you will get any URL in this point your .xsd file.
And Also copy the .xsd file in your project folder.
Thanks,
Ariraj S
Edited by: arirajs on Dec 16, 2008 6:59 AM -
BPEL has problems parsing XSD with attributes
Hi,
When I create a BPEL process with below output XSD, everything works fine.
+<xsd:element name="WorkflowOutputData">+
+<xsd:annotation>+
+<xsd:documentation>+
This element defines an XML output element
which is used by all the BPEL workflow services,
to send output to the calling program
+</xsd:documentation>+
+</xsd:annotation>+
+<xsd:complexType>+
+<xsd:sequence>+
+<xsd:element name="Status" type="xsd:string" minOccurs="1" maxOccurs="1" />+
+<xsd:element name="Errors" minOccurs="0" maxOccurs="1" >+
+<xsd:complexType>+
+<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
+<xsd:element name="Error" type="LogMessage"/>+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+<xsd:element name="Warnings" minOccurs="0" maxOccurs="1">+
+<xsd:complexType>+
+<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
+<xsd:element name="Warning" type="LogMessage"/>+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+<xsd:complexType name="LogMessage">+
+<xsd:sequence>+
+<xsd:element name="Code" type="xsd:string" minOccurs="1" maxOccurs="1" />+
+<xsd:element name="Description" type="xsd:string" minOccurs="1" maxOccurs="1" />+
+<xsd:element name="FlexField1" type="xsd:string" />+
+<xsd:element name="FlexField2" type="xsd:string" />+
+<xsd:element name="FlexField3" type="xsd:string" />+
+</xsd:sequence>+
+</xsd:complexType>+
As soon as I add below approvers element as shown below to the BPEL process output XSD, I'm not able to test the BPEL process in BPEL console.
"Initiating a test instance" screen in BPEL console doesn't show any html or xml form to enter data.
+<xsd:element name="WorkflowOutputData">+
+<xsd:annotation>+
+<xsd:documentation>+
This element defines an XML output element
which is used by all the BPEL workflow services,
to send output to the calling program
+</xsd:documentation>+
+</xsd:annotation>+
+<xsd:complexType>+
+<xsd:sequence>+
+<xsd:element name="Status" type="xsd:string" minOccurs="1" maxOccurs="1" />+
+<xsd:element name="Errors" minOccurs="0" maxOccurs="1" >+
+<xsd:complexType>+
+<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
+<xsd:element name="Error" type="LogMessage"/>+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+<xsd:element name="Warnings" minOccurs="0" maxOccurs="1">+
+<xsd:complexType>+
+<xsd:sequence minOccurs="0" maxOccurs="unbounded">+
+<xsd:element name="Warning" type="LogMessage"/>+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+<xsd:element name="Approvers" minOccurs="0" maxOccurs="1">+
+<xsd:complexType>+
+<xsd:sequence maxOccurs="unbounded">+
+<xsd:element name="Approver" type="Actor" />+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+</xsd:sequence>+
+</xsd:complexType>+
+</xsd:element>+
+<xsd:complexType name="LogMessage">+
+<xsd:sequence>+
+<xsd:element name="Code" type="xsd:string" minOccurs="1" maxOccurs="1" />+
+<xsd:element name="Description" type="xsd:string" minOccurs="1" maxOccurs="1" />+
+<xsd:element name="FlexField1" type="xsd:string" />+
+<xsd:element name="FlexField2" type="xsd:string" />+
+<xsd:element name="FlexField3" type="xsd:string" />+
+</xsd:sequence>+
+</xsd:complexType>+
+<xsd:complexType name="Actor">+
+<xsd:attribute name="Name"/>+
+<xsd:attribute name="Email"/>+
+<xsd:attribute name="Designation"/>+
+<xsd:attribute name="ApprovalSequence"/>+
+<xsd:attribute name="FlexField1"/>+
+<xsd:attribute name="FlexField2"/>+
+<xsd:attribute name="FlexField3"/>+
+<xsd:attribute name="FlexField4"/>+
+<xsd:attribute name="FlexField5"/>+
+</xsd:complexType>+
1) approvers element is added to output xsd and not to input xsd.
2) I see a javascript error "Object expected" iin "Initiating a test instance" BPEL screen.
3) The new approver element contains only attributes.
Could someone help me understand the issue with the XSD. Your help is highly appreciated.
Thanks & Regards
LeenaMain issue was I was using an element
<xsd:element name="DataElements" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Most of the worflow services return status, errors and warnings
and doesn't return any DataElements.
In current implementation, only one of the workflow services returns approver list.
To take care of future scenarios
where a data element might be required to return some data,
an extra 'DataElement' field is added to the XSD.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DataElement" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="Name"/>
<xsd:attribute name="Value"/>
<xsd:attribute name="FlexField1"/>
<xsd:attribute name="FlexField2"/>
<xsd:attribute name="FlexField3"/>
<xsd:attribute name="FlexField4"/>
<xsd:attribute name="FlexField5"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
which I had to change to
<xsd:element name="DataElements" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:sequence minOccurs="0" maxOccurs="unbounded">
<xsd:element name="DataElement" type="DataElementType" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="DataElementType">
<xsd:attribute name="Name" type="xsd:string"/>
<xsd:attribute name="Value" type="xsd:string"/>
<xsd:attribute name="FlexField1" type="xsd:string"/>
<xsd:attribute name="FlexField2" type="xsd:string"/>
<xsd:attribute name="FlexField3" type="xsd:string"/>
<xsd:attribute name="FlexField4" type="xsd:string"/>
<xsd:attribute name="FlexField5" type="xsd:string"/>
</xsd:complexType> -
A date may be represented in the form : yyddd.
For example, a date 01035 would represent 4 February, 2001, while 99365 would represent 31 December 1999.
how can i write a Java prog which takes an integer parameter in the above form and returns the date as a String in the ddmmyy form?
can any one pls give me a solution for that?A date may be represented in the form : yyddd.
For example, a date 01035 would represent 4 February,
2001, while 99365 would represent 31 December 1999.
how can i write a Java prog which takes an integer
parameter in the above form and returns the date as a
String in the ddmmyy form?
can any one pls give me a solution for that?Check out the SimpleDateFormat Class
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
An input format of yyDDD and an output format of ddMMyy seems reasonable
Good Luck
Lee -
XSD Resolution problem - Unable to load Translation schemas
Hi,
I've run into a very strange kind of problem (not to say some are less strange then others). Let me explain the context of the situation.
I've got a BPEL process calling two plsql packages on ORA database, one Java web service running on the same weblogic server and couple of other services (eg. notification services, jdbc select/insert, etc.). There is no problem with the last listed, but definitely something wrong with the web service and the plsql callouts.
When I deploy the BPEL process and execute it, the first two instances always fail. The same happens when I restart the server, the errors are repeated after a certain period as well (for example over night). The process always fails EXACTLY TWICE, before running normally. Every other instance executed after the two initial failures runs WITHOUT the following error.
I mentioned there are two plsql callouts in the process, earlier the first instance failed on the second one and the second instance failed on the first. Now, it mostly fails on the second callout. I've made no significant changes in the code. Perhaps the strangest thing about this is that it fails when invoking the plsql package but the error concerns xsd definitions of the web service that plays no role at this stage.
All my services are correctly deployed, I deleted all interface definitions from MDS repository and redeployed SOA bundle again before installing each service.
I think it has something to do with generated xsd definitions by the java web service (it's the http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 and http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 from following stack trace), but I can't figure out what exactly is wrong with them.
Anybody come accross a similar error? Thanks for tips, I've run out of ideas.
Error Message: {http://schemas.oracle.com/bpel/extension}bindingFault
Fault ID default/S50001KontrolaSouboruBS!1.0*soa_be986963-f9d9-412d-b692-43804a35b3ee/KontrolaSouboru/830023-BpInv18-BpSeq8.12-2
Fault Time 14-Feb-2012 11:11:16
Non Recoverable System Fault :
<bpelFault><faultType>0</faultType><bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'LogFile' failed due to: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "Could not instantiate InteractionSpec oracle.tip.adapter.db.DBStoredProcedureInteractionSpec due to: XSD Resolution problem. XSD Resolution problem. Unable to load Translation schemas from for http://xmlns.oracle.com/pcbpel/adapter/db/TST_IP/LOG_FILE/LOG_FILE/ due to: Different schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentGlobal element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 82] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:82] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 36] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:36] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 21] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:21] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 51] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:51] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 66] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:66] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 112] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:112] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 127] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:127] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 97] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:97] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 115] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 52] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:117] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:54] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 175] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 98] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:177] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:100] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 153] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 128] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:155] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:130] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 64] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 83] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:66] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:85] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 93] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 22] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:95] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:24] Please make sure all used XML schemas are imported/included correctly. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary></part><part name="detail"><detail>Different schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/Common.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and oramds:/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentDifferent schema default values detected between: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=2 and http://localhost:8001/soa-infra/services/default/S50035NotifikaceChybyBS/apps/LCRInterface/DataObjects/Common/V1/DataTypes.xsd elementFormDefault values are differentGlobal element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 82] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:7] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:82] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 36] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:9] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:36] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 21] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:19] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:21] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 51] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:11] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:51] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 66] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:5] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:66] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 112] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:13] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:112] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 127] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:15] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:127] Global element declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDM' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 97] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:17] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:97] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 115] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 52] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:117] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:54] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}RenameFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 175] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 98] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:177] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:100] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetTextFileRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 153] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 128] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:155] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:130] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}GetFileListByMaskRespDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 64] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 83] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:66] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:85] Global Type declaration/definition of name '{http://xmlns.lesycr.cz/DO/PrenosSouboru/V1}SaveFileDataType' are duplicated at the following locations: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [line#: 93] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [line#: 22] There are at least two of them looking different: http://localhost:8001/S50040PrenosSouboruBS/PrenosSouboruBSSOAP11BindingPort?xsd=1 [difference starting at line#:95] oramds:/apps/LCRInterface/DataObjects/D500Proces/PrenosSouboru/V1/PrenosSouboruDM.xsd [difference starting at line#:24] </detail></part><part name="code"><code>null</code></part></bindingFault></bpelFault>I had similar issue, when i deployed composite using Jdeveloper. The problem was with my adf-config.xml pointing to dev server and all my references in my composite.xml referring to test server.
I changed property of 'oracle.mds.persistence.stores.db.DBMetadataStore' in adf-config.xml to test server. After adf-config.xml change in Jdev my compilation went smooth.
Note: If above changes doesn't work, try restarting JDeveloper, sometimes the changes in adf-config.xml is not getting effect immediately.
Regards,
Ziaur Rahuman S
Edited by: Ziaur Rahuman on Feb 13, 2013 10:58 PM
Maybe you are looking for
-
I just bought an external monitor and mini-DVI adapter for my macbook pro 13'( latest model) I got everything connected correctly, but when I tried to use the external monitor, all I got was a message saying "No signal", and the display promptly we
-
Handling DB sequences for create and commit actions on ADF tables
Hello, Most of the tables will have sequences used for primary keys and there will be columns like created_On and created_By columns. But my table does not require user inputs for these columns. So when commit button is clicked on the table how to ha
-
Stop the auto backup - guide needed
I have the iphone 3g and itunes 7.7 and whenever i dock the phone it backs up. I know I can click the x but whether or not to back up should be an option and not automatic. If the phone was backed up 1 hour ago and i dock again - it backs up again. T
-
Modify Report Header using an expression
Hi All, I would like to know if we can modify the Report Header programmatically? I basically would like to append a couple of lines in the header. I can think of two ways - 1. ModifyReportHeader callback - this is really not an option for me as we n
-
Hi I am using ACOS CCID SDK , SMART CARD READER ACR 38 Reader, Acos3 Card .I created a user file(DD 11) with Write Command 80 D2 00 00 07 08 01 00 00 DD 11 00 it is succesful status After that i selected that file 80 A4 00 00 02 DD 11 Succesful Statu