Xpath functions in oracle

Hi,
I am migrating procedure from sql server to oracle.
In sql server there is a procedure which taken XML input & after reading XML it insert's data into table.
Can you please help me if there are any web sites which help me to understand all the XPATH functionc in oracle.
PS: I am new to XPATH & SQL Server.
Thanks in advance.

Oracle Version: 11G V2.
XML inupt is very big. first select column (fn:local-name(.)) should pick nodes mqdrop, sqiwcall, tranManIsEnabled ... etc
XML is very big cant paste entire xml input here so pasted a small piece.
<gatewayServiceCalls>
- <mqdrop>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>640743750</startTime>
<endTime>640749216</endTime>
<TotalTime>5466</TotalTime>
<Status>SUCCESS</Status>
<Endpoint>Qmgr=TQ21;SendQ=A4218QA.GATEWAY.APS.REQUEST.CICTPLS6;RcvQ=A4218QA.GATEWAY.GENERIC.RESPONSE;WaitTime=60;ExpiryTime=300</Endpoint>
<Primary_deferred>Primary</Primary_deferred>
- <Response>
- <![CDATA[ <ACORD><InsuranceSvcRs><RqUID>0E1DDB92-DA80-43ED-8126-A35E073491A7</RqUID><SPName>SETWRT</SPName><PersAutoPolicyQuoteInqRs><RqUID>0E1DDB92-DA80-43ED-8126-A35E073491A7</RqUID><TransactionResponseDt>2012-08-21</TransactionResponseDt><com.tvelers_DerivedItems><AgentCd>0CT165</AgentCd><WritingCompanyCd>ASF</WritingCompanyCd><MarketCd>A</MarketCd><NumericStateCd>44</NumericStateCd><EffectiveDt>2012-11-22</EffectiveDt><ExpirationDt>2013-11-22</ExpirationDt><FormCd>203</FormCd><PolicySequenceNumber>1</PolicySequenceNumber><PolicyTerm>12</PolicyTerm><TotalPremiumAmt>2821.00</TotalPremiumAmt><RatingPlan>Q</RatingPlan><ReportingOffice>126</ReportingOffice><AlphaStateCd>VT</AlphaStateCd><ProcessDt>2012-11-22</ProcessDt><TotalPremiumAndTaxAmt>2821.00</TotalPremiumAndTaxAmt><ProgramCd>Q2</ProgramCd><OriginalQuoteDt>2012-08-21</OriginalQuoteDt><CustomerNumber>0006427819104</CustomerNumber><PricingTrack>SDL03</PricingTrack><PrrInsLpseCd>N</PrrInsLpseCd><ServiceOffice>558</ServiceOffice><PremiumInfo><PremiumCd>PIF</PremiumCd><PremiumAmt>2821.00</PremiumAmt></PremiumInfo><TimingData><ServiceName>P2GC0BI</ServiceName><StartTime>2012082110250729-0400</StartTime><EndTime>2012082110251230-0400</EndTime></TimingData><TimingData><ServiceName>IGA1071V-ADD-GW-CUST:</ServiceName><StartTime>2012082110250756-0400</StartTime><EndTime>2012082110250765-0400</EndTime></TimingData><TimingData><ServiceName>IOE1036V-RQST-OUTSIDE-RP</ServiceName><StartTime>2012082110250766-0400</StartTime><EndTime>2012082110250792-0400</EndTime></TimingData><TimingData><ServiceName>IOE1022V-CRDT-REQ-CK</ServiceName><StartTime>2012082110250792-0400</StartTime><EndTime>2012082110250801-0400</EndTime></TimingData><TimingData><ServiceName>XGA1009V-IFS-RSLTS-VIEW</ServiceName><StartTime>2012082110250801-0400</StartTime><EndTime>2012082110251000-0400</EndTime></TimingData><TimingData><ServiceName>IOE1022V-CRDT-REQ-CK</ServiceName><StartTime>2012082110251000-0400</StartTime><EndTime>2012082110251001-0400</EndTime></TimingData><TimingData><ServiceName>IOE1002V-REPORT-VIEW-S</ServiceName><StartTime>2012082110251001-0400</StartTime><EndTime>2012082110251001-0400</EndTime></TimingData><TimingData><ServiceName>IGA1072V-UPDATE-GTW-TOKE</ServiceName><StartTime>2012082110251001-0400</StartTime><EndTime>2012082110251003-0400</EndTime></TimingData><TimingData><ServiceName>CARS-RATE</ServiceName><StartTime>2012082110251021-0400</StartTime><EndTime>2012082110251227-0400</EndTime></TimingData><PLWQ_QueWriteTmstp>2012-08-21-10.25.12.291111</PLWQ_QueWriteTmstp><PolicyProcessingEvent>POST RATING</PolicyProcessingEvent><ThirdPartyReports><CategoryCode>CREDIT</CategoryCode><InstanceId>963577035201432</InstanceId></ThirdPartyReports><AlphaInsuranceScore>ISNH</AlphaInsuranceScore><InsuranceScoreSourceCd>T</InsuranceScoreSourceCd></com.tvelers_DerivedItems><PersPolicy><LOBCd>AUTOP</LOBCd><ContractTerm><EffectiveDt>2012-11-22</EffectiveDt><DurationPeriod><NumUnits>12</NumUnits></DurationPeriod></ContractTerm><QuoteInfo><CompanysQuoteNumber>6705711</CompanysQuoteNumber><com.tvelers_CustomerNumber>0006427819104</com.tvelers_CustomerNumber><com.tvelers_MVRCLUETokenId>0</com.tvelers_MVRCLUETokenId><com.tvelers_CICSRegion>CICTPLS6</com.tvelers_CICSRegion><com.tvelers_IFSTokenId>395836825201432</com.tvelers_IFSTokenId></QuoteInfo></PersPolicy><PersAutoLineBusiness><LOBCd>AUTOP</LOBCd><Coverage><CoverageDesc>Safe Driver Discount</CoverageDesc><CreditOrSurcharge id="CS325202335201432"><CreditSurchargeCd>com.tvelers_SafeDriverAdvantage</CreditSurchargeCd></CreditOrSurcharge></Coverage><Coverage><CoverageDesc>Multi-Car Discount</CoverageDesc><CreditOrSurcharge id="CS722302335201432"><CreditSurchargeCd>MCAR</CreditSurchargeCd></CreditOrSurcharge></Coverage><Coverage><CoverageDesc>Good Payer Discount</CoverageDesc><CreditOrSurcharge id="CS554302335201432"><CreditSurchargeCd>com.tvelers_GP</CreditSurchargeCd></CreditOrSurcharge></Coverage><Coverage><CoverageDesc>Continuous Insurance Discount</CoverageDesc><CreditOrSurcharge id="CS090402335201432"><CreditSurchargeCd>EXINS</CreditSurchargeCd></CreditOrSurcharge></Coverage><Coverage><CoverageDesc>Early Quote Discount</CoverageDesc><CreditOrSurcharge id="CS043402335201432"><CreditSurchargeCd>com.tvelers_EarlyQuoteAdvantage</CreditSurchargeCd></CreditOrSurcharge></Coverage><Coverage><CoverageDesc>New Car Discount</CoverageDesc><CreditOrSurcharge id="CS806402335201432"><CreditSurchargeCd>com.tvelers_NewCarDiscount</CreditSurchargeCd></CreditOrSurcharge></Coverage><PersVeh id="VEH1"><Manufacturer>CHEVR</Manufacturer><Model>MALIBU LS</Model><ModelYear>2009</ModelYear><VehIdentificationNumber>1G1ZG57BX9</VehIdentificationNumber><Coverage><CoverageCd>PD</CoverageCd><CurrentTermAmt><Amt>170.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>UMPD</CoverageCd><CurrentTermAmt><Amt>6.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>BI</CoverageCd><CurrentTermAmt><Amt>349.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>MEDPM</CoverageCd><CurrentTermAmt><Amt>58.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>UNDUM</CoverageCd><CurrentTermAmt><Amt>74.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>COMP</CoverageCd><CurrentTermAmt><Amt>74.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>COLL</CoverageCd><CurrentTermAmt><Amt>356.00</Amt></CurrentTermAmt></Coverage></PersVeh><PersVeh id="VEH2"><Manufacturer>GMC</Manufacturer><Model>SAFARI</Model><ModelYear>1997</ModelYear><VehIdentificationNumber>1GKEL19W3V</VehIdentificationNumber><Coverage><CoverageCd>PD</CoverageCd><CurrentTermAmt><Amt>172.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>UMPD</CoverageCd><CurrentTermAmt><Amt>6.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>BI</CoverageCd><CurrentTermAmt><Amt>325.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>MEDPM</CoverageCd><CurrentTermAmt><Amt>40.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>UNDUM</CoverageCd><CurrentTermAmt><Amt>74.00</Amt></CurrentTermAmt></Coverage></PersVeh><PersVeh id="VEH3"><Manufacturer>MITSU</Manufacturer><Model>LANCER ES</Model><ModelYear>2012</ModelYear><VehIdentificationNumber>JA32U2FU8C</VehIdentificationNumber><Coverage><CoverageCd>PD</CoverageCd><CurrentTermAmt><Amt>222.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>UMPD</CoverageCd><CurrentTermAmt><Amt>6.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>BI</CoverageCd><CurrentTermAmt><Amt>379.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>MEDPM</CoverageCd><CurrentTermAmt><Amt>60.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>UNDUM</CoverageCd><CurrentTermAmt><Amt>74.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>COMP</CoverageCd><CurrentTermAmt><Amt>104.00</Amt></CurrentTermAmt></Coverage><Coverage><CoverageCd>COLL</CoverageCd><CurrentTermAmt><Amt>272.00</Amt></CurrentTermAmt></Coverage></PersVeh></PersAutoLineBusiness><PolicySummaryInfo><FullTermAmt><Amt>2821.00</Amt></FullTermAmt><com.tvelers_PrimaryPremiumCd>PIF</com.tvelers_PrimaryPremiumCd><com.tvelers_TotalDiscountAmt>1314.00</com.tvelers_TotalDiscountAmt></PolicySummaryInfo><MsgStatus><MsgStatusCd>SUCCESS</MsgStatusCd></MsgStatus><RemarkText id="MSG001" IdRef="MSG001"><ProbLog>This risk qualifies for Quantum Auto 2.0.</ProbLog><ProbCode>51986</ProbCode></RemarkText></PersAutoPolicyQuoteInqRs><PersAutoPolicyAddRs><PersPolicy><QuoteInfo><com.tvelers_WritingCompanyName>The Standard Fire Insurance Company               </com.tvelers_WritingCompanyName></QuoteInfo></PersPolicy></PersAutoPolicyAddRs></InsuranceSvcRs></ACORD>
  ]]>
