Invalid request when calling REST-webservice with UTL_HTTP.

Hello,
When i try to send some data to a REST-webservice i get as response "INVALID REQUEST"
I Think it is about the request-body that seems to be no UTF-8.
I tried to set the characterset with utl_http.set_body_charset(t_http_req, 'UTF-8').
But when i read the characterset with utl_http.get_body_charset(t_charset);, is still get "ISO-8859-1"
I am using: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
Some help would realy be appreciated because i am out of options trying to get the code working..
======MY CODE==========
create or replace procedure ipm40_send_bekendmaking(p_bdmg_id in number)
as
r_bekendmaking ipm40_bekendmakingen%rowtype;
r_gemeente ipm40_gemeenten%rowtype;
l_url httpuritype;
t_http_req utl_http.req;
t_http_resp utl_http.resp;
t_request_body varchar2(32767);
t_respond varchar2(32767);
-- t_teller integer := 1;
-- t_output varchar2(2000);
t_start number := 1;
t_body_lengte number;
t_chunkdata varchar2(4000);
t_tijd_1 varchar2(256);
t_tijd_2 varchar2(256);
t_timeout integer;
t_length number;
t_charset varchar2(256);
begin
select *
into r_bekendmaking
from ipm40_bekendmakingen
where id = p_bdmg_id;
select *
into r_gemeente
from ipm40_gemeenten
where gmte_code = r_bekendmaking.gmte_code;
l_url := httpuritype.createuri('http://zwolle.stadsbeheer.com:82/apex/ipm40bekendmaking?p_bdmg_id='||r_bekendmaking.id);
t_request_body := l_url.getClob();
/* request that exceptions are raised for error Status Codes */
--Utl_Http.Set_Response_Error_Check ( enable => true );
/* allow testing for exceptions like Utl_Http.Http_Server_Error */
--Utl_Http.Set_Detailed_Excp_Support ( enable => true );
utl_http.set_transfer_timeout(300);
t_http_req:= utl_http.begin_request( r_gemeente.url_webservice_bekendmakingen
, 'POST'
, 'HTTP/1.1');
utl_http.set_body_charset(t_http_req, 'UTF-8');
utl_http.get_body_charset(t_charset);
utl_http.set_authentication(t_http_req,r_gemeente.user_webservice_bekendmakingen,r_gemeente.pw_webservice_bekendmakingen);
t_length := length(t_request_body);
utl_http.set_header(t_http_req, 'Content-Type', 'application/xml charset=UTF-8');
utl_http.set_header(t_http_req, 'Content-Length', t_length);
utl_http.set_header(t_http_req, 'Transfer-Encoding', 'chunked' ); --
t_body_lengte := dbms_lob.getlength(t_request_body);
loop
t_chunkdata := dbms_lob.substr(t_request_body, 2000, t_start);
utl_http.write_text ( t_http_req, t_chunkdata );
t_start := t_start + 2000;
if t_start > t_body_lengte
then
exit;
end if;
end loop;
t_http_resp:= utl_http.get_response(t_http_req);
utl_http.read_text(t_http_resp, t_respond);
utl_http.end_response(t_http_resp);
if instr(t_respond,'Successfully document processed') != 0
then
update ipm40_bekendmakingen
set ind_status = 'S'
, datum_verzonden = sysdate
, response = t_respond
where id = r_bekendmaking.id;
else
update ipm40_bekendmakingen
set ind_status = 'F'
, datum_verzonden = null
, response = t_respond
where id = r_bekendmaking.id ;
end if;
commit;
exception
when others
then
t_tijd_2 := to_char(sysdate,'HH24:MI:SS');
t_respond := substr(sqlerrm,1,2000);
update ipm40_bekendmakingen
set ind_status = 'F'
, datum_verzonden = null
, response = t_respond
where id = r_bekendmaking.id ;
commit;
end;
===THE RESPOND=============
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The requested URL could not be retrieved</TITLE>
<STYLE type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
</HEAD><BODY>
<H1>ERROR</H1>
<H2>The requested URL could not be retrieved</H2>
<HR noshade size="1px">
<P>
While trying to process the request:
<PRE>
POST /pushxml/pushxml-bm HTTP/1.0
Authorization: Basic Ymtfc21hcnRob2xkaW5nOllyZXMzdlFR
Content-Type: application/xml charset=UTF-8
Content-Length: 2096
Transfer-Encoding: chunked
Connection: close
</PRE>
<P>
The following error was encountered:
<UL>
<LI>
<STRONG>
Invalid Request
</STRONG>
</UL>
<P>
Some aspect of the HTTP Request is invalid. Possible problems:
<UL>
<LI>Missing or unknown request method
<LI>Missing URL
<LI>Missing HTTP Identifier (HTTP/1.0)
<LI>Request is too large
<LI>Content-Length missing for POST or PUT requests
<LI>Illegal character in hostname; underscores are not allowed
</UL>
<P>Your cache administrator is [email protected].
<BR clear="all">
<HR noshade size="1px">
<ADDRESS>
Generated Fri, 12 Aug 2011 17:33:24 GMT by asd2cc001.asp4all.nl (squid)
</ADDRESS>
</BODY></HTML>

