Not inlcude empty tag while invoking service from ESB
The ESB receives a request with input xml which contains some empty tag. while ESB invokes the actual services the empty tags should not be included. can any one help how to achieve this?
define that tag as optional in schema and don't map that element. This should help you.
-Ramana.
Similar Messages
-
Error while invoking BPEL from ESB
Hi All,
I am try'n to invoke BPEL process from ESB services ,where my BPEL process contains a webservice which has an input parameter of type ,a customized bean.
I am hitting with the below error
<env:Envelope
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header/>
<env:Body>
<env:Fault
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>env:Server</faultcode>
<faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: serialization error: java.lang.IllegalArgumentException: getSerializer requires a Java type and/or an XML type at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1182) at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source) at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source) at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869) at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349) at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460) at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114) at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96) at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595) ". at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source) at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source) at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source) at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source) at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source) at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source) at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source) at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source) at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869) at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349) at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460) at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114) at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96) at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298) at java.lang.Thread.run(Thread.java:595) Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: serialization error: java.lang.IllegalArgumentException: getSerializer requires a Java type and/or an XML type at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460) at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1182) ... 39 more ". </faultstring>
<faultactor/>
</env:Fault>
</env:Body>
</env:Envelope>
Help me out form this issue...
& pls let me know if iam not clear.
Regards,
Kalyan patti.
Message was edited by: kalyan
pattiHi,
Refer below thread and links for more information. Hope this should help you guys.
ESB Not allowing to call Secured Service
Regards -
Calling secured services from ESB
Hi,
How to invoke secured (HTTP Basic/WS-Security) web services from ESB? BPEL supports it via partner link properties/adapter header properties.
Thanks in advance.
Regards,
RajeshThis is a sneak peek at how headers are used. This example shows how to set outbound WS-Sec headers using a routing serrvice XSLT. Create a transformation in a RS that is invoking an outbound SOAP service and add the text below. Note it uses xsl variables and some new esb header xpath functions.
For using ws-security in ESB you need to add the variable username and password in your xsl transformation template against the target. As below
<xsl:variable name="Username"
select="ehdr:setOutboundHeader('/wsse1:Security/wsse1:UsernameToken/wsse1:Username','oc4jadmin','wsse1=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;')"/>
<xsl:variable name="Password"
select="ehdr:setOutboundHeader('/wsse1:Security/wsse1:UsernameToken/wsse1:Password','welcome1','wsse1=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd;')"/>
<xsl:template match="/">
Message was edited by:
Dave Berry -
Getting error connection timed out while invoking webservice from bpel.
Hi,
I am trying to call a secure webservice developed in .Net having extension .svc from the bpel service and in response i am getting error
com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault}
messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage}
parts: {{summary=<summary>exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection timed out: connect</summary>
I am able to call this web service from the java programme using HTTPClient by setting the username/password and soapaction in http Header but not from the BPEL process. This .Net service is synchronous in nature. I also set the proxy in opmn.xml but didn't got any success.
Please reply me ASAP. Need urgent help.
Thanks.Are you working on 11g ? if this is 11g
How are you invoking the webservice ...does it have any authentication..
If the webservice which you are invoking has basic http authentication...
1. In the composite.xml file, right click on the reference and configure WS policies. In security tab, add a security policy named"oracle/wss_http_token_client_policy"
2. Add two binding properties for the reference
(i) oracle.webservices.auth.username
(ii) oracle.webservices.auth.password
and provide the username and password for those two properties...
Just try this out...
Thanks,
N -
Java.lang.nullpointerexception found while invoking services
Hi,
I am getting java.lang.nullpointerexception while invoking a simple web service(Hello World) from another service from BPEL.Soa suite 11.1.1.5 is used .The service1 WSDL reference is taken from the em console test page and bult a web service in composite external reference side.
Any help will be highly appreciated .Hi,
I am getting java.lang.nullpointerexception while invoking a simple web service(Hello World) from another service from BPEL.Soa suite 11.1.1.5 is used .The service1 WSDL reference is taken from the em console test page and bult a web service in composite external reference side.
Any help will be highly appreciated . -
Not getting empty tags in XML output
Hello,
I am using DBMS_XMLQuery.getXML function and cusor function in my select statement to generate XML documents. If the column value is null, the XML document is not generating a empty tag. How do I generate empty tags?
My query is :-
SELECT
MSG_NAME ,MSG_DATE, BATCH_ID,
cursor (SELECT ACTION_CODE,PART_NUMBER,
ITEM_DESCRIPTION,ITEM_STATUS
UOM,CONVERSIONS,INSPECTION_FLG
FROM ITEM_OUT ITEM
WHERE ITEM.BATCH_ID= ECF.MSG_BATCH_ID
) as item_header
FROM FILE_CONTROL ECF
nullYou need to set the option to use a null indicator. By default, null values omit their elements. With the null indicator, they are included as empty elements with a NULL="Y" attribute flag.
-
Error while publishing Service from Sender Agreement
Hello Experts,
I have Enterprise Service Scenario in which i am publishing Enterprise Service from Sender agreement (using SOAP Sender adapter).
When i am trying to publish this Enterprise Service i am getting below Error.
Adapter Engine XXXX for communication channel XXXX not registered in SLD.
Can someone please help me solve this error?
Thanks,
HetalHi.
Pleas check the following threads
how to check adapter engine was registered in SLD or not?
No Adapter Registered for this channel
Regards
Lucho. -
Problem while invoking service in business connector
Guy's
when i run my java code ,to invoke service in BC,it
get compiled successfully ,but when i write call
my class file using java command it give me following
exception
server http://165.195.30.20:5655/invoke/PIT1:SalesOrderCreation
Exception in thread "main" java.lang.NoClassDefFoundError: org/pf/util/Base64Con
verter
at pitstop.sendRequest(pitstop.java:41)
at pitstop.main(pitstop.java:141)Hi.
__sJT_st = (oracle.jdbc.OracleCallableStatement) __sJT_cc.prepareCall("BEGIN :1 := \"ABC_CLASS_API\".GET_ABC_PERCENT(:2 ); END;");
1 - Why are you casting to a concrete Oracle driver class? Won't a standard
java.sql.CallableStatement work for you?
2 - I would recommend using the standard JDBC format for prepared SQL:
prepareCall("{ ? = call( GET_ABC_PERCENT(?) }"); -
While adopting services from contract to PO, qty. not adopted correctly
Hi Team,
We are in ECC 6.0 EHP 4.0.
We have defined services in Contract. While making Release order (PO) against contract , in adopting services of contract to Purchase order, total qty. is not defaulted in PO. Always it is considering Quantity one only, even though there is more qty. in contract service.
Does we need to do any thing for this, to get all open quantity.
But in Service Entry Sheet it is considering all open quantity of PO.
Regards,
Sai KrishnaHi,
When you create service PO the line item quantity will be always by default one with unit of measure as AUT activity unit
And actual AUT for services is maintained at service level which is normally hours or days etc
This quantity at service level will be taken when for service entry sheet
Thanks
Diwakar -
Problem with errorPage in page directive tag while proxying request from iPlanet to WebLogic
Hi,
We are using iPlanet 4.0 as the webserver and WebLogic 5.1 as the application server on different solaris machines. We have put our JSPs in the weblogic application server and proxy the requests from iplanet to weblogic.
We are facing a problem with the errorPage in the 'Page Directive' tag of the JSP. We have given xxx.jsp as an 'errorpage' parameter in the page directive tag. If we directly access the JSP from the WebLogic, and there is an system error, the error page specified in the JSP is getting displayed. But if we access the JSP from iPlanet and there is an system error, instead of displaying the error page, iPlanet is asking whether we want to download the file. If we say yes it downloads the actual JSP code itself. We have defined the mime types in obj.conf file as well as mime.types for the iPlanet.
If anyone knows how this can be solved, it would be of great help
Regards,
Krish
How did you configure the obj.conf file? proxy by mime type or ppath? It
seems errorPage.jsp was not proxyed and treated as a unknown mime type.
Krishnaraja <[email protected]> wrote in message
news:3a372d79$[email protected]..
>
> Hi,
>
> We are using iPlanet 4.0 as the webserver and WebLogic 5.1 as the
application server on different solaris machines. We have put our JSPs in
the weblogic application server and proxy the requests from iplanet to
weblogic.
>
> We are facing a problem with the errorPage in the 'Page Directive' tag of
the JSP. We have given xxx.jsp as an 'errorpage' parameter in the page
directive tag. If we directly access the JSP from the WebLogic, and there is
an system error, the error page specified in the JSP is getting displayed.
But if we access the JSP from iPlanet and there is an system error, instead
of displaying the error page, iPlanet is asking whether we want to download
the file. If we say yes it downloads the actual JSP code itself. We have
defined the mime types in obj.conf file as well as mime.types for the
iPlanet.
>
> If anyone knows how this can be solved, it would be of great help
>
> Regards,
> Krish
-
CorrelationSet error while invoking Bpel from a java appli
Hi There,
I'm trying to send a signal from a java application to a bpel process (already instanciated before) and I get the following error :
[Erreur ORABPEL-10015] : propriété de corrélation non résolue
[Description] : à la ligne 25 de "/oracle/product/10.1.2/.../myProjectConvertPdf.bpel", la propriété de corrélation "{http://xmlns.oracle.com/myProjectConvertPdf/correlationset}filename" du correlationSet "CorrelationSet_signalConvOk" n'est pas définie.
[Solution potentielle] : assurez-vous que la propriété "{http://xmlns.oracle.com/myProjectConvertPdf/correlationset}filename" est définie dans l'un des fichiers WSDL référencés.
My java application is designed to get the value of the correlation parameter from another source (the bpel process calls a webservice a webservice in another virtual machine and transmits the parameter value by a database table or a file)
My file .bpel contains :
<receive name="Receive_signalConvOk" partnerLink="signalConvPdfOk" portType="client:projectSignal" operation="receiveSignal" variable="Receive_signalConvOk_receiveSignal" createInstance="no">
<correlations>
<correlation initiate="no" set="CorrelationSet_signalConvOk"/>
</correlations>
</receive>
the correlation is defined as followed :
<correlationSets>
<correlationSet name="CorrelationSet_signalConvOk" properties="ns1:filename"/>
</correlationSets>
and the property alias :
<definitions
name="properties"
targetNamespace="http://xmlns.oracle.com/myProjectConvertPdf/correlationset"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<bpws:property name="filename" type="xsd:string"/>
</definitions>
My java appli calls the bpel process by the following code :
String xml = "<filename xmlns=\"http://xmlns.oracle.com/myProjectConvertPdf\">"+parameterValue+"</filename>\n";
NormalizedMessage nm = new NormalizedMessage( );
nm.addPart("payload", xml );
deliveryService.post(nomProcessBpel,
null,
"signalConvPdfOk",
null,
nomOpBpel,
nm);
My first problem is obviousy the error message and my second problem is that I don't know how to transmit the correlation parameter in the request my java appli does to the bpel process.
Thanks in advance for your helpHi,
Refer below thread and links for more information. Hope this should help you guys.
ESB Not allowing to call Secured Service
Regards -
Problem while invoking BPEL from a JSP.
I have a very simple JSP
<%@page import="com.oracle.bpel.client.Locator" %>
<%@page import="com.oracle.bpel.client.NormalizedMessage" %>
<%@page import="com.oracle.bpel.client.delivery.IDeliveryService" %>
<%@page import="java.util.Hashtable" %>
<%@page import="javax.naming.Context" %>
<html>
<head>
<title>Invoke HelloWorld</title>
</head>
<body>
<%
Hashtable jndi = null;
String name = request.getParameter("name");
if(name == null)
name = "BPEL";
String xml = "<name xmlns=\"http://samples.otn.com/helloworld\">" + name + "</name>";
Locator locator = new Locator("default","bpel",jndi);
IDeliveryService deliveryService = (IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME );
// construct the normalized message and send to Oracle BPEL Process Manager
NormalizedMessage nm = new NormalizedMessage( );
nm.addPart("payload" , xml );
deliveryService.request("HelloWorld", "process", nm);
out.println( "BPELProcess HelloWorld initiated!" );
%>
Please refer to the
BPEL Console
to see the status of the initiated HelloWorld BPEL Process.
</body>
</html>
when i am trying to run this JSP i get the following error
java.lang.Exception: Failed to create "ejb/collaxa/system/DeliveryBean" bean; exception reported is: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.rmi.RMIServerContext.lookup(RMIServerContext.java:207) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:255) at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.1) ].server.ApplicationContext.lookup(ApplicationContext.java:195) at javax.naming.InitialContext.lookup(InitialContext.java:351) at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279) at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53) at _Hello._jspService(_Hello.java:79) [Hello.jsp]
Please help.. is it any configuration problems do i need to set any classpathTry this first, to start the process from Java client:
http://orasoa.blogspot.com/2007/06/calling-bpelesb-webservice-from.html
The default demo applications should be working after a default install. -
Unable to find .ctl file while invoking sqlldr from unix
Hi,
I am invoking shellscirpt, in that calling sqlldr but getting error as below;
SQL*Loader: Release 10.1.0.5.0 - Production on Mon Dec 17 14:26:16 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL*Loader-500: Unable to open file (xxc_sql.dat)
SQL*Loader-553: file not found
SQL*Loader-509: System error: No such file or directory
my shell script is:
#!/usr/bin/ksh
#* =============================================================================
# $Id$
# $Header$
# Module Type : Shell Script
# Module Name : XXC_MOD_IN_049_Pay_BACS.prog
# Description : This script is used for Moving of BACS Payroll OutPut File TO Specified loaction and location.
# Run Env. : SQL*Plus
# History
# =======
# Version Name Date Description of Change
# 0.1 Sanjeev Khurana 30-Aug-2010 Initial Creation.
#* ==============================================================================
# $1 : USERNAME/PASSWORD of the database
# $2 : USERID
# $3 : USERNAME
# $4 : CONCURRENT REQUEST ID
# $5 : Request_id
echo "username/password"
echo $1
echo "user_id"
echo $2
echo "username"
echo $3
echo "concurrent_request_id"
echo $4
echo "request_id"
echo $5
sqlldr $1 control=$XXC_TOP/bin/xxc_sql.ctl log=$XXC_TOP/bin/rakesh.logmy control file code is:
load data
APPEND
infile *
insert into table xxc_temp
request_id constant "rakesh"
)while submitting concurrent program getting error, concurrent registered as HOST
Please anyone help on this:
Thanks,
Rakesh
Edited by: 974938 on Dec 17, 2012 7:04 AM
Edited by: 974938 on Dec 17, 2012 7:04 AMPl post details of OS, database and EBS versions. Are you using a concurrent program type of SQL*Loader ?
Pl post the contents of the control file. The error is "unable to find xxc_sql.dat" - does this file exist in the appropriate directory with appropriate permissions ? Your control file is called "xxc_sql.ctl"
How to Use 9i or 10g Features in SQL*Loader for Apps? [ID 423035.1]
HTH
Srini -
Problem while invoking popup from backing bean
I am invoking a popup from backing bean method.
The same backing bean method has the business logic which depends on the data collected from popup(user enters some data on popup).
So I need the business logic to be executed after popup comes up.
The popup is coming after the execution of return statement in backing bean method . How do i make popup trigger at earlier point in the method.
<af:commandToolbarButton text="#{corePostupgradeuiBundle.SIGN_OFF_MIG}"
id="socb52"
partialSubmit="true"
actionListener="#{viewScope.signoffBean.signOffAgents}"
partialTriggers="t3"/>
public void signOffAgents(ActionEvent event) throws SQLException {
DCBindingContainer bc =
(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding summaryIter =
bc.findIteratorBinding("Signoff1Iterator");
showPopup("credentials"); //will get credential details from user and store in credential Bean
//Following logic uses the data collected from popup
EMCredentialReference credRef= credentialBean.getCredReference();
submitJOb(credRef);
public static void showPopup(String popupId) {
FacesContext context = FacesContext.getCurrentInstance();
StringBuilder script = new StringBuilder();
script.append("AdfPage.PAGE.findComponent(\"").append(popupId).append("\").show();");
ExtendedRenderKitService erks =
Service.getService(context.getRenderKit(),
ExtendedRenderKitService.class);
erks.addScript(context, script.toString());
UIComponent component = context.getViewRoot().findComponent(popupId);
RequestContext.getCurrentInstance().addPartialTarget(component);
}Well, your work flow is wrong.
What you try to accomplish should work out of the box as
1) user hit toolbar button
2) this opens a popup "credentials" which have listeners for ok and cancel
3) use fills in data in popup and hit ok or cancel
4) one of the listeners gets fired
5a) if OK listener you do your business logic
5b) if cancel you do something else
So all you have to do is the use a af:af:showPopupBehavioron the toolbar button, add a popup canel listener (if you need to act on canel) dependign on your popup design (dialog or simple button) add the appropriate listeners and in the listener method so your business logic.
Timo -
Invoking service from OSB throws Request Entity Too Large fault
Invoking .net service with large(>1M) base64Binary field from OSB returns "BEA-380000:Request Entity Too Large" error.
How to enlagre the maximum message size?You have to slightly adjust WebLogic configuration:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_wls/web_server.html#wp1059784
Maybe you are looking for
-
How to switch off laptop screen when you connect external LCD?
Hello, being new to Mac I'd like to ask if it is possible to completely switch off the laptop screen when you connect an external LCD screen and use it as your main desktop. My MacBook Pro does that automatically when I launch a full screen game, say
-
TS3274 iPad starts to download imap emails then stops, like it is stuck
My iPad recently stopped downloading incoming emails from my imap account. It will download my sent mail, drafts, etc. the bar at the bottom comes up and shows downloading 1 of 20 . Then it stops. It seems like it is stuck. I have no problems with my
-
Interactive Reports: Can values for 2nd filter be limited by first filter?
Hi, I have a question for the inbuilt filter tool of interactive reports in apex 4.0.2.00.07. Let's assume my IR data looks like: Col1:*Col2* A:1 A:2 B:3 If I click on the header of Col1 I will be presented with filter possibilities "A" and "B" and c
-
Inbound proxy with system error.
Hi Experts, I desighned an inbound proxy scenario which is file to ECC. I test the proxy from 'SPROXY" t.code. Because of wrong data, it throws an exception as below. - <cls:CX_XMS_SYSERR_PROXY id=
-
Sld objects for SOAP to RFC syn.
Hai..All.... I am very new to Xi and i am doing a soap to rfc syn scenario.. pls give me a hint of what type of Sld object are required for the scenarion like what should be the TS abd BSystem for the scenario and how many BS are required. can it b