FlexUnit report XML format deviates from that of JUnit
Folks,
We are starting to get some mileage from the CI support in FlexUnit4 - thanks to all for the work on this. Currently we are using the CI builds from the FlexUnit Hudson server: FlexUnit4-Flex3.2 Dec14-2009-10.11.11PM. Aside: We tried the RC 1.0, but it does not contain the CIListener SWC or the Ant tasks.
I am having issues getting our in-house CI testing system to process the XML reports generated by FlexUnit4. It was my understanding that FlexUnit4 produced equivalent XML report output as JUnit. However, even when using the debug Flash player, this does not seem to be the case.
Consider the following element from a JUnit produced XML report:
<testsuite errors="0" failures="0" hostname="myhost" name="com.services.publish.test.TestDAV" tests="1" time="7.0" timestamp="2009-04-27T18:00:18">
And this element from a FlexUnit4 generated XML report:
<testsuite name="com.commons.resources.ResourceLoaderTest" tests="9" failures="1" errors="0" skipped="0" time="0.0">
Notice the differences in the attributes specified by JUnit versus FlexUnit4. In particular, JUnit includes "hostname" and "timestamp" attributes, but FlexUnit4 does not. FWIW, FlexUnit4 includes "skipped" which JUnit omits.
Before I check out the latest FlexUnit4 source for the Ant tasks, I was wondering if developers could tell me if there is a reason for the exclusion of hostname and timestamp? In particular, timestamp is crucial for us due to the way our existing reporting dashboard has been designed.
Thanks,
Trevor
@trevorbutler - Could you send us what version of Ant you're using and a sample of how you're using the <junit> Ant task? Additionally, can you validate that the example you gave for the JUnit output is from the <junit> Ant task and not the <junitreport> task? Could you also let us know which version of JUnit you used with Ant, just in case?
FWIW - The XML output that you see from running tests in JUnit via the <junit> Ant task is output that has been defined without specification by the folks at Apache Ant. There has been a lot of discussion on standardizing the output amongst the folks at TestNG, the Maven Surefire plugin and others, but I haven't seen anything standardized come out of that. Here is a wiki page that has some of that discussion http://wiki.apache.org/ant/Proposals/EnhancedTestReports. t's also important to note, that the aggregate results of the <junitreport> task contain a slight variation on the output produced by the <junit> task. Consequently, we have to emulate the lowest common denominator that we know will work with the tools out there that parse the XML output associated with an xUnit framework (e.g. - Ant tasks, CI server, etc). This being said, we rely on the community to keep us up to date with variations that we may have missed or for which need to update. It's not so much that we've decided to exclude any particular elements from the output, we just need help fine tuning as time goes on.
Thanks for the help.
-Brian
Similar Messages
-
How to get XML format output from Hyperion Financial Reporting
Dears,
We are using Hyperion Financial Reporting to replace FSG in fusion. I found that Hyperion FR report can be exported to html/excel/pdf format. However, I would like the report to export to xml format.It means I only need the xml data source.
Anyone who knows how to get the xml format output from Hyperion FR, is there any avaiable API?I think if you export the report, you will be able to open the .des file in Notepad/Wordpad and see xml content.
-
Composer Process Report XML Format
Hi,
We generated 'Process Report' -- XML format in Oracle BPM Composer. After generating saved content in a xml file. When tried to open this file, getting error message like not in proper xml format etc., Have we missed any thing in installing or configuring Composer. pleased suggest.
-- Thanks .... Murthy@trevorbutler - Could you send us what version of Ant you're using and a sample of how you're using the <junit> Ant task? Additionally, can you validate that the example you gave for the JUnit output is from the <junit> Ant task and not the <junitreport> task? Could you also let us know which version of JUnit you used with Ant, just in case?
FWIW - The XML output that you see from running tests in JUnit via the <junit> Ant task is output that has been defined without specification by the folks at Apache Ant. There has been a lot of discussion on standardizing the output amongst the folks at TestNG, the Maven Surefire plugin and others, but I haven't seen anything standardized come out of that. Here is a wiki page that has some of that discussion http://wiki.apache.org/ant/Proposals/EnhancedTestReports. t's also important to note, that the aggregate results of the <junitreport> task contain a slight variation on the output produced by the <junit> task. Consequently, we have to emulate the lowest common denominator that we know will work with the tools out there that parse the XML output associated with an xUnit framework (e.g. - Ant tasks, CI server, etc). This being said, we rely on the community to keep us up to date with variations that we may have missed or for which need to update. It's not so much that we've decided to exclude any particular elements from the output, we just need help fine tuning as time goes on.
Thanks for the help.
-Brian -
FL SUI Reporting XML Formatting
Has anyone had any luck with submitting 1st quarter SUI Reports to FL with the new XML format? We have applied a couple of the OSS correction notes and we are still getting errors from the transmission. Hoping to beat the reproting deadline. Any tips to offer?
For whatever reason, our SAP delivered form was not correct. We received this updated file format last week, modified the SAP form, and then copied it to a "Z" form. In addition, we applied the respective notes and have been successful in gettting the file to the State. We receive a "W40" message. We spoke with the State and this is not an issue as we receive a confirmation number.
Dave
Nr Lct C Record description Field Tape content Off Lth
0000 001 Special Record Indicator SAP 000 003
0000 004 Character set(ASC or EBC) ASC 000 003
0000 007 Record Length 275 000 003
0000 010 Insert CRLF? CRLF 000 004
0000 014 State Name FL 000 002
0000 016 Layout Type XML 000 003
0001 001 RECSEQNO 001 000 003
0001 004 Blanks 000 006
0001 010 TransmissionHeader RBEG 000 004
0001 014 Jurisdiction FLORIDA 000 007
0001 021 TransmissionId FLUCTVEN 000 008
0001 029 Timestamp TMSTP 000 019
0001 048 ETIN 00000 000 005
0001 053 ProcessType P 000 001
0002 001 RECSEQNO 002 000 003
0002 004 Blanks 000 006
0002 010 OriginHeaders RBEG 000 004
0002 014 ReturnOriginHeader RKEY 000 004
0002 018 OriginId 00000000 000 008
0002 026 Timestamp TMSTP 000 019
0002 045 ItemReference 000 001
0002 046 AgentIdentifier E 000 001
0002 047 5 AgentIdentifier E000 000 007
0003 001 RECSEQNO 003 000 003
0003 004 RTXCMP T5UTL-TXCMP 000 004
0003 008 Blanks 000 002
0003 010 ReturnData SCHEMA 000 006
0003 016 StateReturn RKEY 000 004
0003 020 Quarter QCOUNT 000 001
0003 021 Taxyear UDATE 000 004
0003 025 SoftwareId 07000133 000 008
0003 033 5 ReturnType StateUI 000 007
0003 040 5 Form UCT-6 000 005
0003 045 5 Action Original 000 008
0003 053 Reason 000 020
0003 073 TypeTIN FEIN 000 008
0003 081 5 TINTypeValue E001 000 009
0003 090 5 TypeStateEIN UIAccountNo 000 011
0003 101 5 StateEINValue E000 000 007
0003 108 BusinessName T5UTL-LTEXT 000 057
0003 165 AddressLine T5UTL-STRAS 000 022
0003 187 City T5UTL-ORT01 000 022
0003 209 StateOrProvince T5UTL-STATE 000 002
0003 211 ZipCode T5UTL-ZIPCD 000 005
0003 216 PhoneNumber FRMFD-TMTEL $xml_format$ 000 010
0003 226 FirstName 000 027
0003 253 MiddleName 000 027
0003 280 LastName 000 027
0003 307 Phone 000 010
0004 001 RECSEQNO 004 000 003
0004 004 RTXCMP T5UTL-TXCMP 000 004
0004 008 Blanks 000 002
0004 010 1 UITotalWages T001 000000000000000 000 015
0004 025 1 ExcessWages T002 000 011
0004 036 1 UITaxableWages T003 000 015
0004 051 3 ContributionRate 00.00 000 005
0004 056 1 ContributionDue T005 000 010
0004 066 1 UIInterest 000 009
0004 075 1 UIPenalty 000 009
0004 084 1 UITotalDue EXIT $xml_format$ 000 011
0005 001 RECSEQNO 005 000 003
0005 004 RTXCMP T5UTL-TXCMP 000 004
0005 008 Blanks 000 002
0005 010 Employee PayRoll 000 007
0005 017 SSN P0002-PERID $SSN_NA$ 000 009
0005 026 FirstName P0002-VORNA 000 015
0005 041 MiddleName P0002-MIDNM 000 001
0005 042 LastName P0002-NACHN 000 020
0005 062 Suffix P0002-NAMZU 000 004
0005 066 1 TotalWages T001 0000000000 000 010
0005 076 1 TaxableWages T003 0000000000 000 010
0005 086 3 TotalWages 00000000.00 000 011
0005 097 3 TaxableWages 00000000.00 000 011
0005 108 TaxState XX 000 002
0006 001 RECSEQNO 006 000 003
0006 004 RTXCMP T5UTL-TXCMP 000 004
0006 008 Blanks 000 002
0006 010 2 NumberOfEmployees N000 000 007
0006 017 2 Month1Employees N0M1 000 005
0006 022 2 Month2Employees N0M2 000 005
0006 027 2 Month3Employees N0M3 000 005
0007 001 RECSEQNO ATR 000 003
0007 004 SEQNO 0007 000 004
0007 008 Blanks 000 002
0007 010 OriginManifest 000 001
0007 011 itemCount 1 000 001
0007 012 5 ItemReference OriginManifest 000 014
0007 026 5 contentLocation contentLocation 000 015
0007 041 5 ReturnData Transmission 000 012
0007 053 documentCount 1 000 001
0007 054 5 StateUI StateReturn 000 011
0007 065 documentId UCT-6 000 005
0008 001 RECSEQNO RND 000 003
0008 004 SEQNO 0008 000 004
0008 008 Blanks 000 002
0008 010 5 EFIN Originator 000 010
0008 020 5 Type Originator 000 010 -
SSRS 2008 R2 why Link Report Print format different from parent?
Hi,
I have created a link report based on Report A.
In Report A I have set the print format to "LANDSCAPE", but the link report always appear in Portrait, any work around on this?
If this is one of the SSRS bugs, is that anyway I can disable the print button in Report Server?
ThanksHi SAMSUNG,
I can reproduce the issue in my local environment. As per my understanding, this scenario is caused by design.
In Reporting Services, Report server administrators have the option of disabling the print feature by setting the report server system property EnableClientPrinting to false. But this property will disable client-side printing for all reports managed by
the server. So if you want to hide the print icon in all reports, we can refer to the following document:
http://msdn.microsoft.com/en-us/library/ms155874(v=sql.105).aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Can a ibot send report in xml format? is it possible?
Hi,
When you choose an analysis and want to schedule it you have several option in the drop down menu; however, I have a requirement where I would need to send out the report in an XML format. Is that doable?
Thanks in advance for your response.Hi SaichandVaranasi,
Well, I need it as the report needs to be scheduled and sent out to a client via email; They use the xml to extract data from us.
As far as getting the static data to show the xml file, it is not working or may be i am unclear on this.
I have enabled the report links and from export i am able to get the xml file generated. Now if i copy the link of the xml output it points to my c drive. (C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\CCQABWMX\FX_SEF[3].xml)
Once i paste this link to a static view it does not generate the xml view.
in addition even this link is to work, how would it take in the dynamic variable for each day for example where the date range will be changing.
Am i doing it wrong?
Thanks for your suggestion btw. -
Can we generate the output of SQL Query in XML format ..
Hi Team,
Can we generate an XML doc for an SQL Query.
I've seen in SQL Server 2000.It is generating the output of an SQL Query in xml format.
select * from emp for xml auto
The output looks like
<emp EMPNO="7369" ENAME="SMITH" JOB="CLERK" MGR="7902" HIREDATE="1980-12-17T00:00:00" SAL="2800" DEPTNO="20"/><emp EMPNO="7370" ENAME="SMITH" JOB="CLERK" MGR="7902" HIREDATE="1980-12-17T00:00:00" SAL="2800" DEPTNO="10"/>Just a little bit of short hand.
Get the XML out of your database, via HTTP
Of course the easiest method is just to return an XMLType from a stored procedure and let the calling routine figure out what to do with it. Instead
of that way though, I'll show you how to do it via HTTP. It's all completely built into 10g and is super easy to use.
CREATE OR REPLACE VIEW emps_and_depts AS
SELECT e.employee_id AS "EmployeeId",
e.last_name AS "Name",
e.job_id AS "Job",
e.manager_id AS "Manager",
e.hire_date AS "HireDate",
e.salary AS "Salary",
e.commission_pct AS "Commission",
XMLFOREST (
d.department_id AS "DeptNo",
d.department_name AS "DeptName",
d.location_id AS "Location"
) AS "Dept"
FROM employees e, departments d
WHERE e.department_id = d.department_id
Some people hear web and immediately start salivating about security issues. Let me address that quickly. Just because you have the HTTP and/or
FTP servers running in the database, that does not mean you have a security problem. For one, I would hope your databases are behind a firewall.
Second, with the correct architecture (DMZ, app servers, etc) you can make this data available outside the firewall fairly transparently and third,
just because it's on the web does not mean the data MUST be available on the internet. This is a good way to make your data available on your
intranet. If you are worried about people INSIDE your firewall, that still doesn't preclude web based access. Follow Oracle security guidelines.
Before I show you how to get to your data, let's talk about URLs and URIs. A URL is a Uniform Resource Locater and URI is a Uniform Resource
Identifier. A URL is the way you would identify a document on the net, i.e. http://www.oracle.com is a URL. A URI is a more generic form of a URL.
Oracle supports three types of URI: HTTPURIType - basically a URL (which would be like the URL above), XDURIType - a pointer to an XDB resource
(usually an XML document but can be other objects), and DBURIType - a pointer to database objects.
It's the DBURIType that we're going to concentrate on here. The DBURIType let's us reference database objects using a file/folder paradigm. The
format for a DBURI is /oradb/<schema>/<table>. Oradb is shorthand for the database; it is not the database name or SID. My database is named XE
but I still use oradb in the DBURI. For example, the view we created above is in my XE database, is owned by HR (at least in my case) and is called
EMPS_AND_DEPTS. This can be referenced as /oradb/HR/EMPS_AND_DEPTS.
If the view had many rows and you wanted only one of them, you can restrict it by including a predicate. The documentation for XDB has a great
write up on Using DBURIs.In our case, we are going to write out the entire document. Now that you understand that the DBURI is a pointer to
objects in our instance, we can use that to access the data as a URL.
The format for the URL call is http://<machinename>:<port>/<DBURI>
In my case, my XE database is running on a machine called mach1 and is listening on port 8080. So to see the view we created above, I open my
browser and navigate to: http//mach1:8080/oradb/HR/EMPS_AND_DEPTS
The created URL will be as http//mach1:8080/oradb/PUBLIC/EMPS_AND_DEPTS
If your database is set up correctly and listening on port 8080 (the default), your browser should ask you to login. Login as the user who created the
view (in my case HR). You should now get an XML document displayed in your browser.
And that's it. It doesn't get much simpler than that. If you get rid of the descriptive text above, it basically comes down to:
Create a table or view
Open your web browser
Enter a URL
Enter a user ID and password
View your XML
If you notice, Oracle formatted the data as XML for us. Our view returns scalar columns and an XML fragment called Dept. Oracle formatted the
return results into an XML format.
And as a side note, if you look closely, you'll see that my URL has PUBLIC where I said to put HR. PUBLIC is a synonym for all objects that your
logged in user can see. That way, if your user has been granted select access on many schemas, you can use PUBLIC and see any of them. -
What is this display XML format
If we go to ID..
in communication channel--> go to menu-> communication channel---> Display XML format
what is that used for..Hi Amit...
if you open a Communication channel....go to the menu of the communication channel...not the main menu.....
probably u can see CHECK(F7) option in the menu...just below that it is mentioned... -
How to convert an istance to a new Report in format PDF
Post Author: Matrix71
CA Forum: JAVA
Hi,
I've a big problem... i must make a JAVA program that conver an istance
of 1 Report in a new Report in format PDF and that this Report is
visible ONLY for the property of the istance...
Thanks and... sorry for my bad english...
DenisPost Author: Matrix71
CA Forum: JAVA
There is someone that can help me ??? -
How to burst reports in text and XML format using API
Hi there,
I need to be able to burst PDF, Excel etc reports and at the same time, generate XML files containing metadata that will accompany the PDF files to their destination. The reason for this, is that the destination requires metadata to class the documents in the content management system.
My issue is that I just cannot get bursting to XML, text or HTML format right. There is very little documentation available around creating reports in these formats using the API's and perhaps someone who has gotten this right can, once and for all, solve this issue where others can find the solution.
Alright, here is some sample supporting documentation (For the sake of the question, I have removed the bursting to PDF, Excel etc. formats and I am just focusing on the XML output):
In my code for bursting, I make use of the following constructor...
DocumentProcessor dp =
new DocumentProcessor("ControlFile.xml", "TestData.xml", "temp");
The ControlFile.xml looks like this...
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
_<xapi:request select="/DATA/LIST_BRANCH/BRANCH">
___<xapi:delivery>
______<xapi:filesystem id="dst" output="C:\${BRANCH_NAME}.xml"/>
___</xapi:delivery>
___<xapi:document output-type="text" delivery="dst">
______<xapi:template type="xsl-fo" location="Template.xsl"></xapi:template>
___</xapi:document>
_</xapi:request>
</xapi:requestset>
The data in my TestData.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
___<LIST_BRANCH>
______<BRANCH>
__________<BRANCH_NAME>BRANCH 1</BRANCH_NAME>
______________ OTHER IRRELEVANT DATA
______</BRANCH>
______<BRANCH>
__________<BRANCH_NAME>BRANCH 2</BRANCH_NAME>
______________ OTHER IRRELEVANT DATA
______</BRANCH>
___</LIST_BRANCH>
</DATA>
In my ControlFile.xml, I reference my XSL file called Template.xsl which should do my transformations into XML. That file looks like:
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
__<xsl:output method="xml" indent="yes">
__<xsl:template match="/">
____<METADATA>
_______<BRANCH>
___________<xsl:value-of select="BRANCH_NAME"/>
_______</BRANCH>
____</METADATA>
__</xsl:template>
</xsl:stylesheet>
I have tried about forty variations of the ControlFile.xml and Template.xsl and have had no luck. Among the various error messages that the compiler has reported to me, these are the most common:
[101507_055953158][][EXCEPTION] Error while generating the Document...
[101507_055953158][][EXCEPTION] org.xml.sax.SAXException: element metadata is not supported yet.
[101507_061037084][][EXCEPTION] Error while generating the Document...
[101507_061037094][][EXCEPTION] oracle.xml.parser.v2.XMLParseException: Start of root element expected.
I have managed in some cases to get the API code to compile, but the outputs are empty 0kb files.
I have also exported an XSL-FO file from word, but the output is always PDF even with tweaking.
I have wasted about 9 hours on this problem and it is driving me mad! If anyone has ideas, tips and/or solutions, they would be very welcome.
Thanks in advance,
AndrewFor anyone interested... here it is!
Format Setup:
<TEMPLATE TYPE> DELIMITER_BASED
<OUTPUT CHARACTER SET> iso-8859-1
<NEW RECORD CHARACTER> Carriage Return
Sequences:
<DEFINE SEQUENCE> MetaDataSeq
<RESET AT LEVEL> BRANCH
<INCREMENT BASIS> LEVEL
<END DEFINE SEQUENCE> MetaDataSeq
Format Data Records:
<LEVEL> BRANCH
<MAXIMUM LENGTH><FORMAT><DATA>
<NEW RECORD> FileHeaderRec
16_________________Alpha_____‘<REPORT_SUMMARY>’
22_________________Alpha_____‘<TYPE>1</TYPE>’
255________________Alpha_____'<NAME>’ || BRANCH_NAME || ‘.pdf</NAME>’
255________________Alpha_____'<DESC>NON-MOTOR VEHICLE CLAIMS</DESC>’
10_________________Alpha_____‘<METADATA>’
255________________Alpha_____‘<CONTROL_AREA>MAIN CONTROL AREA</CONTROL_AREA>’
255________________Alpha_____‘<BRANCH_CODE>’ || BRANCH_CODE || ‘</BRANCH_CODE>’
255________________Alpha_____‘<BRANCH_NAME>’ || BRANCH_NAME || ‘</BRANCH_NAME>’
255________________Alpha_____'<DIVISION_CODE>1</DIVISION_CODE>’
255________________Alpha_____‘<DIVISION_NAME>PERSONAL</DIVISION_NAME>’
11_________________Alpha_____‘</METADATA>’
17_________________Alpha_____‘</REPORT_SUMMARY>’
<END LEVEL> BRANCH -
Help with flex4unit ant build.xml: Socket timeout waiting for flexunit report
I'm having trouble setting up ant to build and test my project locally and I'm not sure what the next step is.
Info:
Running on XP/Cygwin.
All of the files that FlexUnit4 references when used in Flash Builder are in my '${basename}/libs' folder (eg FlexUnit4_1.0.swc).
I've placed the flexunit4 task in my ant/libs folder.
I'm getting two errors...
I don't think I've set up the 'socket' stuff right for the tests. It just sits and waits then dies...
[flexunit] Waiting for client connection ...
(about a minute later)
[flexunit] Stopping server ...
[flexunit] End of test data reached, sending acknowledgement to player ...
[flexunit] Closing client connection ...
[flexunit] Closing server on port [1024] ...
BUILD FAILED
java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
Plus this is the error I get from the flash player:
ReferenceError: Error #1065: Variable mx.skins.spark::BorderSkin is not defined.
I don't know why it's complaining about Borderskin as I think I have included all the flex4 libs I could find. I suspect this second error is causing the first error?
Any help appreciated. I think I'm just setting it up all wrong.
Screencap of errors:
http://twitpic.com/l7ay8
build.xml:
http://gist.github.com/20804Finally got everything working using the files from the CI Example which what i probably should have done in the first place.
So a rough guide for anyone just starting out with this:
Download the Flex 4 'workspace' from the digital primates hudson server . This appears to contain flexunit library and examples in various stages of development.
I used Flex Builder 4 Beta 2 to set up my Test Suite and Test Cases.
I then loaded the libs folder from:
workspace.zip\workspace\project\FlexUnit4SampleCIProject
into my flex project's libs folder:
this includes:
FlexUnit4.swc
FlexUnit4CIListener.swc
flexUnit4UIRunner.swc
flexTasks.jar
flexUnitTasks.jar
I didn't need to remove the FlexUnit4 stuff that is 'referenced' automatically by flash builder when you start adding flexunit4 tests/suites.
Then I used a modified version of the TestRunner.mxml found in:
workspace.zip\workspace\project\FlexUnit4SampleCIProject\src\test\flex
The lines to pay attention to are the ones that look like:
static public function currentRunTestSuite():Array {
var testsToRun:Array = new Array();
testsToRun.push(packagename.TestSuiteName);
testsToRun.push(packagename.TestClassName);
return testsToRun;
Just make sure you update this list to include all of the test suites &/or individual tests you want to run.
I made this a static function and modified the code in the "FlexUnitApplication.mxml" file to use this function so i'd only need to update one list of suites/tests.
FlexUnitApplication.mxml is generated automatically when you run FlexUnit4 tests in the Flash Builder 4 Beta 2 IDE.
This is the build.xml file I'm using in the project:
http://gist.github.com/208211
Change the name of the project from "Flare" to whatever and adjust the other path settings where required (though you might want to write this from scratch at least once so you understand roughly what is going on).
The Debug Flash Player must be installed on the server otherwise you'll get a:
java.util.concurrent.ExecutionException: Socket timeout waiting for flexunit report
...while it waits for the non-existant debugger to attach. (This is obvious but I did forget and was a bit bewildered for a moment)
Need to also ensure the environment variable:FLEX_HOME is set to the location you installed the flex sdk...by editing your .bashrc setting the environment variable the in the Hudson Configuration.
You'll need to point Hudson at your ant installation and your jdk installation. If you downloaded he sdk, be aware you might need to point it to the jdk folder inside the place you installed the sdk.
And I think that's all the problems I had. Hope it's useful to someone... if anyone who actually knows what they are doing can point out any potential issues/better ways of doing things, feel free to comment.
Thanks to Brian (legrosb) and Mike (mlabriola) for their assistance! -
I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button. When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format. Is there a quick fix?
Hi,
You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
Regards
Bruce -
Problem with getting a D2K report in XML format
Hi all,
Could any body give a solution for this problem.
I have a matrix report like following:
Q_Statement_Of_Net_Assets ----> main query
|
G_Cross ----> Cross product
| CS_VALUE
| CS_NET_ASSET
| CF_COSTI
|
| --------------------------------- |
| | G_CTIF | | ------> Like this I have two more groups
| --------------------------------- |
...... |
-----------------------------------------------|
My requirement is i want to print CS_VALUE, CS_NET_ASSET, CF_COSTI values in XML report, these values i am getting in a Normal/RTF format reports.
But i am not getting in XML format report.
thanks in advance.
VasuThanks Schellyc
actually I want to creat a new SOAPMessage for the very beginning like this:
try{
MessageFactory mf = MessageFactory.newInstance();
SOAPMessage msg = mf.createMessage();
SOAPPart sp = msg.getSOAPPart();
//create the header container
SOAPEnvelope se = sp.getEnvelope();
SOAPHeader sh = se.getHeader();
SOAPBody sb = se.getBody();
}catch(Throwable e) {
e.printStackTrace();
}and I want to get the empty header from this newly created SOAPEnvelop and add my own content into the header as well as the empty body.
I wrote the code by following the example from the jaxm api.
can anybody tell me any further information about the NullPointerException? -
Data is not converting in XML format in output while download in report
Hi All, While downloading the report in XML format value '&' is not changing its XML format '&', but showing in debug mode and sam thing while download its not showing in output. showing in debug like; MS NA - DCS Tooling & Automation but in output showing the data like: MS NA - DCS Tooling & Automation because of this getting issue. Please help me out . Thanks and Regards Sankil
In that case, it is correct.
Try replacing & with & before downloading xml in case you want & to appear as & in web browser view. -
How Do I Display HTML Formatted Text From A Data Table In Crystal Reports?
I'm creating reports in Crystal XI. The information being displayed in the reports comes from data tables where the text is formatted in HTML.
I've worked with Crystal Reports enough to know that HTML text pulled from a data table doesn't appear in Crystal the same way it does in a web browser. Crystal Reports ignores all the tags (...unless I'm missing something...) and just displays the text.
Someone far more Crystal savy than I (...who I don't have access to...) came up with a Formula Field workaround that tricks Crystal Reports into displaying some basic HTML tags. Here's that workaround:
<!--
stringVar TableName := ;
TableName := Replace (TableName, "<ul>","<br> <br>");
TableName := Replace (TableName, "<li>", "<br> • ");
TableName := Replace (TableName, "</li>", "");
TableName := Replace (TableName, "</ul>","<br> <br>");
TableName := Replace (TableName, "<a", "<u><font color='blue'");
TableName := Replace (TableName, "</a>", "</font></u>");
TableName
-->
QUESTION - Does any similar workaround exist so I can display an HTML Table in Crystal Reports? If not, is there any way to display HTML formatted text from a data table in Crystal Reports as it would appear in a web browser?Hi Steven,
To display html text in Crystal Reports follows these steps.
1. Right click on the field and select Paragraph tab.
2. Under 'Text Interpretation' select 'HTML Text' and click OK.
I have tried using the way,but it never works.So reply me if there is any way to solve the issue
Maybe you are looking for
-
Report for operation confirmations
Hi Product A . production order qty is 100. It has 4 operations.10,20,30,40. for operation 10 confirmed qty 100 operation 20 confirmed qty 80 operation 30 confirmed qty 85 40 100 I want a
-
How 2 Develope user defined functions to call function modules in R/3 syst
How to Develope user defined functions to call function modules in SAP R/3 system....in xi
-
Route Calls based on first 2 digits of customer Ref#
Hi, I just want some help with an IVR script I am preparing. The idea is to route calls to a different ICM script depending on the Ref# entered by the customer. Reference numbers are currently 11 digits long (I used Get Digit String to gather the R
-
Text not transfered through Interface...
Hi Experts: We have created an interface between two SAP installations. The PO Created in one system should be converted and posted as an SO in the other server. Here we have two scenarions; 1. In Outbound server, an SO will be created, it will be co
-
I have a WRV54G that replaced an older Linksys Product. All my devices on my LAN get DHCP address but two (they are serves). On my LAN I use a product from HP called RDP (Altiris Deployment Solution). What this allows is PC's can PXE boot using th