WSDL - No Result Tree to Report On
Hi -
I was trying to create a report based on web services. I got the below error message:
'This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead.'
Am I doing sth wrong? even when I create only Form, then no data is presented.
How can I create a report based on data from web service when I have WSDL provided?
Thanks,
Tom
Message was edited by:
Tom01
This has been the subject of bug 5394491 for several weeks now without any resolution. It looks like this error will prevent the use of Jdeveloper web services that use array parameters in the current versions of Application Express. We are not planning to use Application Express for this purpose any more as there is no information about the bug (or fix) forthcoming.
Similar Messages
-
Web Service Error - No Result Tree to Report On
After successfully creating a web service reference and then using the 'Form and Report on Web Service' wizard I get an error, after defining the input items, at the 'Web Service results' Stage.
It states :
"No Result Tree to Report On
This Web service does not have a result tree in its definition that is appropriate for a report. You may wish to run the Form on Web Service wizard instead."
This web service returns an array of records and runs successfully outside of HTML_DB. Has anyone else had this problem ? I cannot find any information about this so far. I am using App Ex v2, 10g App Server and 9i (9.2.0.4.0) DB. The WSDL file for the web service is below.
Thanks
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Generated by the Oracle JDeveloper 10g Web Services WSDL Generator
-->
- <!-- Date Created: Wed Jun 21 10:10:07 BST 2006
-->
- <definitions name="18_WS" targetNamespace="http://TESTDB/18_WS.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://TESTDB/18_WS.wsdl" xmlns:ns1="http://TESTDB/_WS.xsd">
- <types>
- <schema targetNamespace="http://TESTDB/_WS.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
- <complexType name="TESTDB_CollectCountTable" jdev:packageName="TESTDB" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
- <all>
<element name="array" type="ns1:ArrayOfTESTDB_CollectCountRecordUser" />
</all>
</complexType>
- <complexType name="TESTDB_CollectCountRecordUser" jdev:packageName="TESTDB" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
- <all>
<element name="code" type="string" />
<element name="category" type="string" />
<element name="total" type="decimal" />
</all>
</complexType>
- <complexType name="ArrayOfTESTDB_CollectCountRecordUser" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
- <complexContent>
- <restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="ns1:TESTDB_CollectCountRecordUser[]" />
</restriction>
</complexContent>
</complexType>
</schema>
</types>
- <message name="getCollectionCount0Request">
<part name="pNumlink" type="xsd:decimal" />
</message>
- <message name="getCollectionCount0Response">
<part name="return" type="ns1:TESTDB_CollectCountTable" />
</message>
- <portType name="_WSPortType">
- <operation name="getCollectionCount">
<input name="getCollectionCount0Request" message="tns:getCollectionCount0Request" />
<output name="getCollectionCount0Response" message="tns:getCollectionCount0Response" />
</operation>
</portType>
- <binding name="_WSBinding" type="tns:_WSPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="getCollectionCount">
<soap:operation soapAction="" style="rpc" />
- <input name="getCollectionCount0Request">
<soap:body use="encoded" namespace="18_WS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
- <output name="getCollectionCount0Response">
<soap:body use="encoded" namespace="18_WS" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
- <service name="18_WS">
- <port name="_WSPort" binding="tns:_WSBinding">
<soap:address location="http://testserver:7778/RCAHMS_WebServices-NMRSPK18_WS-context-root/_WS" />
</port>
</service>
</definitions>This has been the subject of bug 5394491 for several weeks now without any resolution. It looks like this error will prevent the use of Jdeveloper web services that use array parameters in the current versions of Application Express. We are not planning to use Application Express for this purpose any more as there is no information about the bug (or fix) forthcoming.
-
Displaying Web Service Results in a Report
have a web service registered with APEX (GET_DAY_OF_THE_WEEK).
It tests fine from the Web Service References Panel.
I am trying to follow the steps in the Oracle Database Application Express
User's Guide [Release 2.2 Part Number B28550-01] under the Displaying Web
Service Results in a Report topic.
When I get to step 6 = "For Result Tree to Report On, select the portion of the
resulting XML document that contains the information you want to include in the
report." ... THERE IS NO PLACE TO -->"...select the portion of the resulting
XML document that contains the information you want to include in the report".
Is this a bug? Is there a workaround?
SteveHi,
I'm having a similar problem - I have a work_date column and I want to use a date picker to select tasks performed between 2 dates.
For example, on Page 3 I have a username,client_name and task fields. I have 2 date pickers, one for start date and one for end date, and a submit button.
I want to be able to select '01-AUG-10' from the start_date, then '31-AUG-10' from the end_date, then redirect to a page (Page 41) when I click the button to run this:
select username,client_name,task,work_date
from replicon where
username = :P3_USERNAME and
work_date between to_date(:P3_START_DATE,'DD-MON-RR') and
to_date(:P3_END_DATE,'DD-MON-RR')
order by work_date
but I'm getting this error:
ORA-01858: a non-numeric character was found where a numeric was expected
The date format is "DD-MON-RR', and the work_date column is a "DATE" data type.
The button items are "P3_USERNAME","P3_START_DATE" and "P3_END_DATE" with the same values (&P3_USERNAME etc), and the button redirects to page 41.
I can't see how I can pass the username, start_date and end_date from Page 3 to Page 41. Am I using the correct ITEMS, or is it the query?
Help appreciated. -
Casting a result-tree-fragment into a node set
Hi,
Is there anything in BI Publisher that converts a result-tree-fragment into a node set, which resembles the node-set function in as in the following link? http://www.exslt.org/exsl/functions/node-set/
Thanks,
JonathanHi,
Seems no one understands my need in my post yet. Let me elaborate my requirement a little more...
Actually in my case, I used a variable to refer to a node set (in my actual implementation the conditions in the bracket [] are much much more complicated ), e.g.
<?variable:rows;”/ROWSET/ROW[SALARY>1000]”?>
And since the report involves a complex layout printed on pre-print forms which needs me to put the fields very precisely. I cannot use the For Each method but to extract the rows one by one, likes the following:
<?$rows[1]/ENAME?>
<?$rows[2]/ENAME?>
and put them on various position on the RTF Template.
So far so good, until I realized that the $rows node set is needed to be sorted according to ENAME.
Currently I can build a sorted list from $rows into another variable $sorted_rows as follows:
<xsl:variable name="sorted_rows"><xsl:for-each select="$rows"><xsl:sort select="ENAME"/><xsl:copy-of select="."/></xsl:for-each></xsl:variable>
But in $sorted_rows, it contains only one item which is the xml fragment of the sorted data, but not a node set.
So my question is, is there any way to convert this xml fragment into a node set so I can use the following to extract the fields?
<?$sorted_rows[1]/ENAME?>
<?$sorted_rows[2]/ENAME?>
Hope anyone can share with my some solution to this.
Thanks in advance,
Jonathan -
Calculation of Results in BEx Report.
I want to use weighted average method between two keyfigure.
for example consider the following secnario.
CH Kf1 Kf2
A 10 5
B 6 4
C 3 2
<b>Result 19 4.21</b>
how 4.21 is ((105)+(64)+(3*2))/total of Kf1(ie 19)
( A value(Kf1Kf2)+ B value (Kf1Kf2) + C Value (Kf1*Kf2))/total value (Kf1) = 4.21
is it possible to achieve the above result for Kf2.
With regards,
HariHi Dinesh & Kumar,
Thanks for our immediate response..
I tried with Calculated key figure it is not working and also macros does not work, because it is a drilldown report , the result cells in report is not fixed, it will vary depending upon the selection parameter.
Is there is any other solution in query designer to achieve the above result..
With regards,
Hari -
How to get only aggregated results in a report?
Hi,
My report data comes in a completely drilled down format. My requirement is to only get the aggregated results in the report. The report has data for day,week and months. using the remove drill down option from the webviews the user can remove the days column to get the aggregated results for a week and same for a month. but my requirement is to show the user the aggregated results for a month.Hi,
Give me your query design. And add some notes to that. -
Sql 2008 R2
Calling an rss script with rs.exe fails to result in a report pdf from VB6 w/ ShellEx.
If I call rs.exe with the various parameters from the command prompt I have success(other than rs.exe using the temp folder, which is a different issue). But when I try to execute the same process from a Visual Basic 6.0 application utilizing
the ShellEx api call, the report creation and output to PDF format do not occur. There is no error raised.
Yes, I wish I could use a newer dev tool but that isn't an option right now. I think this should work. Can ya'll tell me what I'm doing wrong?
sArgs = "-i " & Chr(34) & "'C:\Program Files\Dura Supreme\OrderEntry\RunOrdReports.rss'" & Chr(34) & _
" -s 'http://walnut/reportserver' -v 'DuraOrderNum=" & _
Chr(34) & sOrdDuraID & Chr(34) & "' -e Exec2005 -t"
ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & Chr(34), EShellShowConstants.essSW_SHOWNORMAL, sArgs
TIA,
Jim M.ShellEx Chr(34) & "C:\Program Files\Dura Supreme\OrderEntry\rs.exe" & ....
Hello Jim,
The path for rs.exe includes spaces, you should set it in hyphen, as you already did for file "RunOrdReports.rss" in variable "sArgs2
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Wsdl requests result in infinite loop response; sometimes
I'm not sure this is the appropriate place to post this question so please redirect me if there is a better place.
We have some web services deployed and after they have been running a while a request for the wsdl will result in the following response.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://model.ws.acme.com" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:wsxsdns="http://model.ws.acme.com" xmlns:wsns="http://model.ws.acme.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://model.ws.acme.com" xmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:complexType><xs:complexType><xs:complexType><xs:complexType><xs:complexType><xs:complexType><xs:complexType><xs:complexType><xs:complexType><xs:complexType><xs:complexType>
where '<xs:complexType>' is repeated without end.
We are using the following: tomcat 5.5, axis2 1.2 and java 1.5.
I thought a request for the wsdl would simply return the file from the file system but I guess I'm wrong. Anyone know what really happens when the wsdl is requested? Any suggested reading? Anyone else ever seen this? Any other advice?
Thanks for your kind assistanceSad, I see many questions and few answers. Open source is great when it works.
-
How to convert a result tree fragment to NodeSet
Dear Guru-s:
I encountered a problem during the BPEL development, as following:
scenario:
Position: Transformation Activity
Requirement: I should establish a complex data transformation, which need to assign an element of process input schema to a NodeSet's element
My WRONG Way:_I just linked such two elements in the XSL perspective of JDeveloper 11g_......
Problem: "javax.xml.transform.TransformerException: XML-22036: (Error) Cannot convert result tree fragment to NodeSet."(When I test the BPEL process in EM)
How could I cover this problem?
Thanks a lot in advance.
BR,
RobertCreating a CSV file is easier than parsing one, but I'd still go for some library code:
http://commons.apache.org/sandbox/csv/ -
Sorry for duplicated post--How to convert a result tree fragment to NodeSet
Dear Guru-s:
I encountered a problem during the BPEL development, as following:
scenario:
Position: Transformation Activity
Requirement: I should establish a complex data transformation, which need to assign an element of process input schema to a NodeSet's element
My WRONG Way: I just linked such two elements in the XSL perspective of JDeveloper 11g......
Problem: "javax.xml.transform.TransformerException: XML-22036: (Error) Cannot convert result tree fragment to NodeSet."(When I test the BPEL process in EM)
JDeveloper Version: 11.1.1.3(11g Release 1)
EM Console Version: 11g
How could I cover this problem?
Thanks a lot in advance.
BR,
Robert
Edited by: Robert CAO on 2010-6-23 下午12:43
Edited by: Robert CAO on 2010-6-23 下午12:53I am facing the same issue while executing a transform activity within a BPEL process.
-
I have a view which returns holding data in a parent-child hierarchy.
holding
instrument_id
parent_instrument id
level
I looked at creating hierarchy and go through “Connect By” example from the Admin manual, but it seems like I already have parent/child structure returned from my DB View.
How can I create a tree like report? Is it possible?
DeepakHi,
If you have the tree level in your report you can create a tree like report by using the LPAD function to add spaces in front of your data. eg.
LPAD(' ', ' ', (level-1)*3)||instrument_idHope that helps,
Rod West -
Using results of other reports of a Dashboard
Hi there,
i've created a Dashboard with some requests on it.
Now i want to use the result of a report to do calculation on a further report.
Is it possible to save the result of a report in a variable or is there any other way to use the result of a report in another Report?
Thanks,
FrankThanks wildmight for your suggestion,
the thing is that I can't create calculated columns on BMM because the results are calculated with subqueries.
I need to do a calculation like
z = x * y
x := count of Customers who have bought Product1 and not Product2 (calculated with subqueries)
y := average Revenue of Product2
Product1 and Product2 are prompted
I dont know how I could calculate this two statements in one report.
Regards,
Frank -
Ability to send the results of a report query to a table in the database
Hi Guys
Is it possible to send the results of a report query to a table in the database ?
ThanksYes.
For this purpose, you can use :
* the delivers advanced option
http://gerardnico.com/wiki/dat/obiee/bi_scheduler/advanced_publication_delivers
* the SOA API
http://gerardnico.com/wiki/dat/obiee/obiee_soap_eclipse
This two solutions need some development skills. -
Returning no Result in the Report Unelss Press Submit
Hi,
All In classic Report
I have Select Crietied for Choosing Specific feilds and Submit & Clear Button
my Concern is to Return no Results when I Run the Report and Show Only Select Criteria !
On Selecting the Values in Select Critria & Clicking Sumbit, I Should get the Results For the Report
kindly Help me in this
Thanks a lotSantu,
I think I understand your request. You want to only show your report unless there are values in your items and they click the submit button. I think just checking if the items are not null will work.
If you had the following items: P1_TEXT, P1_SELECT, and P1_TEXT2
In your report add the following condition:
Type: PL/SQL Expression
Expression 1:
(:P1_TEXT IS NOT NULL OR :P1_SELECT IS NOT NULL OR P1_TEXT2 IS NOT NULL)This will not render the report unless one of those items has a value. In addition make sure your items and your submit button are on a seperate region or else the user will not be able to see them :p.
Cheers,
Tyson Jouglet -
Delete old saved results of BI reports
Hi All,
I have a query on BI reports
In the BI reports, any user can save the result of the report.
Is there any option to delete old saved results.
If so How can we delete the results?
Thanks in advance,
Regards,
SujanaHi,
Look at note 963393.
Hope it helps (points are welcome),
Gili
Maybe you are looking for
-
IPad air to wireless printer connection?
HHow to connect iPad to wireless printer?
-
My Touch ID stooped working the iStore people advised me to reset the settings, after that failed to resolve issue, they said to restore the phone to factory. I plugged it into iTunes on my computer, did the latest back up, downloaded the latest soft
-
I cannot get TM to backup anything... I have a 100 GB blank external drive attempting to backup my internal MBP drive with about 30 GB of stuff on it. About 3-4GB into the initial backup, TM just stops. Opening Console shows the following sequence of
-
Using own/Third party Router in place of Home Hub ...
Hi All, I am trying to help a friend who has upgraded to the BT Infinity service. The house has been fully renovated and cat5 networked throughout. The master socket is located in the basement with the Openreach modem and setup in the standard way :
-
In the past I was able to shuffle just a playlist and nothing else, and now it is gone. My question is "Is it possible to shuffle a playlist but not the rest of my music." Or is this one of the many apps that has hit the "All Or Nothing Floor"