This content has been marked as final. Show 7 replies
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
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.
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,
there many ways for this
this is one of the simplest, use 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
For more information regarding HTTP Post with BSSV, please review the BSSV development guide found here
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).