Maybe you missed to re-deploy it ? :-( --Given the data type is fine, i.e. tns:LoanApproverResponse is the root of $approval.Document.
Regards. Wenfeng ======= 2009-01-21 20:32:55 您在来信中写道:======= >Hi, >Yape.I assigned like that..[1] and i faced this problem earlier..where >eclipse created some null expressions and i removed them and it worked >fine.. >In this case i couldnt find wht is the error.. :-( > >Thanks. >Ratha > >[1]<bpel:copy> > <bpel:from> > <bpel:literal >xml:space="preserve"><tns:LoanApproverResponse >xmlns:tns="http://www.example.org/elements.xsd" >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <tns:responseToLoanRequest>approved</tns:responseToLoanRequest> ></tns:LoanApproverResponse> ></bpel:literal> > </bpel:from> > <bpel:to part="Document" >variable="approval"> > </bpel:to> > </bpel:copy> >ZHAO Wenfeng wrote: >> Maybe you need specify the "Fixed value" in such form: <from><literal >> xsi:type="...">the Value</literal></from>, because without >> "<literal></literal>" the value you specified will be treated as an XPath >> 1.0 expression according to "8.4 Assignment" of the WS-BPEL 2.0 >> specification. >> >> >> ======= 2009-01-21 20:06:49 您在来信中写道:======= >> >> >>> Hi all, >>> When i deploy my BPEL process (with Eclipse BPEL editor), it says "XPath >>> string and xpath node are both null". >>> But i haven't assigned any 'query' element in the to-spec of an "Assign" >>> activity. All the 'Assign' activity i assigned to Fixed >>> value-->Variable.(i checked several times) >>> >>> Any help... >>> >>> Thanks& Regards, >>> Ratha. >>> >> >> = = = = = = = = = = = = = = = = = = = = >> >> >> 致 >> 礼! >> >> >> ZHAO Wenfeng >> [email protected] >> 2009-01-21 >> >> >> ------------------------------------------------------------------------ >> >> >> No virus found in this incoming message. >> Checked by AVG - http://www.avg.com >> Version: 8.0.176 / Virus Database: 270.10.10/1904 - Release Date: 1/20/2009 >> 7:49 AM >> >> > = = = = = = = = = = = = = = = = = = = = 致 礼! ZHAO Wenfeng [email protected] 2009-01-21
