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

Similar Messages

  • Can Web Service Consumption in SAP CRM 7.0 handle multiple records

    Hi All,
    I have a requirement where in I need to Consume a web service in SAP CRM. The response of the web service will have multiple records.
    My questions is will Web Service Consumption in SAP CRM 7.0 be able to handle these records in a popup or not.
    I would like to know whether it is feasible or not.
    Thanks,
    Deepika

    Hi Kavita,
    There is a standard column in UWL with name 'Sent Date'. Other functionalities in UWL for example deadline monitoring (Due date column) are based on this sent date. This shows an employee what was the date workitem was created (sent date) and when it will get escalated (due date). Displaying forwarding date in Sent date will not give clear picture to employee as the deadline will be calculated based on sent date only not based on forwarding date. this was just an example.
    even though if your client is insisting, i dont think it can be done without any enhancement in UWL web dynpro com sort of thing. you can check with your portal consultant too.
    Regards,
    Ibrahim

  • Web service call from apex

    Hi ,
    I have a webservice that coded in java.
    I want to call this web service from an apex application
    How can I do?
    thank you

    Hi,
    thank you for your reply
    I read this manuel but when "Searching a UDDI Registry" in the 6 step I entered "ignyte" and searched there is an following error occurred.
    I didn't understand this.How can I do?
    "ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "HTML" is not declared in the DTD Error at line 2
    "

  • Somehelp regarding Web service consumption in portal component

    hi all,
    I need Somehelp regarding External Web Service consumption in portal component.
    I have a wsdl file, but when i try to create a model using wsdl in portal it is showing cannot to read the wsdl file.
    is there any other way i consume wsdl in portal.

    Hi,
    mybe it's an authorization problem while reading the WSDL file?
    Try to include it like this:
    http://mycompany.net:8000/sap/bc/srt/rfc/sap/Z_Webservice_Test?sap-client=800&wsdl=1.1&sap-user=USERNAME_ON_BACKEND&sap-password=XXXXXXXXX
    Thomas

  • 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

  • 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

  • Dynamic Web Service Consumption

    Hi
    I want to know if it is possible to consume a web service dynamically. Or is there any other way to consume web service in JSP without using proxies.
    I have already done consumption using deployable proxies but the way of consuming the web service is hardcoded. We have 3 landscape boxes (development box, maintenance box, production box). The problem is the URL for each WSDL in each box is different. So if we move our code from say dev box to maintenance box we have to edit our code for consumption before moving our codes. I hope there's a way to consume our web service/ WSDL dynamically.
    Thanks.

    Hello Melanie, I wanted to ask you:
    how do you do a deployable proxy in 7.3 ?
    In 7.0 I used to make a "Deployable Proxy Project", and now I don't know how to go.
    I have tried with an "Entreprise App. Project" wich in it has a "EJB project" wich also has an "Web Service Client". I don't know if Im doing it the right way.
    Thanks.

  • Web Service Consumption in Web Dynpro Java

    Hi,
    I'm using NetWeaver 2004s for Java. I have generated a Web Service out of a BAPI. I use that Web Service in a Web Dynpro Java Application as Model. Model generation works fine. But when I call the Web Service during execution of the corresponding Web Dynpro Application, I get the following Exception:
    "java.rmi.RemoteException: Service call exception; nested exception is: java.lang.Exception: Call to returned http code 500 with unacceptable content type (text/html; charset=iso-8859-1). <HTML> <HEAD> <TITLE>Unknown Host</TITLE> </HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <H1>Unknown Host</H1> <HR> <FONT FACE="Helvetica,Arial"><B> Description: Unable to locate the server named "<EM>us0308.wdf.sap.corp</EM>" --- the server does not have a DNS entry.  Perhaps there is a misspelling in the server name, or the server no longer exists.  Double-check the name and try again. </B></FONT> <HR> </BODY>"
    Testing the Web Service via transaction WSADMIN works fine. Can anybody give me an advise how to solve that problem?
    Thanks in advance!
    Regards,
    Frank

    Had Exactly same problem with authorization issues on the server hosting the webservices.
    Create a CPIC user Id on the server hosting the webservice. The user id should have authorization to execute the webservice.
    Create a webservice destination in VA for the said webservice using the user id
    1. Log on to the J2EE Engine as an administrator using the Visual Administrator.
    2. Expand -> Server ->Services.
    3. Select the Destinations service.
    4. Under Destinations, select HTTP and choose New
    You need to create two destinations one for matadata and another for execution data.
    Use the destinations while creating the WS model in NWDS.
    if you have issues importing the model using the URL, you can create the model using the WSDL and use the WS Destinations to execute it.
    I am following the same approach after i had faced similar issues with webservices on PI7.1 and Portal 7.0
    About the option to use _setusername, _set...., not all webservices come with the _set methods.
    and moreover if you do that, it would be more of hardcoding in the code, which should be avoided.
    Regards,
    Nitin
    Edited by: Nitin Mahajan on Jun 11, 2009 6:11 PM

  • Proxy Object generation error using Wizard for Web Service Consumption

    HI all,
    I am using the Web Service Proxy Object Generation Wizard (via SE80) and have successfully been able to create a Proxy Object for a Web Service which resides on our INTRAnet.
    ...But now I am trying to consume a Web Service out on the INTERnet and I get an error I cannot quite understand when generating the Proxy Object using the URL of the WSDL of the SOAP Web Service.
    The initial error in SE80 simply states "No vendor specified", but when I double-click on the error to get the long text I get the following error:
    Incorrect value: Namespace prefix q1 of QName q1:RequestArray is undeclared
    Exception of class CX_SLIB
    Has anyone seen this or have experience with this?
    I am a senior ABAP-er but have very little experence on the web development side of things so this looks very foreign to me.
    Any input would be GREATLY appreciated!
    Thanks!!
    -Chris

    RESOLVED! ---
    I figured it out with further trial and error...
    Turns out I was using the SOAP version of the WSDL (I had a choice b/ween SOAP, REST, and XML).
    When I simply supply the XML version of the WSDL to the Proxy in the Web Services Wizard, the error vanished and the Proxy Objects generated just fine !!
    ..Closing this problem.
    Edited by: Christopher Twirbutt on May 26, 2009 5:36 PM
    Edited by: Christopher Twirbutt on May 26, 2009 5:37 PM
    Edited by: Christopher Twirbutt on May 26, 2009 5:39 PM

  • Web Service Consumption + SM59 ( HTTPS)

    Hello ABAP Gurus,
    I have issue to consume web service. I am trying to consume web service form external plm server. it has https protocol. For this i tried to create rfc type G for external server but I am wondering that what i need to know to create rfc to ping https web service. I created rfc but not able to ping by sm59 and only reason i am finding is this it is http not https but i am sure you can create rfc for https also. we are on ecc6.0 and SAP_ABA patch level 21. I will greatly appreciate if someone can help me out from this issue.
    Thanks in advance.
    Regards.
    Dave

    Hi Sanoosh,
    There seems to be a routine problem with Adobe on HTTPs even when it says HTTP/HTTPS in dataconection.
    follow the below post with similar issue.
    Re: Calling HTTPS Webservice error
    the final post from Otto there gives you series of steps to resolve this.
    Regards,
    Sai

  • Web Service consumption in Web Intelligence

    Dear Community Members,
    does anyone  have an idea how-to consume Web Services in Web Intelligence?
    The scenario is the following:
    The data is stored as XSTRING (ABAP AS) and it is retrieved via ABAP Web Service which translate the XSTRING into STRING.
    However, is there a possibility to consum this web service in Web Intelligence resp. is it possible to access the data via SQL as Ingo Hilgefort has it posted on his wiki Page to access SAP via SQL:
    /people/frederic.vanborre/blog/2009/05/18/how-to-configure-the-sql-bw-connector
    /people/thomas.zurek/blog/2009/03/06/sql-access-to-bw-via-data-federator
    /people/frederic.vanborre/blog/2009/05/07/do-you-want-to-query-sap-bw-using-sql
    Thanks in advance for any suggestions.
    Best Regards,
    Marcel

    Use the WebI rich client (assuming you are using XI 3.x) to build a new report.  Activate the Other data sources option and choose there Web services . It will enable you to choose a Web service as data source.
    Starting with SP3 this type of provider can be refreshed dynamically when the report is viewed in the InfoVIew.
    I would recommend to take a look at the WebI rich client user's manual:
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_webi_rich_en.pdf
    Regards,
    Stratos

  • Web service consumption

    Hi expert,
    we have two instance in our production.
    web service are implemented in both instance
    http://instance1.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy
    http://instance2.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy
    we have web dispatcher in front of the two instances.
    we are using service group to configure the ws call.
    the auto generated configuration always connect to specific instance, let's say http://instance1.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy.
    it seems a single point of failure.
    if instance1 is down. the call will be failed. but instance2 is alive, the call should go there.
    so i want to know if i can configure the ws call in the service group that use the url of web dispatcher
    http://webdispatcher.demo.com/bpm/update/process/StartProcessIn?wsdl&mode=ws_policy
    at runtime it will automatically call the alive instance.
    our system is CE7.2 SP4
    the ws and ws consumer are in the same system.
    thanks
    John

    close

  • Web Service consumption fails in BPM

    Hi,
    I am new in the BPM and trying to create some demo applications using the tutorials from SDN.
    I have created a BPM process and import a web service in that for an automated activities.
    During execution the web service fails and giving the the following error.
    "Unable to generate configuration data - The service group might not registered with the provider system".
    I've tested the web service is running fine from the web service navigator.
    I am using CE7.1.
    Regards
    Indra

    Hi Indra ,
    You should assign a service group for the automated activity in your process. Click on the automated activity in the design time and goto properties tab and select "Interface". There you can create a new service group. This should fix the error you are getting.
    Regards,
    Rohit

  • Web dynpro web service consumption exception

    Hi All,
    I am getting an exception while executing my web dynpro application, which basically try to cunsume a web service method with a single input string parameter
    Let me put down the steps I followed for developing this web dynpro
    1) Created a Web dynpro project
    2) Created an Application under it, and a component and a view is been associated to it
    3) From the data modeler, created a new model, which basically inherits a Adaptive web service
    4) From the controller I used apply template, which created a data link to the Controller and model
    5) Created a datalink from View to Component controller and mapped the associated fields
    6) In the Action tab created a new action "xx"
    7) In the Layout of view created a Group UI component and associated all the fields from the context to the Group
    8) Created a button to invoke the action.
    9) Under the implementation tab, I called the execute controller's execute method
    10) Controller class is fully generated by web dynpro , as I have given apply template (Binding in wdDoInit(), calling
    modelObject().execute() method is generated by itself)
    11) Once after building, deploying and running I got the screen with non editable fields and on clicking the button I
    I got the exception as mentioned below
    Exception on execution of web service with WSDL URL 'http://iwdfvm2225:50000/WsTest/Config1?wsdl' with operation 'TestMethod' in interface 'WsTestVi_Document'
    12) But Web service works fine and returns proper value, when tested directly.(Using Web Services Navigator - Test )
    Please help me to fix the issue
    Thanks in advance
    Regards
    Bala

    hi balamurugan,
    Try to reimport the model once again and do a server restart. This might help you. Sometimes the mapping will not be recognised.so you will tend to get such exceptions.
    You comment off the code where you are catching the exception and debug what values are getting passed to the backend.
    If you have portal access, then immediately after you get this exception, check your portal log viewer.You will find out what is the error for.
    Thanks,
    NP

