Correlation Editor and xsd:dateTime
Hello,
is it possible to use a correlations with the type xsd:dateTime?
I only can choose xsd:date or xsd:time in the correlation editor of the Integration Builder.
kind regards
Thorsten Gawantka
Hi,
>is it possible to use a correlations with the type xsd:dateTime?
No as constant you could only choose xsd:date or xsd:time:
http://help.sap.com/saphelp_nw04/helpdata/en/fe/26da4105aa3f5de10000000a1550b0/frameset.htm
Regards
Patrick
Similar Messages
-
SPROXY xsd:datetime, UTC and CET dates
Hello Experts,
i have a datatype with a field of xsd:datetime type. When i generate the proxy the technical type is defined as XSDDATETIME_Z and the system converts automatically date and time to UTC. I would like it not to happen and i think i should use the domain XSDDATETIME_LOCAL instead. But i don't know how to make sproxy to generate the field with this technical type. And i can't select it from the drop down list available in the field definition of sproxy. Any clue on this?
Thank you in advance.Put a breakpoint in program
SAPLSPRX_UI
FORM get_extintview
on statement:
IF lv_act_Tab = sesi_tab_extview
( = line 76 of include LSPRX_UIF12 in our system).
Now, in SPROXY, select the field wich should be XSDDATETIME_LOCAL.
Debugger pops up.
in table
GT_DYN_FIELD_ATTR take record with NAME = GS_EXTINTVIEW-OBJECT-ATTR_DT-R3_DATATYP_T
(the one with having LISTBOX_VALUES entries)
and add line to the LISTBOX_VALUES with entry
XSDDATETIME_LOCAL
XSDDATETIME_LOCAL
now you can select it in the proxy
select it and activate it.
Now you have correct datatype. -
Hi B2B Gurus,
We are facing the problem with ECS and XSD files from past 2 weeks, Steps we followed
1. Created a ECS file in document editor version 11g: 6.6.0
2. ECS files consists only from ST and SE segments
Ex: ST
BCH
CUR
REF
PER -- Exclude
TAX -- Exclude
SE
3: Generated a XSD file from ECS file( File --> export---> Oracle B2B) in document ediotr
4. We imported a ECS and XSD file in B2B console( documents---docdef-transaction set ECS file) and XSD File
5. We tested one file from manually we face below error:
Error Code B2B-51507
Error Description Machine Info: (usmtnz-dinfap19.dev.emrsn.org) Description: Payload validation error.
Error Level ERROR_LEVEL_COLLABORATION
Error Severity ERROR
Error Text
and some times it shows Guideline load Error or simply Error
Please help us to resolve this
RegardsAnuj,
We are sending the EDI XML file from backend, then B2B will convert it into EDI file, How can we analyze EDI XML file with ECS file, B2B is not converting to EDI.
1. Can we use 10g ECS file and XSD file in 11G
2. I tried to import it, but it showing below error while doing testing
App Message property {MSG_ID=90422086, Sequencing=false, DOCTYPE_REVISION=5020, MSG_TYPE=1, FROM_PARTY=EMERSON, DOCTYPE_NAME=850, TO_PARTY=APLL, ATTACHMENT=}
Direction OUTBOUND
State MSG_ERROR
Error Code B2B-51507
Error Text Error Brief : The element does not include any significant data.
Error Description Error : The Element PER02 does not include any significant data characters. Segment PER is defined in the guideline at position 3600.{br}{br}This error was detected at:{br}{tab}Segment Count: 11{br}{tab}Element Count: 2{br}{tab}Characters: 5395 through 5397
Created Date 06/20/2011 02:52 PM
Modified Date 06/20/2011 02:52 PM
Note: I used the same files in 10G its working fine.
Regards
Edited by: Francis on Jun 20, 2011 10:48 AM -
Generation of .ecs file and .xsd file
Hi,
I am working on the Acme-GlobalChips tutorial Query using File 1.0 protocol.
I have few question on that.
While creating the Business actions and Trading partner IN B2B we use two 850.ecs and 850.xsd.Can these be used for all the trading partners or they are partner specific.If not then do we develop it using Document Editor.
Moreover if after we create the .ecs using the tool can we generate the .xsd file using same tool.
I have this doubt because I used the .ecs file provide with the tutorial and used EDI file provide by some other partner it worked.I mean I was able to generate the EDI-Xml as payload in reports section of B2B.
Can some help me on this.
Regards
LalitHi Lalit,
1. Yes. Different Trading partners can use the same Business action. However, you can also override the .ecs file and .xsd file as per your requirement.
2. We can also generate .xsd files using the Document editor.
Regards,
Dheeraj -
Mediator - convert XSD datetime to SQL date value
Fusion 11g, JDev 11.1.1, W server 2008
Hi there,
using JDev we've defined a DB adapter (towards an ORACLE schema), which basically serves two operations: INSERT and SELECT. On the DB table we've got a DATE_TIME while on on the other side we've defined a wsdl where the INPUT operation takes as parameter an XSD DATETIME value.
The values have different structures and so we've started to play with the "Assign Values" function on the Mediator component, unfortunately without any success.
Right now our expression is the following
from
ora:formatDate($in.newEventParam/newEventParam/ns:executionTime,"dd-MMM-yy")
to
$out.LogCollection/top:LogCollection/top:Log/top:when
As first question I would like to ask you if our approach is correct and in that case what's wrong with our expression as we tried to use the same pattern as we use in SQL.
Second, we performed some tests using the EM console. On test failure it shown a stack trace saying only that there was a problem performing a transformation. That's a bit too less, especially when transformation is done on large amount of values. Is there any way to increase trace level and get further details on which transformation didn't work out?
Thanks in advance
Alessandro IlardoThanks Eric for the link. That helped me to get further details about the issue but unfortunately not enough to locate the cause.
So here I definitely have an issue with the composite application and perhaps another one on getting a SOAP trace from the Mediator log. Even with the finest log level enabled I couldn't see what the Mediator receives from outside.
The first problem instead, seams to be a missing SOAP parameter, I assume that's why on the log I see this
[WEBSERVICE.name: AuditService] [J2EE_APP.name: soa-infra] [composite_instance_id: 40011] Transformation failed[[
oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01203:[No Part]No part exist with name "newEventParam" in source message.Possible Fix:Review the transformation definition in mplan.Contact Oracle Support if the error cannot be fixed.
at oracle.tip.mediator.service.transformation.XSLTransformer.getPartDocument(XSLTransformer.java:221)
[J2EE_APP.name: soa-infra] [composite_instance_id: 40011] Got an exception: java.lang.NullPointerException[[
oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01201:[Error in transform operation]Error occurred while transforming payload.Possible Fix:Review the XSL or source payload. Either the XSL defined does not match with the payload or payload is invalid.
In this routing there are basically 2 things that take place, an XSL mapping and an Assign value expression.
Everything is goes fine until we perform a test from the EM, there we get the error.
Unless someone has further tips on this issue I am considering to make a call from SOAPUI and place WS Monitor in the middle to make sure if the mistake is in the application or platform.
External WSDL
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://xml.virtual-lab.eu/schema/poc-soa/audit/wsdl" xmlns:ns="http://xml.virtual-lab.eu/schema/poc-soa/audit/def" targetNamespace="http://xml.virtual-lab.eu/schema/poc-soa/audit/wsdl">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xml.virtual-lab.eu/schema/poc-soa/audit/def" schemaLocation="xsd/AuditParamsDef.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="addNewRequestMessage">
<wsdl:part name="newEventParam" type="ns:add"/>
</wsdl:message>
<wsdl:message name="searchRequestMessage">
<wsdl:part name="searchParams" type="ns:search"/>
</wsdl:message>
<wsdl:message name="searchResponseMessage">
<wsdl:part name="returnParam" type="ns:eventObj"/>
</wsdl:message>
<wsdl:portType name="AuditPortType">
<wsdl:operation name="addNewEvent">
<wsdl:input message="tns:addNewRequestMessage"/>
</wsdl:operation>
<wsdl:operation name="searchForEvents">
<wsdl:input message="tns:searchRequestMessage"/>
<wsdl:output message="tns:searchResponseMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AuditBinding" type="tns:AuditPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="addNewEvent">
<soap:operation soapAction="urn:#addNewEvent"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
</wsdl:operation>
<wsdl:operation name="searchForEvents">
<soap:operation soapAction="urn:#searchForEvents"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<!--
<wsdl:service name="AuditService">
<wsdl:port name="AuditPort" binding="tns:AuditBinding" />
</wsdl:service>
-->
</wsdl:definitions>
XSL
<?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="../AuditService.wsdl"/>
<rootElement name="newEventParam" namespace=""/>
<rootElementDatatype name="add" namespace="http://xml.virtual-lab.eu/schema/poc-soa/audit/def"/>
</source>
</mapSources>
<mapTargets>
<target type="WSDL">
<schema location="../AuditBackEndService.wsdl"/>
<rootElement name="LogCollection" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/AuditBackEndService"/>
</target>
</mapTargets>
<!-- GENERATED BY ORACLE XSL MAPPER 11.1.1.0.0(build 090618.1440.5219) AT [WED DEC 02 22:51:43 CET 2009]. -->
?>
<xsl:stylesheet version="1.0"
xmlns:top="http://xmlns.oracle.com/pcbpel/adapter/db/top/AuditBackEndService"
xmlns:xpath20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
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:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/db/SOA-POC/AuditService/AuditBackEndService%2F"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:med="http://schemas.oracle.com/mediator/xpath"
xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
xmlns:ns="http://xml.virtual-lab.eu/schema/poc-soa/audit/def"
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:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
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"
exclude-result-prefixes="xsi xsl ns xsd top tns plt wsdl xpath20 bpws mhdr oraext dvm hwf med ids xdk xref ora socket">
<xsl:template match="/">
<top:LogCollection>
<top:Log>
<top:who>
<xsl:value-of select="/newEventParam/ns:fromUser"/>
</top:who>
<top:when/>
<top:whichClient>
<xsl:value-of select="/newEventParam/ns:usingClient"/>
</top:whichClient>
<top:whichSys>
<xsl:value-of select="/newEventParam/ns:onSys/@ns:which"/>
</top:whichSys>
<top:ipClient>
<xsl:value-of select="/newEventParam/ns:fromIP"/>
</top:ipClient>
<top:wsOperation>
<xsl:value-of select="/newEventParam/ns:callingWS_Operation"/>
</top:wsOperation>
</top:Log>
</top:LogCollection>
</xsl:template>
</xsl:stylesheet>
Internal WSDL
<?xml version="1.0" encoding="UTF-8"?>
<toplink:object-persistence version="Oracle TopLink - 11g Release 1 (11.1.1.1.0) (Build 090527)" xmlns:opm="http://xmlns.oracle.com/ias/xsds/opm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:toplink="http://xmlns.oracle.com/ias/xsds/toplink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<opm:name>AuditBackEndService-OR</opm:name>
<opm:class-mapping-descriptors>
<opm:class-mapping-descriptor xsi:type="toplink:object-relational-class-mapping-descriptor">
<opm:class>AuditBackEndService.Log</opm:class>
<opm:alias>LOG</opm:alias>
<opm:primary-key>
<opm:field table="LOG" name="ID" xsi:type="opm:column"/>
</opm:primary-key>
<opm:events xsi:type="toplink:event-policy"/>
<opm:querying xsi:type="toplink:query-policy">
<opm:queries>
<opm:query name="AuditBackEndServiceSelect" xsi:type="toplink:read-all-query">
<opm:criteria operator="and" xsi:type="toplink:logic-expression">
<toplink:left operator="and" xsi:type="toplink:logic-expression">
<toplink:left operator="equal" xsi:type="toplink:relation-expression">
<toplink:left name="whichSys" xsi:type="toplink:query-key-expression">
<toplink:base xsi:type="toplink:base-expression"/>
</toplink:left>
<toplink:right xsi:type="toplink:parameter-expression">
<toplink:parameter name="sys" xsi:type="opm:column"/>
</toplink:right>
</toplink:left>
<toplink:right operator="greaterThanEqual" xsi:type="toplink:relation-expression">
<toplink:left name="when" xsi:type="toplink:query-key-expression">
<toplink:base xsi:type="toplink:base-expression"/>
</toplink:left>
<toplink:right xsi:type="toplink:parameter-expression">
<toplink:parameter name="fromWhen" xsi:type="opm:column"/>
</toplink:right>
</toplink:right>
</toplink:left>
<toplink:right operator="lessThanEqual" xsi:type="toplink:relation-expression">
<toplink:left name="when" xsi:type="toplink:query-key-expression">
<toplink:base xsi:type="toplink:base-expression"/>
</toplink:left>
<toplink:right xsi:type="toplink:parameter-expression">
<toplink:parameter name="toWhen" xsi:type="opm:column"/>
</toplink:right>
</toplink:right>
</opm:criteria>
<opm:arguments>
<opm:argument name="sys">
<opm:type>java.lang.String</opm:type>
</opm:argument>
<opm:argument name="fromWhen">
<opm:type>java.lang.String</opm:type>
</opm:argument>
<opm:argument name="toWhen">
<opm:type>java.lang.String</opm:type>
</opm:argument>
</opm:arguments>
<toplink:reference-class>AuditBackEndService.Log</toplink:reference-class>
<toplink:container xsi:type="toplink:list-container-policy">
<toplink:collection-type>java.util.Vector</toplink:collection-type>
</toplink:container>
</opm:query>
</opm:queries>
</opm:querying>
<opm:attribute-mappings>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>id</opm:attribute-name>
<opm:field table="LOG" name="ID" xsi:type="opm:column"/>
<toplink:attribute-classification>java.math.BigDecimal</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>who</opm:attribute-name>
<opm:field table="LOG" name="WHO" xsi:type="opm:column"/>
<toplink:attribute-classification>java.lang.String</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>when</opm:attribute-name>
<opm:field table="LOG" name="WHEN" xsi:type="opm:column"/>
<toplink:attribute-classification>java.sql.Timestamp</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>whichClient</opm:attribute-name>
<opm:field table="LOG" name="WHICH_CLIENT" xsi:type="opm:column"/>
<toplink:attribute-classification>java.lang.String</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>whichSys</opm:attribute-name>
<opm:field table="LOG" name="WHICH_SYS" xsi:type="opm:column"/>
<toplink:attribute-classification>java.lang.String</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>ipClient</opm:attribute-name>
<opm:field table="LOG" name="IP_CLIENT" xsi:type="opm:column"/>
<toplink:attribute-classification>java.lang.String</toplink:attribute-classification>
</opm:attribute-mapping>
<opm:attribute-mapping xsi:type="toplink:direct-mapping">
<opm:attribute-name>wsOperation</opm:attribute-name>
<opm:field table="LOG" name="WS_OPERATION" xsi:type="opm:column"/>
<toplink:attribute-classification>java.lang.String</toplink:attribute-classification>
</opm:attribute-mapping>
</opm:attribute-mappings>
<toplink:descriptor-type>independent</toplink:descriptor-type>
<toplink:caching>
<toplink:cache-type>weak-reference</toplink:cache-type>
<toplink:always-refresh>true</toplink:always-refresh>
</toplink:caching>
<toplink:remote-caching>
<toplink:cache-type>weak-reference</toplink:cache-type>
</toplink:remote-caching>
<toplink:instantiation/>
<toplink:copying xsi:type="toplink:instantiation-copy-policy"/>
<toplink:tables>
<toplink:table name="LOG"/>
</toplink:tables>
<toplink:structure>structureName</toplink:structure>
</opm:class-mapping-descriptor>
</opm:class-mapping-descriptors>
<toplink:login xsi:type="toplink:database-login">
<toplink:platform-class>oracle.toplink.platform.database.oracle.Oracle9Platform</toplink:platform-class>
<toplink:user-name></toplink:user-name>
<toplink:connection-url>null</toplink:connection-url>
</toplink:login>
</toplink:object-persistence> -
I have a webservice that returns a date in the yyyy-MM-dd'T'HH:mm:ss.SSSZ format (as far as i know the default Calendar type format) specified by an xsd:dateTime. When i generate a webservice datacontrol on the service i get an entry like <Attribute Name="testDate" IsUpdateable="0" Type="java.util.Date" /> in the datacontrol xml file generated for the service (should that not be a java.util.Calendar type?). When i try to output the value on a jsf page it results in the following error:
oracle.jbo.domain.DataCreationException: JBO-25009: Can not create object of type java.util.Date with value 1994-02-01T00:00:00.000+01:00
As far as i understand adf tries to create a java.util.Date object from the webservice output 'string' which fails. The webservice is a plsql webservice generated with jdeveloper. If i change the type in the datacontrol xml file from java.util.Date to java.lang.String it prints out the entire date string but i would like to keep it a date type to be able to format the output to the dd-MM-yyyy pattern.
Any help or suggestions.....?
Kind Regards,
Andre Jochems
Repost
RepostAndre,
sorry, for not replying earlier - missed this post obviously. I don't know whether or not the behavior you see is correct or a bug - need to investigate this first (or find somebody to invest).
However, as a work around for now you can:
Option 1: bind the UI component to a managed bean that then accesses the binding layer to access the Web Service Data Control. This way you can work with Strings and just create a java.util.Date object for the component using the SimpleDate formatter
Option 2: Use a Web Service proxy and a JavaBean DataControl to access the proxy. This allows pre-processing of the Web Service response, e.g. handling the Date
Note that this is just for possible work around until I find the time to look at this. However, if this is a blocking issue for a production application then I suggest to contact customer support for immediate help
Frank -
Save xsd:dateTime in java.util.Date
Hi,
can anybody give me a code snippet to save a String representing an xsd:dateTime (probably containing timezone information) to java.util.Date?
I really don't know how to do it.
Thanks,
SvenIn general if you have a String that contains a formatted date, and you want to make a Date object out of that, then you use a java.text.SimpleDateFormat object and its parse() method.
-
Hi Experts,
I was thrying to see the posibilities of the correlation editor In IR- integration Process- view - corelation editor.
I would like to know what is the capability of this editor.
say 2 incoming files, File 1 and File 2 are comin and merging into a single file say File 3. in BPM. Now the simple thing taht it can do is, it can allow a CONTION in a field in File 1 or 2. and allow its processing to File 3. Say if the Content of file 1 field - name is US , then allow, else throug error. OK.
But I wish to know is it possible like if File 1 field - Name = File 2 - ORG then prosess for File 3 , else stop.Is it possibe??
What other possibilities are there in Corelation Editor!
Regards
Arnab .it can allow a CONTION in a field in File 1 or 2. and allow its processing to File 3.
Correlation does not mean that based on certain value, correlation is set true. This only holds true if you use correlation value as constant.
But I wish to know is it possible like if File 1 field - Name = File 2 - ORG then prosess for File 3 , else stop.Is it possibe??
Correlation is used in this way only, i.e. when field say A from one file has same value as some field say B from other file. In this case correlation is used between fields A and B of first and second file respectively.
Regards,
Prateek -
Xsd:dateTime formatting problems
This is driving me nuts. I've been playing around with JAXB and it has worked great so far. Until now.
I have an xml file with this little block
<timestamps>
<created>2000-03-04T20:00:00Z</created>
<last_modified>2003-03-14T02:20:02-05:00</last_modified>
</timestamps>and in my xsd file I have
<xsd:element name="timestamps" type="timestampsType" />
<xsd:complexType name="timestampsType">
<xsd:sequence>
<xsd:element name="created" type="xsd:dateTime" />
<xsd:element name="last_modified" type="xsd:dateTime" />
</xsd:sequence>
</xsd:complexType>Previously I had used just xsd:date instead of xsd:dateTime, and that worked fine, but then I realized that I needed more timing precision so I made the change. I can generate my java files with xjc without any problems. But when I go to unmarshall the xml file with validation on, I always get a complaint about the formatting of my date time values. More specificaly I see:
"com.sun.msv.verifier.ValidityViolation: "2000-03-04T20:00:00Z" does not satisfy the "date" type"
despite the fact that I copied this date directly from the XSD specification page at http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/
And believe me, I've tried about a dozen other variations.... Different dates, with extra milliseconds, with and without the timezone part at the end. I get the same error every time. So what am I doing wrong?Thanks, but unfortunately that did not do the trick. Interestingly enough everything works perfectly, all other things the same, when I let Validation be set to false.
-
Need to generate *.ecs and *.xsd for EDI 841 data
Hi,
I have an EDI 841 data. I want to generate *.ecs and *.xsd for EDI 841 data using B2B document Editor. Please help me generate *.ecs and *.xsd for EDI 841. Thanks in advance.Hello,
I have generated ecs and xsd for EDI 841 Specification/Technical Information, send me a test email i will send you the same.
Alternatively you can generate the same from Document Editor as well.
Rgds,Ramesh -
ADF Mobile - Secured WS - MarshalException: xsd:dateTime
Hello,
Does anybody have an idea how to investigate/resolve following issue with ADF mobile (JDeveloper 11.1.2.3.0):
Scenario:
=====
1. Feature is secured with Credential Authentication : remote
2. Feature consumes secured Web Service running on WLS 10.3.5.0
3. oracle/wss_username_token_over_ssl_client_policy is defined for this WS
4. WSDL file contains <sp:IncludeTimestamp/> in its Transport Binding's Policy
5. Application was tested on Android emulator (Android 4.1.2) and on Andorid device (Android 2.3.6) with the same behavior.
Problem:
=====
After successful authentication, WLS responses with Error 500 to SOAP request:
01-21 12:01:34.117: D/CVM(31062): [SEVERE - oracle.adfmf.framework - HttpServiceConnection - log] Connection Error: 500
01-21 12:01:34.132: D/CVM(31062): [SEVERE - oracle.adfmf.framework - HttpTransport - parseResponse] Response [Error: 500]: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurity</faultcode><faultstring>weblogic.xml.dom.marshal.MarshalException: xsd:dateTime element does not have required UTC time zone.</faultstring></env:Fault></env:Body></env:Envelope>
01-21 12:01:34.140: D/CVM(31062): [SEVERE - oracle.adfmf.framework - SoapTransportLayer - invokeSoapRequest] Encountered exception while invoking SOAP request
01-21 12:01:34.140: D/CVM(31062): EndPoint: https://172.22.30.12:8114/DV900/AddressBookManager
01-21 12:01:34.140: D/CVM(31062): SOAPAction: "http://oracle.e1.bssv.JP010000//getAddressBook"
01-21 12:01:34.140: D/CVM(31062): Exception: HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.
01-21 12:01:34.187: D/CVM(31062): [SEVERE - oracle.adfmf.framework - GenericInvokeRequestHandler - invoke] InvocationTargetException Error: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.
01-21 12:01:34.195: D/CVM(31062): [SEVERE - oracle.adfmf.framework - GenericInvokeRequestHandler - process] Process AdfException caught: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.
I assume, that application doesn't send UTC time zone in elements Created:dateTime and Expires:dateTime in Username Token.
Is there anything what I can set up on JDeveloper side?
Thanks a lot,
DanielDaniel,
I encountered the same issue, webservice when invoked from ADF web app is working fine but, errors in emulator with the below error.
HTTP Status Code 500 Internal Server Error: The server encountered an unexpected condition which prevented it from fulfilling the request.
have you got any update from oracle on this ?
Please do share any work around for this if you have..
Thanks
Shreedhar -
FPC wont let me render! I'm a video editor and have over 70 gb worth of videos on the imac which all need to be kept for various clients/backup/original versons but now beloved imac is full, only had it for 5 months! Will Ineed external hard drive every 5 months?? This can't be I've already resorted to getting rid of unsed applications such as garage band, iTunes,address book ect. I've trashed everything I could. what next ???
My video files are massive, converting them to a different format doesn't reduce the size of them it just turns them into mp4 or apple pro res ect
This iMac is for work only so there's no pictures, no music, no conacts, no messenger, no games, nonothing but videos!!Have a look at this: http://grandperspectiv.sourceforge.net/
It will show you exactly what is taking up all of your space.
You also may want to consider some kind of external storage just for your video projects. -
I am using both PSE 13 and Lightroom 5. When I use Lightroom as an external editor and save the photo, it shows up in PSE13 as an edited file but does not look any different. Why doesn't it appear edited?
People who have Photoshop, but don't have Lightroom, need ACR so that they can use Raw files. Without ACR they could do nothing with those (they may also like having ACR so that they can work on other kinds of image using the same kinds of adjustments and techniques, as are used with Raw files).
People who have Lightroom, can get access to Raw files regardless whether ACR is present or not. They can use Lightroom on other kinds of image also, using the same methods. LR can pass images directly into Photoshop without passing via ACR (or else does so transparently, which amounts to substantially the same thing).
ACR does not, strictly speaking, even need to be installed for this external editing to happen. In fact, not even PS needs to be - since a different image editor can be used instead, while still retaining the Adobe Raw conversion etc.
Lightroom "subcontracts out" specialised external tasks, in this workflow, but is still your "main contractor": the image is otherwise located, viewed, managed, adjusted/presented and output entirely using LR.
So IMO we can divide image processing into:
operations that involve pixels and layers and layer masks and adjustment layers etc (of the kind done inside Photoshop)
operations that involve parametric edits (of the kind done in ACR where you are not using a Lightroom based workflow; otherwise, done inside Lightroom)
When PS is called in, that's because those tasks are impossible or unsuitable to do in Lightroom. But those tasks can't be done in ACR either - by definition, since LR and ACR have exactly the same image processing "feature set".
Lightroom is irrelevant to the Bridge + ACR + PS workflow. This workflow requires both your PS and your ACR to be current enough, to support your Raw format etc.
ACR and Bridge are irrelevant to the LR + (image editor) workflow. It is in this case, only LR which needs to be current enough to support your Raw format etc.
RP -
Error when trying to access the RBAC User editor and Message tracking
Hi,
I am getting an error when trying to access the RBAC User editor and Message tracking on the Web Mgmt interface. I verified that the admin account trying to access is in the Organization Management group and has the correct Role Assignment Policy applied.
I searched through this thread below and saw that matching the msExchRoleLink and msExchUserLink attributes fixed the issue.
https://social.technet.microsoft.com/Forums/exchange/en-US/fc568cc6-8691-4127-b70b-bcc82f9b1f7f/first-2010-cas-server-no-administrator-rights-emc-permissions-gone?forum=exchange2010
However I have another environment where this is not the case and works just fine; the msExchUserLink attribute has a value of CN=Organization Management,OU=Microsoft Exchange Security Groups,DC=Domain,DC=Local which is different as per the issue outlined in
the above thread so I am not convinced that this will work and also don’t want to blindly edit something in adsiedit without being sure.
I then checked the event logs on the server and saw the below error logged;
Current user: 'Domain/Server Services Accounts/administrator'
Request for URL 'https://server.domain.com/ecp/default.aspx?p=AdminDeliveryReports&exsvurl=1' failed with the following error:
System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the
page. Please contact your administrator for the required credentials. For new credentials to take effect, you have to close this window and log on again.
at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.default_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Microsoft.Exchange.Management.ControlPanel.UrlNotFoundOrNoAccessException: The page may not be available or you might not have permission to open the page. Please contact your administrator for the required credentials. For new credentials to take effect, you
have to close this window and log on again.
at Microsoft.Exchange.Management.ControlPanel._Default.CreateNavTree()
at Microsoft.Exchange.Management.ControlPanel._Default.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I then had a look at the IIS permissions for ecp and owa. The account did not have permissions so I added them there but still got the same error. I’ve also tried all of the above with a newly-created account but still got the same issue.
Any ideas as to what the above event log is specifically referring to?Hi,
From your description, I would like to clarify the following thing:
If you want to search message tracking logs, the account you use should be a member of the role groups below:
Organization Management role group, Records Management role group, Recipient Management role group.
Hope this can be helpful to you.
Best regards,
Amy Wang
TechNet Community Support -
Is it OK to re-use 1 instance of editors and renderers?
Hi,
The simple version of the question, is can I make 1 instance of my custom cell editor and cell renderer classes and safely use it in all my JTable instances?
For example, I have a DateRenderer class, and instantiate it in a static member, and use it in all Date columns and tables, many of which will be instatiated at one time. If a column needs a non-default format, then I guess I'd create a special instance for it, other wise it would use the default instance.
It seems to be OK so far, but but my program hasn't received any serious usage yet.
As to why, I'm thinking this way, I've been messing around with CellEditors and renderers and despite wanting to use default functionality whenver possible, I find that I'm using custom versions for every situation... so if possible, I'd like to keep the number of instances to a minimum.
Regards
IainOK, I see what you mean.
Stop cell editing on focus lost isn't the default behaviour, but I've had to use it anyway (it seems to make sense).
The reason I asked is that, to get the behaviour that I want, it looks like I'll have to have my custom renderers and editors on every column of every table so I'd like to avoid unneccessary instantiation.
I'm aiming for a system where:
- 1 click selects the row (default behaviour),
- 2 clicks starts editing the cell (also default),
- but tabbing or pressing enter after editing a cell keeps you in editing mode.
I don't suppose that many people here have had experience with this, but entering Japanese (and presumably other non ascii type character sets) using MS's IME doesn't work very well with the standard JTable behaviour. If you don't double click, the entered japanese text appears in a little IME window somewhere on the screen (no neccessarily near the editing cell) and just gets lost when you press enter. You have to double click every time, and I can't see the users accepting that.
I'll be investigating this over tme, and hopefully will be able to get it working smoothly.
Thanks,
Iain
Maybe you are looking for
-
Garage Band Loops are missing.
I went to the Apple store to have iLife 09 installed onto my computer, but when I opened up Garage Band, almost all of the loops were missing. How do I go about getting them back?
-
PAPI Example not working in enterprise standalone
Hi, I am running the papi example and my directory.xml is pointing to Enterprise standalone env.While runnung the java code i am getting the following exception Unreachable Engine Tolerance (seconds): Below is the code and error stacktrace Code:- pac
-
HTTPS does not connect with Safari iOS 7.1.1
After upgrading to 7.1.1, using broadband over WiFi, can no longer connect to Outlook Web Access (OWA), a https url.
-
Hello, I'm having an issue with one user (Windows 7 32bit, IE 9) that when he tries to ping one of our servers, for example: ping can6800vm031. It pings can6800vm031.abc.com instead of pinging can6800vm031.na.abc.net (abc is our company name). Thi
-
How to add disk partition wizard in MDT 2013?
Is it possible to add a step in a task sequence or otherwise, so the installation procedure will popup a disk partition wizard, just like when installing Windows 7 from a DVD?