This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
attached are bpel and wsdls. Copy these to a new bpel project and build, you will see following relvant for which this bug is filed: C:\Documents and Settings\radval\BpelModule8\src\corrInvRec_parent.bpel:59: column:16 ERROR: Not found propertyAlias for property "{CorrInvRecParent} property" usage for the associated variables type are in any WSDL definitions directly imported by the WS-BPEL process. C:\Documents and Settings\radval\BpelModule8\src\corrInvRec_parent.bpel:70: column:16 ERROR: Not found propertyAlias for property "{CorrInvRecParent} property" usage for the associated variables type are in any WSDL definitions directly imported by the WS-BPEL process. note that wsdl corrInvRec_parent has propertyAlias defined for property "property" but still above errors are happening. <bpws:property name="property" type="xsd:string"/> <bpws:propertyAlias propertyName="tns:property" messageType="tns:CorrInvRecParentMessage" part="CorrInvRecParentPart"> <bpws:query>/CorrInvRecParentElement/string</bpws:query> </bpws:propertyAlias>
Created attachment 32269 [details] bpel and wsdls
Could you please point me propertyAlias for property used in "<invoke partnerLink="plink_child"/>". This invoke has reference to correlation set "corProp1" that defines property "ns1:property". I see only one propertyAlias for this property : <bpws:propertyAlias propertyName="tns:property" messageType="tns:CorrInvRecParentMessage" part="CorrInvRecParentPart"> <bpws:query>/CorrInvRecParentElement/string</bpws:query> </bpws:propertyAlias> But it has different message type neither used in operation="CorrInvRecChildOperation" in invoke. So what is matter of issue ?
Ok this error make sense but issue is how to figure out what to be fixed? Can we make this validation error message more descriptive, This will help user specially those who are not bpel experts understand how to fix it. Even though I know bpel it was hard for me to figure out how to fix this error. currently it says something like this: Not found propertyAlias for property "{CorrInvRecParent} property" usage for the associated variables type are in any WSDL definitions directly imported by the WS-BPEL process. May be we should show error something like this: CorrelationSet "corProp1" is used in activity "invoke", so for each property in this CorrelationSet, there should be a propertAlias defined in wsdl, [which has messageType attribute same as the meesageType attribute as defined in input variable "childOperation"]. note what is described in [] is for the case when input variable in invoke activity is defined using "messageType" attribute. Following could be the description inside [] for variable which has element attribute: [which has element attribute same as the element attribute as defined in input variable "childOperation"]. Following could be for variable which has type attribute: [which has type attribute same as the type attribute as defined in input variable "childOperation"]. Also above example shows only invoke activity. This is applicable simlary for all the other activities which allow correlation. (receive/reply etc) More descriptive the messages are more we can help user fix these errors quickly.
Denis is on vacation. Assigning to Praveen, or I may change it myself.
This is very confusing error and should be fixed asap. Attaching emails as to people are running into this confusing error and have no clue how to fix.
Created attachment 33326 [details] email on people not figuring out how to fix this
Created attachment 33327 [details] another email thread with a different user facing the same problem
Created attachment 33328 [details] attaching another project showing the same error
Please fix this one.
Updated messages to look like below. Reopen this issue if you feel the message needs to be more descriptive. C:/temp2/to_delete/propertyalias_bug/BpelModule2/src/corrInvRec_parent.bpel:59,16 The property "{CorrInvRecParent}property" defined in correlation set "corProp1" does not have a propertyAlias defined in any of the WSDL definitions directly imported by this BPEL process. You must add a propertyAlias (in one of the imported WSDL definitions) for the WSDL message-type/BPEL variable type used in the enclosing <receive>,<reply>,<invoke>,<onMessage>,<onEvent> activity. The propertyAlias must use one of - messageType-part, type or element attributes similar to how the BPEL variable is defined. C:/temp2/to_delete/propertyalias_bug/BpelModule2/src/corrInvRec_parent.bpel:70,16 The property "{CorrInvRecParent}property" defined in correlation set "corProp1" does not have a propertyAlias defined in any of the WSDL definitions directly imported by this BPEL process. You must add a propertyAlias (in one of the imported WSDL definitions) for the WSDL message-type/BPEL variable type used in the enclosing <receive>,<reply>,<invoke>,<onMessage>,<onEvent> activity. The propertyAlias must use one of - messageType-part, type or element attributes similar to how the BPEL variable is defined.
I see the message like above NetBeans IDE Dev (Build 200705300000) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 en_US (nb); Cp1252