</Response>
<TotalMQSendTime>5</TotalMQSendTime>
<TotalMQReceTime>5459</TotalMQReceTime>
</mqdrop>
- <autoRegistration>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://theacaw1.dev.prod.tvp.net:21071/authorizedconnectionservices.asmx</Endpoint>
<Primary_deferred />
<Response>false</Response>
</autoRegistration>
- <absEmail>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>10.42.72.10</Endpoint>
<Primary_deferred />
</absEmail>
- <msb>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://theadaw1.dev.prod.tvp.net:20206/RequestMsbWebService.asmx</Endpoint>
<Primary_deferred />
<ReplacedCoverageA />
<ReplacementCost />
</msb>
- <wsRouter>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://uat5jas-strat.dvllb.tvp.net/RouterWS/services/RouterWS</Endpoint>
<Primary_deferred />
<RouterCallType>CACHED</RouterCallType>
</wsRouter>
- <javacapsCall>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://system1piservices.prodlb.tvp.net/plGatewayAuto/ExecutePortType</Endpoint>
<Primary_deferred />
</javacapsCall>
- <rtccCall>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://sys1-strat-bs.dvllb.tvp.net/BillingWS/services/BillingWS</Endpoint>
<Primary_deferred />
<Response />
<BrokerTransactionID />
<BrokerName />
<InternalTransactionID />
</rtccCall>
- <tranManLogRequest>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>640743721</startTime>
<endTime>640743721</endTime>
<TotalTime>0</TotalTime>
<Status>SUCCESS</Status>
<Endpoint>Server=PLEXTRN-ST.prodlb.tvp.net,40010;Database=PLGatewayproject2;</Endpoint>
<Primary_deferred>Deferred</Primary_deferred>
</tranManLogRequest>
- <tranManIsEnabled>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>640743723</startTime>
<endTime>640743723</endTime>
<TotalTime>0</TotalTime>
<Status>SUCCESS</Status>
<Endpoint>Server=PLEXTRN-ST.prodlb.tvp.net,40010;Database=PLGatewayproject2;</Endpoint>
<Primary_deferred>Primary</Primary_deferred>
<FromCache>1</FromCache>
</tranManIsEnabled>
- <vpals>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://system1piservices.prodlb.tvp.net/VPALSService/services/VPALSService</Endpoint>
<Primary_deferred />
</vpals>
- <bridgeCleaning>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint />
<Primary_deferred />
</bridgeCleaning>
- <XMLValidation>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>640743743</startTime>
<endTime>640743749</endTime>
<TotalTime>6</TotalTime>
<Status>SUCCESS</Status>
<Endpoint />
<Primary_deferred>Primary</Primary_deferred>
</XMLValidation>
- <coveragePackages>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint />
<Primary_deferred />
</coveragePackages>
- <sqiwcall>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>640752535</startTime>
<endTime>640752539</endTime>
<TotalTime>4</TotalTime>
<Status>SUCCESS</Status>
<Endpoint>Qmgr=TQ21;SendQ=A4218QA.GATEWAY.QUOTE.TO.QIW;RcvQ=A4218QA.GATEWAY.QUOTE.TO.QIW;WaitTime=60;ExpiryTime=300</Endpoint>
<Primary_deferred>Deferred</Primary_deferred>
- <SqiwXML>
- <![CDATA[ <c6770gwy-gwy-mq-rcd><gwy-h-timestamp><gwy-h-date>2012-08-21</gwy-h-date><gwy-h-time>10:25:15.4774262</gwy-h-time></gwy-h-timestamp><gwy-h-lob>AUTO</gwy-h-lob><gwy-h-origination-code>GA</gwy-h-origination-code><hdr-filler></hdr-filler><bus-cntr-cust-num-nme>0006427819104</bus-cntr-cust-num-nme><account-pol></account-pol><form-pol>101</form-pol><seq-pol>1</seq-pol><vehst-alpha-pol>VT</vehst-alpha-pol><control-agent-pol>0CT165</control-agent-pol><source-partner-nm>com.amsrackley</source-partner-nm><quote-origin>CallCenter</quote-origin><package-id></package-id><package-name></package-name><signon-role-cd>RFQ1</signon-role-cd><PLWQ_QueWriteTmstp>2012-08-21-10.25.12.291111</PLWQ_QueWriteTmstp><user-id></user-id><session-id>6705711</session-id><request-id>0e1ddb92-da80-43ed-8126-a35e073491a7</request-id><iscr-token-id>395836825201432</iscr-token-id><mvr-token-id>0</mvr-token-id><converse-user-id>aeb182a3-72c2-4711-bc67-432ddbb1104d</converse-user-id><consent-to-ordr-ind>1</consent-to-ordr-ind><incident-usage-cd></incident-usage-cd><prr-pol-exp-dt>2012-11-22</prr-pol-exp-dt><call-flow-type></call-flow-type><email-addr></email-addr><machine-id></machine-id><channel-id></channel-id><monthly-premium></monthly-premium><fltr-ind></fltr-ind><decn-act-cd></decn-act-cd><trm-eff-dt>2012-11-22</trm-eff-dt><data-filler></data-filler></c6770gwy-gwy-mq-rcd>
  ]]>