Always check the access_log and error_log files of the Apache web server in such a case. This will identify whether the error comes from Apache itself, mod_plsql, the Apex run-time engine, or the Oracle database.
I see that you're creating a HTTP/1.1 in PL/SQL - however, the web server response indicates a HTTP/1.0 call was received. Unusual. And could be part of the problem.

Similar Messages

  • "invalid request" when calling Apache Soap 2.2 webservice using 8.1.1

    I have tried setting soap-style to RPC as advised in the documentation but keep
    getting this same error. Server is Apache Soap 2.2. Another test client using
    Apache Soap 2.3.1 got the same error. I am trying to call a webservice in a WLI
    process flow. I have generated the web service control from the wsdl. Error follows:
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=bank_so_11; Meth
    od=processes.bank_so_1.GetNextAccountNumber(); Failure=com.bea.control.ServiceCo
    ntrolException: SOAP-ENV:Clientinvalid request>
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.TestWSBank_wf.$__clientRequest(); Failure=com.bea.wli.bpm.runtime.Un
    handledProcessException: Unhandled process exception [ServiceException]>
    <01-Oct-2003 11:04:04 o'clock EST> <Error> <WLW> <000000> <Failure=com.bea.wli.b
    pm.runtime.UnhandledProcessException: Unhandled process exception [ServiceExcept
    ion]>

    Hi Jerry,
    There is not much to go on here to help solve your problem. Can you
    successfully invoke the external service from Workshop's Test View? If
    this works OK you might ask your question to the integration newsgroup
    and see if they have some insight:
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=xover&group=weblogic.developer.interest.integration
    Hope this helps,
    Bruce
    Jerry Shea wrote:
    >
    I have tried setting soap-style to RPC as advised in the documentation but keep
    getting this same error. Server is Apache Soap 2.2. Another test client using
    Apache Soap 2.3.1 got the same error. I am trying to call a webservice in a WLI
    process flow. I have generated the web service control from the wsdl. Error follows:
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=bank_so_11; Meth
    od=processes.bank_so_1.GetNextAccountNumber(); Failure=com.bea.control.ServiceCo
    ntrolException: SOAP-ENV:Clientinvalid request>
    <01-Oct-2003 11:04:04 o'clock EST> <Warning> <WLW> <000000> <Id=top-level; Metho
    d=processes.TestWSBank_wf.$__clientRequest(); Failure=com.bea.wli.bpm.runtime.Un
    handledProcessException: Unhandled process exception [ServiceException]>
    <01-Oct-2003 11:04:04 o'clock EST> <Error> <WLW> <000000> <Failure=com.bea.wli.b
    pm.runtime.UnhandledProcessException: Unhandled process exception [ServiceExcept
    ion]>

  • Http error 400 - bad request when calling external webservice

    I have a problem connecting OSB to webservices exposed by Lotus Domino Server.
    When I test the services with XMLSpy, it works fine. I started a project in OSB, and imported WSDL files from the server url. So far it worked. I built the corresponding Business services. When I tried to test these business services, i got error 400 from the domino server.
    Does anyone have an idea to fix this problem?
    My response document:
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Server.generalException</faultcode>
    <faultstring>org.xml.sax.SAXParseException: Korai fájlvége.</faultstring>
    <detail/>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>HTTP/1.1 400 Bad Request
    Server: Lotus-Domino
    Date: Sat, 09 May 2009 19:57:19 GMT
    Connection: close
    Pragma: no-cache
    Cache-Control: no-cache
    Expires: Sat, 09 May 2009 19:57:19 GMT
    Content-Type: text/html
    Content-Length: 161
    <HTML><HEAD><TITLE>Unable to Process Request</TITLE></HEAD><BODY><P>Http Status Code: 400</P><P>Reason: Unknown or unsupported protocol version</P></BODY></HTML>

    Yes, the problem should be in the request, but in the test console the request document looked fine.
    I tried the following:
    I tested the service with XMLSpy. I took the soap envelope generated, and pasted it into the business service test console. Then the payload should be the same in both cases, but it does not work.

  • Call secure RestFul WebService with basic authorization via https

    Hi,
    is there a way to call a secure RestFul WebService with basic authorization via https from APEX?
    Database: Oracle 11g XE
    APEX: 4.2.1
    I have a solution by calling the WebService from Java which was called from the database via scheduled job (execute).
    As my hosting partner does not support Java I am looking for another option.
    Regards
    Markus

    Hi,
    I think its not possible, in this link you can find in more detail why.
    Its related with the use of wallets to acess https requests.
    http://www.apexninjas.com/blog/2011/06/https-access-with-utl_http-on-oracle-xe-has-anyone-managed-to-do-this/
    Edit: Because you are using Oracle XE
    Edited by: carlos.pereira on Jan 23, 2013 6:15 PM

  • Error when calling a Webservice's public method in Forms10g

    Hi,
    I'm getting the following error when calling a webservice's public method, i'm using Forms10g 10.1.2.3
    java.rmi.RemoteException; nested exception is: HTTP transport error javax.xml.soap.SOAPException
    java.security.PrivilegedActionException javax.xml.soap.SOAPException
    Message send failed javax.net.ssl.SSLException SSL handshake failed X509CertChI have added the Jar containing the client proxy in both Classpaths(system variable and default.env), the jar has been made with jdk 1.4
    I also have tested the client proxy from jDeveloper and it's working there, but in Forms i'm getting this error.
    I guess my problem might be that i'm calling a webservice that is secured since the url starts with https
    what should i do to fix this ??
    Regards
    Carlos

    I understand, so i have a doubt, why the webservice works on jDeveloper ??Not just JDeveloper even soapUI and Neatbeans have a way of working without a client certificate installed.
    I do not know how they achieve it. I know that they work without a client DC.
    Cheers,
    PS: See this http://stackoverflow.com/questions/8887434/webservices-ssl-https, it offers a clue.
    The java programs run unhindered when one-way authentication is being used. These products ship with a digital certificate that is in the path of most popular CAs.
    Corollary, if the Web Server is configured for mutual authentication then you need to install and configure the client certificate in the tools.
    Edited by: Prabodh on Dec 5, 2012 8:36 PM

  • Call a Webservice with SAML securty in PI 7.0

    Hi experts,
    I need to call a Webservice with SAML security from PI 7.0, Is It possible? or only It is possible with PI 7.1?
    Thanks in advance,
    Jose Manuel

    Hi Jose,
    Let me answer your questuion first :
    No, using PI 7.0 I dont think its posible..
    Below is a brief overview on SAML.
    SAML: It stands for Security Assertion Markup Language, it is an XML standard which is used to exchange security information between a service provider and an identity provider.
    Why we need it ???
    We have a concept called Principal Propagation in PI 7.1, Principal Propagation allows to securely pass the identity of a user from a sender application to a receiver application. There are various adapters and protocols which support the Principal Propagation and one protocol amongst them is the Webservice Reliable Messaging Protocol or WS-RM. Principal Propagation solution for WS-RM protocol is based on SAML and uses the SAML assertions.
    There are some video recordings available for configuration and you can view the same as below,
    Configure a Trust Relationship between Sender and Integration Server: Exchange sender's digital certificate between sender and Integration Server.
    Configure Trusted Issuer: Map user in the Integration Server, and specify issuer. Default issuer is the sender's system ID, default attester is the sender's certificate.
    Configure Sender Agreement and Sender Communication Channel: In Integration Directory, select SAML Sender Vouches Assertion as authentication method.
    Regards,
    Divya

  • Is it possible to call a webservice with just the url to its WSDL

    hi all
    can anyone tell me if it is possible to call a webservice with just the url to its WSDL file. must we create the proxy class for webservice client? thanks

    if you are in the context of a J2EE 1.4 container, you do not need to generate any stub, you can use either a dynamic proxy mechanism or dynamic invocation.
    check JWSDP tutorial.

  • RESTful webservice with Jersey

    Hey all,
    I'm building a RESTful webservice with Jersey on top of my EJB layer.
    This all goes well, the simple CRUD operations seem to work, but now I seem to have some trouble to add the extra functionality.
    I've got a category which I can get by id through: http://localhost:8080/RealEvaluatorWeb/resources/categories/id (with id the integer that I need).
    This is done by CategoriesResource method:
    @Path("{idCategory}/")
        public CategoryResource getCategoryResource(@PathParam("idCategory") Integer id) {
            CategoryResource resource = resourceContext.getResource(CategoryResource.class);
            resource.setId(id);
            return resource;
        }Now I want to add that a category can be found by his name, so like this: http://localhost:8080/RealEvaluatorWeb/resources/categories/name (with name the string that I need).
    I thougt I just had to add the following method:
       @Path("{name}/")
        public CategoryResource getCategoryResource(@PathParam("name") String name) {
            CategoryResource resource = resourceContext.getResource(CategoryResource.class);
            resource.setName(name);
            return resource;
        }but then my server log spits out following error message:
    A resource, class service.CategoriesResource, has ambiguous sub-resource locator for URI template {name}/, which matches with template {idCategory}/So can anyone help me and tell what I should add to be able to search by name?
    Thanks!

    OK got it solved by my self.
    Solution:
    Define a RESTFUL (POST, PLSQL) Service with the following HEADER parameters:
    authorization          authorization     IN     STRING
    X-APEX-STATUS-CODE     status          OUT     INTEGER
    As per RFC 1945, the Authorization header value should contain the username:password
    as encoded (base64) string. That is what the RESTclient send (over https)
    In the PLSQL i decode :authorization and validate it against APEX Authentication Scheme.
    The result of the validation drives the response header (:status) in PLSQL with 200 (ok) or 401 (Not Authorized)
    -- Klaus

  • Calling a webservice with SOAP Receiver

    Hi Guys,
       Im calling web service from XI using SOAP. I could call the webservice using XML Spy, It is working fine.In XML spy I could se the response (variable out , type double).
       When i call the same web service from XI It doesnt give any error in the beginning and later it would convert the same to "Acknowledment contains system errors" in Ack staus(SXMB_MONI). I configured my scenario as Asyn.However there is a response from webservice. Is it mandatory to create a sync scenario in this case? If so I couldnt configure as Im sending an Idoc as a SOAP request.But Response of Webservice is of double type( some integer it returns) So I couldnt map both as it was giving some problems in message mapping.
       I would like to know how XI sends a soap request ? I mean in SXMB_MONI some where it must be there. I wanted to copy the same from XI n paste in XML spy so that i can test whether it would go throgh.
        In plance of that webservice, We created an asp page and configured IIS. I wrote the ASP in such a way that It would read the SOAP request and dump into my default website area. I Could see the SOAP request coming up from XI.When i paste this in XML spy its working fine but not from XI Im wondering what went wrong?
       Appriciate your help.
    Thanks a lot
    Kiran

    Hi Raghavesh,
       My id is [email protected]
    Hi Vijay,
        As Bhavesh said,
             I can handle the response by makign async message interface , I did it but in SOAP adaptor I dont see any option of setting QOS?
            Ya WS is responding So by doing like asyn i can go ahead with that right? Now its throwing error in ask status as :
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace

  • Global rules not kicking off when calling CHECKIN_NEW webservice

    Hi All,
    We are trying to call CHECKIN_NEW/CHECKIN_UNIVERSAL web services with mandatory fields like doctype, securitygroup, title, primary file etc..
    It is working fine, but the global rules were not kicking off.
    Ex: Say, we have a rule that says Field_A is mandatory when SecurityGroup=Public.
    But when we are invoking the webservice with SecurityGroup=Public, content is getting checked-in even though we are not passing the Field_A value.
    We need the global rules to kick-off and give us error/warning that there is field missing...
    Can you please let us know if we are missing something here, or there is other way to get this requirement?
    Thanks in advance,
    Cheers,
    -V

    Hi,
    I now tested with RIDC code below, but still the global rule is not kicking off. I ahve a global rule, which says "xSwcDocumentSubType" should be mandatory. But if we see code below, i commented out that value, but still content is getting checked in.
    Can you please point me if i am missing anything here?
    IdcClientManager manager = new IdcClientManager();
    // build a client that will communicate using the HTTP protocol
    IdcClient idcClient = manager.createClient("http://xxx:xxx/cs/idcplg");
    // create an identity with a password
    IdcContext userPasswordContext = new IdcContext("xxx", "xxx");
    // create request
    DataBinder binder = idcClient.createBinder();
    binder.putLocal ("IdcService", "CHECKIN_NEW");
    // get the binder
    binder.putLocal ("dDocTitle", "RIDC File3");
    binder.putLocal ("dDocType", "Statement");
    //binder.putLocal ("xSwcDocumentSubType", "317");
    binder.putLocal ("dSecurityGroup", "Public");
    // add a file
    //binder.addFile ("primaryFile", new TransferFile ("test.doc"));
    binder.addFile ("primaryFile", new File ("D:\\RIDC.txt"));
    // check in the file
    ServiceResponse response = idcClient.sendRequest(userPasswordContext, binder);
    String responseString = response.getResponseAsString ();
    System.out.println(responseString);
    Edited by: 921097 on 18/03/2012 17:59

  • Error #2032 when calling a WebService operation

    I'm trying to make a soap operation call. The wsdl file is
    loaded fine, but when I go to make a call, I get this error:
    quote:
    HTTP request error
    (mx.messaging.messages::ErrorMessage)#0
    body = (Object)#1
    clientId = "DirectHTTPChannel0"
    correlationId = "C5EF8C74-6413-12CF-7737-7E8FE675B002"
    destination = ""
    extendedData = (null)
    faultCode = "Server.Error.Request"
    faultDetail = "Error: [IOErrorEvent type="ioError"
    bubbles=false cancelable=false eventPhase=2 text="Error #2032:
    Stream Error. URL: https://foo.com/soap"]. URL:
    https://foo.com/soap"
    faultString = "HTTP request error"
    headers = (Object)#2
    messageId = "55F24685-6626-C774-F58E-7E8FE6E39495"
    rootCause = (flash.events::IOErrorEvent)#3
    bubbles = false
    cancelable = false
    currentTarget = (flash.net::URLLoader)#4
    bytesLoaded = 0
    bytesTotal = 0
    data = (null)
    dataFormat = "text"
    eventPhase = 2
    target = (flash.net::URLLoader)#4
    text = "Error #2032: Stream Error. URL:
    https://foo.com/soap"
    type = "ioError"
    timestamp = 0
    timeToLive = 0
    Here's the code for the WebService:
    quote:
    <mx:WebService id="ws" wsdl="
    http://foo.com/bar.wsdl"
    showBusyCursor="true" >
    <mx:operation name="Baz">
    <mx:request>
    <Param>{this.keyId}</Param>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    The swf is on the same domain (and subdomain) as the
    webservce, and when it isn't, I get a security error.
    I read that https and webservice can have some problems when
    not going through a proxy, but I can't see why, and I'd rather not
    use a proxy; I shouldn't need one.
    This happens with both Firefox and IE.

    You can only make an HTTPS connection if the SWF was also
    loaded via HTTPS.

  • BAPI_GET_PAYSLIP_HTML error when called as webservice

    Greetings
    I'm calling BAPI_GET_PAYSLIP_HTML as a webservice to make payslips available via web browser but it returns no output. I
    've tested the same bapi in se37 with the same parameters and we get the desired return.
    The problems isn't either with the calling procedure because I've made the same test (via webservice) to BAPI_GET_PAYSLIP we it had return.
    Could you help me with this?
    Thanks in advance
    Nuno

    hi!
    are you trying to hit this bapi when calling a BSP? Or are you trying to do this with ITS?
    also, check if adding the COMMIT statement right after the bapi will help.
    regards,
    manasa

  • Application crashes when calling DLL built with LabVIEW 2011

    Hello everybody,
    Our application calls DLLs built with LabVIEW 2010 SP1. We installed LabVIEW 2011 and built some DLLs. So far so good. If we start our application and run 2010 DLLs it still works fine. If we run a 2011 DLL just once no error happens, but if we try to run the same 2011 DLL our application crashes reporting the error below. I saved the code for 2010 version and built a DLL and it works fine. Does anyone know why?
    Thank you in advance.
    #Date: Fr, 16. Sep 2011 16:25:25
    #OSName: Microsoft Windows XP Service Pack 3
    #OSVers: 5.1
    #OSBuild: 2600
    #AppName: PasTA
    #Version: 11.0f2 32-bit
    #AppKind: AppLib
    #LabVIEW Base Address: 0x30000000
    16.09.2011 16:25:26.181
    Crash 0x0: Crash caught by NIER
    File Unknown(0) : Crash: Crash caught by NIER
    minidump id: 8a779b3f-51d7-4864-8e4d-6ab0195cd158
    ExceptionCode: 0xC0000005
    N
    0x3072C804 - lvrt <unknown> + 0
    0x3072CBB8 - lvrt <unknown> + 0
    0x7C864191 - KERNEL32 <unknown> + 0
    0x7C83AB50 - KERNEL32 <unknown> + 0
    0x00000000 - PasTA <unknown> + 0
    Attachments:
    error.PNG ‏11 KB

    On that note, you should be able to create DLLs in 2010 and run them with 2011, correct??  In my case, I have a 2010 built DLL (talking to sbRIO), most of the functions work when run in 2011, but a couple of them lock up LabVIEW on the desktop (but not the sbRIO), no lock ups happen with 2010 on the desktop.

  • Restful webservice with basic authentication

    Hi, i am running the following:
    Oracle: 11.2....
    ApexListener: 2.....
    Glassfish: 3.0...
    Apex: 4.2.1
    I have successfully established some restful webservices. Now i want to add a basic authentication to them against an APEX Authentication Scheme which is used in one of my APEX Applications. I cannot find any documentation related to Glassfish or ApexListener or APEX to do that.
    Or are the RESTful Service Privileges which belong to APEX User Goups intent to do a basic authentication ?
    Thanks for your help !
    -- Klaus

    OK got it solved by my self.
    Solution:
    Define a RESTFUL (POST, PLSQL) Service with the following HEADER parameters:
    authorization          authorization     IN     STRING
    X-APEX-STATUS-CODE     status          OUT     INTEGER
    As per RFC 1945, the Authorization header value should contain the username:password
    as encoded (base64) string. That is what the RESTclient send (over https)
    In the PLSQL i decode :authorization and validate it against APEX Authentication Scheme.
    The result of the validation drives the response header (:status) in PLSQL with 200 (ok) or 401 (Not Authorized)
    -- Klaus

  • Calling REStful webservices from Designer

    Hello,
    I know we can connect to a webservice via wsdl type data connection, but has anyone tried calling Restful web service by any chance?
    If so please let me know how can we do that.
    Thanks
    Manoj

    Hi Paul,
    Are RESTful services supported in the newest version of LiveCycle? If so can you provide a short example? Thank you,
    james

