Focal Point
[CLOSED] How to create web service for an oracle procedure

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/7347079776

August 21, 2015, 02:50 PM
Mary
[CLOSED] How to create web service for an oracle procedure
Hi All,

I have an oracle stored procedure which receives a xml file as input and parse that file and storing in the data base.

I do want to create a webservice for this process. But I am always getting XML Parse Error though it works fine in oracle.

This is the error message I am getting it when I try to create Web service the given input.


-
-
Parser error in XML file: XD[FAIL] cause: 0 subcause: 0 message: Problems parsing XML file: XD[FAIL] cause: 0 subcause: 0 message: Parse failure: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed. (ENV="http://schemas.xmls...
221626marygryshan429Y2057015Y0Searching is Completed Successfully



Please help me resolve this issue.
Thanks in advance,
Mary

This message has been edited. Last edited by: <Kathryn Henning>,


7.7.04M, Windows 7 , HTML, PDF,EXCEL
August 26, 2015, 10:37 AM
Tamra
quote:
How to create web service for an oracle procedure


Hi Mary,

While we wait for others to reply to your question can you please provide a bit more information regarding this issue?

Where are you running this process from ? iWay Webservice - pflow?
What is the version of the product you are running it from?
What is the version of Oracle?

Any further information may help with providing assistance.

Thank you for participating in the Focal Point Forum.

Kindest regards,
Tamra Colangelo
Focal Point Moderator
Information Builders Inc.


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
September 01, 2015, 04:56 PM
Mary
Hi Tamara,

I don't have any PFLOWs. All I have is an Oracle stored procedure. I just want to create a web service for that procedure and get the results.

I don't even know is this possible or not?. But I want to create webservice without PFLOW or with very simple pflow.

Oracle version - 11g
My Iway version is 6.1.5

FYI:
My Oracle procedure receives XML File as input and gives results in the form of XML File.


7.7.04M, Windows 7 , HTML, PDF,EXCEL
September 02, 2015, 11:42 AM
Srii
Pflow is the primary object for a webservice on iSM. So, no, you cannot create a web service without a pflow.

I suggest to gothrough iWay documentation site to understand how web services on iSM is created.
September 11, 2015, 02:49 PM
Mary
Hi Srii,

Thanks for the response. I created a Pflow with my oracle procedure. But I am having difficulties in passing parameter from one execution object to other. so I just wanted to check is there a way to create web service without Pflow.

Mary...


7.7.04M, Windows 7 , HTML, PDF,EXCEL
September 21, 2015, 11:57 AM
Srii
Mary, What do you mean by Execution Object? And what kind of difficulties are you facing in passing arguments between [if] agents in a pFlow?