</SqiwXML>
- <DoubleRateSqiwXML>
- <![CDATA[
  ]]>
</DoubleRateSqiwXML>
</sqiwcall>
- <efullpackagecatalog>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://systempiw.prodlb.tvp.net/Efulfillment/EfulfillmentServices</Endpoint>
<Primary_deferred />
<autoIDCardInd />
<eSignInd />
<Code />
<Desc />
<CallingApp />
<SPName />
<FromCache />
</efullpackagecatalog>
- <efullprocess>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://systempiw.prodlb.tvp.net/Efulfillment/EfulfillmentServices</Endpoint>
<Primary_deferred />
<Code />
<Desc />
<AgentCd />
<FormCode />
</efullprocess>
- <garageTransform>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>640743737</startTime>
<endTime>640743743</endTime>
<TotalTime>6</TotalTime>
<Status>SUCCESS</Status>
<Endpoint />
<Primary_deferred>Primary</Primary_deferred>
</garageTransform>
- <CRDBaddProspect>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://theadaw1.dev.prod.tvp.net:21071/crdbservices.asmx</Endpoint>
<Primary_deferred />
</CRDBaddProspect>
- <CVDBimportQuote>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://theadaw1.dev.prod.tvp.net:20204/ContactViewServices.asmx</Endpoint>
<Primary_deferred />
<AccountCode />
<UserId />
</CVDBimportQuote>
- <Milsubmitter>
- <ErrorInfo>
- <![CDATA[
  ]]>
</ErrorInfo>
<startTime>0</startTime>
<endTime>0</endTime>
<TotalTime>0</TotalTime>
<Status />
<Endpoint>http://systemsiw.prodlb.tvp.net/MILSubmitterWeb/services/InteractionSubmitter</Endpoint>
<Primary_deferred />
</Milsubmitter>
- <VRUCommonUtil>