Maybe you are looking for

  • Embedded "multipart/encrypted" HTTP Request?

    Hi, I am using 'httpclient.jar'. I am able to successfully send a normal HTTPRequest and receive the response using the 'MultipartRequestEntity' class. Now, I need to send an Embedded HTTP Request as mentioned below. Kindly suggest how can I send an

  • == ERROR: arch contains invalid characters: ','

    I been using GNU/Arch Linux for few weeks now. One program I liked for Ganoo/Leenox was "screencloud", it let me bind hotkeys to draw a square then snap a screenshot and upload it to my FTP server. So I typed 'yaourt screencloud', It fails to install

  • 'Shared Folder not Available'

    Hi all.  In the last week or ten days, I can no longer access my desktop computer folders from my laptop.  I can access laptop folders from desktop.  I have: (1) Checked my firewall settings and even tried accessing the desktop folders with Norton In

  • Loading a movieClip from a class

    Hello all, I'm attempting to write an AS 2.0 class using Flash through which I can load and control multiple movie clips in the library and from external files. I've attempted multiple different ways, don't quite seem to be able to get the images to

  • JMSDestination is missing

    We are using Foreign JMS Server in Weblogic configuration for Sonic MQ. Our Weblogic version is 8.1.4 on HP-UX. The problem is that we are loosing some of the JMSDestinations. The configuration is missing suddenly and the server is getting errors lik