7 Replies Latest reply: May 31, 2013 2:47 AM by 1004092 RSS

    Upload an XML created in JDE to a website which uses HTTP POST, through BSS

    1004092
      Hi

      My requirement is : in JD Edwards Enterpriseone XML file will be generated and kept in a folder. I need to upload that XML file to a website which uses HTTP POST? Is it possible to do this using BSSV? How? Please provide inputs immediately.

      Thanks
      TK
        • 1. Re: Upload an XML created in JDE to a website which uses HTTP POST, through BSS
          Terrypasqua-Oracle
          Hello,

          What type of information are you wanting to output into an XML document?

          If it is transactional data, then you should look into setting up Real Time Events. See this document on the Events which are available to be produced from E1 out into a queue or file. Real-Time Events Implementation Guide http://docs.oracle.com/cd/E16582_01/nav/crossproduct.htm. Also review the following documents. Transaction Server on WebLogic Server Reference Guide http://docs.oracle.com/cd/E24902_01/nav/reference.htm and Interoperability Guide
          http://docs.oracle.com/cd/E24705_01/doc.91/e24253/toc.htm

          Thank you,
          Terry
          • 2. Re: Upload an XML created in JDE to a website which uses HTTP POST, through BSS
            Steve0429-Oracle
            Yes, you could use BSSV for that. As I understand your post, you have an XML file, you just need to POST it. You would write a C BSFN that calls a BSSV, then in the Java code for that BSSV you would use Java capabilities to read the contents of the XML file and POST it. Look at B953002 - it calls the C API jdeCallBusinessService which makes the call out to the BSSV. The Service Consumer samples are a lot more complex than you need - you really just need to build up an XML string that matches the input value object of your BSSV and then call the C API.

            If you also need to create the XML file, then you could also do that quite easily in the BSSV java code.

            Of course all of this could also be implemented in a C BSFN or with Real Time Events and then some middleware to create and POST the XML file ... customers tend to choose the technology where they have the most familiarity and skill.

            --Steve                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
            • 3. Re: Upload an XML created in JDE to a website which uses HTTP POST, through BSS
              1006887
              Hi TK,

              We have the same required here, My custom UBE will generate the XML file and the same needs to be posted to a website using HTTP POST method.

              Did you found any solution? Could you please share the information with me if you have completed the HTTP POST.

              Thanks in Advance.


              Thanks & Regards,
              Santhosh
              • 4. Re: Upload an XML created in JDE to a website which uses HTTP POST, through BSS
                Sergii Kurian
                there many ways for this
                this is one of the simplest, use curl
                http://en.wikipedia.org/wiki/CURL

                $ curl header "Content-type: application/soap+xml" user USERNAME:PASSWORD -k data @request.xml -X POST https://bssvserveripaddres:port/PY812/BSSVManager trace-ascii listTrace.txt --output listResponse.xml                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                • 5. Re: Upload an XML created in JDE to a website which uses HTTP POST, through BSS
                  Sergii Kurian
                  this is client-only function, it doesn't work on server
                  use b0000004
                  • 6. Re: Upload an XML created in JDE to a website which uses HTTP POST, through BSS
                    Terrypasqua-Oracle
                    For more information regarding HTTP Post with BSSV, please review the BSSV development guide found here

                    http://docs.oracle.com/cd/E24705_01/doc.91/e24218.pdf

                    Chapter 10 Working with HTTP Request/Response explains how this functionality works in communicating out to a website using HTTP Post. We use this functionality with our EnterpriseOne Requisition Self Service Shopping Cart which punches out to a vendor websites to return shopping cart items into a requisition (P43E25).
                    • 7. Re: Upload an XML created in JDE to a website which uses HTTP POST, through BSS
                      1004092
                      Thanks, I got good help from this.

                      Thanks
                      TK