Possible to do BDC in a Web service?

Hi,
I need to create a BDC program that can create a Batch Input session. I have a external program that will trigger this BDC program.
I was thinking if it is possible to create a RFC that contain the BDC code and eventually created a Web service that is usable by the external program?
Please advise.
Regards,
Rayden

Hi and welcome to the forum.
When you use the DATE datatype, you can simply subtract dates in Oracle, using sysdate for example.
Let's say your Date completed is 01-mar-2010:
SQL> create table t as select to_date('01-03-2010') date_completed from dual;
Table created.
SQL> select date_completed
  2  ,      trunc(sysdate-date_completed) number_of_days
  3  from   t;
DATE_COMPLETED      NUMBER_OF_DAYS
01-03-2010 00:00:00             10See the Oracle Documentation @ http://tahiti.oracle.com for more explanations and examples regarding the DATE datatype, and other date related functions.

Similar Messages

  • Is it possible to access a html based web service from a pdf form?

    I was wondering if it is possible to send a query from livecycle to web service and parse the return data.
    An quick example of what I am thinking is querying a database like wolfram alpha using their html query.
    It is in the format http://api.wolframalpha.com/v2/query?input=pi&appid=XXXX. where "pi" is the query and XXXX is the specific user id
    The website then returns a xml file.
    Is there anyway to send out that html with any query from a text field and process the response?
    Thanks!

    Hi,
    Naseko is right in using the formcalc get function, and I use this for accessing information from google calendar, you can also call the formcalc get function from JavaScript as described here http://blogs.adobe.com/formfeed/2009/02/calling_formcalc_functions_fro.html.
    The main problem I have is with the yellow message bar message and popup saying do you want to allow access to api.wolframalpha.com (or whatever).  I think you can get around this by certifing the form, but I don't have access to the servre products to do that.
    Anyway, if it helps have a look at https://workspaces.acrobat.com/?d=vFcW-9OVSm*BdV6GyFfUIg you will need to modify the button click code to specify your own appid but the code is simple enough;
    var response = FormCalc.Function.Get("http://api.wolframalpha.com/v2/query?appid=<<appid>>&input=capital%20of%20australia");
    response = response.replace(/^<\?xml\s+version\s*=\s*(["'])[^\1]+\1[^?]*\?>/, "");
    var responseNode = xfa.datasets.createNode("dataGroup", "response");
    responseNode.loadXML(response, false, false);
    var answer = responseNode.resolveNode("queryresult.pod.(title.value=='Result')").subpod.plaintext.value;
    console.println(answer);
    So this code sends a query "capital of australia" and gets a response "Canberra, Australian Capital Territory, Australia"
    Replace <<appid>> with your appid and look at the linked sample to see how FormCalc.Function.Get works.
    Also, expect Designer to crash a few times while getting it to work.
    Hope this helps,
    Bruce

  • Possible in ERP 6.0 for Web Service without PI(XI) Engine

    Hi,
    We are planning to upgrade our SAP 4.63 to ERP 6.0. We expect to use web services for interfaces with ancillary systems. SAP recommend us to purchase PI(XI) engine.
    Can anybody help to answer my question below:
    1. Without PI(XI), ERP 6.0 Web services can call and be called by other systems directly?
    2. With PI(XI), what's the benefit?
    Very appreciate your help.
    Thanks
    Mr FU

    1. Without PI(XI), ERP 6.0 Web services can call and be called by other systems directly?
    Without PI (XI), ERP 6.0 can call other web services and still be called from other systems directly.
    2. With PI(XI), what's the benefit?
    With PI (XI) 7.1, you would have an Enterprise Service Repository (ESR). This would serve as a central repository for your services and improves overall governance. Consuming web services from PI 7.1 can be monitored via the message monitoring. Asynchronous web services call can also be restarted in the PI system if the web service call fails.

  • Is possible to load a hierarchy from web services?

    Hi Experts,
    I have a doubt, exists some way to load a hierarchy of a infoobject from a system source that is a Web Services? Somebody I could do this? It would give a guide me of steps to do...
    Thanks & Regards,
    Leonel

    Usually web service datasources load into a PSA. and hierarchies are loaded using IDoc. You could however load the data from the web service into another infoobject / DSO and create a custom hierarchy datasource . The procedure for the same - I came across something like this in ABAP for BW ( SAP Press ) ... do not have it now but it can be done...

  • Is it possible to invoke external REST web service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4)

    Is it possible to invoke an external REST web-service hosted in WebLogic web application from an Adobe LiveCycle Process (ES-4) with parameters as input and manipulating the response depending on the type of parameters it gets back. Then invoking an Adobe Form and prepopulating the Form based on the response parameters? Do you have sample projects that do this invocation. The part highlighted in red is what I need examples.

    You can simply use "Execute Script" operation in Workbench and make use of java.net.URL. Below links should help :
    http://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
    http://www.adobe.com/devnet/livecycle/articles/building-xml.html
    http://help.adobe.com/en_US/livecycle/9.0/workbenchHelp/help.htm?content=000581.html
    Hope this helps.
    -Wasil

  • Creating a web service to consume price of a particular stock from ???

    hey,
    i'm new, donno much about web services in terms of writing it, but i do have some knowledge about wat it actually does...
    im here becuz i wanna create a web service to consume the price of a particular stock and then store the closing price along with the dates into a database
    now, im abit lost here.. how do i know where to get the information from? is it possible for me to write a web service to communicate with Yahoo! Finance or any other sites which allows consumption of information?

    If you are talking about simple XML transformation of the SOAP payload between the client calling your service and the final destination of the message you are routing, the ESB approach may be a better fit.
    If you have more complex transformation in mind, with major processing and rework of the message in the intermediary, you may be better of with using the POJO approach. Write your service and embed a callout to the other service in your implementation. If the two services share the same Java Model, you may even be able to re-use the same Java Bean.
    To get SOAP Element instead of Java bean, you just need to use the noDataBinding option with either genProxy and topDownAssemble (or assemble). See the WS-Guide [1] for details. Chapter 18 will give you all the details about the different WSA command line parameters.
    Hope this helps,
    -Eric
    [1] http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28974/toc.htm

  • Web service proxy - how to use server side in/out objects

    We have logic in oracle database. We have pl/sql api with oracle object types as in/out parameters. On server side we have pojo classes with method to convert from/to sql structs, arrays.
    pl/sql apis are exposed as web services.
    When I create web service proxy, all required pojo classes are created from wsdl on client side.
    Currently we are also writting client part of the code(where we also have oracle database and we want to reuse server pojos). Server pojo classes are in separate jar file and used also on a client side.
    Is it possible to tell jdeveloper when creating web service proxy, to not create client side pojos, exception classes, ... , but use those from jar file.
    Currently I just copy server pojo over generated client ones, make some modifications and it works. But each time I regenerate web service proxy I have to do this step manually.
    Edited by: zgrega on Sep 24, 2010 7:43 AM
    Edited by: zgrega on Sep 24, 2010 7:47 AM

    best is to wrap the generated WS proxy in a JavaBean. This way you can create the exception handling once and apply it to all uses of the WS proxy by overriding the generated code
    Frank

  • Internal unkown error when trying to import a web service

    Hi!!!
    I need help to achive the possiblity to select methods from a web service, I get following errors:
    NET Web Service Proxy Tool Report for Web Service:
    Monday, May 14, 2007 10:53:44 AM
    Web Service URL: http://10.110.30.228/automation/v1.wsdl
    The following errors/warnings occurred when generating the local proxy dll and VI wrappers for this web service.
    Internal Unknown Error.
    Please contact National Instruments for help.
    C:\Program Files\National Instruments\LabVIEW 8.2\user.lib\WebService\chassie\.dll
    In addition, when opning Labview software I get a message that I do not have permission to read dll file located in directory of webservice.
    Hope for quick response.
    Best regards A

    Hi!!
    I did make a try with http post (see attachment) with the aim to send a soap xml in the http post.
    I do get an error when trying to parse the soap message (see message below).
    Do you have suggestions for improvement of this VI???
    All advice will be appresiated.
    A
    ##################################################​##################################################​#3
    HTTP/1.0 200 OK
    Date: Tue, 15 May 2007 13:24:20 GMT
    Server: Boa/0.94.13
    Connection: close
    Content-type: text/xml
    Cache-Control: no-store
    Expires: -1
    <?xml version="1.0"?>
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope​">
      <env:Body>
        <env:Fault>
          <env:Code>
            <env:Value>envender</env:Value>
          </env:Code>
          <env:Reason>
            <env:Text xml:lang="en">Failed to parse SOAP message</env:Text>
          </env:Reason>
        </env:Fault>
      </env:Body>
    </env:Envelope>##################################################​#######################
    Attachments:
    Soap_post html.vi ‏31 KB

  • WS-Security, WSE, Web Services, Authentication and Flex 2

    Hey All,
    I've been working hard on getting Flex to communicate with a
    Microsoft .NET 2.0 Web Services project enabled with WSE 3.0
    WS-Security. I can't seem to get the headers into the SOAP request
    that I need.
    For example, I can get a SOAP header into the message like
    so:
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance">
    <SOAP-ENV:Header>
    <ns0:Security xmlns:ns0="
    http://tempuri.org/">
    <ns0:password>pass</ns0:password>
    <ns0:username>DOMAIN\Administrator</ns0:username>
    </ns0:Security>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <HelloWorld xmlns="
    http://tempuri.org/" />
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    .. but, this isn't what my WSE, WS-Security enabled service
    expects. Which is:
    <soap:Envelope xmlns:soap="
    http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="
    http://www.w3.org/2001/XMLSchema"
    xmlns:wsa="
    http://schemas.xmlsoap.org/ws/2004/08/addressing"
    xmlns:wsse="
    http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:wsu="
    http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <soap:Header>
    <wsa:Action>
    http://tempuri.org/HelloWorld</wsa:Action>
    <wsa:MessageID>urn:uuid:5be8b55a-df7b-4547-8def-76282fcd8b47</wsa:MessageID>
    <wsa:ReplyTo>
    <wsa:Address>
    http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
    </wsa:ReplyTo>
    <wsa:To>
    http://localhost/CampaignMojoAPI.asmx</wsa:To>
    <wsse:Security soap:mustUnderstand="1">
    <wsu:Timestamp
    wsu:Id="Timestamp-aab299a8-81e3-4d8a-bfa4-555f38978584">
    <wsu:Created>2007-06-06T20:26:37Z</wsu:Created>
    <wsu:Expires>2007-06-06T20:31:37Z</wsu:Expires>
    </wsu:Timestamp>
    <wsse:UsernameToken xmlns:wsu="
    http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
    wsu:Id="SecurityToken-b43668b1-51a3-4ba1-a90a-69eca3b98b66">
    <wsse:Username>DOMAIN\Administrator</wsse:Username>
    <wsse:Password Type="
    http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#Passwor dText">pass</wsse:Password>
    <wsse:Nonce>IK4ZemfS1pj3kpdYO5+FBg==</wsse:Nonce>
    <wsu:Created>2007-06-06T20:26:37Z</wsu:Created>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body>
    <HelloWorld xmlns="
    http://tempuri.org/" />
    </soap:Body>
    </soap:Envelope>
    I've tried "addSimpleHeader" and "addHeader", but both seem
    to inject nested xml elements. Can anyone help me shape this WS
    call into the format I need it in? Would it be possible to call
    this WS manually via a direct HTTP post from Flex 2?
    Thanks!,
    Sean

    Yeah,
    Hey guys - thanks for the responses. I looked into this and
    it seems no one uses WS-Security from the browser. That's why even
    Google's APIs use alternative key logins, etc. I read from one user
    that in the next version of Microsoft's AJAX platform that they
    might support it, but that's about it. For now, it looks like
    there's not even an AJAX/Javascript way to do this. If we could do
    it via Javascript, then we could use the FABridge. I don't think
    Flex supports it. I've tried to manipulate the headers into place
    via Flex classes and I don't think enough control is there to get
    the output in the form that's needed.
    I think it's possible to write it in Javascript. But right
    now my time budget just doesn't allow for it. I already spent two
    whole days re-writing how Flex makes Web Service calls so they're
    synchronous with timeouts instead of this massive amount of
    asynchronous code they want you to write, so no more
    re-writing/extending of components for me for a while.
    But if anyone wants to work together to support it via
    AJAX/Javascript, I would invest money into developing it.
    I would like a public WS-Security AJAX/Javascript framework
    for making these calls via WS-Security so I can offer customers a
    standard way of accessing/authenticating against our public API
    set. It would also make it possible for Flex to access standard web
    services with WS-Security enabled.
    Let me know what you guys think, or if anyone else has any
    good suggestions/software.
    Thanks much,
    S.

  • Sales order web service

    Hi all
    We currently recieve orders from webMethods using an SAP adapter via an RFC call to FM IDOC_INBOUND_ASYNCHRONOUS. ALE output type aginst the order we RFC back order and delivery confirmation iDocs which wM then interporates.
    I am exploring the possibility of exposing this interface using web services...
    - what is the best approach for receiving orders asynchronously?
    - do we expose the IDOC_INBOUND_ASYNCHRONOUSas a web service?
    - has anybody tried this?
    - can we do this without XI?
    Thanks...
    JR

    hi rudster,
    i think it is not possible without xi.
    if you want the proces in xi see the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/59ef6011-0d01-0010-bfb0-b51381e00509 -
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7521a237-0701-0010-499b-b3285b789c0d
    thanks
    karthik

  • Connect to SharePoint web service using the XML / Web Service connector

    Hi experts,
    I am currently trying to display my SharePoint list in Crystal Report. Therefore my plan is to use a SharePoint web service to get the data and paste them to the Crystal Report.
    Is it possible to use the "XML and Web services" connector of the Crystal Reports database expert?
    When I enter the web service URL, for instance:
    https://[url]/_vti_bin/lists.asmx?wsdl
    and click next... I have to enter the web service credentials.
    On the next page I have to enter Service, Port and Method.
    Do I have to enter the service URL again here?
    What If, there is no port? Can I leave that field empty?
    I know the methods, but where can I add the mandatory parameters?
    Thanks for any helps and comments!
    Sebastian

    Hi Ananth,
    thank you, but this document does not help at all.
    We are using Crystal Reports 2008 SP2.
    We want to use the Web Service Connector.
    What I need is more informationen about the Web service connect. For example - the connection in Microsoft InfoPath is much easier - there I don't have to enter a port and can choose the methods from a list.
    Is it possible to use the Crystal web service connector for MS SharePoint Webservices?
    Or must I use the Crystal SDK to carry out a connection?
    Best regards,
    Sebastian

  • Web service call problem

    We are trying to call a web service and pass as parameter
    some complex
    types. When invoking the web service everything works well on
    flex
    side, but on the server side the input parameters we get from
    flex are
    not correct - complex type is removed and the elements of the
    complex
    type are sent. See the example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="ws_id" wsdl="link" useProxy="false"
    fault="wsFault(event)">
    <mx:operation id="op_id" name="op"
    result="wsResult(event)">
    <mx:request>
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    </mx:Application>
    on server side we get this:
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameters>
    Instead of :
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    Any idea how is it possible to send complex type as web
    service input
    from flex ?

    May be wrong, but I don't think the WebService
    <request> tag can accept nested parameters, such as what
    you're doing with <parameter4>. Each element name in the xml
    pair must match a parameter name in the Web Service WSDL. I think
    Flex would just ignore <parameter4> and not send it.

  • Web service call problem with complex types input

    We are trying to call a web service and pass as parameter
    some complex types. When invoking the web service everything works
    well on flex side, but on the server side the input parameters we
    get from flex are not correct - complex type is removed and the
    elements of the complex type are sent. See the example:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:WebService id="ws_id" wsdl="link" useProxy="false"
    fault="wsFault(event)">
    <mx:operation id="op_id" name="op"
    result="wsResult(event)">
    <mx:request>
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    </mx:Application>
    on server side we get this:
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameters>
    Instead of :
    <parameters>
    <parameter1>{value1}</parameter1>
    <parameter2>{value2}</parameter2>
    <parameter3>{value3}</parameter3>
    <parameter4>
    <parameter4_1>{value4_1}</parameter4_1>
    <parameter4_2>{value4_2}</parameter4_2>
    <parameter4_3>{value4_3}</parameter4_3>
    </parameter4>
    </parameters>
    Any idea how is it possible to send complex type as web
    service input from flex ?

    Hi,
    I also have similar type of problem where I need to invoke a Web service with Complex input parameters.
    I followed Susan's blog but I stuck at a point where methos getItem is created.
    Can anyone tell me how to get that method for my requirement.
    If possible can you guys share your solutions here.
    Thanks in advance.

  • Web services with Jdeveloper using weblogic as server

    Hi,
    I try to test creating PL/SQL web services by using a connection hosted by weblogic server instead of OC4J. The problem is what I try to publish a package of the database in the second stage when it asks for the connection to use, in the list I don't found the connection I create to weblogic . It presents as choice only connections used the server OC4J.
    I do not Know if it is possible to publish a package as web service by using weblogic server connection, and how to do it.
    can anyone help me please .
    Nawal

    Web services can only be published to BEA if you install Apache SOAP on BEA and use the Apache SOAP option of JDeveloper. The J2EE Web Services implementation framework is specific to Oracle9iAS.
    The PL/SQL Web Services server implementation is based on the J2EE Web Services option and as a result is not really portable to BEA.
    To publish a PL/SQL Web service on BEA with JDeveloper you would have to write the Java wrapper code to invoke the stored procedure using standard JDBC and then publish that Java class as a Web service using Apache SOAP. Then if you had Apache SOAP installed on BEA you would be set.
    Portability of Web services implementations is a big feature coming with JAX-RPC - currently what most vendors have is interoperability between implementations because of things like SOAPBuilders and WS-I. When JAX-RPC becomes part of J2EE 1.4 roughly in June and vendors start putting out implementations on it you should get closer to portability.
    In the meantime, the easiest way to get portability is to use the same SOAP server on both servers - Apache SOAP is a good example.
    Hope this helps.
    Mike

  • How to create web service client

    Hi All,
    I am new to web services .Can any body explain how to create web service client ....
    Please give the give the discription step wise.
    Thanx
    Arun

    Hi Krishna,
    Yes it is possible.
    Check this Link
    [JDeveloper Web Service|http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_wstopdown/wstopdown.htm#t2]
    http://www.oracle.com/technology/obe/obe1013jdev/10131/10131_wstopdown/wstopdown.htm#t2
    I strongly suggest you to go for Eclipse, instead of Netbeans or Jdeveloper incase of WebService. If you want to run your code in all the Server without making any changes go for Eclipse based development for Web Service.
    Kindly let me know if you need some more inputs.
    Regards,
    Zack

Maybe you are looking for

  • ADF Faces: !-- ERROR: could not create stylesheet for oracle-desktop.xss

    Hi, I'm using ADF Faces EA6. Sometimes when I create the EAR, it doesn't include the file "oracle-desktop-ea6-ie-6-windows.css" which muest be present in the "adf/styles/cache" directory. If I check the source code from the browser, it starts like th

  • NEWEST FIRMWARE FOR NOKIA 6230i

    HI THERE CAN ANYONE TELL ME WHAT IS THE NEWEST FIRMWARE FOR THE NOKIA 6230i BEFORE I GO AND GET RIPPED OF . I DONT WANT TO GET MY FIRMWARE UPDATED SOMEWHERE JUST TO FIND OUT THAT THIS ISNT THE NEWEST RELEASE. HELP HELP HELP.... IT LOOKS LIKE I AM GOI

  • Basic information about software update

    Sometimes when the Software Update has run and tells me I need to reboot, I put it off and finish what I am doing on my other programs, then later quit everything and restart. My brother tells me I should not do this since it has optimized the space

  • Mi celular firefox os zte no enciende

    Ayer en la noche estube utilizando mi celular ZTE FIREFOX OS y hoy me desperte y al querer ver la hora aprete el botón de prendido y solo vibraba ya no prendia.

  • Unable to access photostream from photoshop touch

    From within Photoshop touch on my iPad Air 2, I suddenly can't access Photostream anymore and import the pictures it contains. The library appears empty, and yet it actually isn't, as I can clearly see all Photostream pictures in Photos. How can I fi