Error invoking cfc from url variable

I am using a url with a variable tacked on it. When I call a file with to create a cfgrid the cfc it uses gives an error. It tells me the variable is undefined. This is a problem since I need to use it in the sql to create the grid. Seems like this is not the right way to get the variable to the sql statement but I dont know how else to do it since I have to use a url to invoke the grid. Thanks in advance for your help.

this is link to editable grid
<a href="participantgrid.cfm?course_id=#getresults.procourse_id#">#procourse_course#</a>
<!---participantgrid.cfm --- below--->
<cfform>
<cfinput name="course_ID" value="#url.course_id#" type="hidden"> 
    <cfgrid name="protrainparticipants"
            format="html"
            pagesize="10"
            striperows="yes"
            selectmode="edit"
            delete="yes"
            bind="cfc:participantcomp.getparticipants({cfgridpage},
                                        {cfgridpagesize},
                                        {cfgridsortcolumn},
                                        {cfgridsortdirection}, {course_id})"
            onchange="cfc:participantcomp.editparticipant({cfgridaction},
                                            {cfgridrow},
                                            {cfgridchanged})">
        <CFGRIDCOLUMN NAME="proparticipant_course_id"
            WIDTH=2
            DISPLAY="no">
        <CFGRIDCOLUMN NAME="proparticipant_id"
            HEADER="Paricipant ID"
            WIDTH=10
            ITALIC="NO"
            HEADERALIGN="center"
            HEADERITALIC="NO"
            HEADERBOLD="YES"
            DISPLAY="no">
        <CFGRIDCOLUMN NAME="proparticipant_firstname"
            HEADER="First Name"
            WIDTH=120
            ITALIC="NO"
            HEADERALIGN="center"
            HEADERITALIC="NO"
            HEADERBOLD="YES"
            DISPLAY="YES"
            SELECT="YES">
        <CFGRIDCOLUMN NAME="proparticipant_lastname"
            HEADER="Last Name"
            WIDTH=120
            ITALIC="No"
            HEADERALIGN="center"
            HEADERITALIC="No"
            HEADERBOLD="Yes"
            BOLD="Yes"
            DISPLAY="Yes">
            <CFGRIDCOLUMN NAME="proparticipant_p_country"
            HEADER="Country"
            WIDTH=80
            ITALIC="No"
            HEADERALIGN="center"
            HEADERITALIC="No"
            HEADERBOLD="Yes"
            BOLD="Yes"
            DISPLAY="Yes">
            <CFGRIDCOLUMN NAME="proparticipant_email"
            HEADER="Email"
            WIDTH=160
            ITALIC="No"
            HEADERALIGN="center"
            HEADERITALIC="No"
            HEADERBOLD="Yes"
            BOLD="Yes"
            DISPLAY="Yes">
            <CFGRIDCOLUMN NAME="proparticipant_phone"
            HEADER="Phone"
            WIDTH=100
            ITALIC="No"
            HEADERALIGN="center"
            HEADERITALIC="No"
            HEADERBOLD="Yes"
            BOLD="Yes"
            DISPLAY="Yes">
            <CFGRIDCOLUMN NAME="proparticipant_fax"
            HEADER="Fax"
            WIDTH=100
            ITALIC="No"
            HEADERALIGN="center"
            HEADERITALIC="No"
            HEADERBOLD="Yes"
            BOLD="Yes"
            DISPLAY="Yes">
            <CFGRIDCOLUMN NAME="proparticipant_projid"
            HEADER="Project ID"
            WIDTH=80
            ITALIC="No"
            HEADERALIGN="center"
            HEADERITALIC="No"
            HEADERBOLD="Yes"
            BOLD="Yes"
            DISPLAY="Yes">
            <CFGRIDCOLUMN NAME="proparticipant_agency"
            HEADER="Agency"
            WIDTH=80
            ITALIC="No"
            HEADERALIGN="center"
            HEADERITALIC="No"
            HEADERBOLD="Yes"
            BOLD="Yes"
            DISPLAY="Yes">
    </cfgrid>
