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.
Opposite bpel validation rules in case WSDL messages with ommited parts. There are several use cases when bpel validation rules are inconsistent each other: Invocation issue: 1. For <invoke>, request-response invocation requires both an inputVariable (or its equivalent <toPart> elements) and an outputVariable (or its equivalent <fromPart> elements). And at the same time: "If a WSDL message definition does not contain any parts, then the associated attributes, inputVariable or outputVariable, MAY be omitted, [SA00047] and the <fromParts> or <toParts> construct MUST be omitted." Similar for the one way invocation. i.e. it is not required to define inputVariable or outputVariable if the correspondent message parts are ommitted. But in case inputVariable or outputVariable are ommited because the correspondent message parts are ommited the validation error is appeared: " For <invoke>, request-response invocation requires both an inputVariable (or its equivalent <toPart> elements) and an outputVariable (or its equivalent <fromPart> elements)" receive/reply issues: Similar for the receive(reply) inputVariable(outputVariable) is not required if the correspondent input(output) message doesn't have any parts. But if inputVariable(outputVariable)is ommited then the following validation error is appeared: " For <receive> variable attribute (or its equivalent <fromPart> elements) must be specified. If a WSDL message definition does not contain any parts, then the <fromParts> construct must be omitted. " ("For <reply> variable attribute (or its equivalent <toPart> elements) must be specified. If a WSDL message definition does not contain any parts, then the <toParts> construct must be omitted. ") See also issue 109292.
Created attachment 81540 [details] Sample project
fixed in soa-dev65: http://hg.netbeans.org/soa-dev65/rev/b9f6948fbc97 fixed in gfesbv21: http://hg.netbeans.org/gfesbv21/rev/0711cef0cf1f
verified
Tested with 6-dec-09 build of GFESBV2.2 with attached projects. Working fine. So closing ticket.
Changing the milestone to 6.7.