Problems calling context-sensitive AIRHelp from Adobe Flex App

Hi everyone...
I´m having problems calling context-sesitive AIRHelp from Flex.
I can launch the help from flex using the following code (flex), but allways starts on the default topic.
private function invocarAirHelp(tema:String):void {
      var appID:String = "pc1";
      var pubID:String = "8C47FDE4638CAF7F210634E52A5F8318D893A57C.1";
      var mgr:ProductManager = new ProductManager("airappinstaller");               
      mgr.launch("-launch " + appID + " " + pubID);
the launch method can recive parameters after the publisherID, but i dont know the parameters that i should give to the method to start the AIRHelp on an specific topic.
I tryed using the parameters as the call was on the command line, ex:
  mgr.launch("-launch " + appID + " " + pubID + " -csh mapnumber 12");
but i can get any results... with those parameters the help application doesn´t even start
Anyone have an idea to make this works?
Thanks in advance, Sabin

Hi Sabin,
The only supported way to launch AIR applications from the browser is the air "browser API": http://livedocs.adobe.com/flex/3/html/help.html?content=distributing_apps_3.html#1035834
The browser API uses ProductManager internally and exposes higher-level browser API so that we change the implementation if necessary someday. The browser API will stay the same, even if the interactions through ProductManager (or something else) change.
The browser API (air.swf) has other features that make it the preferred way to launch apps. For instance, it provides accurate information about which platforms support AIR, and can therefore manage install of new apps and of the runtime itself.
Also, if the application is not installed then Browser API will return Error to the flex application, but that does not happen in case of ProductManager.
That said, you can probably use "--" to separate arguments intended for airappinstaller from arguments that should be passed through to the app itself. 
mgr.launch("-launch " + appID + " " + pubID + " -- -csh mapnumber 12");
-Praful Jain

Similar Messages

  • Context-sensitive FlashHelp from a Client App - Has it EVER been done?

    We are trying to call context-sensitive FlashHelp from a .NET client application. I've found posts from people with the same problem - they can't get it to work. The help window and main topic appear, but the topic context-sensitive portion of the address (pound sign and after) is ignored.  In the comments at the end of the online help topic "Program Help for .NET" (http://help.adobe.com/en_US/RoboHelp/8.0/RoboHTML/WS5b3ccc516d4fbf351e63e3d11aff59c571-7f3 9.html) the administrator states that the information will be updated in April, 2009. Still nothing. Any solutions out there?
    Regards,
    Joseph

    The updating of the help topic is distinct from the problem you are encountering. I believe this is a bug in FlashHelp.
    The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips

  • How to Call report from Adobe Flex App.

    Hello. We are trying to create a reporting solution for our Adobe Flex Applications. We use java and postgre. We also have Crystal Reports 2008 and run a lot of reports locally on end users machines. We have some reports we would like to call from flex and have execute in java and send a PDF back to the end user. So:
    1. Is it possible to do this with Crystal for Eclipse?
    2. If yes can we send values from flex to the filter fields in the report?
    3. Do we then connect the report diereclty to postrgre to get the data?
    RIght now I have a report running in eclipse connecting to postgre. Just trying to see if we are going down the right path. THanks.

    You can integrate your reports with operational workflows by embedding Adobe Flex
    (SWF) applications into your reports. Using Adobe Flex Builder, you can
    create any business-user UI that accesses report data and also integrates
    with external web services. Data in your report can be passed to the Flex
    application via Flashvars, making it easy to create flexible UI even when you
    don't have web-services access to your data. The Flex applications can do
    tasks like database write-back and can invoke operational workflows directly
    within Crystal Reports.
    Thanks,
    Tej

  • How to call a SAP service from adobe flex

    Hi experts,
    I need to call a webservice create from SAP BAPI  my URL is: http://xxxxxxxxx:8000/sap/bc/srt/wsdl/bndg_DD90E166ACE1B1F18AD8001B789FF0AD/wsdl11/allinone/ws_policy/document?sap-client=200, with this URL I can test the webservice from WsNavigator.
    The operation is ZimrfcVerifOtUbica and the input structure is:
    ZimrfcVerifOtUbica
    > PiNumeroAlmacen (input parameter)
    > PiOTransporte (input parameter)
    The output structure is:
    ZimrfcVerifOtUbicaResponse
    >PoMessage (output parameter)
    I've created a view with two inputfield (one to PiNumeroAlmacen, one to PiOTransporte), one button and one label (to put the result value).
    but I don't know how to call the WS, I tried with this code:
    <mx:WebService id="ZCCONVERTERService"
         wsdl="http://xxxxxxxxx:8000/sap/bc/srt/wsdl/bndg_DD90E166ACE1B1F18AD8001B789FF0AD/wsdl11/allinone/ws_policy/document?sap-client=200;" useProxy="false" >
              <mx:operation name="ZimrfcVerifOtUbica" resultFormat="e4x">
                   <mx:request >
                        <PiNumeroAlmacen>AGR</PiNumeroAlmacen>
                        <PiOTransporte>01000</PiOTransporte>
                   </mx:request>
              </mx:operation >
         </mx:WebService>
    and I get this error: [RPC Fault faultString="Could not load WSDL" faultCode="Server.NoServicesInWSDL" faultDetail="No <wsdl:service> elements found in WSDL at ."].
    I tried with actionscript and runtime library but I get this error: java.lang.Exception: Unsupported element in WSDL file: UnknownExtensibilityElement
    I tried put in Data--> Import Web Service and I put the URL and I get Unable to load the WSDL.  Specify another URI.
    Other thing is for this webservice I've created a logic destination, and this webservice is used in a webdynpro aplication and works correctly. But now I need to use the same webservice in flex.
    Could you help me to call to this webservice?
    Thanks in advance.
    Jose

    I have could do it, but now I'm trying to do the same with a SAP standard service.
    Any idea?
    Regards,
    Jose

  • Crossdomain.xml issue - Accessing SAP from adobe FLEX

    Hi All,
    We are in the process of trying to integrate 4 SAP bapis exposed as Web services from adobe flex.
    When we do so we are getting a "security error accessing URL"
    The URL of our flex application is:
    http://10.10.0.48:8081/water0305/iden.html
    The WSDL of the web service is:
    http://10.10.0.66:8001/sap/bc/srt/rfc/sap/ZKK_BAPI_EQMT_DETAIL?sap-client=800&wsdl=1.1
    We looked at various forums and we found that adding a crossdomain.xml file to the root directory
    (at the destination server) will resolve the issue.
    I did implement all those steps on the R/3 side to add a crossdomain.xml to an ABAP WAS.
    crossdomain.xml on WAS
    however i still get those errors(security error accessing URL).
    Below is the code i use to access the SAP web service
    <mx:WebService
    id="EqmtDetailWS" showBusyCursor="true" fault="Alert.show(event.fault.faultString)" >
    <mx:operation name="EqmtDetail" resultFormat="e4x" result="getEquip_result(event);" fault="getFault(event);">
    <mx:request>
    <Equipment></Equipment>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    We are  displaying the SAP info on a map service provided by esri so we included the load operation here.
    <-Loading the wsdl->
    private
    function onExtentChange(event:ExtentEvent):void {
    EqmtDetailWS.wsdl=
    "http://10.10.0.66:8001/sap/bc/srt/rfc/sap/ZKK_BAPI_EQMT_DETAIL?sap-client=800&wsdl=1.1&sap-user=******&sap-password=****&sap-language=EN&~transaction=iw51";
    EqmtDetailWS.loadWSDL();
    <Displaying the info from SAP>
    private function getEquip_result(event:ResultEvent):void {
    equip_desc = event.result.Equitext.Equidescr;
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Equi. Desc. : " + event.result.Equitext.Equidescr + "\n";
    var material:String=event.result.Equimaster.Material;
    SAPIDAliasEquipDesc =event.result.Equitext.Equidescr;
    material=material.substring(14,18);
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Material : " + material + "\n";
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Serial No : " + event.result.Equimaster.Serialno + "\n";
    var costcntr:String=event.result.Equilocation.Costcenter;
    costcntr=costcntr.substring(7,10);
    txtAreaEquipDetail.htmlText = txtAreaEquipDetail.htmlText + "Cost Center : " + costcntr + "\n";
    CustomerID = event.result.Equisales.Customer;
    This is how we load the policy file.
    Security.loadPolicyFile(
    http://10.10.0.66:8001/sap/bc/bsp/sap/zroot/crossdomain.xml);
    This works fine when we run it from the IDE but throws up an error when we deploy it on the server
    So are we missing something ?
    Is there anything else to be done to overcome the security issue ?
    Thanks in advance.
    Regards,
    Karthik.

    Hi Rich,
    I followed the steps in your video when our system was R/3 4.7 (WAS 6.20) and the test worked fine, i.e. accessing the crossdomain by typing http://server:port/crossdomain.xml.
    I followed the same steps with our new version (we're undergoing an upgrade) but I kept getting the error message:
    "BSP Exception: the BSP URL /crossdomain.xml Does Not Contain Any Application Entries".  Then I saw Ivan post suggesting implementing OSS Note 1260386.  I applied the Note but I got the same error message. 
    Then I ran function ICFBUFFER_INIT to make sure the buffer is cleared, cleared the cache in the browser and still got the same error message.
    Our system is ERP 6.0, NetWeaver 7.0, level 17 (BASIS Component is SAPKB70017).
    Please help.  Thank you.
    Achille.

  • Sending JSON from a Flex app?

    I have a bunch of data in my app I need to send to a back-end developer.  It's a series of string and arrays,.  The developer wants in sent as a JSON object.
    Can I construct one from my Flex app, and how would I get it to the server?  Can anyone point me to any examples or documentation on this?
    I have consumed JSON in the past, but never sent it.
    Thanks.

    "... limit the .swf file to be run within a web page..", Yes,
    but why is this a problem? It is the normal way to deliver a Flex
    app.
    The only other way is to use server-side functionality to
    send the mail.
    Tracy

  • Adobe AIR Needed on Android / iOS to Run Adobe Flex Apps

    Hi all,
    I want to confirm if the user has to install Adobe AIR before launching Adobe Flex apps on Android and iOS Devices. Is there any way that we could embedd Adobe AIR setup in the app file so that the user dont have to hastle in installing Adobe AIR.
    Taimur

    It gives you only three options:
    Signed packages for each target platform.
    Signed AIR package for installation on desktop.
    Intermediate AIRI package that must be signed later.
    For mobile apps, we need to select the first option to get the .apk and .ipa file as the second option would generate .air file. None of the options offer to package AIR runtime. Only the first option gives you the option on NEXT window to include the download link of AIR Runtime.
    If i am wrong, kindly point me to that specific checkbox.
    OR do i have to put Runtime.apk in the assets folder of my source code so that it gets packaged?

  • How can I get back my pdf from adobe reader app on my restarted windowsphone 8.1 Samsung ATIV S please?

    How can I get back my pdf from adobe reader app on my restarted windowsphone 8.1 Samsung ATIV S please?

    Then all your data are lost, unless you backed them up (e.g. to https://cloud.acrobat.com/files).

  • Problems with context-sensitive HTML made from importing FM 10 to RH9

    This worked in October and it doesn’t work now.
    Start with a clean, well-formatted Frame 10 book with multiple chapters.  Chapters, Heading 1, 2 and 3 headings have various FM Markers TopicAlias with ID for calling the help.
    Example of FM marker: ID_HELP_SYSTEM_DEFAULT
    Import FM book to RH 9 –pointed to an AllStyles.fm doc as a template, pagination on the above 4 headings, cross-refs mapped, on the Other Settings page the Context Sensitive Help Marker is set to TopicAlias.
    Import looks spiffy;  great TOC, Index, formatting, links, everything is exactly like I expected. Create chm file help. It looks great too. This part works well IMO.
    My.h file is formatted with Hex number to match the application’s call.
    Example:
    #define ID_HELP_SYSTEM_DEFAULT 0x3F131
    #define ID_HELP_EDITDATASET_TOOLBAR 0x3F132
    Rename my mapping h file to BSSCDefault.h and put in root directory replacing the one RH makes.  [When RoboHelp makes an h file, the numbers it assigns do not match what my application calls for. Changing these is not an option. I have hundreds of mapped IDs.]
    Reopen RH  and view the BSSCDefault. h file from RH. It has magically changed the Hex numbers to 6 digit numbers.
    Example:
    ID_HELP_SYSTEM_DEFAULT              258353      Saving Project Defaults as System Defaults
    ID_HELP_EDITDATASET_TOOLBAR  258354      Editing Datasets Using the Mouse
    The Mapped IDs are blue and are not locked.  My FM TopicAlias Markers are all listed as Map IDs, I have Map#s for them and they point to the correct topic.  The center panel  shows Assign as grayed out. The project that worked in October looked just like this too, I checked.
    Recomplie. Place new chm file in application. It will open from the menu item for Help, it will open from F1 but it will not open from any of the mapped Help buttons.
    I uninstalled/reinstalled RH 9 and tried reimporting/compileing with an unpatched version. No change, still borked.
    There has not been a change in the application; there are no new IDs in this version. I tried the new compiled help in an older version of my application and it will not work. Same behavior.
    Any suggestions? Anyone else have this problem? What am i missing?

    I dont use the settings file, I use a FrameMaker doc as a template. It has all my styles and I set the others before the import. There arent very many.
    But, since you import from Frame, would you look at this and verify?
    Looking at Map File in the Edit Map IDs dialog On the left the panel the Map ID is listed, then the Map # and finally the topic title.
    Do your Topics show a notation at the end?
    Example: Averaging Datasets #CSH_71
    Then on the Topic panel if you find that same topic you see
    Topic symbol -Averaging Datasets   [and the Topic properties show “no map ids for this topic]
    Bookmark symbol -Averaging Dataset#CSH_71 [topic properties show the map id when you select it]
    Bookmark symbol -Averaging Datasets#IX_averaging_datasets
    Bookmark symbol-Averaging Datasets#XREF_25075_Averaging Datasets
    I understand the Index and cross ref markers, but the isolated book mark is odd. You would think the notation would be on the topic
    The chm file from October works in my latest build, and the developers swearz they changed NOTHING in the way it is called. I still have to talk to QM who do the builds just in case.

  • Call XI Web Service from Adobe form. URGENT pleaseeee

    Hi everyone!
    Help!I need to implement an Adobe Interactive Form, this form has to call / consume a XI Web Service. I 'm able to call a normal web service, I got the "Interactive Forms and Web Service Integration" tutorial. The problem is when the button who calls the XI WS, there is an error: Error when trying to access the file:..............
    any idea? I'm sure there is a problem of authentication, but I don't know how to pass these parameters from adobe to the WS. Maybe the data connection creation have to be in a different way....
    Any Idea will be great
    Thank you in advance
    Leslie.-

    Hi,
    http://my.execpc.com/~gopalan/dotnet/webservices/webservice_csharp_client.html
    http://staff.washington.edu/fox/notes/ws_client_cs.shtml

  • Problems converting context sensitive help to Robohelp 6

    I’m new to Robohelp and have inherited about 60 WinHelp
    projects which were created several years ago by a previous tech
    writer, using Blue Sky Robohelp Classic 2000.
    I am having a problem with converting these projects to
    Robohelp 6. The same three compile errors are coming up in every
    project I convert to Robohelp 6. Yet, when these same projects are
    compiled in Robohelp Classic 2000 they are error free.
    These are the basic steps I follow:
    1. Open Robohelp 6.0 for Word.
    2. Open the .hpj
    3. Choose the “Generate Primary Layout” icon to
    compile the project.
    The Primary Layout for these projects is WinHelp3.
    At completion, the compiler says the WinHelp 3 project has
    been built successfully, although the error log contains three
    errors.
    When viewed, the help files appear as normal. However, the
    projects are used for context-sensitive help which is activated by
    the user pressing F1 or Shift + F1.
    When I test the help files with our software, I receive the
    following WinHelp error message: The topic does not exist. Contact
    your vendor for an updated help file (129).
    The following three compile errors come up in every project:
    Error 1230: line...21 of MENU0000.hpj : File '!HPJ-OPT.TXT'
    not found.
    Error 1230: line...52 of MENU0000.hpj : File '!HPJ-CFG.TXT'
    not found.
    Error 2050: line...42 of MENU0000.hpj : Invalid #include
    syntax.
    In larger projects, the Invalid #include syntax error appears
    many times, in smaller projects just once.
    The two .TXT files that are not found during the compile are
    present in the project folder for each project, but RoboHelp seems
    to think they are not there.
    As for the #include statement, I can only find one #include
    statement in the project. It’s in the Project > Startup
    Macros area and it calls HPJ-CFG.TXT. The syntax is correct. I have
    tried deleting this startup macro and recompiling. This removes the
    “HPJ-OPT.TXT' not found” error but still leaves the
    other two errors. I cannot find the reference to HPJ-OPT.TXT
    anywhere in the project , so I haven't been able to delete it and
    see what effect this would have.
    I am running Robohelp for Word, version 6.0 with Word 2002
    (10.6826.6825) SP3 on Windows XP Pro operating system.

    Hi Carenb and welcome to the RH community. Although you don't
    specifically say it does sound like you are continuing to output
    winhelp. Can I ask why? It would be wise to think about converting
    to another format (e.g. HTML Help or WebHelp) in order to keep up
    with recent Microsoft announcements. Anyway, RH Classic 2000 was a
    very different product than RHX6. For a start it uses a completely
    different set of project files (.HPJ are now .XPJ) which I think
    explains the error message you are getting. If you want to continue
    using winhelp I suspect you may have to rebuild your map files. If
    you migrate to another help format you can concert your existing
    project by creating a new project in RoboHelp HTML and importing
    your .HLP file or word documents.

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • Problems calling external Web Service from a Java Stored Procedure

    I'm using a sample code that I found here about calling external web services from a Java Store Procedure ( Credit Agency Web Service http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html ) but when I run it ,send this error. I dont know what can I do or what is missing. Please help me. Thanks.
    Error: Premature EOF encountered [java.io.EOFException] [SOAPException: faultCode=SOAP-ENV:IOException; msg=Premature EOF encountered; targetException=java.io.EOFException: Premature EOF encountered] at org.apache.soap.SOAPException.(SOAPException.java:77) at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765) at org.apache.soap.rpc.Call.invoke(Call.java:261) at oracle.otnsamples.wsclient.CreditAgencyServiceStub.authorizeCustomer(CreditAgencyServiceStub.java:84) at Products.jspService(Products.jsp:120) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:795) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:794) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)

    I'm also facing problem in running the example on the page http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html
    I've Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 and Oracle Application Server 10g (10.1.3). When I executed the following command,
    loadjava -thin -user sys/password@localhost:1521:oradb -resolve -synonym -verbose -grant public %OC4J_HOME%/webservices/lib/soap.jar %OC4J_HOME%/lib/dms.jar %OC4J_HOME%/jlib/javax-ssl-1_1.jar %ORACLE_HOME%/lib/servlet.jar %OC4J_HOME%/j2ee/home/lib/mail.jar
    ... mentioned in step 3 under the "Configuring the Application" section on the above link, the process terminates with the following error
    The following operations failed
    class oracle/net/www/protocol/https/Handler: resolution
    class oracle/net/www/protocol/https/HttpsURLConnection: resolution
    class oracle/soap/client/ProviderManagerClient: resolution
    class oracle/soap/client/ServiceManagerClient: resolution
    class oracle/soap/providers/JavaProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/sp/SpProvider: resolution
    class oracle/soap/server/http/SOAPServlet: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    class org/apache/soap/messaging/Message: resolution
    class org/apache/soap/rpc/Call: resolution
    class org/apache/soap/rpc/RPCMessage: resolution
    class org/apache/soap/rpc/Response: resolution
    class javax/net/DefaultServerSocketFactory: creation (createFailed)
    class javax/net/DefaultSocketFactory: creation (createFailed)
    class javax/net/ServerSocketFactory: creation (createFailed)
    class javax/net/SocketFactory: creation (createFailed)
    class javax/net/ssl/DefaultSSLServerSocketFactory: creation (createFailed)
    class javax/net/ssl/DefaultSSLSocketFactory: creation (createFailed)
    class javax/net/ssl/HandshakeCompletedEvent: creation (createFailed)
    class javax/net/ssl/HandshakeCompletedListener: creation (createFailed)
    class javax/net/ssl/SSLException: creation (createFailed)
    class javax/net/ssl/SSLHandshakeException: creation (createFailed)
    class javax/net/ssl/SSLKeyException: creation (createFailed)
    class javax/net/ssl/SSLPeerUnverifiedException: creation (createFailed)
    class javax/net/ssl/SSLProtocolException: creation (createFailed)
    class javax/net/ssl/SSLServerSocket: creation (createFailed)
    class javax/net/ssl/SSLServerSocketFactory: creation (createFailed)
    class javax/net/ssl/SSLSession: creation (createFailed)
    class javax/net/ssl/SSLSessionBindingEvent: creation (createFailed)
    class javax/net/ssl/SSLSessionBindingListener: creation (createFailed)
    class javax/net/ssl/SSLSessionContext: creation (createFailed)
    class javax/net/ssl/SSLSocket: creation (createFailed)
    class javax/net/ssl/SSLSocketFactory: creation (createFailed)
    class javax/security/cert/Certificate: creation (createFailed)
    class javax/security/cert/CertificateEncodingException: creation (createFailed)
    class javax/security/cert/CertificateException: creation (createFailed)
    class javax/security/cert/CertificateExpiredException: creation (createFailed)
    class javax/security/cert/CertificateNotYetValidException: creation (createFailed)
    class javax/security/cert/CertificateParsingException: creation (createFailed)
    class javax/security/cert/X509Certificate: creation (createFailed)
    exiting : Failures occurred during processing
    I've checked the path to all the jar files.
    I tried to run the command again with system/password instead sys/password but then I got the following stacktrace:
    The following operations failed
    class oracle/net/www/protocol/https/Handler: resolution
    class oracle/net/www/protocol/https/HttpsURLConnection: resolution
    class oracle/soap/client/ProviderManagerClient: resolution
    class oracle/soap/client/ServiceManagerClient: resolution
    class oracle/soap/providers/JavaProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/sp/SpProvider: resolution
    class oracle/soap/server/http/SOAPServlet: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    class org/apache/soap/messaging/Message: resolution
    class org/apache/soap/rpc/Call: resolution
    class org/apache/soap/rpc/RPCMessage: resolution
    class org/apache/soap/rpc/Response: resolution
    exiting : Failures occurred during processing
    Thanks in advance for any useful help.
    -

  • Problem calling a Java Method from C++

    hi everyone,
    i'm using JNI and i'm trying to call a Java method from C++, this is the code:
    SocketC.java
    public class SocketC
    private native void conectaServidor();
    private void recibeBuffer()
    System.out.println("HELLO!!!");
    public static void main(String args[])
    SocketC SC = new SocketC();
    SC.conectaServidor();
    static {
    System.loadLibrary("Server_TCP");
    Server_TCP.cpp
    char* recibirSock()
         int _flag = 1;
         while(_flag != 0)
              memset(buffer,0,sizeof(buffer));//Et la, celle pour recevoir
              recv(sock,buffer,sizeof(buffer),0);
              printf(" Mensaje del cliente: %s\n",buffer);
              _flag = strcmp(buffer,"salir");
         }//fin while
         return buffer;
    void enviarSock()
         int _flag = 1;
         getchar();
         while(_flag != 0)
              memset(buffer,0,sizeof(buffer));//procedimiento para enviar
              printf("\n Escriba: ");
              gets(buffer);
         //     err=scanf("%s",buffer);
              send(sock,buffer,sizeof(buffer),0);
              _flag = strcmp(buffer,"salir");
         }//fin while
    }//fin enviarSock
    DWORD servicio(LPVOID lpvoid)//
         char *buf;
         printf("\n Cliente aceptado!!!!!\n");
         buf=recibirSock();
         return 0;
    JNIEXPORT void JNICALL Java_SocketC_conectaServidor(JNIEnv *env, jobject obj)
    //void main()
    /*this is the problem i'm calling the method recibeBuffer*/
         jclass cls = env->GetObjectClass(obj);
         jmethodID mmid = env->GetMethodID(cls, "recibeBuffer", "(V)V");
         if (mmid == 0)
              return;
         env->CallVoidMethod(obj, mmid); //llama a Java
         WSAStartup(MAKEWORD(2,0),&wsa);//MAKEWORD dit qu'on utilise la version 2 de winsock
         printf("TCP conexion Sockets\n\n");
         //estimez vous heureux que je foute pas de copyright ;)
         system("TITLE TCP Conexion Sockets (Version server)");
         //fo avouer que c'est plus joli
         int port;
         printf("Port : ");//On demande juste le port, pas besoin d'ip on est sur un server
         scanf("%i",&port);
         sinserv.sin_family=AF_INET;     //Je ne connais pas d'autres familles
         sinserv.sin_addr.s_addr=INADDR_ANY;//Pas besoin d'ip pour le server
         sinserv.sin_port=htons(port);
         server=socket(AF_INET,SOCK_STREAM,0);//On construit le server
         //SOCK_STREAM pour le TCP
         bind(server,(SOCKADDR*)&sinserv,sizeof(sinserv));
         //On lie les parametres du socket avec le socket lui meme
         listen(server,SOMAXCONN);//On se met � �couter avec server, 0 pour n'accepter qu'une seule connection
         printf(" Servidor conectado.");
         while(1)
              sinsize=sizeof(sin);
              if((sock=accept(server,(SOCKADDR*)&sin,&sinsize))!=INVALID_SOCKET)
              {//accept : acepta cualquier conexion
                   if (hReadThread = CreateThread (NULL, 0, (LPTHREAD_START_ROUTINE)
                   servicio, 0, 0, &dwThreadID))
                        printf("\nHOLA!");
                        GetExitCodeThread(hReadThread,&dwExitCode);
                        CloseHandle (hReadThread);
                   else
                        // Could not create the read thread.
                        printf("No se pudo crear");
                        exit(0);
    when i'm running the proyect i get this error:
    C:\POT Files\UCAB\tesis\esmart\french>java SocketC
    Exception in thread "main" java.lang.NoSuchMethodError: recibeBuffer
    at SocketC.conectaServidor(Native Method)
    at SocketC.main(SocketC.java:16)
    i don't know why this is happening i got declare the method recibeBuffer in my SocketC.java class, but doesn;t work can anyone help me?
    PD: sorry for my bad english i'm from Venezuela

    Next time please paste your code between &#91;code&#93; tags with the code button just above the edit message area.
    To answer your question, you wrote the wrong method signature. It should be:jmethodID mmid = env->GetMethodID(cls, "recibeBuffer", "()V");Regards

  • Problems calling a html form from a different page

    Hi,
    I'm working on a logon for a website. I have a html page and a jsp page that contains the login function. I want to call the login form after the user presses submit. But I'm having problems calling the form from the html page.
    Any help appreciated.
    Here is my html page:
    <form method="POST" action="login.jsp">
    <table>
    <tr>
    <td>
    <div align="center">
    <b>UserName:</b>
    <input name="user_name" type="text" class="input" id="username" maxlength="18">
    <b>Password:</b></font>
    <input type="password" name="password" class="input" maxlength="18">
    </input>
    <input type="button" border="0" value="Login" width="30" height="20">
    </input>
    My jsp page:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <body bgcolor = "#E5E8EF">
    <script language="javascript">
    function login(form) {
         alert("hello");
    if (form.username.value=="joe") {
    if (form.password.value=="bloggs") {             
    location="success.html"
    } else {
    alert("Invalid Password")
    } else {  alert("Invalid UserID")
    //-->
    </script>
    </body>
    </html>

    So your intention is that the JS function would be invoked somehow?
    Are you aware that Javascript is a completely different language from Java/JSP/JSTL?
    Here is a listing of some JSP/Servlet tutorials which might help you further:
    http://www.google.com/search?q=java+tutorial+site:sun.com
    http://www.google.com/search?q=jsp+tutorial+site:sun.com
    http://www.google.com/search?q=servlet+tutorial+site:sun.com

Maybe you are looking for

  • Can't turn off iCloud and F'd up my Calendar

    I have an iPhone with my Work calendar Synced with my work computer (outlook Calendar). Also, I have iMac 27" i5 with my Home calendar (iCal).   This has worked fine and separetly for the last 3years.  My home calenders allow me to organise my life w

  • Adobe photoshop lightroom 4.1 error 1935

    spent all day trying to install even after reading and following instructions on how to fix error 1935 and still no success with lightroom 4.1 heres the full error message "Error 1935.An error occured during the installation of assembly component {B7

  • Css layout not working in firefox

    I've created a css layout using divs, it works fine in IE, but in firefox, the container div doesn't stretch far enough to contain all the content. here's the link to the page: http://www.claremckenzie.co.uk/tryshahunt/profile.html can anyone help?

  • Php-apache not in repositories

    Hi. I'm following this tutorial: https://wiki.archlinux.org/index.php/LAMP and i need to get "php-apache"... I have installed php5, apache2, and mysql. They are all working. Then I read in the tutorial that I need php-apache. Pacman doesnt find it !

  • Fixed date holiday

    Hello Guru, I have configured a holiday for Jan/01 as a public holiday 'with fixed date' specification and the definition is given as below. Day: 1 Month: 1 Guaranteed: Saturday/Sunday (move from Sat/Sun to previous/next day) Holiday class: 1 Later w