Problem while commenting block of lines in impl. enhancement

Hello,
I am finding a problem when I am commenting block of lines in 1 implicit enhancement. I have to comment it line by line.
WHich is very tedious.
Is there any way to do it?
rgds,
Rupali

choose all the lines, and simply comment them. A known problem is with the last line, so comment all the lines except the last one, then comment the last one

Similar Messages

  • Problem while using trigger from line of 6534

    I have faced some problems while using triggering with 6534. They are listed below. Please provide solution me.
    1. ) i was using pattern input with triggering(buffered) in which i am using the example given in library buffered pattern input-triggered.vi
    Now i am using port 0 to take input. From line 0 of port 2 i want to generate a pulse which can trigger the operation & start acquisition. For that i am using write to single line.vi . My DPULL is open so bydefault the line will be at low level & by vi i will make it high which will trigger the operation.
    In normal condition if we use write to a single line.vi it will write the given status on that line within a fraction of second and abort execution. But when i am usin
    g it for trigger in following manner, it did not work.
    First i started the VI buffered pattern input-triggered.vi.I have configured the start trigger with leading edge trigger. I have set the time limit properly.Synchronous operation is set at the front panel of vi.
    Now if start the write to a single line.vi to give start trigger, nether it triggered the operation,nor it abort execution of single line write vi.When time out occured in triggered vi, then both vis stopped simultaneously. Why this happened?
    2.) Similar problem i faced when i wanted to perform the change detection.vi Port 0 is configured for input.Line 1 to 7 are fixed with some status by connecting them to Vcc or GND. I have connected port 0 line 0 with port 2 line 0. So when i change status of line 0 of port 2 change detection should be occured o port 0. i am changing the status of line 0 of port 2 by write to a single line.vi But here i faced same problem as first that it was not writing to port 0 line 0. And bo
    th process stopped when time limit occured in change detection vi.
    So what can be the problem? Please help me.

    Hi Vishal,
    1) You should check to see that when you are writting a static 1 to line 0 you see a pulse high. You should also make sure that you wire this line to the STARTTRIG for group 0.
    2) If you solve question 1 you will also have question 2 solved.
    It might be helpful to create a program that configures both programs (pattern I/O on port 0 and static I/O on port 2) in the same program and then starts both groups. I would do a little testing to see exactly what signals you do or do not see.
    Ron

  • Error while Cancelling a PO Line

    My user faces a problem while Cancelling a PO Line.. here i explain the whole scenario..
    One PO with only one PO line was created by Autocreate from a Requisition with one line in a financial period 10 months before.
    Now, it is found that Ship-to Org was wrongly entered.. so now they created another same PO Line with correct
    Ship to Org.. and now wants to Cancel the wrong Po Line..
    But while doing so, an Error Comes,
    APP-PO-14056: User Exit #PO REQUEST_ACTION returned error
    Cause: #PO REQUEST_ACTION encountered an internal error.
    Parameters:
    REQUEST_ACTION,CANCEL,PO,STANDARD,998802,209526,227116,0,GLOBAL.info_request_fie
    ld,GLOBAL.status_field,GLOBAL.online_report_id,GLOBAL.return_code,REASON,CANCEL_
    REQS,ACTION_DATE,USE_GLDATE
    and Cancellation is not done...
    Please help..

    Hi,
    Please see these docs.
    System Hang When Try To Cancel Po Shipment - APP-PO-14056: User Exit #PO REQUEST_ACTION returned error [ID 413193.1]
    Rls11i - PO- POXDOCON.pld - Unable to cancel PO. APP-PO-14056: User Exit #PO REQUEST_ACTION returned error [ID 247418.1]
    APP-PO-14056 User Exit #PO Request_action Returned Error While Cancelling Planned PO Shipment [ID 303488.1]APP-PO-14056 User Exit #PO request_action returned error. While cancelling Purchase Orders with received quantity equal to ordered quantity . [ID 209591.1]
    After Patch, While Cancelling Purchase Order Get Error APP-PO-14056 [ID 563384.1]
    Receiving Error APP-PO-14056 When Trying to Cancel a Purchase Order [ID 142793.1]
    APP-PO-14056 When Cancelling a Blanket Purchase Agreement Shipment or its related Blanket Release Shipments [ID 398379.1]
    Cancelling Purchase Order Returns Error APP-PO-14056 [ID 371571.1]
    APP-PO-14056 User Exit #Po Request_action Return Error When Cancelling A Purchase Order [ID 848598.1]
    Cancel or Unreserve of Scheduled Release is Unsuccessful APP-PO-14056 [ID 300105.1]
    APP-PO-14056 When Canceling Release [ID 562673.1]
    Thanks,
    Hussein

  • Problem while reading a line from a file

    Hi all
    I am facing a problem while readinga line from a file ,
    line contains some french characters due to which it skips sequence, returning invalid record in a variable
    e.g 'abcdefghÛLasasa'
    Starting Point of Û is 9 and if
    V1:=substr(''abcdefghÛLasasa',9,3)
    result is v1='ÛLas' which is invalid
    can i anybody help me out in resolving this problem

    Hello,
    What is your oracle version? And what is your expected result.
    I used the same string and this is my output on 10.2.
    select substr('abcdefghÛLasasa',9,3) mystring from dual;
    MYS
    ÛLa
    1 row selected.Regards
    Edited by: OrionNet on Jan 29, 2009 12:45 AM

  • Problem while starting weblogic server 10.3.3.0

    Hi,
    I have installed the Weblogic server 10.3.3.0 on machine which has Microsoft Windows XP 2002, Service pack3. RAM - 2GB
    On that Weblogic server 10.3.3.0 i have installed SOA 11.1.1.2.0 and applied the patch set 2 on SOA 11.1.1.2.0 to upgrate it to SOA 11.1.1.3.0. I have used XE database which is installed on another machine.
    After the installation of SOA 11.1.1.3.0 I have created one domain.
    While starting the Admin server of that domain, it prompt me with an error as :
    ** Setting up SOA specific environment for win...
    PATH=D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\native;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\native;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\bin;D:\ORACLE~1\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\jre\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;C:\WINDOWS\Tools\Wintools;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\bin
    USER_MEM_ARGS=-Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m
    JAVA_OPTIONS= -Xverify:none
    ** End SOA Specific environment setup for win.
    JAVA Memory arguments: -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m
    WLS Start Mode=Development
    CLASSPATH=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\user-patch.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\soa-startup.jar;;D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\ORACLE~1\MIDDLE~1\JDK160~1\lib\tools.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\ORACLE~1\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\ORACLE~1\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\ORACLE~1\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.common.adapters_11.1.1\oracle.soa.common.adapters.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\soa\modules\commons-cli-1.1.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.xdk_11.1.0\xsu12.jar;D:\ORACLE~1\MIDDLE~1\modules\features\weblogic.server.modules.xquery_10.3.1.0.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\db2jcc4.jar;D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\soa-infra;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\fabric-url-handler_11.1.1.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\quartz-all-1.6.5.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.fabric_11.1.1\oracle.soa.fabric.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.adapter_11.1.1\oracle.soa.adapter.jar;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\modules\oracle.soa.b2b_11.1.1\oracle.soa.b2b.jar;D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar
    PATH=D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\native;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\native;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\bin;D:\ORACLE~1\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\jre\bin;D:\ORACLE~1\MIDDLE~1\JDK160~1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Imaging\;C:\WINDOWS\Tools\Wintools;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;;D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8;D:\OracleWebLogic\Middleware\Oracle_SOA1\soa\thirdparty\edifecs\XEngine\bin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Starting WLS with line:
    D:\ORACLE~1\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=512m -Dweblogic.Name=AdminServer -Djava.security.policy=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Xverify:none -da -Dplatform.home=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server -Ddomain.home=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE -Dcommon.components.home=D:\ORACLE~1\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1 -Doracle.server.config.dir=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1\servers\AdminServer -Doracle.security.jps.config=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1\carml -Digf.arisidstack.home=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\ORACLE~1\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -da:org.apache.xmlbeans... -Dsoa.archives.dir=D:\OracleWebLogic\Middleware\Oracle_SOA1\soa -Dsoa.oracle.home=D:\OracleWebLogic\Middleware\Oracle_SOA1 -Dsoa.instance.home=D:\ORACLE~1\MIDDLE~1\USER_P~1\domains\SOACOE -Dtangosol.coherence.clusteraddress=227.7.7.9 -Dtangosol.coherence.clusterport=9778 -Dtangosol.coherence.log=jdk -Djavax.xml.soap.MessageFactory=oracle.j2ee.ws.saaj.soap.MessageFactoryImpl -Djava.protocol.handler.pkgs="oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler|oracle.fabric.common.uddiurl.handler|oracle.bpm.io.fs.protocol" -Dweblogic.transaction.blocking.commit=true -Dweblogic.transaction.blocking.rollback=true -Djavax.net.ssl.trustStore=D:\ORACLE~1\MIDDLE~1\WLSERV~1.3\server\lib\DemoTrust.jks -Dem.oracle.home=D:\OracleWebLogic\Middleware\oracle_common -Djava.awt.headless=true -Dums.oracle.home=D:\OracleWebLogic\Middleware\Oracle_SOA1 -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\ORACLE~1\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;D:\ORACLE~1\MIDDLE~1\patch_ocp353\profiles\default\sysext_manifest_classpath weblogic.Server
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Any help How to resolve this error.I have increased the virtual memory of the drive in which i have done the installation.
    Thanks
    Mala

    Hi
    Go to your soa domain root folder/bin and open setSOADomainEnv.cmd file in any text editor. Search for -Xmx1024m and replace that with -Xmx512m. I would prefer copy this entire line and comment one old line and edit the new line with this new value of 512m. So that you know what you changed later on. I do something like this on my side
    REM JEGGA changed -Xmx1024m to -Xmx512m
    set DEFAULT_MEM_ARGS=-Xms512m -Xmx512m
    REM set DEFAULT_MEM_ARGS=-Xms512m -Xmx1024m
    Now you should be able to start the domain. Still 2GB is kind of low memory to start SOA Domain with AdminServer and managed server. One other option you have is while Creating SOA Domain, do NOT use all the defaults, instead check the boxes like to changed managed servers etc. And remove the soa managed server during this process and remove the cluster. Just have only one Admin Server and all the SOA Modules deployed to this AdminServer only. In this way, you will have SOA Domain with only one AdminServer and you can start this admin server alone. You can deploy any SOA Application on this domain and it should work fine.
    Refer this thread for creating single server soa domain:
    Re: Combining two WLS domains
    Thanks
    Ravi Jegga

  • Comment blocks in labview?

    is there any way to make a comment block,
    i.e. /* comments.... */
    in labview?
    I suppose you could enclose your code in a case or while loop that never
    executes- but what if
    you are trying to comment out code that doesn't work?
    Seems like this would be handy when you are debugging, and have the luxury
    of commenting out
    part of your program you don't need to work on-
    or during documentation when you need to write some example code that you
    don't want to interfere with anything else.

    There are a couple answsers to this question...
    You can, as you pointed out, simply put a case structure around something and wire a constant to the selector such that the code you don't want executed is in the case that isn't selected.
    A more fundamental answer to this problem lies in the way you design your LV code. In the many years I have worked with the language I have seldom needed the ability to comment-out code because, LV code is naturally modular. Hence, if you divide up your task properly you don't have to worry about commenting out portions of a large diagram, you simply execute the subVI(s) making up the functionality you want to test.
    With a graphical dataflow programming environment such as LV that lets you interactively execute any
    subroutine simply by opening its front panel and clicking the run button, testing and troubleshooting takes a very different form than it has in most text-based languages.
    Think of it this way, BASIC had the "goto" statement as a way of implementing branches in the code. Likewise, when C came along it also had a "goto" in it--but it is rarely if ever used. Why? Because C has more sophisticated flow-control structures that make the BASIC way of doing things obsolete.
    In the same way, LV has some control structures like those in other languages, but the dataflow orientation of the language means that you can spend less thinking about them--and indeed use less of them. And frankly there are things that are absolutely manditory in other languages that are obsoleted in LV.
    The bottom line is that just as C requires a fundamentally different way of thinking about development tasks than did, say BASIC or COBOL; so working in LV requires a different way of thinking about the job of pr
    ogramming than any of the earlier languages (with the possible exception of Forth--but thats a different digression).
    Hope you got an answer from all this rambling...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Problem while selecting BELNR from BSEG

    Hi Experts,
    I have a report performance problem while fetching BELNR from BSEG table.
    I have to print latest BELNR from BSEG where BUZID = ‘M’ but at the time of execution of report, It is taking too much time (More that hour and sometimes it gets hanged).
    I have also gone through the comments provided by experts for previous problems asked in this forum e.g. BSEG is a cluster table that is why data retrieval takes long time etc.
    Can any one has any other idea or suggestion  or any other way to solve this problem
    Regards,
    Neeraj

    Hi,
    1) Try to create an index on BUZID field
    2) Don't use SELECT/ENDSELECT statement. Instead of that extract all the concerned entries from BSEG into an internal table :
    select belnr from bseg appending table itab where buzid = 'M'.
    then do this :
    sort itab by belnr.
    describe itab lines n.
    read table itab index n.
    Please reward if helpful.
    Regards,
    Nicolas.

  • Strange problem while clearing a customer

    Hi everybody
    I am encountering this strange problem while trying to clear some open items for certain customers. Though these customers have open items on them (checked in BSID and FBL5N), the system is giving a warning message saying that there are no open items on the customers while trying F-30 and F-32.
    The only thing that was different for these customers from the rest was that these customers had some transactions which were supposed to be cleared through AP payment run. (transactions for customer payment).
    Can anybody explain why the system was not considering these line items as open while accessing F-30 and F-32??

    Hi,
    - check SAP Note 136754
    some table fields in the missing documents using Transaction SE16. The following conditions must exist:
    BSIS-XOPVW = X      (Indicator: Open item management, only for G/L                     accounts)
    BSEG-XOPVW = X      (Indicator: Open item management)
    BSEG-AUGBL = space  (clearing document number)
    BSEG-DISBN = space  (discount document number)
    BKPF-BSTAT = space  (document status)
    BKPF-XSTOV = space  (indicator reversal flag)
    REGUS/REGUP -> see below
    Should one or more conditions not exist, please note the following information:
    1. BSEG-XOPVW <> X or BSIS-XOPVW <> X for G/L account line items:
                  The line item presumably comes from a time before you activated the open item management of a G/L account. Documents before this master record change do not contain this technical information. Use report RFSEPA02 if you want to bring the documents in line with the new master record. You must refer to the documentation of this report.
                  Because there may be problems subsequently acivating open item management, RFSEPA02 was changed as of Release 4.5A so that it cannot be started without modifications. SAP wants to make sure you are familiar with the problems, which may result from activating open item management. You can however restart RFSEPA02 when you have deactivated the line:
                  leave program.
    2. BSEG-XOPVW <> X for open item account line items:
                  This data status is not allowed. Contact the SAP Hotline.
    3. BSEG-DISBN <> space.
                  The line item has already been used within bill of exchange accounting.
    4. BKPF-BSTAT <> space.
                  This is a document with a special function, for example a sample document or recurring entry document. Generally these are not taken into account in clearing transactions.
    5. BKPF-XSTOV <> space.
                  The document was flagged for reversal. Only if you cancel the reversal flag, can you clear the document again. You can do this by removing the planned date for the reverse posting (BKPF-STODT) in the document header using Transaction FB02 (Change document).
    6. REGUS/REGUP:
                  Look at table REGUS using Transaction SE16. Enter the account (KONKO) in the selection screen. If you selected an entry, use the information Run date (LAUFD) and Identification (LAUFI) in Transaction F110 (payment program). Check the status of the payment run. If only the proposal was carried out, the documents proposed for payment are blocked for other clearing transactions. It is only when you delete the proposal run that the items are taken into account again in the clearing transaction.
    Rgds.

  • Problem while sending/Receiving request using the HttpURLConnection obj

    Hi,
    We are facing the problem while passing the request in Weblogic.
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    Currently we are migrating 2 applications to WebLogic. Application1 to application2 request should pass.
    Below is some example we tried:
    "When we send a request to our code using the SSOAdaptor code (which handles the request/session in our application) which is on the SunOne server the request parameters are received by our code successfully. And also in Create User Functionality of application1 we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass."
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues.
    Where as when the request is sent from WebLogic to WebLogic the request parameters are missing some how.
    Is there any issue in Weblogic? Please helpus on this.
    Thanks,
    Nagesh
    Edited by: user9307541 on Mar 15, 2010 5:08 AM

    Hi,
    Please find below scenario for testing.
    We have tested the SSOAdaptor code (it is the fucntion name which will send the data from source) locally by hittiing the WPS adaptor URL in a Java client program(TestRequest.java) and the request parameters were reaching the WPS Adapter successfully.
    Then we have written two test servlets to test the communication between SSOAdaptor(TestServlet.java) and WPS adaptor(WPSServlet.java).
    Functionality of TestSevlet: It is sending a request to WPSServelt similar to the way we are doing it in SSOAdaptor.
    Functionality of WPSServlet: It will receive the request parameters and write the parameter Map to console.
    We have deployed and these two servlets(in a single webapplication) on Tomcat server and the request parameters are reaching the WPSServlet successfully.
    Output on Tomcat server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{TypeAcc=[Ljava.lang.String;@14e3f41, ServiceName=[Ljava.lang.String;@1acd47, GMEPortalUserID=[Ljava.lang.String;@19b04e2, UserID=[Ljava.lang.String;@5dcec6, Country=[Ljava.lang.String;@b25b9d}
    after sending request
    After this we have deployed these two servlets (with in a single webapplication) on the Weblogic server in Dev machine(path: /apps/usmport/domains/usmport/servers/usmport_admin/upload/ssoAdaptor/WEB-INF/classes/com/gm/gmeportal/security/adaptor) and
    now the request parameters are not reaching the WPSServlet.
    Output on Weblogic Server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{}
    after sending request
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    When we send a request to WPSAdaptor using the Old SSOAdaptor code which is on the SunOne server the request parameters are received by WPS successfully. And also in Create User Functionality of Portal we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass.
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues. Where as when the request is sent from weblogic to weblogic the request parameters are missing some how.
    Please find below javs source code used to test this:
    TestRequest.java
    import java.io.BufferedReader;
    import java.io.DataOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.MalformedURLException;
    import java.net.URL;
    public class TestRequest {
         * @param args
         public static void main(String[] args) throws Exception{
              // TODO Auto-generated method stub
              excutePost("http://localhost:8080/Testing/TestServlet", "GMEPortalUserID=captest.wss@it0555&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
              //System.out.println("********** Now the request is from SSO *****************");
              //excuteGet("http://10.156.0.173:7013/channel21/wpsadapter", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
         public static String excutePost(String targetURL, String urlParameters)
         URL url;
         HttpURLConnection connection = null;
         try {
         //Create connection
         url = new URL(targetURL);
         connection = (HttpURLConnection)url.openConnection();
         connection.setRequestMethod("POST");
         connection.setRequestProperty("Content-Type",
         "application/x-www-form-urlencoded");
         connection.setRequestProperty("Content-Length", "" +
         Integer.toString(urlParameters.getBytes().length));
         connection.setRequestProperty("Content-Language", "en-US");
         connection.setUseCaches (false);
         connection.setDoInput(true);
         connection.setDoOutput(true);
         //Send request
         DataOutputStream wr = new DataOutputStream (
         connection.getOutputStream ());
         wr.writeBytes (urlParameters);
         wr.flush ();
         wr.close ();
         //Get Response     
         InputStream is = connection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(connection != null) {
         connection.disconnect();
         public static String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    TestServlet.java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class TestServlet
    public class TestServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * Default constructor.
    public TestServlet() {
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doPost(request,response);
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              //System.out.println("********************** the request Map is:" + request.getParameterMap());
              try {
                   System.out.println("before sending request");
                   excuteGet("http://localhost:7003/ssoAdaptor/WPSServlet", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
                   System.out.println("after sending request");
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         //System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    WPSServlet.java
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class WPSServlet
    public class WPSServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * @see HttpServlet#HttpServlet()
    public WPSServlet() {
    super();
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              System.out.println("**********************Inside WPS Servlet -- the request Map is:" + request.getParameterMap());
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doGet(request,response);
    Thanks,
    Nagesh

  • Problem while using receive after invoke activity

    Hi,i have got a problem while using a receive activity,after a invoke activity.The invoke acivity seems that does not work and also the debugger runs forever....But if i remove the receive activity,the invoke activity works fine.
    <h2>The output of GlassfishV2 is:<h2>
    This is from the exception block.
    com.sun.bpel.model.meta.impl.RInvokeImpl@f590c6={<?xml version="1.0" encoding="utf-8" ?>
    *<invoke name="Invoke1"*
    partnerLink="PartnerLink2"
    portType="tns:test_service3"
    operation="luizao"
    inputVariable="LuizaoIn"
    outputVariable="LuizaoOut"
    xmlns:tns="http://dim.test.org/"></invoke>}
    *[Fatal Error] :1:1: Content is not allowed in prolog.*
    System exception occured while executing a business process instance.
    java.lang.NullPointerException: WSDL message model is null
    at com.sun.jbi.engine.bpel.core.bpel.debug.WSDLMessageImpl.<init>(WSDLMessageImpl.java:56)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.CallFrame.onFault(CallFrame.java:380)
    at com.sun.jbi.engine.bpel.core.bpel.model.runtime.impl.SyntheticThrowUnitImpl.doAction(SyntheticThrowUnitImpl.java:91)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELInterpreter.execute(BPELInterpreter.java:145)
    at com.sun.jbi.engine.bpel.core.bpel.engine.BusinessProcessInstanceThread.execute(BusinessProcessInstanceThread.java:76)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.BPELProcessManagerImpl.process(BPELProcessManagerImpl.java:818)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:261)
    at com.sun.jbi.engine.bpel.core.bpel.engine.impl.EngineImpl.process(EngineImpl.java:742)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processRequest(BPELSEInOutThread.java:401)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.processMsgEx(BPELSEInOutThread.java:240)
    at com.sun.jbi.engine.bpel.BPELSEInOutThread.run(BPELSEInOutThread.java:158)
    This is from the exception block.
    I think correlation sets are ok(i have two receive activities).
    I use Netbeans6.0 IDE.
    Can anyone help me?
    Sorry,but i don't speak English fluently

    I can't debug it more,because the bpel variables window disappears when the proccess comes to invoke activity.
    The bpel code is simple:I have got a sequence with follow activities:
    receive
    assign
    invoke
    receive
    assign
    reply
    The code is:
    <?xml version="1.0" encoding="UTF-8"?>
    <process
        name="Testfile2"
        targetNamespace="http://enterprise.netbeans.org/bpel/Test2/Testfile2"
        xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:tns="http://enterprise.netbeans.org/bpel/Test2/Testfile2" xmlns:ns0="http://xml.netbeans.org/schema/Testfile2" xmlns:ns1="http://j2ee.netbeans.org/wsdl/Testfile2">
       <import namespace="http://j2ee.netbeans.org/wsdl/Testfile2" location="Testfile2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service3Wrapper" location="Partners/test_service3/test_service3Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service3/test_service3.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://enterprise.netbeans.org/bpel/test_service2Wrapper" location="Partners/test_service2/test_service2Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <import namespace="http://dim.test.org/" location="Partners/test_service2/test_service2.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
       <partnerLinks>
          <partnerLink name="PartnerLink3" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service2Wrapper" partnerLinkType="tns:test_service2LinkType" myRole="test_service2Role"/>
          <partnerLink name="PartnerLink2" xmlns:tns="http://enterprise.netbeans.org/bpel/test_service3Wrapper" partnerLinkType="tns:test_service3LinkType" partnerRole="test_service3Role"/>
          <partnerLink name="PartnerLink1" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" partnerLinkType="tns:Testfile21" myRole="Testfile2PortTypeRole"/>
       </partnerLinks>
       <variables>
          <variable name="Testfile2OperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationReply"/>
          <variable name="Operation1In" xmlns:tns="http://dim.test.org/" messageType="tns:operation1"/>
          <variable name="LuizaoOut" xmlns:tns="http://dim.test.org/" messageType="tns:luizaoResponse"/>
          <variable name="LuizaoIn" xmlns:tns="http://dim.test.org/" messageType="tns:luizao"/>
          <variable name="Testfile2OperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" messageType="tns:Testfile2OperationRequest"/>
       </variables>
       <correlationSets>
          <correlationSet name="CorrelationSet1" properties="ns1:My_Property"/>
       </correlationSets>
       <sequence>
          <receive name="Receive1" createInstance="yes" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationIn">
             <correlations>
                <correlation set="CorrelationSet1" initiate="yes"/>
             </correlations>
          </receive>
          <assign name="Assign1">
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:ena</from>
                <to>$LuizaoIn.parameters/ena</to>
             </copy>
             <copy>
                <from>$Testfile2OperationIn.part1/ns0:id</from>
                <to>$LuizaoIn.parameters/id</to>
             </copy>
          </assign>
          <invoke name="Invoke1" partnerLink="PartnerLink2" operation="luizao" xmlns:tns="http://dim.test.org/" portType="tns:test_service3" inputVariable="LuizaoIn" outputVariable="LuizaoOut"/>
          <receive name="Receive2" createInstance="no" partnerLink="PartnerLink3" operation="operation1" xmlns:tns="http://dim.test.org/" portType="tns:test_service2" variable="Operation1In">
             <correlations>
                <correlation set="CorrelationSet1" initiate="no"/>
             </correlations>
          </receive>
          <assign name="Assign2">
             <copy>
                <from>$Operation1In.parameters/hik</from>
                <to>$Testfile2OperationOut.part1/ns0:hik</to>
             </copy>
          </assign>
          <reply name="Reply1" partnerLink="PartnerLink1" operation="Testfile2Operation" xmlns:tns="http://j2ee.netbeans.org/wsdl/Testfile2" portType="tns:Testfile2PortType" variable="Testfile2OperationOut"/>
       </sequence>
    </process>If it's a bug,that means that i can't use second receive after invoke any more?

  • Problem while using struts 1.3.8

    Hi All,
    I have some problem while using struts 1.3.8 in my application.
    I am using OC4J 10.1.2.0.2, my simple coding is follows:
    <%@ page contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-tiles.tld" prefix="tiles"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-html.tld" prefix="html"%>
    <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic"%>
    <html:xhtml />
    <html:form action="<action page>" method="POST" enctype="multipart/form-data" >
    <p>
         <label for="Subject" ><span class="Mandatory">*</span> Subject:</label>
         <html:text size="40" property="subject" />
    </p>
    <p>
         <label for="upload" >Attachment:</label>
         <html:file size="40" property="attachmentFile" />
    </p>
    <p>
             <html:submit />
    </p>after clicking my the submit button in the server console i m getting
    JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    javax.servlet.ServletException: JAAS-OC4J: JAZNFilter.doFilter - unable to find the current servlet
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222)
    at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
    at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
    at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
    at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at com.ed.ecomm.edcore.web.filters.SecurityFilter.doFilter(SecurityFilter.java:196)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.MonitoringFilter.doFilter(MonitoringFilter.java:138)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
    at com.ed.ecomm.edcore.web.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:92)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    further i investigate and i removed the "enctype=multipart/form-data" from the form attribute its working fine..
    but without using this attribute struts doesn't support the "upload" i.e, form file... its throwing another exeception..
    could you anyone please let me know whether i can change my OC4J server version of anything need to do..
    many thanks in advance

    I'm having the same exact problem. Any ideas?
    Schema sfactory;
    Schema schema;
    sfactory = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    ErrorHandler eHandler = new MyErrorHandler();
    sfactory.setErrorHandler(eHandler);        
    LSResourceResolver lsrResolver = new MyLSResourceResolver();
    sfactory.setResourceResolver(lsrResolver);
    schema = sfactory.newSchema(new File(argv[1]));The last line gives me NullPointerException. I know the file (argv[1]) exists and can be read because I can print it with a BufferedReader.

  • I have met problem while running script

    i have met problem while running script catalog.sql in oracle 10g r2 , while running it came out from the Database and then i can't get into the database please help ..
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> @C:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catproc.sql
    DOC>######################################################################
    DOC>######################################################################
    DOC> The following PL/SQL block will cause an ORA-20000 error and
    DOC> terminate the current SQLPLUS session if the user is not SYS.
    DOC> Disconnect and reconnect with AS SYSDBA.
    DOC>######################################################################
    DOC>######################################################################
    DOC>#
    DECLARE
    ERROR at line 1:
    ORA-01012: not logged on
    Disconnected

    You should post it to the Database forum.....
    Greetings...
    Sim

  • Problem while dropping a table

    Dear All,
    I am facing a problem while dropping a table in Oracle 10g.
    I am able to find the number of records in the table but unble to delete it.
    SQL> select count(*) from merchant_audit;
    COUNT(*)
    30028278
    SQL> drop table merchant_audit;
    drop table merchant_audit
    ERROR at line 1:
    ORA-00942: table or view does not exist
    I have to drop this table from the database. Please help.
    regards,
    Santhosh

    Hi,
    IS it a table ? Is it your table ?
    Read this example :
    sqlplus scott/*****
    SQL> create table merchant_audit(col1 number);
    Table created.
    SQL> create public synonym merchant_audit for merchant_audit;
    Synonym created.
    SQL> grant select on merchant_audit to merchant;
    Grant succeeded.
    SQL> conn merchant/merchant
    Connected.
    SQL> select count(*) from merchant_audit;
    COUNT(*)
    0
    SQL> drop table merchant_audit;
    drop table merchant_audit
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>
    See owner into the dba_tables, and if synonym into dba_synonyms.
    Nicolas.
    Message was edited by:
    Nicolas Gasparotto

  • Facing problem while going to  catch return result from web-services.

    Hi everybody,
    I am new to BPEL. I am facing problem while going to catch the attributes of resultsets returning from web-services(QAS). As far as my knowledge, two types of results it should return - XML entities and another is attributes which is coming as the part of XML entitites. I am able to catch the XML entities, but can't catch the attributes under it. Even, I am not able to see whether web-services returning something within that field.
    When, I tried to catch the attribute and store to a temporary varilable using the following code:
    *<assign name="AssignQASDoGetAddress1">*
    *<copy>*
    *<from variable="InvokeQAS_DoSearch_OutputVariable"*
    part="body"
    query="/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded"/>
    *<to variable="temp"/>*
    *</copy>*
    *</assign>*
    but, I am facing the following selectionFailure errors after running it:
    *"{http://schemasxmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.*
    -<selectionFailure xmlns="http://schemasxmlsoap.org/ws/2003/03/business-process/">
    -<part name="summary">
    *<summary>*
    empty variable/expression result.
    xpath variable/expression expression "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')" is empty at line 269, when attempting reading/copying it.
    Please make sure the variable/expression result "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')"is not empty.
    *</summary>*
    *</part>*
    *</selectionFailure>*
    Getting this error it seems to me that web-service is returning nothing, but, it returns something as it has been catched using a method called isPostcodeRecoded() Java Code in Oracle ADF. This method has been used as it should return boolean whereas for catching the xml entities using java code we used the method like getPostcode(), getMoniker().
    For your information, we are using Jdeveloper as the development tool for building the BPEL process.
    Am I doing any syntax error. Please consider it as urgent and provide me asolution.
    Thanks in advance.
    Chandrachur.

    Thanks Dave and Marc, for your suggestions. Actually what I found is QAS web-service is returning nothing as attributes when the attributes are set to the default value. For example, following is the part of the wsdl of the result which QAS webservice returns.
    <xs:element name="QASearchResult">
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="QAPicklist" type="qas:QAPicklistType" minOccurs="0" />
    <xs:element name="QAAddress" type="qas:QAAddressType" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="VerifyLevel" type="qas:VerifyLevelType" default="None" />
    </xs:complexType>
    </xs:element>
    <xs:complexType name="QAPicklistType">
    - <xs:sequence>
    <xs:element name="FullPicklistMoniker" type="xs:string" />
    <xs:element name="PicklistEntry" type="qas:PicklistEntryType" minOccurs="0" maxOccurs="unbounded" />
    <xs:element name="Prompt" type="xs:string" />
    <xs:element name="Total" type="xs:nonNegativeInteger" />
    </xs:sequence>
    <xs:attribute name="AutoFormatSafe" type="xs:boolean" default="false" />
    <xs:attribute name="AutoFormatPastClose" type="xs:boolean" default="false" />
    <xs:attribute name="AutoStepinSafe" type="xs:boolean" default="false" />
    <xs:attribute name="AutoStepinPastClose" type="xs:boolean" default="false" />
    <xs:attribute name="LargePotential" type="xs:boolean" default="false" />
    <xs:attribute name="MaxMatches" type="xs:boolean" default="false" />
    <xs:attribute name="MoreOtherMatches" type="xs:boolean" default="false" />
    <xs:attribute name="OverThreshold" type="xs:boolean" default="false" />
    <xs:attribute name="Timeout" type="xs:boolean" default="false" />
    </xs:complexType>
    <xs:complexType name="PicklistEntryType">
    - <xs:sequence>
    <xs:element name="Moniker" type="xs:string" />
    <xs:element name="PartialAddress" type="xs:string" />
    <xs:element name="Picklist" type="xs:string" />
    <xs:element name="Postcode" type="xs:string" />
    <xs:element name="Score" type="xs:nonNegativeInteger" />
    </xs:sequence>
    <xs:attribute name="FullAddress" type="xs:boolean" default="false" />
    <xs:attribute name="Multiples" type="xs:boolean" default="false" />
    <xs:attribute name="CanStep" type="xs:boolean" default="false" />
    <xs:attribute name="AliasMatch" type="xs:boolean" default="false" />
    <xs:attribute name="PostcodeRecoded" type="xs:boolean" default="false" />
    <xs:attribute name="CrossBorderMatch" type="xs:boolean" default="false" />
    <xs:attribute name="DummyPOBox" type="xs:boolean" default="false" />
    <xs:attribute name="Name" type="xs:boolean" default="false" />
    <xs:attribute name="Information" type="xs:boolean" default="false" />
    <xs:attribute name="WarnInformation" type="xs:boolean" default="false" />
    <xs:attribute name="IncompleteAddr" type="xs:boolean" default="false" />
    <xs:attribute name="UnresolvableRange" type="xs:boolean" default="false" />
    <xs:attribute name="PhantomPrimaryPoint" type="xs:boolean" default="false" />
    </xs:complexType>
    here the attributes like FullAddress, PostcodeRecodedare , etc. are not being return by the web-service when it is getting the default value false. But, if it gets true then , it is being displayed at the BPEL console.
    Do you have any idea how can I catch the attributes and its value even when it gets the default value which is already set. Previously, it was returning(it was not being displayed at the console).
    Thanks once again for your valuable suggestions...!!!
    Chandrachur.

  • Problem while inserting into a table which has ManyToOne relation

    Problem while inserting into a table *(Files)* which has ManyToOne relation with another table *(Folder)* involving a attribute both in primary key as well as in foreign key in JPA 1.0.
    Relevent Code
    Entities:
    public class Files implements Serializable {
    @EmbeddedId
    protected FilesPK filesPK;
    private String filename;
    @JoinColumns({
    @JoinColumn(name = "folder_id", referencedColumnName = "folder_id"),
    @JoinColumn(name = "uid", referencedColumnName = "uid", insertable = false, updatable = false)})
    @ManyToOne(optional = false)
    private Folders folders;
    public class FilesPK implements Serializable {
    private int fileId;
    private int uid;
    public class Folders implements Serializable {
    @EmbeddedId
    protected FoldersPK foldersPK;
    private String folderName;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "folders")
    private Collection<Files> filesCollection;
    @JoinColumn(name = "uid", referencedColumnName = "uid", insertable = false, updatable = false)
    @ManyToOne(optional = false)
    private Users users;
    public class FoldersPK implements Serializable {
    private int folderId;
    private int uid;
    public class Users implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer uid;
    private String username;
    @OneToMany(cascade = CascadeType.ALL, mappedBy = "users")
    private Collection<Folders> foldersCollection;
    I left out @Basic & @Column annotations for sake of less code.
    EJB method
    public void insertFile(String fileName, int folderID, int uid){
    FilesPK pk = new FilesPK();
    pk.setUid(uid);
    Files file = new Files();
    file.setFilename(fileName);
    file.setFilesPK(pk);
    FoldersPK folderPk = new FoldersPK(folderID, uid);
         // My understanding that it should automatically handle folderId in files table,
    // but it is not…
    file.setFolders(em.find(Folders.class, folderPk));
    em.persist(file);
    It is giving error:
    Internal Exception: java.sql.SQLException: Field 'folderid' doesn't have a default value_
    Error Code: 1364
    Call: INSERT INTO files (filename, uid, fileid) VALUES (?, ?, ?)_
    _       bind => [hello.txt, 1, 0]_
    It is not even considering folderId while inserting into db.
    However it works fine when I add folderId variable in Files entity and changed insertFile like this:
    public void insertFile(String fileName, int folderID, int uid){
    FilesPK pk = new FilesPK();
    pk.setUid(uid);
    Files file = new Files();
    file.setFilename(fileName);
    file.setFilesPK(pk);
    file.setFolderId(folderId) // added line
    FoldersPK folderPk = new FoldersPK(folderID, uid);
    file.setFolders(em.find(Folders.class, folderPk));
    em.persist(file);
    My question is that is this behavior expected or it is a bug.
    Is it required to add "column_name" variable separately even when an entity has reference to ManyToOne mapping foreign Entity ?
    I used Mysql 5.1 for database, then generate entities using toplink, JPA 1.0, glassfish v2.1.
    I've also tested this using eclipselink and got same error.
    Please provide some pointers.
    Thanks

    Hello,
    What version of EclipseLink did you try? This looks like bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=280436 that was fixed in EclipseLink 2.0, so please try a later version.
    You can also try working around the problem by making both fields writable through the reference mapping.
    Best Regards,
    Chris

Maybe you are looking for

  • Scheduling is not working.

    Hi Experts, Scheduling is not working. I have created the Standalone agent and start the agent. It is working fine. I have scenario on package. I did scheduling for every data at 5AM. The scheduling is not happing (Scheduling is not working). In topo

  • Why does the bottom bar in pages for ipad hide my typing?

    When I type enough text to scroll to the bottom of the screen on Pages for my iPad, the new (and redundant) tool bar hides the text. I have to manually scroll the text every time I find myself at the bottom of the screen. This only happens when I am

  • General Ledger - Open Item Mgt/Line Item Display

    Hello Experts, GL Account was created with no tick in open item mgt and line item display.  Business users posted few entries and now realised that the accunt type should be open item manageable and display should be at line item level.  Going throug

  • Synchronise READ from Serial card when Counter on 6025 is incremented

    Hi! System description: I am using PXI-8423 (2-port RS-422) and PXI-6025 to measure the signal coming from 2 laser sensors mounted onto a mechanical stage with linear encoder. The laser sensors give RS-422 output (at 1KHz) and are connected to my ser

  • How to view SQL executed

    Hi Oracles, I haven't used Forms in years... I tried in vain to find information. I have to port this basic question in embarassment... I need to view a query on a base table block, actually a view I looked at the properties, there is no where clause