Orabpel-11017 Translation Error
I'm trying to deploy an application from file adapter sample available in home directory of SOA Suite.when i try to deploy it is throwing error at invoke activity as below
file:/C:/product/10.1.3.1/OracleAS_2/bpel/domains/default/tmp/.bpel_FlatStructure_1.0_42e445b422ef6ac0b94dd1f5050897e7.tmp/FlatStructureOutbound.wsdl [ Write_ptt::Write(Root-Element) ] - WSIF JCA Execute of operation 'Write' failed due to: Translation Error.
Error while translating message to native format [Caused by: Element not completed: 'Root-Element'].
; nested exception is:
ORABPEL-11017
Translation Error.
Error while translating message to native format [Caused by: Element not completed: 'Root-Element'].
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
I'm following all the steps provided in PDF. Kindly help me in knowing how to resolve this issue.
Your schema is not proper. I assume you created this schema manually. Try creating native schema using an inbound adapter(e.g. file inbound adapter) by giving the flatfile format as a template and then use the same schema at the outbound adapter end.
HTH,
Sandeep
Similar Messages
-
ORABPEL-11017 Error while translating message to native format
Hello I and trying to do a simple read and write file adapter. When I try and map the variables in the xls file it seems to work right but I run the BPEL and I get this output :(
ORABPEL-11017
[2010/01/20 15:52:19]
Faulted while invoking operation "Write" on provider "WriteFileAdaper".
- <messages>
- <input>
- <Invoke_1_Write_InputVariable>
- <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="readrecord">
- <readrecord xmlns:tns="http://TargetNamespace.com/ReadFileAdapter" xmlns="http://TargetNamespace.com/ReadFileAdapter">
<tns:name/>
<tns:number/>
<tns:email/>
</readrecord>
</part>
</Invoke_1_Write_InputVariable>
</input>
- <fault>
- <bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
- <part name="code">
<code>
null
</code>
</part>
- <part name="summary">
<summary>
file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess_1.0_f1f4eaf21f2ea0f6ab23787c642f300a.tmp/WriteFileAdaper.wsdl [ Write_ptt::Write(readrecord) ] - WSIF JCA Execute of operation 'Write' failed due to: Translation Error.
Error while translating message to native format [Caused by: Error in definition of native data.
No style found to read the native data for <element name="name">.
Must specify a style at <element name="name"> to read the corresponding native data.
; nested exception is:
ORABPEL-11017
Translation Error.
Error while translating message to native format [Caused by: Error in definition of native data.
No style found to read the native data for <element name="name">.
Must specify a style at <element name="name"> to read the corresponding native data.
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
</summary>
</part>
- <part name="detail">
<detail>
null
</detail>
</part>
</bindingFault>
</fault>
</messages>
Here is the XSD:
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
targetNamespace="http://TargetNamespace.com/ReadFileAdapter"
xmlns:tns="http://TargetNamespace.com/ReadFileAdapter"
elementFormDefault="qualified"
attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
<xsd:element name="readrecord">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" type="xsd:string" nxsd:terminatedBy="," nxsd:quotedBy=""">
</xsd:element>
<xsd:element name="number" type="xsd:string" nxsd:terminatedBy="," nxsd:quotedBy=""">
</xsd:element>
<xsd:element name="email" type="xsd:string" nxsd:terminatedBy="${eol}" nxsd:quotedBy=""">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<!--NXSDWIZ:F:\BPEL-Training\insert.txt:-->
<!--USE-HEADER:false:-->Are you using opaque schema or custom defined schema?
Make your File Outbound Adapter from Opaque to the same Schema as you used for input. Modify the InputVariable to Outbound File Adatper Message Type to the Schema's Element . Modify the PL Property for your Directory Structure for inbound and outbound. -
Error while translating message to native format: ORABPEL-11017
please help me out in resolving the problem , please post me reply ASAP.
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="code">
<code>null
</code>
</part>
-<part name="summary">
<summary>
file:/C:/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELProcess_FileAdp_1.0_df7eeb4ec4c88865a7039ac8c70dced3.tmp/WriteFile.wsdl [ Write_ptt::Write(Root) ] - WSIF JCA Execute of operation 'Write' failed due to: Translation Error.
Error while translating message to native format [Caused by: Element 'dno' not expected.]
; nested exception is:
ORABPEL-11017
Translation Error.
Error while translating message to native format [Caused by: Element 'dno' not expected.]
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.</summary>
</part>
-<part name="detail">
<detail>null
</detail>
</part>
</bindingFault>Hi,
wrong forum, see BPEL
Frank -
Orabpel-11017 - Error during WriteFileAdapter INVOKE
Im seeing this error on the invoke for my file adapter.
<bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>null</code>
</part><part name="summary"><summary>file:/appl/BPLDVLP2/BPLDVLP2/10.1.3/bpel/domains/default/tmp/.bpel_DEAMS_CDS_O_006_1.1_827490e1edf9683bdeb0f6b178131bcb.tmp/WriteToCDS_File.wsdl [ Write_ptt::Write(Root-Element) ] - WSIF JCA Execute of operation 'Write' failed due to: Translation Error.
Error while translating message to native format [Caused by: Element 'A_RECORD' not expected.]
; nested exception is:
ORABPEL-11017
Translation Error.
Error while translating message to native format [Caused by: Element 'A_RECORD' not expected.]
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
</summary>
</part><part name="detail"><detail>null</detail>
</part></bindingFault>
The error does not occur If I removed the "for-each" XSLT Construct from the target in the transform activity that I use to map into my custom schema. I think this has to do w/ the nxsd: attributes for Record_A or the header_record.
Any suggestions would be greatly appreciated.
Below is the custom schema I created for the file adapter
<xsd:element name="Root-Element">
<xsd:complexType>
<xsd:choice minOccurs="1" maxOccurs="unbounded" nxsd:choiceCondition="fixedLength" nxsd:length="1">
<xsd:element name="HEADER" nxsd:conditionValue="C" nxsd:style="array" nxsd:arrayLength="354" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="FILE_ID" type="xsd:string" nxsd:style="fixedLength"
nxsd:length="4">
</xsd:element>
<xsd:element name="ADDRESS" type="xsd:string" nxsd:style="fixedLength" nxsd:length="36">
</xsd:element>
<xsd:element name="ORIGINATING_SITE_ID" type="xsd:string" nxsd:style="fixedLength" nxsd:length="2">
</xsd:element>
<xsd:element name="SYSTEM_ID" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5">
</xsd:element>
<xsd:element name="PROCESSING_DATE_OF_FILE" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8">
</xsd:element>
<xsd:element name="AGENCY_LOCATION_CODE" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4">
</xsd:element>
<xsd:element name="TOTAL_NUMBER_OF_TRANSACTIONS" type="xsd:string" nxsd:style="fixedLength" nxsd:length="6">
</xsd:element>
<xsd:element name="TOTAL_VALUE_OF_TRANSACTIONS" type="xsd:string" nxsd:style="fixedLength" nxsd:length="18">
</xsd:element>
<xsd:element name="DATE_FILE_CREATED" type="xsd:string" nxsd:style="fixedLength" nxsd:length="8">
</xsd:element>
<xsd:element name="TIME_FILE_CREATED" type="xsd:string" nxsd:style="fixedLength" nxsd:length="4">
</xsd:element>
<xsd:element name="FILE_SEQUENCE_NUMBER" type="xsd:string" nxsd:style="fixedLength" nxsd:length="5">
</xsd:element>
<xsd:element name="FILLER1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}">
</xsd:element>
<xsd:choice>
<xsd:element name="A_RECORD" nxsd:lookAhead="0" nxsd:lookFor=" "
nxsd:style="array" nxsd:arrayLength="354">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DOCUMENT_REFERENCE_NUMBER"
type="xsd:string" nxsd:style="fixedLength"
nxsd:length="30"/>
<xsd:element name="VOUCHER_NUMBER" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="15"/>
<xsd:element name="RECORD_TYPE" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="PAYMENT_DATE" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="8"/>
<xsd:element name="SECURITY_CODE" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="2"/>
<xsd:element name="VOUCHER_CATEGORY" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="PAYMENT_METHOD" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="VOUCHER_AMOUNT" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="18"/>
<xsd:element name="CURRENCY_CODE" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="3"/>
<xsd:element name="OFFICIAL_EXCHANGE_RATE"
type="xsd:string" nxsd:style="fixedLength"
nxsd:length="13"/>
<xsd:element name="SUB_VOUCHER_CATEGORY" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="TECHNICIAN_ID" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="3"/>
<xsd:element name="VOUCHER_STATUS" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="1"/>
<xsd:element name="PAYEE_NAME" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="95"/>
<xsd:element name="DUNS_NUMBER" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="20"/>
<xsd:element name="SSN_TIN" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="9"/>
<xsd:element name="ALGORITHM" type="xsd:string"
nxsd:style="fixedLength" nxsd:length="12"/>
<xsd:element name="FILLER1" type="xsd:string"
nxsd:style="terminated"
nxsd:terminatedBy="${eol}"/>
<xsd:sequence>
<xsd:element name="B_RECORD" nxsd:conditionValue=" "
nxsd:style="array" nxsd:arrayLength="354"
nxsd:cellSeparatedBy="${eol}">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DOCUMENT_REFERENCE_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="30"/>
<xsd:element name="VOUCHER_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="15"/>
<xsd:element name="RECORD_TYPE_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="ROUTING_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="12"/>
<xsd:element name="ACCOUNT_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="18"/>
<xsd:element name="ACCOUNT_TYPE" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="ADDENDUM_ROUTING_ID"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="FILLER1" type="xsd:string"
nxsd:style="terminated"
nxsd:terminatedBy="${eol}"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="C_RECORD" nxsd:conditionValue=" "
nxsd:style="array" nxsd:arrayLength="354"
nxsd:cellSeparatedBy="${eol}">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DOCUMENT_REFERENCE_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="30"/>
<xsd:element name="VOUCHER_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="15"/>
<xsd:element name="RECORD_TYPE_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="ADDRESS_1" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="55"/>
<xsd:element name="ADDRESS_2" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="55"/>
<xsd:element name="ADDRESS_3" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="35"/>
<xsd:element name="CITY" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="35"/>
<xsd:element name="ZIP" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="15"/>
<xsd:element name="COUNTRY_CODE" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="3"/>
<xsd:element name="FILLER1" type="xsd:string"
nxsd:style="terminated"
nxsd:terminatedBy="${eol}"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="D_RECORD" nxsd:conditionValue=" "
nxsd:style="array" nxsd:arrayLength="354">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DOCUMENT_REFERENCE_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="30"/>
<xsd:element name="VOUCHER_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="15"/>
<xsd:element name="RECORD_TYPE_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="DEPARTMENT_REG"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="DEPARTMENT_TRANSFER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="FISCAL_YEAR_PROGRAM_YEAR"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="8"/>
<xsd:element name="TREASURY_MAIN_ACCOUNT"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="4"/>
<xsd:element name="LIMIT" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="4"/>
<xsd:element name="PROGRAM_YEAR" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="FUND_CODE" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="FISCAL_YEAR" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="MAJOR_COMMAND"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="OPERATING_BUDGET_ACCOUNT_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="4"/>
<xsd:element name="RESPONSIBILITY_CENTER_COST_CENTER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="6"/>
<xsd:element name="BUDGET_ACTIVITY"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="8"/>
<xsd:element name="OBJECT_CLASS" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="5"/>
<xsd:element name="SALES_CODE" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="3"/>
<xsd:element name="ADSN" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="6"/>
<xsd:element name="TRANSACTION_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="APPROPRIATION_AMOUNT"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="18"/>
<xsd:element name="ACRN" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="FMS_CASE_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="3"/>
<xsd:element name="FMS_COUNTRY_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="2"/>
<xsd:element name="EXPENDITURE_AUTHORITY_VERIFICATION"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="IMPLEMENTING_AGENCY_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="FILLER1" type="xsd:string"
nxsd:style="terminated"
nxsd:terminatedBy="${eol}"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="E_RECORD" nxsd:conditionValue=" "
nxsd:style="array" nxsd:arrayLength="354">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DOCUMENT_REFERENCE_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="30"/>
<xsd:element name="VOUCHER_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="15"/>
<xsd:element name="RECORD_TYPE_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="1"/>
<xsd:element name="ENTITLEMENT_LOCATION_CODE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="4"/>
<xsd:element name="AMT_PAID_TO_NATIONS_BANK"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="20"/>
<xsd:element name="SSN" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="15"/>
<xsd:element name="PAYEE_NAME" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="50"/>
<xsd:element name="VOUCHER_NUMBER_MASTER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="15"/>
<xsd:element name="PAYMENT_DATE" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="8"/>
<xsd:element name="PAYMENT_TO_TRAVELER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="9"/>
<xsd:element name="INTEREST_PAID_TO_NATIONS_BANK"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="18"/>
<xsd:element name="TOTAL_AMT_DISBURSED"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="18"/>
<xsd:element name="TRIP_RECORD_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="6"/>
<xsd:element name="INVOICE_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="24"/>
<xsd:element name="INVOICE_DATE" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="8"/>
<xsd:element name="NATIONS_BANK_CBA_HOLDER_DUNS_NUMBER"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="20"/>
<xsd:element name="REMITTANCE_ADVICE"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="10"/>
<xsd:element name="DUNS_4" type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="20"/>
<xsd:element name="TRANSACTION_ID"
type="xsd:string"
nxsd:style="fixedLength"
nxsd:length="9"/>
<xsd:element name="FILLER1" type="xsd:string"
nxsd:style="terminated"
nxsd:terminatedBy="${eol}"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="Z_RECORD" nxsd:conditionValue="Z" nxsd:style="array" nxsd:arrayLength="354" >
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RECORD_TYPE" type="xsd:string" nxsd:style="fixedLength" nxsd:length="14">
</xsd:element>
<xsd:element name="TOTAL_A_RECORD_COUNT" type="xsd:string" nxsd:style="fixedLength" nxsd:length="9">
</xsd:element>
<xsd:element name="SUM_OF_A_RECORDS" type="xsd:string" nxsd:style="fixedLength" nxsd:length="18">
</xsd:element>
<xsd:element name="TOTAL_D_RECORD_COUNT" type="xsd:string" nxsd:style="fixedLength" nxsd:length="9">
</xsd:element>
<xsd:element name="SUM_OF_D_RECORDS" type="xsd:string" nxsd:style="fixedLength" nxsd:length="10">
</xsd:element>
<xsd:element name="Algorithm" type="xsd:string" nxsd:style="fixedLength" nxsd:length="12">
</xsd:element>
<xsd:element name="FILLER1" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="${eol}">
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>Hi,
Have you added 'for-each' for each node in XSL file.
Also can you please paste the XSD with complete namespaces and the XSL file also.
Thanks
Rahul -
Native schema; Translation error
I'm trying to create a flatfile based on a native schema. It seems that the nested structure (order/orderlines) does not work, although I can't figure out what I'm doing wrong.
The ESB retunrs "Error while translating message to native format [Caused by: Element not completed: 'order'].
; nested exception is:
ORABPEL-11017
Translation Error.
Error while translating message to native format [Caused by: Element not completed: 'order'].
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable."
I'm using ESB 10.1.3.5, oracle 10G.
The xsd I use =
<schema attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://xmlns.oracle.com/ias/pcbpel/fatransschema/demo"
xmlns:tns="http://xmlns.oracle.com/ias/pcbpel/fatransschema/demo"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
nxsd:version="NXSD" nxsd:stream="chars">
<element name="order" type="tns:orderType" />
<complexType name="orderType">
<sequence minOccurs="1" maxOccurs="unbounded">
<element name="dewnknr" type="integer" nxsd:style="fixedLength" nxsd:length="5" nxsd:padStyle="head" nxsd:paddedBy="0" nxsd:suffixWith="++" />
<element name="deweenr" type="integer" nxsd:style="terminated" nxsd:length="2" nxsd:padStyle="none" nxsd:paddedBy="0" nxsd:prefixWith="++" nxsd:terminatedBy="/\" />
<element name="line" type="tns:lineType" nxsd:style="array" nxsd:arrayTerminatedBy="XXX"/>
</sequence>
</complexType>
<complexType name="lineType" >
<sequence minOccurs="1" maxOccurs="unbounded">
<element name="debstce" type="string" nxsd:style="terminated" nxsd:terminatedBy="+" />
<element name="debstat" type="integer" nxsd:style="terminated" nxsd:terminatedBy="@" />
</sequence>
</complexType>
</schema>
Please help !!Your schema is not proper. I assume you created this schema manually. Try creating native schema using an inbound adapter(e.g. file inbound adapter) by giving the flatfile format as a template and then use the same schema at the outbound adapter end.
HTH,
Sandeep -
Processing a CSV file in batching by FTP Adapter gives translation error
Hi All,
I have a CSV with 2000 records.. want to process it in batch of 500.
When i dont use batching in FTP adapter.. everything goes fine.
But when i include batching in the adpater.. and try to process the same file. it gives:
<2009-09-09 12:09:15,997> <ERROR> <VDSTServices.collaxa.cube.translation> <NXSDTranslatorImpl::logError> translateFromNative Failed with exception = 50
<2009-09-09 12:09:15,997> <INFO> <VDSTServices.collaxa.cube.activation> <FTP Adapter::Inbound> Error while translating inbound file : VDST_CNP_EMR5110026_20090904_000000.csv
<2009-09-09 12:09:15,997> <INFO> <VDSTServices.collaxa.cube.activation> <FTP Adapter::Inbound>
ORABPEL-11100
Translation Failure.
[Line=27, Col=1] Translation from native failed. 50.
Check the error stack and fix the cause of the error. Contact oracle support if error is not fixable.
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.doTranslateFromNative(NXSDTranslatorImpl.java:754)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.translateFromNative(NXSDTranslatorImpl.java:489)
at oracle.tip.adapter.file.inbound.ProcessWork.doTranslation(ProcessWork.java:748)
at oracle.tip.adapter.file.inbound.ProcessWork.processMessages(ProcessWork.java:336)
at oracle.tip.adapter.file.inbound.ProcessWork.run(ProcessWork.java:218)
at oracle.tip.adapter.fw.jca.work.WorkerJob.go(WorkerJob.java:51)
at oracle.tip.adapter.fw.common.ThreadPool.run(ThreadPool.java:280)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 50
at oracle.tip.pc.services.translation.xlators.nxsd.ErrorList.addError(ErrorList.java:108)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.terminateLoop(NXSDTranslatorImpl.java:1688)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1307)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1216)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.parseNXSD(NXSDTranslatorImpl.java:1084)
at oracle.tip.pc.services.translation.xlators.nxsd.NXSDTranslatorImpl.doTranslateFromNative(NXSDTranslatorImpl.java:706)
... 7 more
I tried deleting the rows 24-28 from the CSV and process again.. again got the same error [Line=27, Col=1] .. so its not an issue with CSV.
Please suggest.
ThanksCan you publish or pass your csv and the native schema you are using. Please also mention your soa version. thx.
-
I have installed BPEL Process Manager with Weblogic 8.1SP4.
I am using Oracle Database 9.2.0.5.0 for Oracle BPEL Process
Manager installation.
Also i have made following changes for JDBC thin driver accordingly.
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.OracleDriver"
MaxCapacity="15" LoginDelaySeconds="1"
Name="BPELServerPool"
ShrinkPeriodMinutes="15"
ShrinkingEnabled="true" SupportsLocalTransaction="true"
Targets="orabpelServer"
URL="jdbc:oracle:thin:orabpel/orabpel_password@hostname:port:database_servoce_
name"/>
I m getting following error while starting the server :-
Connection Pool "BPELServerPool" deployment failed with the following error: 0:Could not create pool connection. The DBMS driver exception was: invalid arguments in call.
Also I m getting following error during startup
ORABPEL-04076
Cannot lookup jdbc datasource.
The process domain was unable to lookup the TX datasource "BPELServerDataSourceWorkflow".
Please check that the machine hosting the datasource is physically connected to the network. Additionally check that the connection pool properties as defined in the application server startup properties are valid.
at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.init(ConnectionFactory.java:268)
at com.collaxa.cube.engine.data.ConnectionFactory.update(ConnectionFactory.java:54)
at com.collaxa.cube.engine.data.ConnectionFactory.init(ConnectionFactory.java:42)
at com.collaxa.cube.admin.data.ServerConnectionFactory.init(ServerConnectionFactory.java:34)
at com.collaxa.cube.admin.adaptors.ServerAdaptorManager.init(ServerAdaptorManager.java:66)
at com.collaxa.cube.admin.ServerManager.__init(ServerManager.java:211)
at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:99)
at com.collaxa.cube.ejb.impl.ServerBean.init(ServerBean.java:200)
at com.collaxa.cube.ejb.impl.ServerBean_g9inc6_EOImpl.init(ServerBean_g9inc6_EOImpl.java:856)
at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:62)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1028)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3333)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3278)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3259)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5949)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:862)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2127)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2168)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3082)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
<Error> <HTTP> <BEA-101216> <Servlet: "cxloader" failed to preload on startup in Web application: "startup".
javax.servlet.ServletException:
ORABPEL START-UP ERROR!!!!!!!!
Can Anyone kindly suggest what is the problem ?I have installed BPEL Process Manager with Weblogic 8.1SP4.
I am using Oracle Database 9.2.0.5.0 for Oracle BPEL Process
Manager installation.
Also i have made following changes for JDBC thin driver accordingly.
<JDBCConnectionPool CapacityIncrement="2"
DriverName="oracle.jdbc.OracleDriver"
MaxCapacity="15" LoginDelaySeconds="1"
Name="BPELServerPool"
ShrinkPeriodMinutes="15"
ShrinkingEnabled="true" SupportsLocalTransaction="true"
Targets="orabpelServer"
URL="jdbc:oracle:thin:orabpel/orabpel_password@hostname:port:database_servoce_
name"/>
I m getting following error while starting the server :-
Connection Pool "BPELServerPool" deployment failed with the following error: 0:Could not create pool connection. The DBMS driver exception was: invalid arguments in call.
Also I m getting following error during startup
ORABPEL-04076
Cannot lookup jdbc datasource.
The process domain was unable to lookup the TX datasource "BPELServerDataSourceWorkflow".
Please check that the machine hosting the datasource is physically connected to the network. Additionally check that the connection pool properties as defined in the application server startup properties are valid.
at com.collaxa.cube.engine.data.ConnectionFactory$ConnectionFactoryImpl.init(ConnectionFactory.java:268)
at com.collaxa.cube.engine.data.ConnectionFactory.update(ConnectionFactory.java:54)
at com.collaxa.cube.engine.data.ConnectionFactory.init(ConnectionFactory.java:42)
at com.collaxa.cube.admin.data.ServerConnectionFactory.init(ServerConnectionFactory.java:34)
at com.collaxa.cube.admin.adaptors.ServerAdaptorManager.init(ServerAdaptorManager.java:66)
at com.collaxa.cube.admin.ServerManager.__init(ServerManager.java:211)
at com.collaxa.cube.admin.ServerManager.init(ServerManager.java:99)
at com.collaxa.cube.ejb.impl.ServerBean.init(ServerBean.java:200)
at com.collaxa.cube.ejb.impl.ServerBean_g9inc6_EOImpl.init(ServerBean_g9inc6_EOImpl.java:856)
at com.collaxa.cube.admin.CXLoaderServlet.init(CXLoaderServlet.java:62)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1028)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3333)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3278)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3259)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5949)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:862)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2127)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2168)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)
at weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3082)
at weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:359)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
<Error> <HTTP> <BEA-101216> <Servlet: "cxloader" failed to preload on startup in Web application: "startup".
javax.servlet.ServletException:
ORABPEL START-UP ERROR!!!!!!!!
Can Anyone kindly suggest what is the problem ? -
Message no. 06211 Currency translation error in net price calculation
Hi,
When i am creating purchase order i am changing currency from INR to JPY for FOB condition type only, And system issuing error message Currency translation error in net price calculation. Document currency is INR.
When i am using USD i am not getting this error.
I have checked table OB08 and both conversion maintained INR to JPY AND JPY to INR valid from 01.01.2012
Any solution for this please.
Thanks in advance.Hi, Check in T-code M/08 for your import prizing procedure,what have you maintained for subtotal for gross price condition (PBXX,PB00), Maintain over there as '9', also for JPY currency there is issue with decimal also, ratio maintained in 100:1 ratio.
Edited by: tej yadav on Jan 6, 2012 1:29 PM -
File Adapter Read, Translation error
Hi,
I got problem with BPEL File Adapter. When i'm reading file i got scheme - termineted with semicol and without quoting.
In uploaded test file there was line - first colums;second colums;""third"" column";forth column;
And the problem are five quotes and adapter fails with translation error. Can i somehow ignore them?Hi,
You have use the attribute quotedBy... By default, the specified string is &quot; ("). If your data includes this character, you must override this default even if the field is not quoted.
For example:
{code}
<element name="field" type="string" nxsd:style="terminated" nxsd:terminatedBy=";" nxsd:quotedBy="<"/>
{code}
Read this...
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/nfb.htm#CHDBBECG
Cheers,
Vlad -
Translation Error not happening in File Adapter Inbound
I have been working on a requirement where the file adapter picks up the file and gives to the BPEL for processing the data.
So, in order to do Error Handling for file adapter, i have been reading the Oracle documentation for technology adapters. In that, some of the
points which i felt valuable for my error handling when using file adapter are the uniqueMessageSeparator property, fault-policies for rejected messages,
and one of the action for rejected messages could be writing the payload to a file or invoking any other webservice. .
In my composite, i have configured the file adapter as a service for reading files, and i defined the xsd using the native format builder....If i put some data like 'aaaa' in the attribute of type integer , the .csv file is being picked up and its being passed to the BPEL without any error ? I believe there should be a translation error...right...
But i am not getting the error, please tell me if anything is wrong in my xsd....
Here is my xsd....
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
xmlns:tns="http://TargetNamespace.com/InboundService"
targetNamespace="http://TargetNamespace.com/InboundService"
elementFormDefault="qualified"
attributeFormDefault="unqualified"
nxsd:version="NXSD"
nxsd:stream="chars"
nxsd:encoding="US-ASCII"
nxsd:hasHeader="true"
nxsd:headerLines="1"
nxsd:headerLinesTerminatedBy="${eol}"
<xsd:element name="names">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="name" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="FirstName" type="xsd:string" nxsd:style="" />
<xsd:element name="LastName" type="xsd:string" nxsd:style="" />
<xsd:element name="Number" type="xsd:integer" nxsd:style="" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
In another composite, my file adapter is picking up the .xml file and if i put any wrong data over there, that is working fine, i am getting the trasnlation error, but only here in the case of csv file, i am not getting the error. Experts, please help me in this regard...I am using SOA 11G
Thanks,
Nareshpls help....
-
Xml files from logic to fcp. translation error
using final cut pro 5.1.4 and logic 7.3.2. creating a slide version of a musical show i wrote. sent the fcp file to logic as xlm, in order to record the singing along with the prerecorded music aif file. did the vocal record in logic, but when i try to send the xlm back to fcp i get a message: translation error, critical error. so now i have no way to get the file back to fcp, after all that work in logic 7.3.2. alas!! previously i got that same error message and discovered that in logic i had been working in 48,000 sample rate files, but this time around i was careful to avoid that problem, and checked the audio window to be sure everything is in 44,000 files. alas! alas! moan, sigh . . .
Welcome to the bizarre world of XML.
Given that you're on Logic 7 then I'm sorry to say that these formats have never been particularly reliable (same with L8), but I heard it's better in L9 but I've not tried it yet.
Some report no problems, others can't get it to work at all. I can't offer a workaround as I'm not sure what you want to achieve exactly, but I can tell you it's one of those things that's totally unreliable. -
Socket Schema Translation Error when trying to use Socket Adapter in BPEL
Hi,
I am trying to use Socket Adapter in BPEL.
I made 2 SOA Projects
SOA Application Project 1: Socket Server (Inbound Synchronous Request/Reply). The option for ‘Native Format translation is not required(Schema is Opaque)’ is unchecked .i.e. XSD is given for both request/reply
SOA Application Project 2: Socket Client (Outbound Synchronous Request/Reply). The option for ‘Native Format translation is not required(Schema is Opaque)’ is unchecked .i.e. XSD is given for both request/reply
Socket Client which is exposed as Web Service invokes Socket Server.
1. <summary>Exception occurred when binding was invoked. Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'OutboundRequestReply' failed due to: Socket Schema Translation Error. Socket Schema Translation Error. Error while trying to translate from native. Please ensure that the schemas are set up with native annotations and comply with the output XML. Contact Oracle support if error is not fixable. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. </summary>
<part name="detail">
<detail>Read timed out</detail>
</part>
Has anybody faced this issue?Hi guys:
I got exactly the same error. I recently installed BPEL Process Manager for Developers 10g Release 2 (10.1.2) in windows XP.
The default setting for BPEL VM memory is Xms512m -Xmx512m -Xmn300m. I tried to set maximum size to 1024 but I had this error.
Error occurred during initialization of VM
Could not reserve enough space for object heap
if any body can suggest a solution will be great .
Thanks.
Message was edited by:
user533906
Message was edited by:
user533906 -
Translator Error No .dat file
I know this question has been asked a thousand times on here but I have a new twist to the problem. I don't have a .dat file in my configuration folder. I have looked through every folder in the dreamweaver folder and I don't have a .dat file.
I have tried renaming my configuration folder to "configuration old" but then dreamweaver won't open at all. Is reinstalling my only solution?The translator error as I searched seems to be tied to the common Javascript errors. Follow the below KB article and you should be able to solve your issue:
http://kb2.adobe.com/cps/405/kb405604.html -
Some jsps are throwing translation error in R12
Hi,
While installation some of our custom jsps are throwing Translation errors and some jsps are throws error for cannot resolve symbol for CallableStatement,ResultSet,Connection objects.
can anyone please help me out this?
Thanks
SoujanyaHi,
While installation some of our custom jsps are throwing Translation errors and some jsps are throws error for cannot resolve symbol for CallableStatement,ResultSet,Connection objects.
can anyone please help me out this?
Thanks
Soujanya -
Hi everybody ,
This time i have a translation problem.
I have my app translated; my primary language es english and i'm translating to spanish.
Everything is correct until i get to the last step which is 'Publish Application' where i get this error message
ORA-20001: Sync error: WWV_FLOW_PAGE_PLUGS.PLUG_NAME ORA-01407: cannot update ("FLOWS_020000"."WWV_FLOW_PAGE_PLUGS"."PLUG_NAME") to NULL
Sync translatation error (step 2 of 2).
Does anyone have an idea what this could be?
or
Does anybody know how to disable the translated app while i find out what the problem is?
Thanks in advance
DanDanilo,
Somewhere in your translation file, you are providing a null value for a region title.
Joel
Maybe you are looking for
-
Hi all, Can ayone plz tell me what trex is?? I searched many of the queries posted regarding this..But stil cant understand it properly, bt i know tat its a search engine like google.. My questions are like this... Is TREX a software to be installe
-
Applications do not appear in Wifes Admin account
My Wife and I both have separate admin accounts on my MacPro. One night, I had accidentally Moved the applications folder from the finder into my Trash. I was able to retrieve them, but to do so, I had to create a new applications folder (or OSX did,
-
Cannot transfer files using Creative Media Sou
I cannot Cannot transfer files using from my PC to my Creative Jukebox 0GB using Creative Media Source. Since I installed Windows Media Player 0, it seems that Windows Media Player 0 is the only program enabled to transfer files to my creative Jukebo
-
Setting Acrobat 7 as my default
I have both Acrobat 5 & Acrobat 7 on my machine. I keep getting 5 as the default in web browsers (safari, firefox, netscape) and when opening .pdf files. How do I force everything over to 7? Note: I have a machine that boots into either OS 9.2 or 10.
-
I have an iphone 4 and so does my daughter ... in my Settings screen i have a Personal Hotspot but she does not! How do we get one on her phone and is there a charge!