Maybe you are looking for

  • The internal html viewer is not working in coldfusion builder 2.

    It is so frustrating how hard this is. I finished setting up coldfusion and coldfusion builder 2 with an apache local webserver and was hoping to make use of the internal html viewer but it won't come on! All I see is a blank grey page with no conten

  • Is there a null operator/command in java?

    In a lot of languages there is a null statement that does nothing such as NOP in assembler. It's useful if you want to test for something and only perform some action if that test is not true. i.e. it can be cleaner than testing for something to not

  • DTU Access Through Firewalls - Help Please

    Hi Everyone, I'm trying to connect some DTUs between two customer sites where they have 2 FOGs configured. I hope to use AMGH eventually but at the moment I'm just testing connectivity between the sites. I'm told that the firewalls between the sites

  • How do I start my Apple Mobile Service?

    I hooked my iPhone 3GS into my school computer and normally, it begins to sync up and I am able to play music from my phone but for some reason I am unable to do this now and it tells me that I need to start my Apple Mobile Service. Help!!!

  • Esso Agents 11.1.1.2.0 with Legacy Logon manager and PG

    Hi I have many applications that fail on single sign-on.Although the eso services are started I have many pcs having to be re-installed because of esso not working. I have tried the troubleshooting methods on repair and un/re-installation of the esso