</cfform>
<!---- participantcomp.cfc--below --->
<cfcomponent output="false">
<cfset THIS.dsn="protraining">
<!--- Get participants --->
<cffunction name="getparticipants" access="remote" returntype="struct">
  <cfargument name="page" type="numeric" required="yes">
  <cfargument name="pageSize" type="numeric" required="yes">
  <cfargument name="gridsortcolumn" type="string" required="no" default="">
  <cfargument name="gridsortdir" type="string" required="no" default="">
  <cfargument name="course_id" type="numeric" required="yes" default="#course_id#">
  <!--- Local variables --->
  <!--- Get data --->
  <CFQUERY NAME="Chkcourse2" DATASOURCE=#THIS.dsn#>
            SELECT procourse_id, procourse_course
            FROM    afrreg38.tblProcourse
            WHERE   procourse_id = #arguments.course_id#
            </CFQUERY>
  <cfset current_course_id = #chkcourse2.course_id#>
  <cfquery name="qrygetparticipants" datasource="#application.dsn#">
  select   pp.proparticipant_id, pp.proparticipant_course_id, pp.proparticipant_firstname, pp.proparticipant_lastname, pc.procourse_course, pp.proparticipant_p_country, pp.proparticipant_email, pp.proparticipant_phone, pp.proparticipant_fax, pp.proparticipant_projid, pp.proparticipant_agency, pc.procourse_id
                          FROM    afrreg38.tblProparticipant_3 pp, afrreg38.tblProcourse pc, afrreg38.tblproparticipant_course_test_2 pct
                          WHERE  pp.proparticipant_id = pct.proparticipant_participant_id
                          and pp.proparticipant_course_id = pc.procourse_id
                          and pc.procourse_id = #variables.current_course_id#
                          <cfif ARGUMENTS.gridsortcolumn NEQ ""
                          and ARGUMENTS.gridsortdir NEQ "">
                          ORDER BY #ARGUMENTS.gridsortcolumn# #ARGUMENTS.gridsortdir#
                          </cfif>
              </cfquery>
  <!--- And return it as a grid structure --->
  <cfreturn QueryConvertForGrid(qrygetparticipants,
                            ARGUMENTS.page,
                            ARGUMENTS.pageSize)>
</cffunction>
<!--- Edit an artist --->
<cffunction name="editparticipant" access="remote">
  <cfargument name="gridaction" type="string" required="yes">
  <cfargument name="gridrow" type="struct" required="yes">
  <cfargument name="gridchanged" type="struct" required="yes">
  <!--- Local variables --->
  <cfset var colname="">
  <cfset var value="">
  <!--- Process gridaction --->
  <cfswitch expression="#ARGUMENTS.gridaction#">
    <!--- Process updates --->
    <cfcase value="U">
    <!--- Get column name and value --->
    <cfset colname=StructKeyList(ARGUMENTS.gridchanged)>
    <cfset value=ARGUMENTS.gridchanged[colname]>
    <!--- Perform actual update --->
    <CFQUERY name="updateparticipant_data" datasource="#THIS.dsn#">
                 UPDATE afrreg38.tblProparticipant_3
                 SET #colname# = '#value#'
                 WHERE proparticipant_id = #ARGUMENTS.gridrow.proparticipant_id#
                </CFQUERY>
    <!---  <cfquery datasource="#THIS.dsn#">
                 UDPATE afrreg38.tblproparticipant_course_test_2
                SET #colname# = '#value#'
                </cfquery> --->
    </cfcase>
    <!--- Process deletes --->
    <cfcase value="D">
    <!--- Perform actual delete --->
    <cfquery datasource="#THIS.dsn#">
                DELETE FROM afrreg38.tblProparticipant_3
                WHERE proparticipant_id = #ARGUMENTS.gridrow.proparticipant_id#
                </cfquery>
    </cfcase>
  </cfswitch>
</cffunction>
</cfcomponent>

