How to use Apache's FOP (getting NPE)
I'm trying to call out to FOP from a servlet to generate a PDF. Here's my code:
Driver driver = new Driver();
try {
driver.setOutputStream(response.getOutputStream());
} catch (IOException e) {
e.printStackTrace();
driver.setRenderer(Driver.RENDER_PDF);
Transformer transformer;
try {
transformer=TransformerFactory.newInstance().newTransformer(new StreamSource (xslStream));
transformer.transform(new StreamSource(xmlStream), new SAXResult(driver.getContentHandler()));
} catch (TransformerConfigurationException e) {
e.printStackTrace();
} catch (TransformerFactoryConfigurationError e) {
e.printStackTrace();
} catch (TransformerException e) {
e.printStackTrace();
The call to transform(...) causes a NullPointerException as such:
java.lang.NullPointerException
at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:762)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:335)
Any ideas what the problem might be?
Thanks,
--Voytek Jarnot
I fixed my problems with the following code, seems like oracle's xsl code is broke (at least in this context). Setting the javax.xml.transform.TransformerFactory to either "org.apache.xalan.processor.TransformerFactoryImpl" or "org.apache.xalan.xsltc.trax.TransformerFactoryImpl" works. I'm using the xsltc version for performance reasons.
Of course, the whole point of the api is to allow vendors to plug in implementations, and for me not to worry about which specific implementing classes are being used. I'm breaking that abstraction here, but at least it works...
<pre>
static {
//Set the TransformerFactory system property to generate and use translets.
//The setting for the Xalan Transformer "org.apache.xalan.processor.TransformerFactoryImpl"
String key = "javax.xml.transform.TransformerFactory";
String value = "org.apache.xalan.xsltc.trax.TransformerFactoryImpl";
Properties props = System.getProperties();
props.put(key, value);
System.setProperties(props);
</pre>
Similar Messages
-
How to use Apache Web Server?
Hi all,
How to use Apache Web Server?
Thanks
contact me: [email protected]i do not know for certain about the jsps you're talking about, but i would guess they should run just fine under jrun, and you wouldn't have to make jrun and jserv coexist.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by One:
Hi ilya:
Thank you for your quick reply.
I will try that way but I wonder if the thing like "how about the *.jsp developed by the JDeveloper and BC4J run under JRun; could and is it necessary to make the Apache+JServ and Apache+JRun co-exist ... "<HR></BLOCKQUOTE>
null -
How to use Apache Beehive in WebLogic 10.3?
Hi
I want to use Apache Beehive controls in an MDB on WebLogic Server 10.3 but I can not get the controls to be instantiated.
I want to use a Jdbc control sice they are so easy to use.
Thanks
LucasTo add some more info about this:
I have an MDB like this:
@MessageDriven(messageListenerInterface = javax.resource.cci.MessageListener.class)
public class MyMDBean implements MessageListener {
@Control
private MyJdbcControl mMyJdbcControl;
@PostConstruct
public void initialize() {
public Record onMessage(Record record) {
mMyJdbcControl.setData(4711, "hello");
} // end MyMDBean
and a control extension
import org.apache.beehive.controls.api.bean.ControlExtension;
import org.apache.beehive.controls.system.jdbc.JdbcControl;
@ControlExtension
@JdbcControl.ConnectionDataSource(jndiName="jdbc/MyDataSource")
public interface MyJdbcControl extends JdbcControl {
@SQL(statement="UPDATE MY_TBL SET data = {data} WHERE id = {id}")
void setData(long id, String data);
// end MyJdbcControl
OK the first issue is that the control never get instantiated
so I then tried to do it myself, e.g. in initialize() adding Controls.initializeClient( null, this, null );
but then Beehive says that there is nu class like MyMDBeanClientInitializer which of course I do not have.
I can not see from the code on
http://beehive.apache.org/docs/1.0/controls/programming.html#Programmatic+Instantiation
how to create an extension control programmaticly
Please help
Lucas -
How to use where clause with get statement in LDB programs
Hi All,
I am using logical databse in my report program.I am not getting how to use the where clause in the get statement is it possible to use?or if not possible only option is we should filter it after get statment is right?Can you please some body throw some idea on this?
Regards
MaheshHi,
Reffer these links
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
reward if helpful
Thanks,
Suma. -
How to use Apache MyFaces components in JSF pages + Eclipse?
I've managed to write my JSF web app. in Eclipse jee, and test it on JBoss 4.2 GA, within Eclipse, but how to import Apache MyFaces components into Eclipse JSF plug-in?
If I can't import it nicely, how to use those components directly in JSF pages?The Tomahawk component library provides MyFaces components. Install it as you would any other component library.
http://myfaces.apache.org/tomahawk/ -
How to use Min function to get FileName into a Variable
I was wondering how to use MIN function in Evaluate variable in package to get the first file name from the list(Datastore)
With reference to Merging Flat Files into a single file Post number-4
ThanxHi Diwakar,
That List data store should be table, than only it will gives the min of the filename string,
If it is a file datastore, Min function does not works properly it will returns a first name in the file data store.
so please, use an interface to upload the List filedatastore into some other temp table. From that table you can use variable to get Min value of file name.
Thanks
Madha -
Hi,
I am successfully using ObjectSharingInformation.GetObjectSharingInformation to get AnonymousEditLink property but I can't figure out how to use the same function to get AnonymousViewLink property it is always coming out as null does anyone know how to get
a value for this property?
Any help will be greatly appreciated.Hi,
According to your post, my understanding is that you had an question about the property of AnonymousViewLink.
The SPObjectSharingInformation.AnonymousViewLink property
gets the anonymous view link for the securable object, or an empty string if the link is not available.
There is an example about the property in the sharing.debug.js file which located in the below path, you can have a look at it.
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS
Thanks,
Jason
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Jason Guo
TechNet Community Support -
How to use Hide Tech. and Get cursor field
Hai Experts,
Can any one tell me about
how and when we use hide tech. and get cursor stmt in interactive report.
In my reqirement , i want to display PO header details like PO docno, Vendor No, and so on. when i am double clicking the EBELN , it will display the item details of the particular document number which i am clicked in the basic list.
if i am double click the vendor number, it will show the vendor details.
how can i get this?
Thanks in advance for ur reply.
Regards,
MsivasamyThanks for ur reply.
I got the output in this way.
*& Report SAPMZMMPO
REPORT SAPMZMMPO no standard page heading.
tables: ekko.
DATA: f(40) TYPE c, off TYPE i, lin TYPE i, val(10) TYPE c, len TYPE i.
data: begin of iekko occurs 0,
bukrs like ekko-bukrs,
bsart like ekko-bsart,
ekorg like ekko-ekorg,
ekgrp like ekko-ekgrp,
ebeln like ekko-ebeln,
lifnr like ekko-lifnr,
bedat like ekko-bedat,
end of iekko.
data: begin of iekpo occurs 0,
ebeln like ekko-ebeln,
ebelp like ekpo-ebelp,
matnr like ekpo-matnr,
menge like ekpo-menge,
meins like ekpo-meins,
netpr like ekpo-netpr,
matkl like ekpo-matkl,
werks like ekpo-werks,
lgort like ekpo-lgort,
eeind like rm06e-eeind,
end of iekpo.
data: begin of ilfa1 occurs 0,
lifnr like lfa1-lifnr,
name1 like lfa1-name1,
stras like lfa1-stras,
ort01 like lfa1-ort01,
end of ilfa1.
*parameters: p_ebeln like ekko-ebeln default '4500006130'.
select-options: s_ebeln for ekko-ebeln DEFAULT '4500006130' TO '4500006135'
OPTION bt SIGN i.
*start-of-selection.
start-of-selection.
select bukrs bsart ekorg ekgrp ebeln lifnr bedat
from ekko into corresponding fields of table iekko
where ebeln in s_ebeln.
loop at iekko.
write:/ iekko-ebeln HOTSPOT COLOR 5 INVERSE ON,
iekko-lifnr HOTSPOT COLOR 3 INVERSE ON ,
iekko-bukrs,iekko-bsart,iekko-ekorg,iekko-ekgrp.
hide: iekko-ebeln,iekko-lifnr.
endloop.
iekko-lifnr,iekko-ebeln.
at line-selection.
GET CURSOR FIELD f VALUE val .
WRITE: / 'Field: ', f,
/ 'Offset:', off,
/ 'Line: ', lin,
/ 'Value: ', (10) val,
/ 'Length:', len.
case sy-lsind.
when 1.
*if val = iekko-ebeln.
if f = 'IEKKO-EBELN'.
select ebeln ebelp menge meins lgort werks
matnr matkl netpr from ekpo
into corresponding fields of table iekpo
where ebeln = iekko-ebeln.
for all entries in iekko where ebeln = iekko-ebeln.
loop at iekpo.
write:/ iekpo-ebelp,iekpo-matnr,iekpo-menge,iekpo-meins,
iekpo-werks,iekpo-lgort,iekpo-matkl,iekpo-netpr.
endloop.
endif.
*if val = iekko-lifnr.
if f = 'IEKKO-LIFNR'.
select lifnr name1 stras ort01 from lfa1
into corresponding fields of table ilfa1
where lifnr = iekko-lifnr.
loop at ilfa1.
write:/ ilfa1-lifnr,ilfa1-name1,ilfa1-stras,ilfa1-ort01.
endloop.
endif.
when others.
leave screen.
endcase. -
How to use boolean operator to get count
Hi All,
In my query i need to add a field Count which shows number.
Meaning,
Column A ColumnB ColumnC Count
100 50 0 2
55 60 76 3
79 0 0 1
meaning from all three column only two has values then Count should show 2. etc....
any suggestion how to use boolean expression here ?
or anyother way to display Count ?
thanks,
KSHi thanks for idea.
boolean didnt work here. the formulau sugested worked...
But i wrote formula for the Count --> COUNT("overtime") and for the Count property I selected Calculate Result As --> Summation fo Rounded Values
so the output is as follows:
i had data for 3 payperiods
Count (1st 3 columns) overall result(last Column)
200801 200802 200803
1 0 1 2
1 1 1 3
0 1 0 1
Now the out put i wanted is in the last column -Result column.
I dont want Count column to be display like this. it is showing values instead of total. any this i should change for this?
thanks,
KS -
i've recently reformatted my computer and i've taken the old firefox folder from before the reformat and put it on the new one but i dont know how to use it to restore my old settings
by the way im not using a different operating system im running windows 7 like i was previouslyHere's my suggested profile resurrection procedure using the old profile folder that's inside the Old Firefox Data folder.
'''Overview'''
These are the steps:
# Create a new Firefox profile
# Remove everything from that new profile folder
# Copy in everything from the old profile folder
'''Create a new Firefox profile (Windows)'''
Exit Firefox and start up in the Profile Manager using Start > search box (or Run):
firefox.exe -P
''Note: Any time you want to switch profiles, exit Firefox and return to this dialog.''
Click the Create Profile button and skip the option to change the folder location. Then select that new profile in the dialog and start Firefox.
'''Open the New Profile folder in Windows Explorer'''
Firefox in the new profile should look like a factory fresh installation. Open the Troubleshooting Information page using either:
* "3-bar" menu button > "?" button > Troubleshooting Information
* Help menu > Troubleshooting Information
In the first table, click the "Show Folder" button. Firefox will launch your brand new profile folder in Windows Explorer.
Leaving this folder open, switch back to Firefox, and Exit. This will leave that profile folder open in Windows Explorer.
'''Copy Old Data in Place of New'''
In that new profile folder, select all the contents and delete.
Leaving that window open, open or switch over to your Old Firefox Data folder. Drill down into your old profile folder. At this level you should see a folder named bookmarkbackups among other things.
Select everything (Ctrl+a) and Copy (either right-click > Copy or Ctrl+c).
Switch to the empty new profile folder in other window and Paste (either right-click > Paste or Ctrl+v). This may take a minute since some of the files are large.
'''Start Firefox'''
Firefox should start up in that new profile with the resurrected old profile data. Success? -
How to use SAP XI to get Inspection Lot IDOC when Insp. lot is created
I want to create a 3rd party .NET app that gets an Inspection Lot IDOC when an inspection lot is created, gather the inspection results, then push the results back to SAP in an IDOC. How do I use SAP XI to do that? I developed an HTTP listener .NET app and configured a sender communications channel for the SAP System and a receiver connunications channel for the HTTP adapter in the XI integration scenario, but how do I configure the XI integration scenario to send my app an IDOC when an inspection lot is created, and what IDOCs do I use?
Thanks,Hi Ed
I think you can use
IDOC TYPES : QALITY01, QALITY02
in XI you can create
IDOC to HTTP as a scenario
IDOC need to be triggered from SAP system and you can import the IDOC metadata into XI from SAP
Check this thread it will help
Re: IDOC to HTTP
Thanks
Gaurav -
SUM(Case how to use this structure to get average values over date range
I am using:
Oracle SQL Developer (3.0.04) Build MAin-04.34 Oracle Database 11g Enterprise Edition 11.2.0.1.0 - 64bit Production
How do I use the sum function with a case structure inside.
so I have data that looks like has an ID, date, and value. I am looking to get the 7 day average for the date range of 4/1/2013 thru 4/20/2013
with t as (
select 1 ID_Key,to_date('4/1/2013','mm-dd-yyyy') date_val, 10 Value_num from dual union all
select 1 ID_key,to_date('4/2/2013','mm-dd-yyyy'), 15 from dual union all
select 1 ID_key,to_date('4/3/2013','mm-dd-yyyy'), 20 from dual union all
select 1 ID_key,to_date('4/5/2013','mm-dd-yyyy'), 0 from dual union all
select 1 ID_key,to_date('4/8/2013','mm-dd-yyyy'), 12 from dual union all
select 1 ID_key,to_date('4/9/2013','mm-dd-yyyy'), 8 from dual union all
select 1 ID_key,to_date('4/10/2013','mm-dd-yyyy'), 6 from dual union all
select 1 ID_key,to_date('4/12/2013','mm-dd-yyyy'), 10 from dual union all
select 1 ID_key,to_date('4/13/2013','mm-dd-yyyy'), 0 from dual union all
select 1 ID_key,to_date('4/14/2013','mm-dd-yyyy'), 0 from dual union all
select 1 ID_key,to_date('4/15/2013','mm-dd-yyyy'), 10 from dual union all
select 1 ID_key,to_date('4/16/2013','mm-dd-yyyy'), 5 from dual union all
select 1 ID_key,to_date('4/17/2013','mm-dd-yyyy'), 2 from dual union all
select 1 ID_key,to_date('4/20/2013','mm-dd-yyyy'), 3 from dual union all
select 2 ID_key,to_date('4/3/2013','mm-dd-yyyy'), 12 from dual union all
select 2 ID_key,to_date('4/5/2013','mm-dd-yyyy'), 15 from dual union all
select 2 ID_key,to_date('4/6/2013','mm-dd-yyyy'), 5 from dual union all
select 2 ID_key,to_date('4/7/2013','mm-dd-yyyy'), 7 from dual union all
select 2 ID_key,to_date('4/9/2013','mm-dd-yyyy'), 10 from dual union all
select 2 ID_key,to_date('4/11/2013','mm-dd-yyyy'), 5 from dual union all
select 2 ID_key,to_date('4/12/2013','mm-dd-yyyy'), 0 from dual union all
select 2 ID_key,to_date('4/13/2013','mm-dd-yyyy'), 0 from dual union all
select 2 ID_key,to_date('4/15/2013','mm-dd-yyyy'), 6 from dual union all
select 2 ID_key,to_date('4/16/2013','mm-dd-yyyy'), 8 from dual union all
select 2 ID_key,to_date('4/17/2013','mm-dd-yyyy'), 0 from dual union all
select 2 ID_key,to_date('4/18/2013','mm-dd-yyyy'), 10 from dual union all
select 2 ID_key,to_date('4/19/2013','mm-dd-yyyy'), 5 from dual
)**Please let me know if the table does not load.
I would like to get the 7 day average as long as there is date for that row has enough previous dates, it not then it will return null.
the results should look like this
ID_Key date_val Value_num 7Day_Avg 7Day_Avg2
1 4/1/2013 10 null null
1 4/2/2013 15 null null
1 4/3/2013 20 null null
1 4/5/2013 0 null null
1 4/8/2013 12 6.71 11.75
1 4/9/2013 8 5.71 10.00
1 4/10/2013 6 3.71 6.50
1 4/12/2013 10 5.14 9.00
1 4/13/2013 0 5.14 7.20
1 4/14/2013 0 5.14 6.00
1 4/15/2013 10 4.86 5.67
1 4/16/2013 5 4.42 5.17
1 4/17/2013 2 3.85 4.50
1 4/20/2013 3 2.86 4.00
2 4/3/2013 12 null null
2 4/5/2013 15 null null
2 4/6/2013 5 null null
2 4/7/2013 7 5.57 9.75
2 4/9/2013 10 7.00 9.80
2 4/11/2013 5 6.00 8.40
2 4/12/2013 0 3.86 5.40
2 4/13/2013 0 3.14 4.40
2 4/15/2013 6 3.00 4.20
2 4/16/2013 8 2.71 3.80
2 4/17/2013 0 2.71 3.17
2 4/18/2013 10 3.43 4.00
2 4/19/2013 5 4.14 4.83As you may notice, there are gaps in the dates, so the value are then treated as zeros for the 7Day_Avg and then ignored for teh 7Day_Avg2 (not counted as number of days averaged do to no valu_num row)
I was trying something like this to start, but getting error "missing keyword"
select
t.*/,
sum(
case
when date_val between :day2 - 6 and :day2
then value_num between date_val - 6 and date_val
else null
end
as 7Day_avg
form tShould I have the case structure outside the sum function?
Any thoughts??
Edited by: 1004407 on Jun 7, 2013 11:06 AMHi,
If you want the average of the last 7 days, including the current day, then then RANGE should be 6 PRECEDING, not 7.
Try this:
WITH got_min_date_val AS
SELECT id_key, date_val, value_num
, MIN (date_val) OVER () AS min_date_val
FROM t
WHERE date_val BETWEEN TO_DATE ('04-01-2013', 'mm-dd-yyyy')
AND TO_DATE ('04-20-2013', 'mm-dd-yyyy')
SELECT id_key, date_val, value_num
, CASE
WHEN date_val >= min_date_val + 6
THEN SUM (value_num) OVER ( PARTITION BY id_key
ORDER BY date_val
RANGE 6 PRECEDING
/ 7
END AS avg_7_day
, CASE
WHEN date_val >= min_date_val + 6
THEN AVG (value_num) OVER ( PARTITION BY id_key
ORDER BY date_val
RANGE 6 PRECEDING
END AS avg_7_day_2
FROM got_min_date_val
ORDER BY id_key
, date_val
Output:
ID_KEY DATE_VAL VALUE_NUM AVG_7_DAY AVG_7_DAY_2
1 01-APR-13 10
1 02-APR-13 15
1 03-APR-13 20
1 05-APR-13 0
1 08-APR-13 12 6.71 11.75
1 09-APR-13 8 5.71 10.00
1 10-APR-13 6 3.71 6.50
1 12-APR-13 10 5.14 9.00
1 13-APR-13 0 5.14 7.20
1 14-APR-13 0 5.14 6.00
1 15-APR-13 10 4.86 5.67
1 16-APR-13 5 4.43 5.17
1 17-APR-13 2 3.86 4.50
1 20-APR-13 3 2.86 4.00
2 03-APR-13 12
2 05-APR-13 15
2 06-APR-13 5
2 07-APR-13 7 5.57 9.75
2 09-APR-13 10 7.00 9.80
2 11-APR-13 5 6.00 8.40
2 12-APR-13 0 3.86 5.40
2 13-APR-13 0 3.14 4.40
2 15-APR-13 6 3.00 4.20
2 16-APR-13 8 2.71 3.80
2 17-APR-13 0 2.71 3.17
2 18-APR-13 10 3.43 4.00
2 19-APR-13 5 4.14 4.83
Message was edited by: FrankKulash
Sorry; I meant to reply to OP, not to Greg -
How to use bone tool without getting my vector/object distort?
Wish to get some help here. I drawn my human body figure using pen tool. I connect the bone tool directly without separating the part of (hand,legs and head) into symbol. After that, I try to move the hand but it get distort. Not just the hand but the body and head also getting distort as well. Do we need to necessary convert the body parts to symbol first before connecting the bone? Thanks.
> So, is it right if I say that the services available in the backend are already implemented? And just creating an endpoint for them would make them ready for use?
Yes: kind of instant services
> Also if I consume a service, say, 'CreateSalesOrder_In' for example, will it create entries in all my Sales order relevant tables (VBAK, VBAP) automatically using a BAPI internally?
The service has the task to do all necessary steps, whether with or without using a BAPI.
> Actually, I have these doubts because during my time at SAP Labs (for the composites team in BusinesByDesign), I used to create business objects in the ESR and create an implementation for the same in the backend using BOPF. But now, in the customer scenario, where a full fledged ECC implementation is used, I am unaware as to how the services would update the tables or even read the relevant data.
My consumer view on aservice is that I do not have to know how the service works, just need to know how to call it.
Regards, Boris -
I want to do a clean install, but how to use Time Machine to get my data back?
I want to do to clean install of my Snow Leopard OS system...all my data is backed up on my TM. I heard if I restore from Time Machine any system errors created then will have an effect on the clean install? Wouldn't that defeat the whole purpose? So how am I supposed to get around that?
Any help would be appreciated, since it would be my first clean installed ever performed (I'm a bit scared, lol).greyskiesblack wrote:
would it be okay to delete the Time Machine back up then and use the external hard drive as a normal back up of all my stuff copied over to it by drag and drop?
Leave the TM drive alone, it's a extra backup as you should have two separate hardware backups of your data at all times. Use another new drive for a copy of the files until your safely up on the fresh install, then erase and reset the TM drive to your new configuration.
It didn't occur to me that TM would keep the system as it was...and I'm just now learning about TM. I'm glad I have decided to ask before I proceeded to install!!
TM copies stuff over in a general manner, trying to keep what you have just like what you had, which unfortuntly if something goes wrong that isn't the best course of action because you don't want the old junk back on the new machine.
So since it's incrediably difficult to cherry pick exactly what you want when restoring from TM, it's better to have the user files on a regular drive (no TM) when doing a fresh install.
It's really not that hard restoring manually, just create the same named user and drag and drop the contents of the User file folders (music, pictures, documents, movies) right into the new folders on the new user.
You do a fresh install in this manner.
1: Backup files manually to a external drive, disconnect all drives.
2: hold c boot off the 10.6 disk, erase the drive and reformat (wipes all contents)
3: quit and install 10.6, reboot and go through setup, create the same named user as before
4: Software update to 10.6.8
5: install all programs from fresh sources
6: last files cherry picked from backup (do not transfer Users/Library)
In that spefic order for best performance.
It's not excactly as perfect as TM restore, but then you don't get all the problems back. -
How to use Java Embedding activity, getting error
Below is a simple code where in I am just assigning input variable to output variable(of type long), using java embedding activity, and I am getting error in Java Embedding Activity step.
<bpelx:exec name="Java_Embedding_1" language="java" version="1.4">
<![CDATA[
Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");
String arg1=inputValue1.getNodeValue();
setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg1));]]>
</bpelx:exec>
Runtime Error:
<runtimeFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>java.lang.*NumberFormatException*</code>
</part><part name="summary"><summary>null</summary>
</part><part name="detail"><detail>[Ljava.lang.StackTraceElement;@1c50684</detail>
</part></runtimeFault>
Could anyone please point out the mistake?No, that's not working. Throwing below error.
faultName: {{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure}
messageType: {}
parts: {{summary=<summary>XPath query string returns zero node.
According to BPEL4WS spec 1.1 section 14.3, The assign activity &lt;to&gt; part query should not return zero node.
Please check the BPEL source at line number "" and verify the &lt;to&gt; part xpath query.
My output varaible is of type long and there i m creating a Long object using it's constructor which takes in a string, Long(String s)
Actually, I m not just priniting the input, but i need to perform some calculations also on the inputs, like
Element inputValue1 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input1");
Element inputValue2 = (Element)getVariableData("inputVariable", "payload","/client:Pooja_BP1ProcessRequest/client:input2");
long arg1=Long.parseLong(inputValue1.getNodeValue());
long arg2=Long.parseLong(inputValue2.getNodeValue());
long arg3 = arg1+arg2;
setVariableData("outputVariable", "payload","/client:Pooja_BP1ProcessResponse/client:result", new Long(arg3));
Maybe you are looking for
-
HI All, My requirement is to create a idoc for the process order which is released from COR1.(idoc part is completed) Can any one suggest me a badi which will triger while releasing the process order from COR1 (not cor5), i worked with workorder_upda
-
Computer Froze, lost half of songs..or did i?
Ok so heres my problem. My ipod was connected to my computer, not syncing, just charging when my computer froze for 5 seconds or so. When it came back, i discovered that I lost half of my songs (i had around 900 now i only have 400). So i naturally t
-
NAC Unable to add CAS server in the CAM manager
Hi, We are facing the issue with adding CAS server in the CAM manager. While Adding CAS server to CAM manager ; we are getting Failed to add server: Could not connect to 172.22.105.13 error on the CAM manager. FYI, We have added CAS server certificat
-
How do I print an Imessenger conversation
I have an Imessenger conversation saved in my Iphone, and I want to print the conversation. Besides taking screen shots and emailing myself, which I think looks unprofessionals I cannot figure out how to do it! HElP
-
I'm trying to get a 2005 iBook trackpad working under linux. Works fine under OS X of course, but Debian seems to be having trouble. I've run mdetect and tried various different suggestions floating around on the 'net, but I can't get it working on e