Similar Messages

  • Bpel Server Does Not Catch Exceptions Thrown By Custom Xpath Functions

    Hi.
    I am using some custom xpath functions in a bpel process and whenever they fail I get an XPathExecutionError with summary:
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "<my function>", the reason is FOTY0001: type error.
    Please verify the xpath query.
    I am forcing my function to fail by giving a wrong input, which should result in an XPathFunctionException("Input does not respect format").
    There is a note on Metalink with ID 458434.1 on this subject which says that patch 5926809 should fix my problem.
    Patch 5926809 fixes Bug 5926809 - ORA:PARSEESCAPEDXML XPATH EXPRESSION FAILED TO EXECUTE FOTY0001: TYPE ERROR.
    I am using it, but it does not work :(
    I am using version 10.1.3.3.0 of App Server with various patch sets, including fix for bug 5926809.
    Has anyone suggestions on how to overcome this problem?
    Thanks

    Hello,
    I am trying to add a custom xpath function to the BPEL server, and I see that you made it work. I am using Oracle SOA Suite 10.1.3.3 and jDeveloper 10.1.3.4. I am using this function inside an xsl mapping file, although I am able to compile and deploy the Bpel Process to the server, it stops mapping where I placed the function and I have not seen any meaningful message from the domain/log/ files.
    Can you tell me how you did it?
    I think you will tell me faster than Oracle support, I already placed an SR but they just give me superficial advice.
    I appretiate your time and advice,
    Guillermo

  • Issue with AIA XPath Functions while compiling in JDeveloper 11.1.1.2.0

    Hi,
    BPEL flow contains Assign activity as below :
    <assign name="Assign_1"><copy><from expression='aia.getServiceProperty("{http://xmlns.oracle.com/ABCSImpl/SAP/Core/UpdateItemListSAPReqABCSImpl/V1}UpdateItemListSAPReqABCSImpl","Default.SystemID",true())'/>
    <to variable="temp"/></copy> </assign>
    When I try to compile this flow, it gives me below errors :
    SOALog:
    Buildfile: D:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml
    scac:
    [scac] Validating composite : 'D:\test\TestAIAFunc\composite.xml'
    [scac] FATAL_ERROR: in TestAIABPELProcess.bpel(81): unresolved xpath function
    [scac] could not resolve xpath function "aia.getServiceProperty", because function "aia.getServiceProperty" not registered.
    [scac] Make sure this function is either in the system xpath function configuration file or in the custom xpath function configuration file. Refer to the user guide regarding how to register xpath functions in your compiler environment.
    BUILD FAILED
    D:\Oracle\Middleware\jdeveloper\bin\ant-sca-compile.xml:264: Java returned: 1 Check log file : D:\test\TestAIAFunc\SCA-INF\classes\scac.log for errors
    Total time: 9 seconds
    CompilerLog:
    Project: D:\test\TestAIAFunc\TestAIAFunc.jpr
    D:\test\TestAIAFunc\TestAIABPELProcess.bpel
    Error(81): unresolved xpath function
    could not resolve xpath function "aia.getServiceProperty", because function "aia.getServiceProperty" not registered.
    Make sure this function is either in the system xpath function configuration file or in the custom xpath function configuration file. Refer to the user guide regarding how to register xpath functions in your compiler environment.
    I got latest aia.jar from server(SOA11.1.1.2, weblogic 10.3.2, AIA11gR1) and added aia.jar @ JDeveloper 11.1.1.2--> Tools--> Preferences--> SOA
    I also added it in jdeveloper/lib, jdeveloper/jdev/lib
    aia namespace is there in .bpel as : xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions"
    Thanks,
    Hema

    You have to include the aia.jar file. I had same issue .. I had aia.jar included in the project but the file was not ther ein the path . so i updated the correct path .. it worked

  • XPath function failed in XSLT (OSB 10.3.1)

    Platform : OSB 10.3.1 in Windows XP
    Error : Test following XSLT scripts in OSB Console by getting error
    Error executing the XSLT transformation: java.lang.NoSuchMethodException: For extension function, could not find method weblogic.apache.xpath.axes.WalkingIteratorSorted.upper-case([ExpressionContext,] ).
    XSLT :
    <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:fn="http://www.w3.org/2004/07/xpath-functions"
         xmlns:imp1="http://www.example.org/FaultMessage">
    <xsl:template match="/">
              <imp1:FaultMessage>
                   <imp1:code>
                        <xsl:text disable-output-escaping="no">Hard-Coding-Error-Code</xsl:text>
                   </imp1:code>
                   <imp1:summary>
                        <xsl:value-of select="/imp1:FaultMessage/imp1:summary" />
                   </imp1:summary>
                   <imp1:detail>
                   <xsl:value-of select="fn:upper-case(/imp1:FaultMessage/imp1:detail)" />
    </imp1:detail>
         </imp1:FaultMessage>
    </xsl:template>
    </xsl:stylesheet>
    Any ideas?
    Thank you
    -Simon
    Edited by: user10981433 on Jun 11, 2009 9:05 PM

    exporting and importing your osb projects to the new environment won't migrate the webservice you were calling from within the Oracle Service Bus.
    if these were created in Eclipse too you can just regenerate an ear-file from them or use the build-scripts to deploy them to you new Weblogic Server.
    don't mix up 2 things
    the osb is only intermediar in here, so you can export/impot the resources from your osb workspace for these.
    but if your process call any external webservice, the webservice itself will also need to get redeployed to the new enviroment, and this is something which has nothing to do with your osb projects.
    it could be these webservice are also build in Eclipse, but they won't be part of the export/import of OSB.
    so check if you have some build.xml script in these webservice projects so you can regenerate the ear archive, or try importing the project in your workspace (if not already done) and rightmouseclick on it > export > ear file
    and use this ear file to deploy the webservice again in the Weblogic Console ( see : http://docs.oracle.com/cd/E13218_01/wlp/docs81/prodOps/deployment.html )

  • Ora:processXSLT xpath function and absolute paths

    It looks like ora:processXSLT xpath function does not honor absolute paths when specifying the location of the xslt to use in the first parameter. For example, if I call it like this:
    <copy>
    <from expression="ora:processXSLT('/u01/transforms/mytransform.xsl',bpws:getVariableData('xslInput','payload'))"/>
    <to variable="xslOutput"/>
    </copy>
    I get the following error in the bpel logs:
    Error while processing xpath expression, the expression is "ora:processXSLT('/u01/transforms/mytransform.xsl', bpws:getVariableData("xslInput", "payload"))", the reason is javax.xml.transform.TransformerException: java.io.FileNotFoundException: /u01/oracle/bpel/integration/orabpel/domains/test/tmp/.bpel_transformTest_1.0.jar/u01/transforms/mytransform.xsl (No such file or directory).
    Please verify the xpath query.
    It is assuming that the xsl will be relative to the bpel suitcase and just appending the supplied path to the relative path for the bpel process. Why would I want to do this? Well, I have hundreds of these maps and I want to be able to select one at runtime. I'm also adding new ones every day and I don't want to have to redeploy the process that uses them each time I add a new map. Is there any way to force this process to recognize the absolute path? I can work around it for now by using a bunch of ../../../../ stuff but that's a kludge and I'd like to find a better way to do it.
    I get the same error with xdk:processXSLT.
    Any suggestions?
    Thanks!
    Sean

    Hi Sean,
    Did you try to the file path with the file:// prefix and not just the path?
    ~ronen

  • Xref:populateXRefRow xpath function.

    Hi All,
    I am facing an issue with xref:populateXRefRow xpath function.
    Requirement:
    To populate the value obtained from Siebel & an autogenerated common value into cross reference table.
    Steps Performed:
    1.Cross reference table (addressed_sbl_ucm) created in xreftool shell.
    2.Run a SQL script on SQLPLUS to create XREF_DATA table in SQL.
    3.In ASSIGN activity, written the below code and assigned it to a string variable.
    xref:populateXRefRow(
    'ADDRESSID_SBL_UCM',
    'SBL_ADDID',
    string(bpws:getVariableData('inputVariable','payload','/ns1:UCMContactExtrnIO/ns1:Contact_INSPersonalAddress/ns1:INSPersonalAddressId')),
    'COMMON_ADDRESSID',
    ora:generateGUID(),
    'ADD')
    4.Deployed the process on server.
    5.Instantiated the process on the BPEL console.
    While instantiating the process on the console we are getting the error shown below:
    Your test request was processed synchronously. It took 63.0milliseconds to finish and generated the following output:
    Value:     
    <Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>env:Server</faultcode>
    <faultstring>ORABPEL-09500 XPath expression failed to execute. Error while processing xpath expression, the expression is "xref:populateXRefRow('ADDRESSID_SBL_UCM','SBL_ADDID',
    string(bpws:getVariableData('inputVariable','payload','/ns1:UCMContactExtrnIO/ns1:Contact_INSPersonalAddress/ns1:INSPersonalAddressId')),
    'COMMON_ADDRESSID',ora:generateGUID(),
    'ADD')",
    the reason is FOTY0001: type error.
    Please verify the xpath query.
    </faultstring>
    </Fault>
    Any pointers to this will be of great help.
    Thanks & Regards,
    Shanty
    P.S. : If possible please provide me link to the documentation & tutorials on cross reference table.

    According to the docs:
    http://download.oracle.com/docs/cd/E11036_01/doc.1013/e10295/esb_xref.htm
    This function is available in Oracle ESB? Are you using that or are you using BPEL? If you are using Oracle AIA, this function is available in BPEL.
    Regards,
    Marc
    http://orasoa.blogspot.com

  • Ebi:getConvertedDateWithTZ   XPATH function in AIA 11g?

    Hi all,
    There was an XPATH function available with PIP module to convert the datetime into a particular format.
    xmlns:ebi="http://www.oracle.com/XSL/Transform/java/oracle.apps.ebi.core.xpath.EBIXPathFunctions" ebi:getConvertedDateWithTZ .
    Can anybody point me which jar contains the 'oracle.apps.ebi.core.xpath.EBIXPathFunctions' class? Is this jar available with AIA 11g?
    Rgds.

    I understand your reply and we are already doing that.
    the osb installation is common across the domains .but i need these custom xpath function reflected only for my domain.
    so my query is "whether we can set/overwrite any -D property at server startup or any server/domain level settings rather than updating the installation path?"
    I am just trying to understand whether we can avoid conflicts with multiple domains sharing the same installation.

  • Xpath difference between Oracle 10g and Oracle 11g

    All,
    I'm working on moving our existing stored functions from Oracle 10g (10.2.0.4.0) to Oracle 11g (11.2.0.1.0) and so far, everything has worked just fine on Oracle 11g...execpt for one xpath statement.
    The statement below works fine in Oracle 10g (10.2.0.4.0):
    extractValue(inv_dtl_img, '/service//ground/sortKeyCode') AS "srt_key_cd",
    Please note: I need to use the double slash "//" in order to ignore the two different elements in the schema.
    However, in Oracle 11g (11.2.0.1.0), when this statement is executed in the stored function, I get this:
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected - got -
    The extractValue command is pulling data out of an XMLType column, and the corresponding XML schema looks like:
    <service>
    <trans>
    <ground>
    <sortKeyCode>
    </sortKeyCode>
    </ground>
    </trans>
    <nontrans>
    <ground minOccurs=0>
    <sortKeyCode>
    </sortKeyCode>
    </ground>
    </nontrans>
    </service>
    Please note: In the XML message, the "trans" and "nontrans" elements are exclusive, so both will never be populated at the same time. A typical XML message would look like this:
    <service><trans><ground><sortKeyCode>3</sortKeyCode></ground></trans></service>
    or this:
    <service><nontrans><ground><sortKeyCode>5</sortKeyCode></ground></nontrans></service>
    In the schema, the sortKeyCode has been defined in both places as "string maxlen=3", so the datatype of that element is exactly the same in both the "trans" and "nontrans" sections of the schema. The only difference in the schema (outside of the trans and nontrans tags) is the fact that the second "ground" tag is defined with a "minOccurs=0". Could Oracle 11g be treating the schema differently than Oracle 10g, resulting in the error?
    Any thoughts would be appreciated.

    The only way to get an quick answer to that one is to file a service request with Oracle support. It could be a bug or a correct change regarding W3C behavior. Despite this, you moving to 11.2, the extract/extractvalue etc propriety Oracle solutions are deprecated from 11.2 and onwards. The more sensible way to move forward, although, I know more work intensive, is to apply the XQuery alternatives like xmlexist, xquery or xmltable functions.
    Moving to EXTRACT is a bad idea, because this alway will be treated as an XML fragment. If you unlucky then Oracle will deal with this in memory via DOM (the standard solution regarding XML parsing if every smart thing within Oracle can not be applied) and this will result in a performance downgrade due to high CPU and Memory consumption/overhead...
    Your pick...

  • Error using custom xpath function with XSL transformations in BPM

    Hi,
    We have created a custom xpath function for use with SOA Suite and BPM. This has been built as per specified within the http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_appx_functs.htm#SOASE11100. We have also reviewed the Oracle Sample for mapper-107-ExtensionFunctions (sample demonstrates the use of user-defined extension functions). This has been registered with jDeveloper and SOA within the oracle.soa.ext_11.1.1 (run ant to include in oracle.soa.ext.jar)
    We ideally want to use this is BPM within an xsl. However when consuming this function is either BPEL or BPM using an xsl, the xsl fails with an error such as:
    XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/gwCustomXpathUtil_rev1.0/xsl/Transformation_1.xsl<Line 9, Column 113>: XML-22043: (Error) Extension function error: Method not found 'getWeekDayDate'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    In an Assign it operates fine and returns the expected result. We have included a combination of both of the Config files (ext-mapper-xpath-functions-config.xml and ext-soa-xpath-functions-config.xml) in the META-INF folder, however neither allow the use of this function in the XSL.
    I believe there may be an issue getting the custom xpath functions within XSL files. Hence I have also raised an SR. Has anyone experiences of this?
    Our SOA / BPM suite environment is using 11.1.1.6.4 and has the following patches applied:
    13801175
    14406487 (11.1.1.6.4 SOA Bundle)
    13896993
    13088538
    Regards Dave
    Edited by: DavidGaskell on Mar 14, 2013 10:08 PM

    Hi All,
    I am also facing the same issue...Experts can you please help us.
    hi DavidGaskell, did you find any resolution, if so can you share it with me.....
    Thanks,
    RR

  • Custom xpath function

    i am creating custom xpath function in jdeveloper(10g).i hav followed every step given in http://prsync.com/oracle/custom-xpath-function-in-bpel--7718.even after configuring jdeveloper,the custom function is nt there in the list of functions.also if anyone can explain the functionality of the mapping(what each element is doing) given in PreBuiltExtensionFunctions.xml file.thanx.
    .

    When I remove entry from $ORACLE_HOME/bpel/system/config/xpath-functions.xml . (
    <function id="getTimeDifference" arity="2">
    <classname>ajr.TimeDifference</classname>
    <comment>
    <![CDATA[The signature of this function is <i>ajr:getTimeDifference(time1, time2)</i>.
          The arguments to the function:
          <ol type="1">
              <li>time1 - String or element containing the datetime of the start of the interval</li>
              <li>time2 - String or element containing the datetime of the end of the interval</li>
          </ol>
          Returns: an XML duration formatted string]]>
    </comment>
    <property id="namespace-uri">
    <value>http://ajr/utilities/xpath</value>
    <comment>Namespace URI for this function</comment>
    </property>
    <property id="namespace-prefix">
    <value>ajr</value>
    <comment>Namespace prefix for this function</comment>
    </property>
    </function>)
    Everything works fine!
    Deploying to http://localhost:8888 domain: default. Please wait....
    [10:37:58 AM] Please check Ant log to determine whether the project deployed successfully.

  • ODSI service using function from oracle database

    Hi ,
    I need to create a ODSI service using function from oracle database.
    I am not sure how to create a Physical Layer and Logical Layer using the function fron db.
    Kindly provide a sample . I need It ASAP. Thanks in advance.
    Regards,
    Tara

    Here's what you do.
    Create New Physical Data Service -> Relational -> MyDataSource -> Table -> SomeTable ... finish the wizard.
    So now you have a Physical Data Service that represents a database table.
    Create New Physcial Data Service -> Relational -> MyDataSource (the same one as above) -> Database Function -> Enter UPPER for the Function name, enter MyUpper fro the XQuery Function. Finish the Wizard (use something like MyUpperDs for the ds name).
    Open MyUpperDs. Right-click -> Edit Signature on MyUpper. Change the ReturnType to string, change the Occurrence to Zero or One.
    Add a parameter, change the Type to string, change the Occurrence to Zero or One.
    Save.
    Now, open the first ds you made SomeTable.ds (whatever). Run it in the test view.
    Go to the Overview tab. Create New Operation. Give it the name SOMETABLE_UPPER. Save it.
    Go to the Query Map tab, open SOMETABLE_UPPER. Drag and drop SOMETABLE (the system-generated function into the mapper. It will show a dotted line from SOMETABLE to the Return. Now drag-and-drop the SOMETABLE to the top-level element of the return type, it will show solid lines from each element in SOMETABLE to each element in the return type.
    Now, drag-and-drop MyUpperDs.MyUpper into the Query Mapper. Edit the source, find where it added the line "for $x in myd:MyUpper()" and delete that line.
    Change a line that simply returns a value to use your function, for example, change
    <FIRST_NAME>{fn:data($CUSTOMER/FIRST_NAME)}</FIRST_NAME>
    to
    <FIRST_NAME>{myd:MyUpper(fn:data($CUSTOMER/FIRST_NAME))}</FIRST_NAME>
    Click on the Plan tab and Show Query Plan. You will see that in the query plan, it is using the database UPPER function where you specified MyUpper.
    Go to the Test View and run it.
    I used the RTLCUSTOMER table in cgDataSource
    xquery version "1.0" encoding "UTF-8";
    (::pragma xds <x:xds xmlns:x="urn:annotations.ld.bea.com" targetType="t:CUSTOMER" xmlns:t="ld:physical/CUSTOMER">
    <creationDate>2010-10-14T13:09:54</creationDate>
    <relationalDB name="cgDataSource" providerId="Pointbase"/>
    <field xpath="CUSTOMER_ID" type="xs:string">
    <extension nativeXpath="CUSTOMER_ID" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="32" nativeFractionalDigits="0" nativeKey="true"/>
    <properties nullable="false"/>
    </field>
    <field xpath="FIRST_NAME" type="xs:string">
    <extension nativeXpath="FIRST_NAME" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="64" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="LAST_NAME" type="xs:string">
    <extension nativeXpath="LAST_NAME" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="64" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="CUSTOMER_SINCE" type="xs:date">
    <extension nativeXpath="CUSTOMER_SINCE" nativeTypeCode="91" nativeType="DATE" nativeSize="10" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="EMAIL_ADDRESS" type="xs:string">
    <extension nativeXpath="EMAIL_ADDRESS" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="32" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="TELEPHONE_NUMBER" type="xs:string">
    <extension nativeXpath="TELEPHONE_NUMBER" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="32" nativeFractionalDigits="0"/>
    <properties nullable="false"/>
    </field>
    <field xpath="SSN" type="xs:string">
    <extension nativeXpath="SSN" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="16" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="BIRTH_DAY" type="xs:date">
    <extension nativeXpath="BIRTH_DAY" nativeTypeCode="91" nativeType="DATE" nativeSize="10" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="DEFAULT_SHIP_METHOD" type="xs:string">
    <extension nativeXpath="DEFAULT_SHIP_METHOD" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="16" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="EMAIL_NOTIFICATION" type="xs:short">
    <extension nativeXpath="EMAIL_NOTIFICATION" nativeTypeCode="5" nativeType="SMALLINT" nativeSize="5" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="NEWS_LETTTER" type="xs:short">
    <extension nativeXpath="NEWS_LETTTER" nativeTypeCode="5" nativeType="SMALLINT" nativeSize="5" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="ONLINE_STATEMENT" type="xs:short">
    <extension nativeXpath="ONLINE_STATEMENT" nativeTypeCode="5" nativeType="SMALLINT" nativeSize="5" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <field xpath="LOGIN_ID" type="xs:string">
    <extension nativeXpath="LOGIN_ID" nativeTypeCode="12" nativeType="VARCHAR" nativeSize="50" nativeFractionalDigits="0"/>
    <properties nullable="true"/>
    </field>
    <key name="CUSTOMER_0_SYSTEMNAMEDCONSTRAINT__PRIMARYKEY" type="cus:CUSTOMER_KEY" inferredSchema="true" xmlns:cus="ld:physical/CUSTOMER"/>
    </x:xds>::)
    declare namespace myd= "ld:physical/MyDs";
    declare namespace f1 = "ld:physical/CUSTOMER";
    import schema namespace t1 = "ld:physical/CUSTOMER" at "ld:physical/schemas/CUSTOMER.xsd";
    import schema "ld:physical/CUSTOMER" at "ld:physical/schemas/CUSTOMER_KEY.xsd";
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="read" isPrimary="false" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare function f1:CUSTOMER() as schema-element(t1:CUSTOMER)* external;
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="create" isPrimary="true" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare procedure f1:createCUSTOMER($p as element(t1:CUSTOMER)*)as schema-element(t1:CUSTOMER_KEY)* external;
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="update" isPrimary="true" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare procedure f1:updateCUSTOMER($p as changed-element(t1:CUSTOMER)*) as empty() external;
    (::pragma function <f:function xmlns:f="urn:annotations.ld.bea.com" visibility="public" kind="delete" isPrimary="true" nativeName="CUSTOMER" nativeLevel2Container="RTLCUSTOMER" style="table">
    <nonCacheable/> </f:function>::)
    declare procedure f1:deleteCUSTOMER($p as element(t1:CUSTOMER)*) as empty() external;
    (::pragma function <f:function kind="read" visibility="public" isPrimary="false" xmlns:f="urn:annotations.ld.bea.com"/>::)
    declare function f1:CUSTOMER_UPPER() as element(f1:CUSTOMER)*{
    for $CUSTOMER in f1:CUSTOMER()
    return
    <t1:CUSTOMER>
    <CUSTOMER_ID>{fn:data($CUSTOMER/CUSTOMER_ID)}</CUSTOMER_ID>
    <FIRST_NAME>{myd:MyUpper(fn:data($CUSTOMER/FIRST_NAME))}</FIRST_NAME>
    <LAST_NAME>{fn:data($CUSTOMER/LAST_NAME)}</LAST_NAME>
    <CUSTOMER_SINCE>{fn:data($CUSTOMER/CUSTOMER_SINCE)}</CUSTOMER_SINCE>
    <EMAIL_ADDRESS>{fn:data($CUSTOMER/EMAIL_ADDRESS)}</EMAIL_ADDRESS>
    <TELEPHONE_NUMBER>{fn:data($CUSTOMER/TELEPHONE_NUMBER)}</TELEPHONE_NUMBER>
    <SSN?>{fn:data($CUSTOMER/SSN)}</SSN>
    <BIRTH_DAY?>{fn:data($CUSTOMER/BIRTH_DAY)}</BIRTH_DAY>
    <DEFAULT_SHIP_METHOD?>{fn:data($CUSTOMER/DEFAULT_SHIP_METHOD)}</DEFAULT_SHIP_METHOD>
    <EMAIL_NOTIFICATION?>{fn:data($CUSTOMER/EMAIL_NOTIFICATION)}</EMAIL_NOTIFICATION>
    <NEWS_LETTTER?>{fn:data($CUSTOMER/NEWS_LETTTER)}</NEWS_LETTTER>
    <ONLINE_STATEMENT?>{fn:data($CUSTOMER/ONLINE_STATEMENT)}</ONLINE_STATEMENT>
    <LOGIN_ID?>{fn:data($CUSTOMER/LOGIN_ID)}</LOGIN_ID>
    </t1:CUSTOMER>
    xquery version "1.0" encoding "UTF-8";
    (::pragma xfl <x:xfl xmlns:x="urn:annotations.ld.bea.com">
    <creationDate>2010-10-14T13:10:45</creationDate>
    <customNativeFunctions>
    <relational>
    <dataSource>cgDataSource</dataSource>
    </relational>
    </customNativeFunctions>
    </x:xfl>::)
    declare namespace f1 = "ld:physical/MyDs";
    (::pragma function <f:function visibility="protected" kind="library" isPrimary="false" nativeName="UPPER" xmlns:f="urn:annotations.ld.bea.com">
    <nonCacheable/>
    </f:function>::)
    declare function f1:MyUpper($arg0 as xs:string?) as xs:string? external;
    <cus:CUSTOMER xmlns:cus="ld:physical/CUSTOMER">
    <CUSTOMER_ID>CUSTOMER1</CUSTOMER_ID>
    <FIRST_NAME>JACK</FIRST_NAME>
    <LAST_NAME>Black</LAST_NAME>
    <CUSTOMER_SINCE>2001-10-01</CUSTOMER_SINCE>
    <EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
    <TELEPHONE_NUMBER>2145134119</TELEPHONE_NUMBER>
    <SSN>295-13-4119</SSN>
    <BIRTH_DAY>1970-01-01</BIRTH_DAY>
    <DEFAULT_SHIP_METHOD>AIR</DEFAULT_SHIP_METHOD>
    <EMAIL_NOTIFICATION>1</EMAIL_NOTIFICATION>
    <NEWS_LETTTER>0</NEWS_LETTTER>
    <ONLINE_STATEMENT>1</ONLINE_STATEMENT>
    </cus:CUSTOMER>
    .

  • Xpath function and XSLT reusability in OSB

    Hi Experts,
    I have xslt which using custome xpath functions and working fine in bpel layer.Can I reuse the same jar,xslt and with some configuration(http://eelzinga.wordpress.com/2010/05/10/oracle-service-bus-11g-using-custom-xpath-functions/) in the OSB layer? its urgent,please respond asap.
    Thanx in advance.-Aswini

    I would think so... after all custom XPath is just Java static functions called from OSB... as long as you stick to the guidelines for method signature exposed here http://docs.oracle.com/cd/E21764_01/doc.1111/e15866/custom_xpath.htm#CBAFHDIJ you should be fine

  • XPath functions NOT working when the SQLType is CLOB !!

    HI All,
    We have declared a ComplexType Element as CLOB as it will cotain huge Files as part of it's Text Node.
    And now when we execute the XPath+SQL Queries on the Table (which is created on the registered schema) the XPath functions cotains() and translate() no longer working !!!
    Pls let me know is there an approach to overcome this ?
    Do i need to use Oracle Text ??
    Regards
    Sateesh

    One of the parameters in the htmldb_get is the page the process runs on. You should change that to the current page or make page 0 public as well.

  • OSB: class not found in custom xpath function

    Hi,
    This week I was struggling with custom xpath functions in OSB. First I created a jar file that contained the class and the complete functionality including logging. It contains a class that does a DVM Lookup from the database. As a standalone function, called from JUnit test cases it functions perfectly. I use Apache commons logging with the libraries from the Weblogic installation.
    But when I put this OSB Util Services jar in the osb-home/config/xpath-function, it turns out that somehow the Weblogic Console gets a conflict with the commons-logging libraries. So I deployed it just as an application library in weblogic console, to solve this breakage.
    Then I created a simple separate class that only calls the method in the deployed library. I packaged that as a custom-osb-functions.jar for the osb-home/config/xpath-function. I managed to get if visible in OEPE. But when I test the xquery transformation resource on the server, I get:
    Error executing the XQuery transformation: {http://www.bea.com/wli/common/xquery}XQueryException: Error invoking custom xquery java function: java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.wli.sb.stages.functions.XQueryExternalFunction.execute(XQueryExternalFunction.java:111)
    at com.bea.wli.sb.stages.functions.XQueryExternalFunction.init(XQueryExternalFunction.java:61)
    at weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:169)
    at weblogic.xml.query.runtime.typing.SeqTypeMatching.open(SeqTypeMatching.java:129)
    at weblogic.xml.query.iterators.FirstOrderIterator.open(FirstOrderIterator.java:167)
    at weblogic.xml.query.runtime.core.ExecutionWrapper.open(ExecutionWrapper.java:58)
    at com.bea.wli.common.xquery.iterators.XQueryVariableMapper.getObjects(XQueryVariableMapper.java:459)
    at com.bea.wli.common.xquery.iterators.XQueryVariableMapper.getObjects(XQueryVariableMapper.java:447)
    at com.bea.wli.sb.test.transform.XQueryProcessor.invoke(XQueryProcessor.java:165)
    at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
    at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.__WL_invoke(Unknown Source)
    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(Unknown Source)
    at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:522)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:252)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused by: java.lang.NoClassDefFoundError: nl/darwin-it/osb/dvm/DomainValueMap
    at nl.darwin-it.osb.xpath.DomainValueMapLookup.lookupDVM(DomainValueMapLookup.java:35)
    ... 28 more
    Caused by: java.lang.ClassNotFoundException: nl.darwin-it.osb.dvm.DomainValueMap
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
    ... 29 more
    Can any one explain to me how I can get the OSB Util Services jar library in the same classpath as the custom-xpath-functions jar, without having it put along the custom-xpath-functions jar in the osb-home/config/xpath-functions folder (since that somehow breaks the weblogic console)?
    How does the OSB classpath/classloading mechanisms work in this?
    Thanks in advance,
    Regards,
    Martien

    I am running the plugin registration utility but it generates the error mentioned below. I have verified the structure of my zip file and the structure of zip file is:
    -> SelfRegisterUserCustomValidator.zip
    ->Plugin.xml
    ->/lib/SelfRegisterUserCustomValidator.jar
    ->/resources/
    Following our contents of plugin.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins>
    <plugins pluginpoint="oracle.iam.request.plugins.RequestDataValidator">
    <plugin pluginclass= "com.infotech.tra.CustomValidator.SelfRegisterUserCustomValidator" version="1.0.0" name="SelfRegisterUserCustomValidator">
    </plugin>
    </plugins>
    </oimplugins>
    Following is the error being generated:
    Enter name (complete file name with path) of the plugin file:
    /u01/oracle/Middleware/Oracle_IDM1/server/plugin_utility/SelfRegisterUserCustomValidator.zip
    [java] Java Result: 1
    [echo] Exception in thread "main" java.lang.NoClassDefFoundError: oracle/iam/platformservice/utils/PluginUtility
    [echo] Caused by: java.lang.ClassNotFoundException: oracle.iam.platformservice.utils.PluginUtility
    [echo] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [echo] at java.security.AccessController.doPrivileged(Native Method)
    [echo] at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [echo] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [echo] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [echo] Could not find the main class: oracle.iam.platformservice.utils.PluginUtility. Program will exit.

  • XPath function namespace-uri in Mediator raises ORAMED-01004

    Hi,
    In a mediator component (SOA Suite 11g) I try to use some XPath functions.
    "name" and "local-name" do just fine, but when I try to use "namespace-uri" I always get an ORAMED-01004 error.
    Like this:
    oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01004:[Multiple source nodes]Source expression "namespace-uri($in.berichtPart/child::*)" resulted in multiple node for source message which is not supportedPossible Fix:Please check expression for correctness. Modify source expression based on the requirement otherwise contact Oracle for support
    I seems like a bug to me as namespace-uri should return a string, just like name and local-name...
    Xpath spec: Function: string namespace-uri(node-set?)
    Can anyone confirm? Am I missing something???
    Groeten,
    HJH

    Any solution to this?

Maybe you are looking for

  • Why can't I save a zoomed in photo in iPhoto 7.1.5?

    I would like to be able to zoom in on a photo in iPhoto and save it that way but it doesn't work. Is this possible or am I doing something wrong?

  • Adobe reader problem on viewing PDF file created by crystal report

    I have a VB6 application to export the PDF file by using crystal report 9. However, when I viewed the PDF file under Adobe reader 8, I have a following message when I hit the page down key. "An error exists on this page. Acrobat may not display the p

  • Req lines not being generated

    hi, what would stop requisition lines from not be generated? they are for BTB items, our workaround at the moment is to create the po's manually

  • IDoc for L_TO_CREATE_DN

    Hello All, We are trying to implement an interface process with an external WMS system to our ECC 6.0. We are looking for a standard iDoc that we can receive to 6.0 to create a Transfer Order similar to LT03 or FM L_TO_CREATE_DN. I've identified WMTO

  • Will this configuration work? 10.5.3, OD, SMB

    I've been playing with this for 5 days, and have come up with nothing but frustration, I will be greatly appreciative of everyone that can help me pin down a solid way to make this work. Environment: New xserv 3x1TB drives-RAID5. DNS and DHCP is hand