Similar Messages

  • Error invoking CFC for gateway

    Am getting the following error while invoking the event
    gateway
    "Error invoking CFC for gateway myGateway: Event Handler
    Exception. An exception occurred when invoking a event handler
    method from Application.cfc The method name is: onRequestStart."
    Please advice

    I am getting an error like this when my eventgateway gets invoked for directorywatch:
    Error invoking CFC for gateway watchInboundFiles: null {GATEWAYTYPE={FileWatcher},ORIGINATORID={},CFCMETHOD={onDelete},DATA={{FILENAME={/Users/y oosafabdulla/Sites/bahuvlintbeaches-staging/int/core/internationalBeaches/iptv/dw/1_vod_xm l.cfc},TYPE={DELETE}}},CFCPATH={/Users/yoosafabdulla/Sites/bahuvlintbeaches-staging/int/co re/internationalBeaches/iptv/dw/directory_watch.cfc},GATEWAYID={watchInboundFiles}}.
    I just want to dump the cfevent data into a text file.

  • Administrato CF 10 error invoking cfc after update.

    went through our update cycle for our CF 10 admin for the latest updates.  We are now receiving the following error:
    "Error invoking CFC /CFIDE/Administrator/updates/download.cfc:
    internal server error [enable debugging by adding 'cfdebug' to your URL parameters to see more information]"
    Now the issue here is that even when ?cfdebug is added nothing comes up but the error.
    We have a non-standard configuration for our administrator, it does not reside in the the root as it kept making our compliance scans fail.  to resolve we had to move the administrator to our c:<newfolder>, so that the administator would not fail our scans because of the password being passed in plain text.
    Per the error we have checked to make sure that the download.cfc is in the proper location and has the proper permissions and access.
    After the updates we now receive the above mentioned errors. any assistance in resolving would be great.
    thanks in advance.

    Steve, as Adam said in his post in Nov ’12, you should be able to resolve things by putting them back as they should be, and then use other means to protect your admin. Have you tried that?
    If you remain stumped with either getting that working, or getting things working the way you want them to, I’ll just note that you don’t need to suffer this. Either problem should be solvable in less than an hour of direct remote consulting assistance, which I could provide.
    I know it stinks to see a “sales pitch” here, but since you’re doing things non-standard, there could be a few things that would make it hard to resolve purely here in the forums. And if you’ve been suffering this for more than a year, it just seems worth offering you an option to get this solved perhaps very quickly. More on the consulting page at carehart.org.
    /charlie

  • Error Invoking CFC... but it's there! I see it!

    Greetings all -
    I'm hoping someone can help explain why this following attempt at binding a CFC is not working:
    1. I set up a CF Server Mapping to my cfc folder:
    Logical path = /testcfc
    Physical path = E:\ColdFusion8\Components\testcfc
    2. I set up a virtual directory to my cfc folder:
    Virtual path: /testcfc
    Physical path: E:\ColdFusion8\Components\testcfc
    3. If I use CFINVOKE to call the CFC, it works as expected.
    <cfinvoke component="testcfc.testRequests" method="get_Clients" returnvariable="var">
    <cfinvokeargument name="fiscal_year" value="#year(now())#">
    </cfinvoke>
    <cfdump var="#var#">
    4. If I attempt to bind the CFC, I get the error "Error Invoke CFC /testResults.cfc: Not Found"
    <cfselect name="tstClientID" id="tstClientID" bind="cfc:testcfc.tstRequests.get_Clients('#year(now())#')" bindonload="true" value="client_id" display="client_name" />
    Debugging the error, I see that CF is attempting to find the CFC in the root directory of the app... it is disregarding the directory path ("testcfc") specified entirely. Why??
    The bizarre thing is, I've set up the same structure on my PC/dev environment, and it works fine.
    How can I further debug this issue? It's got to be a mapping problem, but can;t see what I've done wrong. Any help truly appreciated!
    Doug

    I recently stumbled upon this post:
    http://www.codersrevolution.com/index.cfm/2008/9/10/ColdFusion-CFC-Binding-Ajax-Proxy-and- Updater-1#comments
    Sure enough, my prod environment is running 8.0.0. I'm going to apply to apply the patch to 8.0.1 and see if that corrects the issue. I hope.
    Doug

  • Error Invoking BPEL from another BPEL

    Hi,
    I was trying to invoke a BPEL process deployed on the server from another via the partner link activity. In the WSDL URL I gave the server URL for the WSDL, but upon attempting to parse it, the composite gave an error http 502. However, when I try to invoke services that aren't in the SOA contanier, they work out fine. Could anybody say what I'm doing wrong?

    Hi,
    Spoke with the network team, and it is indeed a proxi server problem, I just had to apply for some previlagess, and turn off the proxy checking on Jdev, and I'm home free. Thanks anyway, all.
    Bye for now.

  • Error invoking esb from web service proxy

    I have created a web service proxy (with jdeveloper 10.1.3.2) to invoke my service on the ESB.
    When i try to invoke this service with the proxy, the following error message appears:
    HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
    at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:142)
    at oracle.j2ee.ws.client.http.HttpClientTransport.invokeOneWay(HttpClientTransport.java:122)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:173)
    at oracle.j2ee.ws.client.StreamingSender._sendOneWay(StreamingSender.java:131)
    at testproxy.proxy.runtime.__soap_TestIn_execute_ppt_Stub.execute(__soap_TestIn_execute_ppt_Stub.java:88)
    When i take a look in the esb console, there i can see, that the service was invoked, but it is signed with the error symbol (i'm writing data into a database and the lines to the database adapter a green, but the lines back are red. But it writes nothing into the database. If i klick on the test webservice button at the appserver, everything works fine).
    Does anybody know the reason why it don't work?
    thanks

    In the ESB Control you can view the exception that's being thrown, is the PrivilegActionException the only stack trace you have?
    Maybe you can have a look if the data that's returned from the db-adapter is interpreted correctly by the ESB? You're working with a Request/Reply ESB so you need to make sure that as well the input as the ouput that's returned by the Routing Service is properly defined.

  • Error Invoking JPD from Service Control

    Hi,
    We are upgrading an application which was on weblogic 8.1 workshop domain to weblogic 10.3 and trying to commuicate to wli 10.3 domain from the jpf of presentation layer (run time) we are getting the below exception.
    Please help us on this issue. Let me know if more info is required
    Exception:
    <Apr 15, 2010 8:13:00 AM CDT> <Error> <com.bea.control.servicecontrol.util.memento.ServiceClassMementoUtil> <BEA-000000> <com.bea.control.servicecontrol.util.memento.ServiceClassMementoUtil: Could not load the following resource file: com/bellsouth/customermarkets/sbsxo/psl/controls/GetExternalUserDetailsControlServiceClassMemento.ser. There are two possibilities why this would occur. The first is that you are trying to run a 9.0 version of the service control. In this case everything should still work fine and you can ignore this exception. The other case is that the resource file is not in the proper location of the classpath. It should be in the same directory as the service control interface class. You might have to change your build scripts to make this work out for you. The resource file is generated during control assembly time and needs to be moved to the same directory as the service control interface class.>
    com.bea.control.servicecontrol.util.ServiceAnalyzerException: Cannot find types jar typegen__xmlbeans_apache__com__bellsouth__customermarkets__sbsxo__psl__controls__GetExternalUserDetailsContract.jar in ear file /opt/app/bea/WLS103/INT-DEV/Sbsxo_Admin-lib/applications/SbsxoPslFlows.ear
    at com.bea.control.servicecontrol.util.ServiceAnalyzer.constructTypesJarURI(ServiceAnalyzer.java:681)
    at com.bea.control.servicecontrol.util.ServiceAnalyzer.constructDefaultTypesJarURI(ServiceAnalyzer.java:652)
    at com.bea.control.servicecontrol.util.ServiceAnalyzer.makeServiceClassFromExistingTypes(ServiceAnalyzer.java:164)
    at com.bea.control.servicecontrol.util.ServiceClassCache.insertEntry(ServiceClassCache.java:111)
    at com.bea.control.servicecontrol.util.ServiceClassCache.getServiceClass(ServiceClassCache.java:75)
    at com.bea.control.servicecontrol.impl.ServiceControlImpl.getServiceClass(ServiceControlImpl.java:1718)
    at com.bea.control.servicecontrol.impl.ServiceControlImpl.invoke(ServiceControlImpl.java:524)
    at com.bellsouth.customermarkets.sbsxo.psl.controls.GetExternalUserDetailsControlBean.clientRequest(GetExternalUserDetailsControlBean.java:126)
    at flows.Login.LoginController.getExternalUserInfo(LoginController.java:91)
    at flows.Login.LoginController.begin(LoginController.java:390)
    Thanks,
    B R BALAJI

    In the ESB Control you can view the exception that's being thrown, is the PrivilegActionException the only stack trace you have?
    Maybe you can have a look if the data that's returned from the db-adapter is interpreted correctly by the ESB? You're working with a Request/Reply ESB so you need to make sure that as well the input as the ouput that's returned by the Routing Service is properly defined.

  • Error invoking CFC

    I have got this code for a html cfgrid.
    <cfgrid
    name="Foods"
    format="html"
    pagesize="10"
    selectmode="browse"
    insert="Yes"
    delete="yes"
    bind="cfc:applications.Kost.cfc.Foods.getAllFoods({cfgridpage},
    {cfgridpagesize}, {cfgridsortcolumn}, {cfgridsortdirection})"
    >
    But the bind cannot find my CFC.
    I have got a virtual directory called Application. Her is my
    program located beneath the folder Kost. Then I have got my cfc in
    a cfc directory.
    c:/Applications/Kost/cfc/
    I have alos tried to use cfc.Foods but this cannot find the
    cfc either.
    If I take my cfc and deploy it to my C:\Inetpub\wwwroot
    directory.
    Then it works with a bind like this cfc:Foods.getAllFoods()
    can't I use mapped directories?
    I would prefere to have my cfc's located bebeath the right
    applications and not in the root.
    I user CF8

    I had the exact same issue when I was doing some preliminary
    playing with spry . From what I have read, you can not use bind
    with a mapped directory, and a virtual directory is a "mapped"
    directory also.
    I was going to try (have not yet though) using
    ExpandPath(myCFC) to assign the full path to a variable and then
    use the variable in the bind statement.
    If you try it before I do and it works, I would like to
    know.

  • Error in CFC - message to Flex

    I am sending messages to a flex program via a CFC reading
    messages off of a socket (gateway is called asocket - the flex
    gateway is ows35_example4 via LCDM).
    The messages are getting to the flex program but errors are
    showing up in cfserver.log, eventgateway.log and exception.log that
    says:
    Error invoking CFC for gateway asocket: Unable to locate the
    body entry in the outgoing message structure..
    once for each message that is sent. The enclosed code shows
    the CFC running the asocket gateway - which definitely has a "body"
    entry.
    How do I stop this error ? Is there something wrong with the
    CFC ?
    Using Coldfusion 8.0.0.1786276
    -thank you

    Ugh .... I figured this out.
    I was using HTTP comments "<!-- -->" (that I did not
    include in the source above) instead of the CF comments "<!---
    --->".
    What you don't see is that there is another
    SendGatewayMessage that was (I thought) commented out using the
    messageObject Struct for the message. It doesn't have a body part
    so it makes sense that the error happened.
    I changed the HTTP comments to CF comments and the errors
    went away.
    Note to self ... be careful of your comments.

  • CFC URL variable

    I am having trouble with a URL varailble.  Does anyone know how to send a URL variable to the query in a CFC.  Here is what I have so far and it does not work. Thanks.
    CFC:
    <cffunction name="pagevideo" access="public" returntype="query">
      <cfset var pagevideo="">
      <cfif not IsDefined("URL.VideoID")>
        <cflocation url="page.cfm?videoID=486">
      <cfelse>
        <cfquery name="pagevideo" datasource="videos">
              SELECT video_path, ID, Video_Name,
        FROM Video
        WHERE ID = #URL.VideoID#
              </cfquery>
      </cfif>
      <cfreturn aged240video>
    </cffunction>
    CFM page:
    <cfset myObj = createObject("component","cfc.page") />
    <cfset queryObj = myObj.pagevideo()>
      <h2 >Page Header</h2>
    <cfoutput><h2 >#queryObj.Video_Name#</h2></cfoutput>

    It appears that you have an extra comma after Video_Name in your query.  I suspect that this is causing the error.
    The CFQUERYPARAM tag is used to bind parameters to your SQL statements.  Use of bound parameters is recommended to avoid SQL injection attack vulnerability.
    See:
    Assuming that the ID column is an integer:
    <cfquery name="pagevideo" datasource="videos">
        SELECT video_path, ID, Video_Name
        FROM Video
        WHERE ID = <cfqueryparam value="#URL.VideoID#" cfsqltype="cf_sql_integer">
    </cfquery>
    References:
    CFQUERYPARAM
    http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7f 6f.html
    SQL Injection (Wikipedia)
    http://en.wikipedia.org/wiki/Sql_injection

  • Error invoking Web Service from Web application in BEA

    I have a web service wich run fine at bea weblogic.
    If i invoke it from webapp in sunappserver no problem , from plain client no problem , from oc4j no problem, but if a invoke from same webapp from weblogic i get this error:
    <b>java.rmi.RemoteException: Failed to invoke; nested exception is:
    javax.xml.rpc.JAXRPCException: web service invoke failed: javax.xml.soap.SOAPException: failed to ser
    ialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup
    failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://ejb.ds
    ic.pucv.cl/types/']:getMatriculaElement}
    at jrockit.reflect.NativeConstructorInvoker.newInstance([Ljava.lang.Object;)Ljava.lang.Object;(Unknown
    Source)
    at java.lang.reflect.Constructor.newInstance([Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
            at weblogic.webservice.core.rpc.StubImpl.throwRemoteException(StubImpl.java:269)
            at weblogic.webservice.core.rpc.StubImpl.invoke(StubImpl.java:254)
            at $Proxy46.getMatricula(Ljava.lang.String;)Ljava.lang.String;(Unknown Source)
            at cl.pucv.dsic.ws.cliente.ClienteWebService.getMatricula(ClienteWebService.java:100)
            at cl.pucv.dsic.consulta.queryBtn_action(consulta.java:667)
            at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.
    Object;(Unknown Source)
            at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown S
    ource)
            at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
            at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
            at javax.faces.component.UICommand.broadcast(UICommand.java:312)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
    Caused by: javax.xml.rpc.JAXRPCException: web service invoke failed: javax.xml.soap.SOAPException:  failed to
    serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping look
    up failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://ejb
    .dsic.pucv.cl/types/']:getMatriculaElement}
    at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:334)
    at weblogic.webservice.core.rpc.StubImpl.invoke(StubImpl.java:250)
    at $Proxy46.getMatricula(Ljava.lang.String;)Ljava.lang.String;(Unknown Source)
    at cl.pucv.dsic.ws.cliente.ClienteWebService.getMatricula(ClienteWebService.java:100)
    at cl.pucv.dsic.consulta.queryBtn_action(consulta.java:667)
    at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.
    Object;(Unknown Source)
    at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown S
    ource)
            at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
            at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
            at javax.faces.component.UICommand.broadcast(UICommand.java:312)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
            at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
            at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
            at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.jav
    a:3212)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)</b>
    the WSDL for this ws is:
    <b> <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="WSMatricula" targetNamespace="http://ejb.dsic.pucv.cl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:s0="http://ejb.dsic.pucv.cl/types/" xmlns:s1="http://ejb.dsic.pucv.cl/" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/">
    - <types>
    - <xsd:schema elementFormDefault="qualified" targetNamespace="http://ejb.dsic.pucv.cl/types/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:ns1="http://ejb.dsic.pucv.cl/types/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://ejb.dsic.pucv.cl/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <xsd:element name="getMatriculaElement" nillable="true" type="string" />
      <xsd:element name="getMatriculaResponseElement" nillable="true" type="string" />
      </xsd:schema>
      </types>
    - <message name="EJBConsultaWebService_getMatricula">
      <part element="s0:getMatriculaElement" name="parameters" />
      </message>
    - <message name="EJBConsultaWebService_getMatriculaResponse">
      <part element="s0:getMatriculaResponseElement" name="result" />
      </message>
    - <portType name="WSMatricula">
    - <operation name="getMatricula">
      <input message="s1:EJBConsultaWebService_getMatricula" />
      <output message="s1:EJBConsultaWebService_getMatriculaResponse" />
      </operation>
      </portType>
    - <binding name="WSMatriculaSoapHttp" type="s1:WSMatricula">
      <s2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="getMatricula">
      <s2:operation soapAction="http://ejb.dsic.pucv.cl//getMatricula" />
    - <input>
      <s2:body parts="parameters" use="literal" />
      </input>
    - <output>
      <s2:body parts="result" use="literal" />
      </output>
      </operation>
      </binding>
    - <service name="WSMatricula">
    - <port binding="s1:WSMatriculaSoapHttp" name="WSMatriculaSoapHttpPort">
      <s2:address location="http://ip:port/EJB-WebServicesDSIC/WSMatriculaSoapHttpPort" />
      </port>
      </service>
      </definitions></b>
    and the client is
    <b>
    package cl.pucv.dsic.ws.cliente;
    import com.ac.util.MyDOMParser;
    import java.util.Hashtable;
    import java.util.ArrayList;
    import com.ac.util.Config;
    import java.net.URL;
    import javax.xml.rpc.Service;
    import javax.xml.rpc.JAXRPCException;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.ServiceFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.NodeList;
    import java.io.*;
    public class ClienteWebService implements Serializable  {
    private String UrlString    = "";
    private String nameSpaceUri = "";
    private String serviceName  = "";
    private String portName     = "";
        public ClienteWebService() {
    public String getMatricula(String servicename, String param) throws Exception
    try
    Hashtable ht = (Hashtable)Config.getInstance().getHashtable("WS","Nombre",servicename);
    setUrlString((String)ht.get("EndPoint"));
    setNameSpaceUri((String)ht.get("URI"));
    setServiceName((String)ht.get("ServiceName"));
    setPortName((String)ht.get("PortName"));
    URL wsdlUrl = new URL(getUrlString() + "?WSDL");
    ServiceFactory serviceFactory = ServiceFactory.newInstance();
    Service helloService =
    serviceFactory.createService(wsdlUrl,
    new QName(getNameSpaceUri(), getServiceName()));
    WebServiceDSICIF myProxy =
    (WebServiceDSICIF) helloService.getPort(new QName(getNameSpaceUri(),
    getPortName()),
    WebServiceDSICIF.class);
    return myProxy.getMatricula(param);
    catch (Exception ex)
    ex.printStackTrace();
    return "<ERROR>"+ ex.getMessage()+"</ERROR>";
    public static void main(String[] args) {
    try {
    ClienteWebService clws = new ClienteWebService();
    ArrayList l = new ArrayList();
    String xml = "";
    if (args.length>0)
    xml = clws.getMatricula("WsSQL",args[0]);
    System.out.println("Rut : " + args[0] + " = " + xml);
    else
    DataInputStream input = new DataInputStream( System.in );
    String bufferIn;
    while((bufferIn = input.readLine()) != null){
    xml = clws.getMatricula("WsSQL",bufferIn);
    System.out.print("Rut : " + bufferIn + " = " + xml);
    } catch (Exception ex) {
    ex.printStackTrace();
    public String getUrlString() {
    return UrlString;
    public void setUrlString(String _UrlString) {
    this.UrlString = _UrlString;
    public String getNameSpaceUri() {
    return nameSpaceUri;
    public void setNameSpaceUri(String _nameSpaceUri) {
    this.nameSpaceUri = _nameSpaceUri;
    public String getServiceName() {
    return serviceName;
    public void setServiceName(String _serviceName) {
    this.serviceName = _serviceName;
    public String getPortName() {
    return portName;
    public void setPortName(String _portName) {
    this.portName = _portName;
    }</b>
    and the external config for this service is:
    <b><Webservices>
    <WS>
         <Nombre>WsSQL</Nombre>     
         <EndPoint>http://ip:port/EJB-WebServicesDSIC/WSMatriculaSoapHttpPort</EndPoint>
         <URI>http://ejb.dsic.pucv.cl/</URI>
         <ServiceName>WSMatricula</ServiceName>
              <PortName>WSMatriculaSoapHttpPort</PortName>
    </WS>
    </Webservices></b>
    please helpme, four days in that :S

    Hi,
    Can you provide the pl/sql function or the web service wsdl generated from it, so that we can try to reproduce it.
    Also, in an earlier post, I saw a workaround of changing it so the function returned defined type as :
    type ListCursor is ref cursor return ListRecord
    You can also see if this works out if possible.
    Regards,
    Sunil..

  • While trying to invoke the method java.lang.String.length() of an object loaded from local variable 'payload'

    Hi,
    Our PI is getting data from WebSphere MQ and pushing to SAP. So our sender CC is JMS and receiver is Proxy. Our PI version is 7.31.
    Our connectivity between the MQ is success but getting the following error while trying to read the payload.
    Text: TxManagerFilter received an error:
    [EXCEPTION]
    java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'payload'
           at com.sap.aii.adapter.jms.core.channel.filter.ConvertJmsMessageToBinaryFilter.filter(ConvertJmsMessageToBinaryFilter.java:73)
           at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:204)
           at com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(InboundDuplicateCheckFilter.java:348)
           at com.sap.aii.adapter.jms.core.channel.filter.MessageFilterContextImpl.callNext(MessageFilterContextImpl.java:204)
    I have searched SDN but couldn't fix it. Please provide your suggestion.
    With Regards
    Amarnath M

    Hi Amarnath,
    Where exactly you are getting this error?
    If you are getting at JMS Sender communication channel, try to stop and start the JMS communication channel and see the status, also use XPI Inspector to get the exact error log.
    for reference follow below blogs:
    Michal's PI tips: ActiveMQ - JMS - topics with SAP PI 7.3
    Michal's PI tips: XPI inspector - help OSS and yourself
    XPI Inspector

  • Approval task SP09: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'

    Hi everyone,
    I just installed SP09 and i was testing the solution. And I found a problem with the approvals tasks.
    I configured a simple ROLE approval task for validate add event. And when the runtime executes the task, the dispatcher log shows a error:
    ERROR: Evaluation of approvalid failed with Exception: while trying to invoke the method java.lang.String.length() of an object loaded from local variable 'aValue'
    And the notifications configured on approval task does not start either.
    The approval goes to the ToDO tab of the approver, but when approved, also the ROLE stays in "Pending" State.
    I downgraded the Runtime components to SP08 to test, and the approvals tasks works correctly.
    Has anyone passed trough this situation in SP09?
    I think there is an issue with the runtime components delivered with this initial package of SP09.
    Suggestions?

    Hi Kelvin,2016081
    The issue is caused by a program error in the Dispatcher component. A fix will be provided in Identity Management SP9 Patch 2 for the Runtime component. I expect the patch will be delivered within a week or two.
    For more info about the issue and the patch please refer to SAPNote 2016081.
    @Michael Penn - I might be able to assist if you provide the ticket number
    Cheers,
    Kristiyan
    IdM Development

  • 'Unable to find operation: null'   Error When I invoke Composite Wsdl Url

    Hi ,
    I have created one composite application which consists one BPEL process.That BPEL process takes input from other application.
    But When I invoke that Wsdl Url to push the data from my application to that Wsdl Url,It is giving below error(System fault):
    'Unable to find operation: null' .
    I am getting below message in enterprise manager console (http://ipaddress:port/em):
    'Composite instances are not generated for rejected messages. Click the error message for details'.
    Note: When u click on 'unable to find operation: null' link it is showing the soap request that we submitted to composite URL.
    Instance ID is also not created.
    Can anybody help me regarding this issue?

    As you are able to test the Composite in the EM console and the correct operation, everything looks fine from SOA side.
    Now whatever application from which you are trying to push the data, make sure while configuring the WSDL of the Composite, please check whether you can select the operation of the SOA Composite over there. I think you are leaving the default option which is null or not selecting the required operation over there.
    Hope this helps
    N

  • I have downloaded a movie from ITunes.  It shows up in my video app.  When I go to play it I get an error message: "The requested URL was not found on this server". When I checked back on iTunes, where you click to rent or buy a movie it says "Downloaded"

    I have downloaded a movie from ITunes.  It shows up in my video app.  When I go to play it I get an error message: "The requested URL was not found on this server". When I checked back on iTunes, where you click to rent or buy a movie it says "Downloaded".  Any advice on what I can do in order to watch this movie that I rented a couple of weeks ago?

    Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

Maybe you are looking for

  • How can i make a  flowing toolbar that stays in front of the main frame?

    I want to make a toolbar that has to stay in front of one of my JInternalFrame, this toolbar will have two buttons and they will change the states of some TextPanes in the JInternalFrame (font,styles, etc.). How can i do so?? how can i make it flow o

  • 24" LED display just DIED!!!!

    My 24" LED display has been working without issue connected to my Mac Mini server, but tonight just started flickering (mostly black with an occasional split second glimpse at a blue screen then straight to black again). I shut the Mac Mini down (hel

  • Delivery Confirmation date calculation

    Dear All, In the sales order the delivery confirmation date is achieved after running the Availability check. In our case lead time calculation for TAB item category is from Planned delivery time in Material master or Purchase info record+GR processi

  • How to record a transaction in OEM

    Hi all, few days back we installed a agent control on one windows forms and report server to collect the transaction info of forms and reports of that particular. after succecfully completed our installation. we couldn't able to record the transactio

  • Looking for Install docs for Enterprise one

    Hi Folks, I am new to JD edwards and have a need to install it.I am looking for some help/pointers which can explain architecture, techstacks etc and how to install and configure various components. Appreciate your help Thanks