APEX Web Service

Hi All,
I'm trying to use APEX webs service to make a restful request, the built in API is not working for me and I have spent long hours to fix it but could not.
The documentation on this API is little and searching the internet did return much.
basically I'm using PUT to create an object to Amazon s3 bucket and each time I receive Access Denied from Amazon, when I use APEX shared to create Web Service and then use the web service as page process it will work.
So, I suspect that the API is now working properly.
I used the below API:
L_CLOB:=APEX_WEB_SERVICE.MAKE_REST_REQUEST(
p_url => Service URL,
p_http_method => 'PUT',
p_body_blob => My IMG,
p_parm_name => apex_util.string_to_table('Host:Authorization:Date:Content-Type'),
p_parm_value => apex_util.string_to_table(V_HOST||':'||V_AUTHORIZATION||':'||V_DATE||':'||V_CONTENT_TYPE)
thanks,

I'm trying to use APEX webs service to make a restful request, the built in API is not working for me and I have spent long hours to fix it but could not.
The documentation on this API is little and searching the internet did return much.
basically I'm using PUT to create an object to Amazon s3 bucket and each time I receive Access Denied from Amazon, when I use APEX shared to create Web Service and then use the web service as page process it will work.I suggest you take a look at this:
http://ora-00001.blogspot.com/2011/03/amazon-s3-api-for-plsql.html
- Morten
http://ora-00001.blogspot.com

Similar Messages

  • Urgent Apex Web service

    Hi,
    I've created the web service in Visual studio 2008. Then I want to create web service reference from APEX. when I use create web service reference from WSDL file it gives me error:
    1 error has occurred
    * The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this service.
    Does anyone have experience with this error???
    Thank you.
    Ed,

    ed.co. wrote:
    Thanks for your answer. I hope that you are happy now.Sven was pointing out that as volunteers none of us feel the need to respond to "urgent" demands of people we have never met. Declaring a request as "urgent" is considered impolite in the OTN community.
    I did a google search on your error message - the first sentence in an advanced search for an exact match - and got 4 hits. 3 of them were OTN posts without a clear answer. The fourth was another site with some discussion that may or may not help you is here http://database.itags.org/oracle/46310/
    If you have a My Oracle Support account you can check there too.

  • APEX Web Service parsing error

    Hello
    APEX is creating an incorrect item for parameters on my web service below.
    Instead of creating two items of names "name" PARM_TYPE xsd:string and "stringValue" PARM_TYPE xsd:string it is creating a single input item called
    namestringValue     PARM_TYPExsd:stringxsd:string
    <xsd:complexType name="NameParameterValuePair">
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:choice minOccurs="0" maxOccurs="1">
    <xsd:element name="stringValue" type="xsd:string"/>
    <xsd:element name="booleanValue" type="xsd:boolean"/>
    <xsd:element name="dateValue" type="xsd:dateTime"/>
    <xsd:element name="numericValue" type="messages:NumericValue"/>
    </xsd:choice>
    </xsd:sequence>
    </xsd:complexType>
    I dont know why it is concatenating the two elements.
    I am running apex 3.1.1.00.09 has anyone ever run into this problem or have any suggestions?
    Thanks in advanced
    Rashad

    I found a bug in the Apex handling of WSDL files that was verified by Oracle and reported in metalink quite a while back. I don't remember what version of Apex it was, and I don't know whether the use-case was exactly the same as yours or not.
    I believe the way I verified the problem was I compared the Apex handling of the WSDL with another WSDL tool and the results were clearly different.
    It appeared to me back then that the Apex developers didn't handle the full WSDL standards correctly, and I'm not sure if they've spent more time on making sure that's more robust or not.
    Not much help, I know, but thought I'd let you know that I did uncover a bug re: web services handling.
    Earl

  • Apex, Web Services, and complex data types?

    Hi all,
    I was wondering if somebody could explain to me what sort of support apex has for using web services with complex data types, and how data returned like this could be interpreted and stored in the database.
    Any help would be aprreciated.
    Thankyou in advance

    Hi can anyone help me with this?

  • APEX Web Services Proxy Settings

    So I have been experimenting with Web Services and I see to have a problem whenever I go through a Proxy Server; I keep getting the error below for the same request that works when I am not using a Proxy Server.
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "APEX_040000.WWV_FLOW_WEB_SERVICES", line 959
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00202: could not open "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" (error 101) Error at line 1I am thinking that perhaps its because the Proxy Server I am using requires authentication; however, I cannot seem to find a provision for username/password when editing the definition.
    Home > Application Builder > Application > Shared Components > Edit ApplicationAny ideas?
    Regards,
    Phiri

    Hi Phiri,
    the web services call will be made by the database server, so authentication isn't just an issue for APEX, but you would give the host running the database server access.
    APEX itself only supports the simple proxy case just to provide the basic functionality.
    Depending on which web server you use to host APEX, you might be able to let that host pass your proxy attributes with the request (e.g. when using OHS, you could put the values into PlsqlCGIEnvironmentList), though I'm not sure whether they are forwarded for web service requests automatically or if you have to build your own process to extract the value from the CGI environment and add it to the web service call.
    Another option could be to start building the process in your own process right away. The database has the API-package UTL_HTTP which can be used to perform the proxy authentication (utl_http.set_authentication with for_proxy => true)
    Have a look on these pages:
    - example for a request including proxy and authentication (with the little change to be "for proxy") http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/x/Utl_Http_Package_Enhancements/Cr_Using_Utl_Http.htm
    - a nice overview on the package methods: http://psoug.org/reference/utl_http.html
    -Udo

  • OAE Web Services Architecture

    When calling a web service on a page in Oracle Application Express, is the web service call sent directly from the database server, or is the request handed back to the HTTP server (via mod_plsql), which then makes the call?
    If I call a web service directly from a stored procedure, the web service call is made directly from the database server, sitting in a restricted zone, which has created some security-related headaches in the past, which I'd like to avoid.
    Any advice on this topic would be appreciated.

    Hi,
    the APEX Web-Services are implemented with UTL_HTTP -> the database is doing the callout.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Issue while adding WCF Web Service reference using Oracle APEX

    Hi,
    We have an issue with creating the Web Service Reference for the WCF web service:
    http://dev.virtualearth.net/webservices/v1/metadata/geocodeservice/GeocodeService1.wsdl
    The APEX gives the following error
    “The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this service.”
    Can you please tell me if creating the Web Service Reference for WCF is supported on the “out of the box“ APEX?
    Environment information:
    APEX 4.0.2.00.07
    Database 11.2.0.3
    Please note that we have tried it in APEX 4.1.1 from apex.oracle.com and the error there is different, it can connect even to ASMX wsdl.
    Thank you.

    I don't think that is it specific to just .NET web services. I have tried with a web service created with TIBCO BusinessWorks (Middleware product) that did not work either. The wsdl validated correctly in soapUI, so I think it just must be the implementation of the parser which is looking for some specific format.
    When in doubt, go with either the manual reference or with pl/sql using one of the api's.

  • Bug in APEX 4.0.2 when parsing web service results?

    Receiving ORA-19010: Cannot insert XML fragments error in APEX 4.0.2 when trying to create and run a "Form and Report on Web Service" on any Oracle SES 11.1.2 web service operation
    Steps to recreate this error:
    SES
    - Install Oracle SES 11.1.2
    - Create a file source against a directory containing files and then crawl
    - Verify via the built-in SES gui that you can search and retrieve results
    APEX
    - Install APEX 4.0.2
    - Create a new database application from scratch
    - Create a new web service reference:
    shared components ->
    web service references ->
    create ->
    based on wsdl ->
    UDDI search: no ->
    http://[sesip:port]/search/query/OracleSearch?wsdl ->
    create reference
    (That creates a web service to Oracle SES with the default name of OracleSearchService)
    - Test the new web service:
    shared components->
    web service references ->
    test ->
    getAllAttributes (or whatever you want to test) ->
    test ->
    You will see a valid & correct raw XML request and response
    - Create a new web service search form/results using the apex wizard in the following manner:
    create page ->
    form ->
    form and report on web service ->
    next ->
    web reference type: generated from wsdl ->
    next ->
    web service reference: OracleSearchService. Operation: getAllAttributes (....BUT YOU CAN PICK ANY OPERATION - THEY ALL WILL FAIL. See http://download.oracle.com/docs/cd/E14507_01/apirefs.1112/e14433/oracle/search/query/webservice/client/OracleSearchService.html for documentation for all the SES web service operations).
    next ->
    next ->
    result tree to report on: Attributes (or whatever appropriate for the operation you chose) ->
    next ->
    select all columns to display ->
    finish
    - Now run the page, entering nothing or "en" for locale (or whatever is appropriate for the operation you chose) and then Submit
    - No matter what operation is chosen, no matter what parameters are entered, always receive "ORA-19010: Cannot insert XML fragments" error!
    PS - We can (and have) created and used APEX 3.1.2.00.02 against SES 10.1.8.3.0's web services without issue.

    Damir,
    I've tried to replicate this on apex.oracle.com, and could not. I sent a JPG file to my Yahoo account using the name 'Report (2011.05.01).jpg', and didn't encounter any issues. The name of the file received on Yahoo was still 'Report (2011.05.01).jpg'.
    I reviewed the code in APEX_MAIL. There isn't anything in there that would modify the filename as you suggest.
    Is there a chance it's being changed in your SMTP server / relay?
    Joel

  • Web Service consumption in Apex 3.1

    Hi -
    Are there any guidelines on how web services should be built for apex?
    I had a sample WSDL one time, which worked for other reporting tool, but did not work in apex. I was getting err message saying '...there is no result tree node...'.
    Thanks in advance,
    Tom

    Hi,
    If you are calling web service using PLSQL then definitely DBMS_SCHEDULER will do.
    Refer: http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • APEX 3.0.1 fails to consume Web Services

    I am running APEX 3.0.1 in a 10.2.0.2 EE database on Windows XP.
    I am trying to get APEX to use a simple web service that I have created in BPEL. The web service functions perfectly in SoapUI.
    APEX seems to be using the response document rather than the request document when invoking the service.
    Here is the request generated by APEX:
    <inputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><ns1:Item xmlns:ns1="http://TargetNamespace.com/GetItemResponse">
    <ns1:SETID>SHARE</ns1:SETID>
    <ns1:ITEM_ID>810002</ns1:ITEM_ID>
    </ns1:Item>
    </part></inputVariable>
    Here is the request generated by SoapUI:
    <inputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><get:Item xmlns:get="http://TargetNamespace.com/GetItemRequest">
    <get:SETID>SHARE</get:SETID>
    <get:ITEM_ID>810002</get:ITEM_ID>
    </get:Item>
    </part></inputVariable>
    The primary difference is that APEX is referencing GetItemResponse rather than GetItemRequest.
    Here is the WSDL:
    <definitions name="ItemGet" targetNamespace="http://xmlns.oracle.com/ItemGet" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/ItemGet" xmlns:ns1="http://TargetNamespace.com/GetItemRequest" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns2="http://TargetNamespace.com/GetItemResponse" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/ItemGet">
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://TargetNamespace.com/GetItemRequest" schemaLocation="GetItemRequest.xsd"/>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://TargetNamespace.com/GetItemResponse" schemaLocation="GetItemResponse.xsd"/>
    </schema>
    </types>
    <message name="ItemGetRequestMessage">
    <part name="payload" element="ns1:Item"/>
    </message>
    <message name="ItemGetResponseMessage">
    <part name="payload" element="ns2:Root-Element"/>
    </message>
    <portType name="ItemGet">
    <operation name="process">
    <input message="tns:ItemGetRequestMessage"/>
    <output message="tns:ItemGetResponseMessage"/>
    </operation>
    </portType>
    <binding name="ItemGetBinding" type="tns:ItemGet">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="process">
    <soap:operation style="document" soapAction="process"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="ItemGet">
    <port name="ItemGetPort" binding="tns:ItemGetBinding">
    <soap:address location="http://xpvm.us.oracle.com:8888/orabpel/default/ItemGet/1.0"/>
    </port>
    </service>
    <plnk:partnerLinkType name="ItemGet">
    <plnk:role name="ItemGetProvider">
    <plnk:portType name="tns:ItemGet"/>
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>
    As you can see from the WSDL, the input message is tns:ItemGetRequestMessage and the output is tns:ItemGetResponseMessage.
    The APEX design time environment is accurately recognizing ItemRequest for the input parameters and ItemResponse for the output parameters.
    It looks like a potential APEX bug.
    Anyone run into this? Anyone have any suggestions?
    Thanks!
    Kurt

    Kurt:
    It does look like a bug. I can offer the following workaround.
    Create a Manual Web reference as described here:
    http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32471/advnc.htm#BABCBBHJ
    section "Creating a Web Service Manually"
    based on the WSDL below, you would enter the following for URL and Action:
    URL: http://xpvm.us.oracle.com:8888/orabpel/default/ItemGet/1.0
    Action: process
    Also, enter a name for an APEX collection to store the response, such as GET_ITEM_RESPONSE.
    For the SOAP Envelope, paste in the one that works from SOAPUI or use BPEL Control to get the envelope. Instead of static values for the parameters you use #ITEM_NAME# substitutions. So if the page generated by the wizard was on page 1, it would look something like:
    <inputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><get:Item xmlns:get="http://TargetNamespace.com/GetItemRequest">
    <get:SETID>#P1_SETID#</get:SETID>
    <get:ITEM_ID>#P1_ITEM_ID#</get:ITEM_ID>
    </get:Item>
    </part></inputVariable>
    (with the proper SOAP Envelope wrapper around it)
    Now go to page 1 (assuming that was the page created by the wizard) and remove the current process of type Web service on that page. Add a new process of type Web service, choose Manual, and choose the manual one you created above.
    Follow the instructions in the section titled "Displaying Web Service Results in a Report" at the link above to create a report on the result.
    There is also an advanced tutorial using Manual Web references you may wish to review:
    http://download-west.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/web_serv.htm#CHDEFEGH
    Hope that helps,
    Jason

  • Invoking web service through apex.

    Apex 4.1,
    I'm trying to bind a simple web service to my apex page. Web service is hosted in a different server. When i try to add the path reference of WSDL file i'm getting the error message. Obviously its expecting a proxy server address to be configured. But we don't have a proxy server to access our web service. Even we were able to bind the same service to an infopath form by directly giving the WSDL file path.
    Greatly appreciate if someone can assist me on this.
    Thanks

    Apex-Ape wrote:
    i'm getting the error message.Hi,
    Can you please give us the precise error that you're getting?
    Tom

  • Digital Certificates and Web Services with Oracle APEX

    Hi people,
    I am working to implement Web Service communication using Oracle Apex. I need to create an application that calls an external public Web Service in Apex. So far, so good, and i am able to work with a public WS without any problems.
    However, this particular WS I'm calling has two peculiarities:
    1) It is SSL-Secured (HTTPS). This means i have to communicate using SSL and Public/Private Certificates.
    2) The message i pass (payload) must be digitally signed using XMLDsig Standard (www.w3.org/TR/xmldsig-core/)
    The first requirement i am still testing, but it will probably work if i import the public and private keys using Oracle Wallet and point to this Wallet, just as PayPal sample in OTN samples does, don't you think? Should i have any problems with this?
    The second one is more complicated, all APIs i have seen for XML Digital Signing are Java-based or .NET-based, i have found nothing based in PL/SQL packages or such. Can you point me some other options to sign this XML?
    Please bear in mind that, since the WS has more than one method, i am using plain old UTL_HTTP to call it (just like the PayPal sample in OTN). PayPal requests that all communication be SSL-enabled, but has no mention whatsoever for Digital Signatures.
    Can anybody help me out with this? any help is highly appreciated.
    Regards
    Thiago

    Thiago:
    You are correct in that there should be no problem interacting with a Web service that has an HTTPS endpoint as long as you create a wallet and specify it when you make your UTL_HTTP calls, like the PayPal example.
    I am not aware of a PL/SQL utility to create a XMLDsig Standard message, but if you find some Java source out there that does it, you may be able to follow a technique I used for a similar use case:
    http://jastraub.blogspot.com/2009/07/hmacsha256-in-plsql.html
    Regards,
    Jason

  • Consuming RESTful web service in Apex app

    Hi,
    I have created a RESTful Web service through an Apex application (4.0) and published as a public web service. Can someone point me to an example of how to then consume that service in another Apex app? The output is straightforward XML that I can retrieve just by pointing the browser to the URL of the service created, but when I go to create the REST Web Reference for the receiving application, I am not sure what to put for the Response Xpath or Response Namespace. The service is meant to just return report records that were created in the REStful Web service with no input required.
    The service XML looks like this:
    <ROWSET>
    <ROW>
    <PROJ_ID>132</PROJ_ID>
    <PSL_NETID>xxxxxxxx</PSL_NETID>
    <PROJECT_TITLE>11g- Oracle Upgrade to RAC 11g</PROJECT_TITLE>
    <CUSTOMER>OIT</CUSTOMER>
    <DIVISION>EIS</DIVISION>
    </ROW>
    <ROW>
    <PROJ_ID>132</PROJ_ID>
    <PSL_NETID>xxxxxx</PSL_NETID>
    <PROJECT_TITLE>11g- Oracle Upgrade to RAC 11g</PROJECT_TITLE>
    <CUSTOMER>OIT</CUSTOMER>
    <DIVISION>CSS</DIVISION>
    Any help would be appreciated.
    Thanks,
    Pat
    Edited by: patfmnd on Dec 7, 2012 3:04 AM

    Hi,
    I have made progress in this. I created the RESTful report service in an Apex 4.1 application. (previous attempt was with 4.0 version of Apex)
    I then created a separate application and created a RESTful web service reference that I tested and it was successful in bringing up XML. However in Apex 4.1, when I create a report following the Wizard for creating a report based on that Web service reference I get the error: ORA-31013: Invalid XPATH expression Which I don't know how to get past. The Xpath provided in the Web service reference test gave output below and brought back a result. There was no where during the Report creation to provide an Xpath. Am I missing something or is 4.1 not quite Web service ready??
    This is what I get from the test of the Web service reference in the Apex App from which I want to create a report: (I see in this XML the data I was expecting from the test of the RESTful web service but it looks like the output I get from the Web service test is more like the Report xml itself.)
    <!DOCTYPE html> <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:htmldb="http://htmldb.oracle.com" xmlns:apex="http://apex.oracle.com"> <head> <title>Author</title>
    <!--[if IE]><link rel="stylesheet" href="/i/css/apex_ie_4_1.css" type="text/css" /><![endif]--> <script type="text/javascript">
    //<![CDATA[
    var apex_img_dir = "/i/", htmldb_Img_Dir = apex_img_dir;
    //]]>
    </script>
    <script src="/i/javascript/apex_4_1.min.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    //<![CDATA[
    apex.security.framebreaker("D");
    //]]>
    </script>
    <!--[if IE]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie.css" type="text/css" /><![endif]--><!--[if IE 6]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie6.css" type="text/css" /><![endif]--><!--[if IE 7]><link rel="stylesheet" href="/i/themes/theme_2/css/theme_4_0_ie7.css" type="text/css" /><![endif]--><!--[if lte IE 6]><div id="outdated-browser">You are using an outdated web browser. For a list of supported browsers, please reference the Oracle Application Express Installation Guide.</div><![endif]-->
    <form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm"><input type="hidden" name="p_flow_id" value="140" id="pFlowId" /><input type="hidden" name="p_flow_step_id" value="1" id="pFlowStepId" /><input type="hidden" name="p_instance" value="6146802068150520" id="pInstance" /><input type="hidden" name="p_page_submission_id" value="1940235134399423" id="pPageSubmissionId" /><input type="hidden" name="p_request" value="" id="pRequest" />
    <div id="header">
    <div id="app-logo"><a href="f?p=140:1:0"></a></div>
    <div id="navbar">
    <div class="navbar-entry">Logout</div>
    </div>
    </div>
    <div id="tabs">
    <div class="frame">
    <div class="bg">
    <div class="tab-holder">
    <div class="first-current">
    <div><span>Author</span></div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <div id="topbar">
    <div class="breadcrumb-region" id="R170908223330421512">
    <div>
    <div id="breadcrumbs">
    <ul class="breadcrumb-list">
    <li class="current">Author</li>
    </ul>
    </div>
    </div>
    </div>
    </div>
    <div id="messages"></div>
    <div id="body">
    <table class="tbl-body" cellspacing="0" cellpadding="0" border="0" summary="">
    <tbody>
    <tr>
    <td class="tbl-main" width="100%">
    <div class="rounded-corner-region" id="books">
    <div class="rc-blue-top">
    <div class="rc-blue-top-r">
    <div class="rc-title">AUTHOR</div>
    <div class="rc-buttons"><button value="Reset" class="button-gray" type="button" id="B170907622885421490"><span>Reset</span></button></div>
    </div>
    </div>
    <div class="rc-body">
    <div class="rc-body-r">
    <div class="rc-content-main">
    <table id="apex_layout_170907030238421484" border="0" class="formlayout" summary="" role="presentation" datatable="0">
    <tr>
    <td align="right"><label for="P1_REPORT_SEARCH" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('170907422375421487','6146802068150520')" tabindex="999">Search</a></label></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="170907422375421487" /><input type="text" id="P1_REPORT_SEARCH" name="p_t01" value="" size="30" maxlength="2000" class="text_field" /></td>
    <td align="right"><label for="P1_ROWS" tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('170907508375421490','6146802068150520')" tabindex="999">Display</a></label></td>
    <td colspan="1" rowspan="1" align="left"><input type="hidden" name="p_arg_names" value="170907508375421490" /><select name="p_t02" id="P1_ROWS" size="1" class="selectlist">
    <option value="10">10</option>
    <option value="15" selected="selected">15</option>
    <option value="20">20</option>
    <option value="30">30</option>
    <option value="50">50</option>
    <option value="100">100</option>
    <option value="200">200</option>
    <option value="500">500</option>
    <option value="1000">1000</option>
    <option value="5000">5000</option>
    </select></td>
    <td align="left"></td>
    <td colspan="1" rowspan="1" align="left"><button value="Go" class="button-gray" type="button" id="P1_GO"><span>Go</span></button></td>
    </tr>
    </table>
    <div id="report_170907030238421484_catch">
    <table cellpadding="0" border="0" cellspacing="0" summary="" id="report_books">
    <tr>
    <td></td>
    </tr>
    <tr>
    <td>
    <table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">
    <tr>
    <th id="AUTHORID" class="header">
    <div class="rpt-sort">Authorid<img align="absmiddle" src="/i/arrow_up_gray_dark.gif" width="13" height="12" alt="Sort by this column" /></div>
    </th>
    <th id="LNAME" class="header">
    <div class="rpt-sort">Lname</div>
    </th>
    <th id="FNAME" class="header">
    <div class="rpt-sort">Fname</div>
    </th>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">A100</td>
    <td headers="LNAME" class="data">AUSTIN</td>
    <td headers="FNAME" class="data">JAMES</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">A105</td>
    <td headers="LNAME" class="data">ADAMS</td>
    <td headers="FNAME" class="data">JUAN</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">B100</td>
    <td headers="LNAME" class="data">BAKER</td>
    <td headers="FNAME" class="data">JACK</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">F100</td>
    <td headers="LNAME" class="data">FIELDS</td>
    <td headers="FNAME" class="data">OSCAR</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">J100</td>
    <td headers="LNAME" class="data">JONES</td>
    <td headers="FNAME" class="data">JANICE</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">K100</td>
    <td headers="LNAME" class="data">KZOCHSKY</td>
    <td headers="FNAME" class="data">TAMARA</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">M100</td>
    <td headers="LNAME" class="data">MARTINEZ</td>
    <td headers="FNAME" class="data">SHEILA</td>
    </tr>
    <tr class="highlight-row">
    <td headers="AUTHORID" class="data">P100</td>
    <td headers="LNAME" class="data">PORTER</td>
    <td headers="FNAME" cla
    Edited by: patfmnd on Dec 12, 2012 5:59 PM
    Edited by: patfmnd on Dec 12, 2012 6:07 PM

  • Call web service (WSDL)  from apex

    Hi all,
    I have web service (WSDL) as (http://localhost:8080/merlin-service/services/ContraIndicationService?wsdl) from example.
    and I want to call this service from Apex, how can i do that , any idea?
    I tried web service reference found in apex but it is failed.
    So please any idea about this.
    Thanks and regards.
    Mohd.
    Edited by: Ajeeb on Aug 26, 2010 10:23 AM

    Hi,
    I used web service refences to create call this web service and when I tested the web service in the test area in web service refences
    it is working fine and it is giving the foloowing
    In the request:
    <?xml version='1.0' encoding='UTF-8'?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <SOAP-ENV:Body><ns1:searchByCommonNameGroupIdAndCim10Ids xmlns:ns1="http://contraindication.api.vidal.com"><ns1:commonNameGroupId>4835</ns1:commonNameGroupId><ns1:cim10Ids><ns1:int>4399</ns1:int></ns1:cim10Ids></ns1:searchByCommonNameGroupIdAndCim10Ids></SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    and it is returning this response
    (<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soap:Body><ns1:searchByCommonNameGroupIdAndCim10IdsResponse xmlns:ns1="urn:Vidal"><ns1:contraIndicationCim10List><contraIndications xmlns="urn:Vidal"><contraIndicationTypeCim10Tuple><cim10><code>J45</code><id>4398</id><name> </name></cim10><contraIndication><id>16241</id><name>History of asthma attack related to taking aspirin</name></contraIndication><type>ABSOLUTE</type></contraIndicationTypeCim10Tuple><contraIndicationTypeCim10Tuple><cim10><code>J45</code><id>4398</id><name> </name></cim10><contraIndication><id>16251</id><name>History of asthma attack related to taking non-steroidal anti-inflammatory drugs</name></contraIndication><type>ABSOLUTE</type></contraIndicationTypeCim10Tuple></contraIndications><homogeneous xmlns="urn:Vidal">true</homogeneous></ns1:contraIndicationCim10List></ns1:searchByCommonNameGroupIdAndCim10IdsResponse></soap:Body></soap:Envelope>
    But when I created form and report for this service it is giving me no data found>
    How can I get the output of this service, if it is XML data also no problem for me.
    Best Regards.
    Mohd.

  • How to create web service manually in APEX?

    When I try to create a web service from wsdl, I get error: "The WSDL document could not be understood by the rendering engine".
    I have found no APEX documentation about how to fill data when creating web service manually. I have wsdl file (have put wsdl url into browser and got contents), but don't know what to do with this beast.
    Anyone knows what to do?
    Igor

    Proxy class is out of date now... proxy class only support stateful web service call... and stateful web service may became a big limitation in development.
    Try to thinking about how to use stateless web service call, you may get an alternative solution.
    Edited by: user13036981 on 2011-10-7 上午9:20

Maybe you are looking for

  • Unable to Exec Server

    I am using 6.5 sp6 The server seams to run fine until I try to image a pc or multiple pcs through zen, the CPU goes to 100 percent and then after about about an hour I get a message unable to exec server (insufficient memory?) Cannot load the file C:

  • What is the battery life of N73M

    Dear Moderator , Hi ! i purchased N 73 mobile for my self and N 72 for my wife. Now N 73 drains out in one and a half day while N72 runs for at least 2 to 2and a half days. I have swithched to GSM mode in N73 from first day. Its only 2 months since i

  • Java Mapping: payload as mail attachment and dynamic file name .

    Hi, I have written this piece of java code. The code includes XPATH for fetching dynamic filename and the copysource( in, out ) to copy the content of payload as mail attchment. The code seems to work fine, when either of the functionality is impleme

  • Podcast url with parameters

    So I'm trying to create an rss feed that users can subscribe to via iTunes but the links provided in the feed have parameters at the end. e.g. <link>http://www.example.com/podcast/test/display.php?file=testpodcast.mp4</link> iTunes fails to detect th

  • MacBookPro is locking up. Best place to look for cause?

    Hello All, Just playing around with Motion. Taking a tutorial on Lynda.Com. I'm doing the most basic stuff, and my MacBookPro is freezing on me regularly. All I'm doing is adding an effect to text with a photo as the background. Perhaps I've miss all