POST REST webservice call

Hello

I'm new to web services. I created a POST web service using the REST in APEX, which accepts 3 data variables and inserts them into a table.

I don't know how to call this web service through java script POST to test works. My main question is how to send data to the web service POST.

Hi Ally_p,

Ally_p wrote:

I'm new to web services. I created a POST web service using the REST in APEX, which accepts 3 data variables and inserts them into a table.

I don't know how to call this web service through java script POST to test works. My main question is how to send data to the web service POST.

Check out the following OBE tutorial: Creating and Using RESTful Web Service on-demand Express 5.0

The illustrated tutorial how to create type GET/POST to web services in Oracle APEX 5.0, but unfortunately it gives example only how to consume GET kind of RESTful Services.

For example how to use POST type of RESTful Web Service in Oracle APEX consult: https://www.youtube.com/watch?v=QnNtrxNlRgw

Kind regards

Kiran

Tags: Database

Similar Questions

  • Secure RestFul WebService call with basic authorization via https

    Hello

    is it possible to call a secure RestFul WebService with basic authorization via https to APEX?

    Database: Oracle 11g XE
    APEX: 4.2.1

    I have a solution by calling the Java Web service, which was called from the database via a scheduled task (run).

    As my hosting partner does not support Java, I'm looking for another option.

    Concerning
    Markus

    Hello

    Oracle XE can USE a wallet with utl_http without problem. Just create a portfolio from a version supporting the creation of the portfolio and copy this portfolio to your XE machine and use it. It really works.

    ---
    Lavenu
    MaxApex accommodation
    http://www.maxapex.com

    Published by: Richard on January 23, 2013 23:32

  • How to call the REST Webservices via native J2ME app.

    Hi, can someone help me how to call REST Webservices via native J2ME app. I don't want to use the HTTP request. Is there a possible way to call via AJAX, if so how? I use only the RIM and the J2ME API. Thank you, joy

    JSON is just the format fo the data returned.  So all you do is make a standard HTTP call, get the data and analyze using JSON.  OS 6.0 includes JSON, but OS 5.0 doesn't work, then you will need to get a JSON library if you want to use in the 5.0 OS.

    You might find them useful:

    http://supportforums.BlackBerry.com/T5/Java-development/JSON-library/m-p/573687

    http://supportforums.BlackBerry.com/T5/Java-development/sample-code-implementing-JSON-in-your-applic...

  • The Post of Restful Webservice method using

    Hi all

    I use jdev 12.1.3

    I'm new to the MAF.

    I want to use the Post of Restful webservice to MAF method. I have a variable defined in the service binding Restful web and if I use it with a HTTP client works not very well.

    Please let me know how to use the Post of service Restful MAF method.

    I made a data control to the Get method with json respose. Can I use the same data control with a different method for the position.

    Kind regards

    KP

    It depends on what awaits your REST webservice as input.

    You can try passing param1 = 123 & param2 = abc & param3 = load useful s bat

    The first feature film in references of function in the file application.xml - MAF is displayed by default.

  • REST api call for the properties of the object in the html bridge provides resource not found (404) error.

    Hello

    I added a bridge Html summary view to our existing plugin (which is in Flex). The html page is displayed in the Summary tab with static data like images and titles. But the .gestJSON of the REST api call fails with the error ' could not load resources: the server responded with a 404 (Not Found) status.

    I followed the bridge Html sample chassisB (chassis - summary.js and html) to create the new page.

    Web.XML of the user interface of the plugin is configured to map/rest / *. bean dataAccessController is defined in the bundle context.

    Java package has the DataAccessController same class as the DataAccessController chassisB class

    This is the URL that I see in the javascript debugger and call API is a failure for this url.  There is no error in the virgo.log.

    https:// /vsphere-client/webui_ui_ns/rest/data/properties/323de5b9-4D2E-4dd7-ae32-98277dd44e90%252Fmf8k-h38?properties=name,model,version < vcenter ip >

    webui_ui_ns-client/vSphere is the value of Web-ContextPath in the plugin MANIFESTO. MF

    I spent a lot of time to understand the issue, but no luck. What I'm doing wrong here? Any help is appreciated.

    version of vCenter server appliance 6.0.0

    SDK - vSphere SDK Web 5.5.0

    1.7.0_79 64-bit JDK

    Thank you

    Deepa

    It was a configuration problem. I missed the tag in the bundle context of spring.

    After you add the 2 lines, it worked.

    Thanks for your time.

  • OneWay webservice called synchrnously instead of asynchronously

    Hello

    I have a webservice and BPEL processes deployed on the server of SOA. The Webservice is a POJO method annotated with @Oneway. BPEL process is webservice call. I noticed that the BPEL is waiting for the webservice finish before proceeding to next process/activity in the BPEL.

    Given that the operation was called as oneway, I expected the BPEL process to invoke the process and continue with other activities without waiting for the webservice finish. Isn't he supposed to submit the application and move forward with other activities without waiting for the Web service call ends?

    Here is the excerpt of the Audit trails which shows that the BPEL process waited 5 minutes before scoring the invocation as complete:

    invokeSlowResponder
    April 12, 2013 * 11: 37:01 * PM Started invocation of the operation "testSleep" the partner "SlowResponder".
    April 12, 2013 * 11: 42:01 * PM Invoked 1 channel operation "testSleep" the partner "SlowResponder".
    payload of <>
    < invokeSlowResponder_testSleep_InputVariable >
    < name of part = 'Settings' >
    < testSleep >
    < > 300000 arg0 < / arg0 >
    < / testSleep >
    < / part >
    < / invokeSlowResponder_testSleep_InputVariable >

    Why the BPEL process waits until the Web service process is completed in a Oneway operation?

    With the help of 11G (11.1.1.6), Weblogic 10.3.6.0

    Thanks in advance,
    Khalil

    Hi khadija.

    We are facing a similar problem here on my business.

    Please, take a look at Metalink note @ONEWAY Web Service method does not immediately return [1500032.1 ID].

    There is a patch for Weblogic server:

    Patch 14644893: SU [JJ1I] Patch: ONEWAY WS METHOD DOES NOT RETURN DIRECTLY

    We have yet to test this patch, but I hope that this information can be useful for you.

    Kind regards

    Luis Fernando Heckler

  • How the webservice call (two way ssl) from a composite?

    How the webservice call (two way ssl) from a composite? What configuration of weblogic, I put?

    Problem with one of the managed server while activating SSL. _ issue Resovled

    Certificate is not correct according to standarad for its use.

    Kind regards
    Anuj

  • WebService call ends in error check during after decoding (after update to Flex builder 3 /Flex builder 2.01 hotfix 3)

    Hi all

    I would like to ask if anyone has ever get or hear about this error (or can help me to discuss how would be the best way to fix it). Also, please note that the error occure didn t when I used Flexbuilder 2.01 Hotfix 2 and Flashplayer 9.0.47.

    The error occurred just to myapp when I make a Web service call what response message includes a parameter array.
    There is a work around in the WSDL of the parameters definition, cause the WSDL contains at this place a tag < choice >, which is only partially supported by FLEX. Workaround for this is to use an own wsdl for the flex client where it including tags using attributes minOccurs = "0" maxOccurs = "1".

    The console window of FB3 Watch (under some entries of hundreds of battery), the following error:
    VerifyError: Error #1068: iwp.myapp.searchform.MySearchForm and iwp.myapp.searchform.MySearchForm cannot be reconciled.

    at iwp.myapp.searchform::MySearchForm/getSearchFormResultHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    to mx.rpc::AbstractOperation / http://www.adobe.com/2006/flex/mx/internal:dispatchRpcEvent () [E:\dev\flex\sdk\frameworks\ projects\rpc\src\mx\rpc\AbstractOperation.as:196 ]
    to mx.rpc::AbstractInvoker / http://www.adobe.com/2006/flex/mx/internal:resultHandler () [E:\dev\flex\sdk\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:198 ]
    at mx.rpc::Responder/result() [E:\dev\flex\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.a s:48]
    at mx.rpc::AsyncRequest/acknowledge() [E:\dev\flex\sdk\frameworks\projects\rpc\src\mx\rpc\Asy ncRequest.as:81]
    to DirectHTTPMessageResponder / completeHandler ([E:\dev\flex\sdk\frameworks\projects\rpc\src\ mx\messaging\channels\DirectHTTPChannel.as:387])
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()


    I really appreciated if somone could help me with this or have any idea how I can go on.
    (a Question is there a way to get the source "open source" code before FB3 came out?)

    Best regards
    Kcell

    Hi all

    today I found the reason of the accident, that occure when my application calls him Web service works in the new Flash Player 9.0.115).

    The reason is that in the function ResultHandler the webservice call it were nested terms "switch" used and missed in two branches "case" a "pause." So the problem could be fixed easily, but I just want to inform people if you have a similar problem, they should try to start the issue with Manager of result/fault 'empty '.
    (the old version (9.0.47) seems to be more robust against a 'pause' missing; but for sure to have other leaks and, of course, features)

    kepp both on bending ;)

    Best regards
    Kcell

  • API - POST - REST VCO connection pool closing

    Hello

    I'm working on an automation scenario where I need a VCO A workflow to start another workflow VCO B using the VCO REST Plugin (1.0.2) on VCO 5.1.1.

    I did it with success while creating a multitude of REST and surgery REMAINS by using the appropriate workflow. However, my approach is a lot of static and I need to create REST operations on the fly. I have had a look at workflows Plugin and try to do the same thing in my workflow.

    However I am stuck with the error 'Connection Pool close' when you try to run the POST request.

    My approach is to store the host REMAINS as a static attribute with VCO configuration object and retrieve it from there. I can run GET operations without any problem with the owner, i.e.


    restRequest = restHost.createRequest (restType, restUrl, restContent);

    restResponse = restRequest.execute ();

    My problem is actually running a POST operation. I prepared the content in XML format, which is

    " <-xmlns = execution context" http://www.VMware.com/VCO "> "
    < Parameters >

    < name parameter = "param1" type = "string" >

    < string > 1 < / string >

    < / parameter >

    < name parameter = "param2" type = "string" >

    < string > value2 < / string >

    < / parameter >

    < / Parameter >

    < / execution context >

    and use the content type "application/xml". Earlier in my code, I run a query GET to retrieve my ID for workflow target to create a Url like this:

    flow of work/98c3b8ee-9569-4940-acc1-b8fbc2e64649 / executions.

    This is code that I use to make the POST while creating an operation of REST when needed and delete it later.


    var restOperation = new RESTOperation (System.nextUUID ());

    restOperation.method = restType;

    restOperation.urlTemplate = restUrl;

    restOperation.defaultContentType = restContentType;

    restHost.addOperation (restOperation);

    RESTHostManager.updateHost (restHost);

    inputParameters var = [];

    var restRequest = restOperation.createRequest (inputParameters, restContent);

    restRequest.contentType = restContentType;

    var restResponse = restRequest.execute ();

    restHost.removeOperation (restOperation.id);

    RESTHostManager.updateHost (restHost);

    My code does not work when calling for the lifting of restRequest.execute: ' InternalError: connection pool arrested "." If anyone else has tried a similar scenario or has any idea what I may be missing?

    Thank you

    Bernd

    Thanks chap - update the objects did the trick.

    In my case, that initially caused the problem travel of COULD happen. Of course store the restHost object in the configuration of VCO leads to an out-of-date version at run time. I'm now store the ID of restHost only. Then, copy the following code works:

    var restHostId is System.getModule("my.library").myGetConfigAttr ("Folder", "VCO", "restHostId");.

    var restHost = RESTHostManager.getHost (restHostId);

    If (restType == 'GET') {}
    try {}
    restRequest = restHost.createRequest (restType, restUrl, restContent);
    restResponse = restRequest.execute ();
    }
    catch (exp) {throw ("request REST to run: cannot run '" + restType + "' '" + restUrl + "' request-reason = '" + exp + "'") ;}}
    }
    else {}
    try {}
    var restOperation = new RESTOperation (System.nextUUID ());
    restOperation.method = restType;
    restOperation.urlTemplate = restUrl;
    restOperation.defaultContentType = restContentType;
     
    restHost.addOperation (restOperation);
    RESTHostManager.updateHost (restHost);
     
    restHost = RESTHostManager.getHost (restHost.id);
    restOperation = restHost.getOperation (restOperation.id);

    inputParameters var = [];
    var restRequest = restOperation.createRequest (inputParameters, restContent);
    restRequest.contentType = restContentType;

    var restResponse = restRequest.execute ();

    restHost.removeOperation (restOperation.id);
    RESTHostManager.updateHost (restHost);
    }
    catch (exp) {throw ("request REST to run: cannot run '" + restType + "' '" + restUrl + "' request-reason = '" + exp + "'") ;}}
    }

  • EJB + REST WebServices

    Hi all

    I am developing an EJB application and REST to display Web services for client application.

    What I tried and founded:

    Oracle JDeveloper 12 c (12.1.3) tutorials - building and consuming a RESTful Web Service from related database

    Oracle JDeveloper 12 c (12.1.2) tutorials - creating a Web Application using EJB and JPA JavaServer Faces

    http://waslleysouza.com.br/2014/10/RESTful-Web-service-no-JDeveloper-12C/

    Re: The best way to implement Web service in the existing EJB application

    Oracle JDeveloper 12 c (12.1.3) tutorials - web services REST-JSON consuming in Mobile Applications with Oracle Mobile Ap...

    Annotation EJB REST/JSON session...?

    Re: Need DataControl customer who accepts JSON of Service Rest

    These are not quite what I need. There are parts that I use all of them, but at the end, when I test the webService with analizer http it doesn´t work.

    Anyone know a good tutorial, from the beginning (create EJB´s, creation of the webservice_REST) to the end (customer consuming the webservice_REST) without problems?

    Thanks in advance

    https://blogs.Oracle.com/IMC/entry/building_simple_java_ee_rest

  • The vSphere Client Plugin Web WebService call

    Hello

    I have found no examples of vSphere call Web Service from Web Client Plugin. How can it be done? I have to create some adapter data/property provider and call webservice that somehow?

    See the samples/vsphereviews/vsphere-wssdk-provider, it shows how to use vSphere SDK WebService.

    See doc html at docs/samples-doc/vsphereviews.html#vsphere-ui.

  • RESTful Webservice - Page not found

    Using web services in the SQL Studio wizard, I created a simple Restful web service with a query GET the resource Type of media. The SQL statement Gets the mime_type and a blob value in a table via a parameter ID. The code works fine in my standalone environment (apex 4.2 listener 2.1) but on the cloud, when I bind the variable: ID and press the test button, it always returns "Page not found". Even when I call the ws via APEX_WEB_SERVICE. MAKE_REST_REQUEST, it returns, "Page not found".

    The test screen creates the following URL: https://database-xxxxxx.us1.oraclecloudapps.com/apex/export/get/1

    If I run the present in the browser, it also returns "Page not found". By looking at the URL, it seems wrong. Usually, the workspace is also a part of the url (after the/apex/piece). Here it is absent. However, even when I add, the error is "Page not found". I checked that the workspace has enabled Restful web services and I connect with the admin user who has all three SQL Dev granted permissions.

    Anyone seen this before? I have I have some missing permission or something wrong?

    Thank you

    Steve

    Hi Steve,.

    + > The code works fine in my standalone environment (apex 4.2 listener 2.1) +.
    Just to clarify things, which I assume is the version that you have installed locally, Oracle Application Express Listener 2.0.1 is the latest available listener and is running on the cloud. Oracle Application listener 2.0 adds support for connecting to multiple databases and includes support for a number of different strategies for routing requests to the appropriate database, each of which is described in the earphone Installation and Configuration Guide (see http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/config.htm#CBDCHGDF). All the strategies are based on the review of the request URI and choose the database based on some sort of football game against the URL and according to the chosen strategy, the URL will be different.

    + >... when I bind the variable: ID and press the test button, it always returns "Page not found"... The test screen creates the following URL: https://database-xxxxxx.us1.oraclecloudapps.com/apex/export/get/1+
    To help identify the cause of the error you see, could you please confirm if the following details correspond to your RESTful service:

    * URI model: get / {id}
    * Resource Manager method: GET
    * Type of resource manager Source: Media resources
    * Requires secure access: No.
    * Source (corresponding to the following syntax): select mime_type, tbl_nameSET from table_name where none =: id

    NOTE: If you define a variable binding for a parameter, then the 'Set Bind Variables' option should be used instead of 'Test '.

    + > Usually, the workspace is also a part of the url (after the/apex/piece). +
    In your local environment, requests are routed through the prefix setting of path to the URL of the RESTful Service (see http://docs.oracle.com/cd/E37099_01/doc/doc.20/e25066/config.htm#CBDJIEGH). On your local instance, navigate to Administration > manage, set preferences for Workspace, and in the region for SQL Workshop, you will find the item Path Prefix. The default access path prefix is the short name of the workspace, which is what you see in your URL locally. However, another method of routing is used on the cloud, then you will not see the path of the prefix used it.

    Could you test the "oracle.example.hr" sample RESTful Service in your workspace and let me know if you encounter any problems by running one of the examples?

    Kind regards
    Hilary

  • IOM WebService call

    Hello

    I want to call webservice of the IOM. Could you please guide me the steps to achieve the same.

    Thank you

    Please place the vial in /server/apps/oim.ear/APP-INF/lib and restart the server of the IOM
    It shd work

  • SSLHandshake failed: the external SSL WL10.3 webservice call

    Hello


    I need to call a webservice active external SSL XXX. I have the Web service provider certificate.
    My client is deployed on Weblogic 10.3. This client works very well since autonomous as uses the java ssl settings. But it fails when it is deployed on WL. I used the java standard ssl setting... javax.net.ssl.trustStore etc.

    WebLogic probably replaces the java ssl settings and therefore me below the exception. I tried setting java ssl in JAVA_OPTIONS but still not the same error. Am not well versed with trustore and the keystore and so incapable of understanding the problem basically... I have a file dev.pem and dev.pfx given by XXX. WL in my case, acts as a customer and I want it as a way SSL configuration IE. customer (WL) should not check the certification of the server (XXX)

    I've imported the certificate in DemoTrust.jks and do not know what should be imported into a DemoIdentiy.jks...

    Can someone help me understand how I can configure my application deployed on weblogic for use of keys and trustore file. This type of emergency and he beat me with some time...

    Caused by: javax.net.ssl.SSLHandshakeException: [Security: 090497] HANDSHAKE_FAILURE alert from tseiod - dev.xxx.com - 62.109.62.19. Check both sides of the configuration of SSL to the mismatches in the supported encryption algorithms, taken protocol versions supported, approved certification and verification of hostname settings.
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireException (unknown Source)
    at com.certicom.tls.interfaceimpl.TLSConnectionImpl.fireAlertReceived (unknown Source)
    at com.certicom.tls.record.alert.AlertHandler.handle (unknown Source)
    at com.certicom.tls.record.alert.AlertHandler.handleAlertMessages (unknown Source)
    at com.certicom.tls.record.MessageInterpreter.interpretContent (unknown Source)
    to com.certicom.


    This is console with ssl debug weblogic on...


    May 19, 2010 11:49:13 IST > < Debug > < SecuritySSL > < BEA-000000 > < SSLSetup: loading of CA certificates >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < JSSE SSLSocket filtering >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < SSLIOContextTable.addContext (ctx): 9879252 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < SSLSocket is Muxing >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < writing SSL_20_RECORD >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < isMuxerActivated: false >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 SSL3/TLS MAC >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 receipt HANDSHAKE >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < HANDSHAKEMESSAGE: ServerHello >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < isMuxerActivated: false >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 SSL3/TLS MAC >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 receipt HANDSHAKE >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < HANDSHAKEMESSAGE: certificate >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < certificate validation chain 0: serial number: 72465856653933152398554388484605014177
    Issuer: C = SE, O is XXX e-billing Test System Server, CN = XXX XXX CA Server Server e-billing Test System
    Subject: C = SE, O = Server XXX e - invoice, System Test, CN = tseiod - dev.xxx.com
    Not valid before: Thu Aug 26 18:01:33 2009 IST
    Not Valid After: Friday 26 August at 18:21:33 IST 2011
    Signature algorithm: SHA1withRSA
    >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < validation 1 chain certificate: serial number: 8156897441280436316327587821418687967
    Issuer: C = SE, O is XXX e-billing Test System Server, CN = XXX XXX CA Server Server e-billing Test System
    Subject: C = SE, O is XXX e-billing Test System Server, CN = XXX XXX CA Server Server e-billing Test System
    Not valid before: kill Oct 10 17:26:39 IST 2006
    Not Valid After: Sun Oct 10 17:46:39 IST 2021
    Signature algorithm: SHA1withRSA
    >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < validationCallback: validateErr = 0 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < cert [0] = serial number: 72465856653933152398554388484605014177
    Issuer: C = SE, O is XXX e-billing Test System Server, CN = XXX XXX CA Server Server e-billing Test System
    Subject: C = SE, O = Server XXX e - invoice, System Test, CN = tseiod - dev.xxx.com
    Not valid before: Thu Aug 26 18:01:33 2009 IST
    Not Valid After: Friday 26 August at 18:21:33 IST 2011
    Signature algorithm: SHA1withRSA
    >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < cert [1] = serial number: 8156897441280436316327587821418687967
    Issuer: C = SE, O is XXX e-billing Test System Server, CN = XXX XXX CA Server Server e-billing Test System
    Subject: C = SE, O is XXX e-billing Test System Server, CN = XXX XXX CA Server Server e-billing Test System
    Not valid before: kill Oct 10 17:26:39 IST 2006
    Not Valid After: Sun Oct 10 17:46:39 IST 2021
    Signature algorithm: SHA1withRSA
    >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < user weblogic specified validation trustmanager status 0 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < SSLTrustValidator returns: 0 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < Trust of State (0): NONE >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < performing audits of validation of host name: tseiod - dev.xxx.com >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < isMuxerActivated: false >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 SSL3/TLS MAC >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 receipt HANDSHAKE >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < HANDSHAKEMESSAGE: CertificateRequest >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < HANDSHAKEMESSAGE: ServerHelloDone >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < no certificates of identity appropriate channel has been found >.
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < write HANDSHAKE, offset = 0, length = 7 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < ignoring unsupported Mac PVE: Sunjce()) version 1.6 for HmacMD5 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac algorithm HmacMD5 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < ignoring unsupported Mac PVE: Sunjce()) version 1.6 for HmacSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac HmacSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac for the SHA algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < using JCE Cipher: Sunjce()) version 1.6 for the algorithm AES/CBC/NoPadding >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < ignoring unsupported Mac PVE: Sunjce()) version 1.6 for HmacMD5 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac algorithm HmacMD5 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < ignoring unsupported Mac PVE: Sunjce()) version 1.6 for HmacSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac HmacSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < using JCE Cipher: Sunjce()) version 1.6 for the RSA algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < write HANDSHAKE, offset = 0, length = 134 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < write CHANGE_CIPHER_SPEC, offset = 0, length = 1 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < using JCE Cipher: Sunjce()) version 1.6 for the algorithm AES/CBC/NoPadding >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < ignoring unsupported Mac PVE: Sunjce()) version 1.6 for HMACSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac HMACSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < ignoring unsupported Mac PVE: Sunjce()) version 1.6 for HmacMD5 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac algorithm HmacMD5 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < ignoring unsupported Mac PVE: Sunjce()) version 1.6 for HmacSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < will use default Mac HmacSHA1 algorithm >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < write HANDSHAKE, offset = 0, length = 16 >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < isMuxerActivated: false >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 SSL3/TLS MAC >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < 9878982 receipt ALERT >
    < 19 May 2010 11:49:14 IST > < Debug > < SecuritySSL > < BEA-000000 > < NEW ALERT with the severity: FATAL, Type: 40
    java.lang.Exception: new alert battery
    to com.certicom.tls.record.alert.Alert. < init >(Unknown Source)
    at com.certicom.tls.record.alert.AlertHandler.handleAlertMessages (unknown Source)
    at com.certicom.tls.record.MessageInterpreter.interpretContent (unknown Source)
    at com.certicom.tls.record.MessageInterpreter.decryptMessage (unknown Source)
    at com.certicom.tls.record.ReadHandler.processRecord (unknown Sou

    I think at that time that you open a support with oracle request and they could help you.
    I think that we have tried every possible way to debug this problem.

    Thank you
    Sandeep

  • Sending parameter using the METHOD (HTTP POST = PROBLEM WEBSERVICE)

    Hello world

    I need help here

    I tried 1 week to the code to send the parameter but the error still result

    It sends no parameter at all the

    Heres my PPC

    ApplicationUI::ApplicationUI(bb::cascades::Application *app) :
            QObject(app)
    {
    
        m_pTranslator = new QTranslator(this);
        m_pLocaleHandler = new LocaleHandler(this);
    
        bool res = QObject::connect(m_pLocaleHandler, SIGNAL(systemLanguageChanged()), this, SLOT(onSystemLanguageChanged()));
        // This is only available in Debug builds
        Q_ASSERT(res);
        // Since the variable is not used in the app, this is added to avoid a
    
        Q_UNUSED(res);
    
        onSystemLanguageChanged();
    
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        qml->setContextProperty("MyApp",this);
        // Create root object for the UI
        AbstractPane *root = qml->createRootObject();
    
        // Set created root object as the application scene
        app->setScene(root);
    }
    
    void ApplicationUI::post(const QString &fullName, const QString &email, const QString &password)
    {
        QNetworkAccessManager connection;
    
        QUrl url("http://www.rws.rajaspot.com/rs_usermanagementclient.php");
        QNetworkRequest req(url);
        //url.addQueryItem("parameter", "14");
    
        QByteArray postData;
    
        postData.append("method=rsnewuser&").append("fullName="+fullName).append("email="+email).append("password="+password);
    
        QNetworkReply* reply = connection.post(req, postData);
        bool ok = connect(reply, SIGNAL(finished()), this, SLOT(postFinished()));
        Q_ASSERT(ok);
        Q_UNUSED(ok);
    
    }
    
    /**
     * PostHttp::onGetReply()
     *
     * SLOT
     * Read and return the http response from our http post request
     */
    void ApplicationUI::postFinished()
    {
        QNetworkReply* reply = qobject_cast(sender());
    
        /* QString response;
        if (reply) {*/
            if (reply->error() == QNetworkReply::NoError) {
                QString result = reply->readAll();
    
                /*const int available = reply->bytesAvailable();
                if (available > 0) {
                    const QByteArray buffer(reply->readAll());
                    response = QString::fromUtf8(buffer);
                }*/
            } else {
                int errorCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
                qDebug() << errorCode << endl << reply ->errorString();
            }
    
            reply->deleteLater();
        }
    
    void ApplicationUI::onSystemLanguageChanged()
    {
        QCoreApplication::instance()->removeTranslator(m_pTranslator);
        // Initiate, load and install the application translation files.
        QString locale_string = QLocale().name();
        QString file_name = QString("UsernamePHP_%1").arg(locale_string);
        if (m_pTranslator->load(file_name, "app/native/qm")) {
            QCoreApplication::instance()->installTranslator(m_pTranslator);
        }
    }
    

    Heres my hpp

    #ifndef ApplicationUI_HPP_
    #define ApplicationUI_HPP_
    
    #include 
    
    namespace bb
    {
        namespace cascades
        {
            class Application;
            class LocaleHandler;
        }
    }
    
    class QTranslator;
    
    /*!
     * @brief Application object
     *
     *
     */
    
    class ApplicationUI : public QObject
    {
        Q_OBJECT
    public:
        ApplicationUI(bb::cascades::Application *app);
        virtual ~ApplicationUI() { }
    public:
        Q_INVOKABLE void post(const QString &fullName, const QString &email, const QString &password);
    
      Q_SIGNALS:
                void complete(const QString &info);
      private Q_SLOTS:
                void postFinished();
    
    private slots:
           void onSystemLanguageChanged();
    
    private:
        QTranslator* m_pTranslator;
        bb::cascades::LocaleHandler* m_pLocaleHandler;
    };
    
    #endif /* ApplicationUI_HPP_ */
    

    and this is my my main.qml

    Button{
                id : button
                text : "Register"
                onClicked: {
                   MyApp.post(tf1.text,tf2.text,tfpass.text)
    
                }
                horizontalAlignment: HorizontalAlignment.Center
            }
    

    I need to send the parameter to http://www.rws.rajaspot.com/rs_usermanagementclient.php

    but its like divider by 2, the parameter 'method = rsnewuser' and the content is fullName, email, and password

    What a success, it will show on http://www.rws.rajaspot.com/rs_userclient.php but I try this error code again

    any ideas what should I do?

    Thank you

    I mean not to define QNetworkAccessManager inside the function.

    For example:

    Declare the pointer to QNetworkAccessManager in your header file (all)

    QNetworkAccessManager *connection;
    

    and then set it in the constructor of the app inside the function you or you. In the second case, you must remove QNetworkAccessManager pointer after postFinished. (connection-> deleteLater())

    connection = new QNetworkAccessManager(this);
    

    and the full code of the POST function

    ...post(const QString &fullName, const QString &email, const QString &password)
    {
        QUrl url("http://www.rws.rajaspot.com/rs_usermanagementclient.php");
    
        QUrl postParams;
        postParams.addQueryItem("method", "rsnewuser");
        postParams.addQueryItem("fullName", fullName);
        postParams.addQueryItem("email", email);
        postParams.addQueryItem("password", password);
    
        QNetworkRequest req(url);
        req.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
    
        QNetworkReply* reply = connection->post(req, postParams.encodedQuery());
        bool ok = connect(reply, SIGNAL(finished()), this, SLOT(postFinished()));
        Q_ASSERT(ok);
        Q_UNUSED(ok);
    }
    

    It may be useful

     

Maybe you are looking for

  • Satellite A200 - touchpad random movement when it is connected to the power supply

    HelloWhen connected to power and press the pointer jumps on erratic (only by pressing the key) even if I hold my finger again. BUT if I keep in touch with what it is connected to computer laptop 'ground' such as the VGA connector then everything work

  • Adding memory 8311-62U office

    I have trouble finding the memory to add to my desktop (computer NetVista 8311-62U). Currently I have 384M and am running XP. SO, I want to add to the system board. Anyone know what kind of memory and where I can buy? Thank you

  • Current product key does not match.

    I just bought Windows 7 Edition Home Premium on shelf from a local retailer. I went to install the 64 bit version on my Mac to use in conjunction with Parallels desktop. The installation seems to go along fine until I was invited for a product key. I

  • BlackBerry Smartphones inter-regional (EU / NA) pin2pin questions (can send but not receive)

    I use a fully unlocked T-Mobile 8900. When it was brand new, I registered it with Fido in Canada with the BIS. It worked perfectly. I have canceled my service with Fido; had them remove my PIN their system; and moved to West Africa. In West Africa, I

  • Registered but Lightroom will not install

    I use a PC, Office 6 LightroomI had problems with my program for Lightroom, so I tried to uninstall and reinstall, but I can't find an option to reinstall without buying. I bought the program, and the serial number is registered with adobe, but still