Hi Godwin

You need to initialize a variable before it assign  into a value,  By
default IDE provide option to generate initialization code ,of course DevS
has this feature however there is a issue when you try to initialize a
complex type variable

Thanks
/Jasintha


On Wed, Aug 27, 2014 at 1:34 PM, Godwin Amila Shrimal <god...@wso2.com>
wrote:

> Hi Hasitha,
>
> What exactly you mean by Initialize here ?, could you please point me how
> to do it ?
>
> Thanks
> Godwin
>
>
>
>
> On Wed, Aug 27, 2014 at 1:31 PM, Hasitha Aravinda <hasi...@wso2.com>
> wrote:
>
>> Initialize CaclPLRequest variable and deploy sample again, this should
>> fix the selectionFailure issue.
>>
>>
>> On Wed, Aug 27, 2014 at 1:17 PM, Godwin Amila Shrimal <god...@wso2.com>
>> wrote:
>>
>>> Devs version is 3.7.0
>>>
>>>
>>> On Wed, Aug 27, 2014 at 12:53 PM, Hasitha Aravinda <hasi...@wso2.com>
>>> wrote:
>>>
>>>> The variable "CaclPLRequest" is not initialized. That is why you are
>>>> getting selectionFailure.
>>>>
>>>> Usually when you do the variable assignment, BPEL editor asks whether
>>>> do you need to initialize the variables if that variable is not initialized
>>>> yet. What is the DevS version you are using ?
>>>>
>>>> Thanks,
>>>> Hasitha,
>>>>
>>>>
>>>> On Wed, Aug 27, 2014 at 12:25 PM, Godwin Amila Shrimal <god...@wso2.com
>>>> > wrote:
>>>>
>>>>> Hi Hasitha,
>>>>>
>>>>> Please see below the error in the wso2carbon.log, I have attached both
>>>>> sample and wso2carbon.log file herewith.
>>>>>
>>>>> TID: [0] [BPS] [2014-08-27 12:20:48,899]  INFO
>>>>> {org.apache.ode.bpel.runtime.ASSIGN} -  Assignment Fault: {
>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=64,faultExplanation={http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure:
>>>>> No results for expression: 'ns:y' against '<?xml version="1.0"
>>>>> encoding="UTF-8"?>
>>>>>
>>>>> <calc xmlns="http://service.wso2.org"/>'
>>>>> {org.apache.ode.bpel.runtime.ASSIGN}
>>>>>
>>>>> TID: [0] [BPS] [2014-08-27 12:20:48,911]  WARN
>>>>> {org.apache.ode.bpel.engine.BpelProcess} -  Instance 2951 of {
>>>>> http://wso2.org/bps/sample}AdderService-8 has completed with fault:
>>>>> FaultData: [faultName={
>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,
>>>>> faulType=null ({
>>>>> http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure:
>>>>> No results for expression: 'ns:y' against '<?xml version="1.0"
>>>>> encoding="UTF-8"?>
>>>>>
>>>>> <calc xmlns="http://service.wso2.org"/>')] @64
>>>>> {org.apache.ode.bpel.engine.BpelProcess}
>>>>>
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>> Godwin
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Aug 27, 2014 at 12:13 PM, Hasitha Aravinda <hasi...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> What is the error your are getting in the wso2carbon.log ? could you
>>>>>> please attach your BPEL sample ?
>>>>>>
>>>>>> Thanks,
>>>>>> Hasitha.
>>>>>>
>>>>>>
>>>>>> On Wed, Aug 27, 2014 at 12:09 PM, Godwin Amila Shrimal <
>>>>>> god...@wso2.com> wrote:
>>>>>>
>>>>>>>  Hi,
>>>>>>>
>>>>>>> I am working on adder BPEL sample. Adder axis service is working
>>>>>>> properly. I checked BPEL and its giving axis2ns1:selectionFailure error
>>>>>>> when test it using Try it.
>>>>>>>
>>>>>>> Can any one let me know the reason for this ?
>>>>>>>
>>>>>>> Thanks
>>>>>>> Godwin
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Godwin Amila Shrimal*
>>>>>>>  Senior Software Engineer
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> mobile: *+94772264165*
>>>>>>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>>>>>>> twitter: https://twitter.com/godwinamila
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Hasitha Aravinda,
>>>>>> Software Engineer,
>>>>>> WSO2 Inc.
>>>>>> Email: hasi...@wso2.com
>>>>>> Mobile: +94 71 8 210 200
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Godwin Amila Shrimal*
>>>>> Senior Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> mobile: *+94772264165*
>>>>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>>>>> twitter: https://twitter.com/godwinamila
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Hasitha Aravinda,
>>>> Software Engineer,
>>>> WSO2 Inc.
>>>> Email: hasi...@wso2.com
>>>> Mobile: +94 71 8 210 200
>>>>
>>>>
>>>
>>>
>>> --
>>> *Godwin Amila Shrimal*
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94772264165*
>>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>>> twitter: https://twitter.com/godwinamila
>>>
>>
>>
>>
>> --
>> Hasitha Aravinda,
>> Software Engineer,
>> WSO2 Inc.
>> Email: hasi...@wso2.com
>> Mobile: +94 71 8 210 200
>>
>>
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
> twitter: https://twitter.com/godwinamila
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Jasintha Dasanayake*

*Senior Software EngineerWSO2 Inc. | http://wso2.com <http://wso2.com/>lean
. enterprise . middleware*


*mobile :- 0711368118*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to