Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-5463

BPEL Editor gives validation errors after creating correlation variables

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: LATER
    • Component/s: bpm
    • Labels:
      None
    • Environment:

      JBoss BPEL Editor 1.0.0.v200912111224M-H175-RC1 org.jboss.tools.bpel.feature.feature.group on Mac with JDK 1.6

      Description

      I created a CorrelationSet with a single correlation variable and four mappings. After doing this and cleaning the project I get four errors:

      Description Resource Path Location Type
      The XPath segment "child::receivePolicyQuote" cannot be resolved. PolicyQuoteProcessArtifacts.wsdl /PolicyQuoteProcessService/bpelContent query BPEL Validation Marker

      Description Resource Path Location Type
      The XPath segment "child::receivePolicyQuote" cannot be resolved. PolicyQuoteProcessArtifacts.wsdl /PolicyQuoteProcessService/bpelContent query BPEL Validation Marker

      Description Resource Path Location Type
      The XPath segment "child::ssn" cannot be resolved. PolicyQuoteProcessArtifacts.wsdl /PolicyQuoteProcessService/bpelContent query BPEL Validation Marker

      Description Resource Path Location Type
      The XPath segment "child::ssn" cannot be resolved. PolicyQuoteProcessArtifacts.wsdl /PolicyQuoteProcessService/bpelContent query BPEL Validation Marker

      I will zip up and attach the project files.

        Gliffy Diagrams

        1. org.eclipse.bpel.ui.patch
          4 kB
          Grid.Qian

          Activity

          Hide
          dennyxu Denny Xu added a comment -

          Jeff, in the wsdl file, this parts of content like below:

          <vprop:propertyAlias messageType="wsdl5:PolicyQuoteProcessServiceReq" part="in" propertyName="tns:SSN">
          <vprop:query><![CDATA[/receivePolicyQuote/policyQuoteInfo/ssn]]></vprop:query>
          </vprop:propertyAlias>
          <vprop:propertyAlias messageType="wsdl1:DrivingRecordServiceReq" part="in" propertyName="tns:SSN">
          <vprop:query><![CDATA[/ssn]]></vprop:query>
          </vprop:propertyAlias>
          <vprop:propertyAlias messageType="wsdl4:DrivingRecordCallbackServiceReq" part="in" propertyName="tns:SSN">
          <vprop:query><![CDATA[/ssn]]></vprop:query>
          </vprop:propertyAlias>
          <vprop:propertyAlias messageType="wsdl5:PolicyQuoteProcessServiceRes" part="out" propertyName="tns:SSN">
          <vprop:query><![CDATA[/receivePolicyQuote/policyQuoteInfo/ssn]]></vprop:query>
          </vprop:propertyAlias>

          because there is no prefix for /receivePolicyQuote/policyQuoteInfo/ssn, shouldn't it be something like /pol:receivePolicyQuote/pol:policyQuoteInfo/pol:ssn, if it doesn't need prefix, what does it point to?

          Show
          dennyxu Denny Xu added a comment - Jeff, in the wsdl file, this parts of content like below: <vprop:propertyAlias messageType="wsdl5:PolicyQuoteProcessServiceReq" part="in" propertyName="tns:SSN"> <vprop:query><![CDATA [/receivePolicyQuote/policyQuoteInfo/ssn] ]></vprop:query> </vprop:propertyAlias> <vprop:propertyAlias messageType="wsdl1:DrivingRecordServiceReq" part="in" propertyName="tns:SSN"> <vprop:query><![CDATA [/ssn] ]></vprop:query> </vprop:propertyAlias> <vprop:propertyAlias messageType="wsdl4:DrivingRecordCallbackServiceReq" part="in" propertyName="tns:SSN"> <vprop:query><![CDATA [/ssn] ]></vprop:query> </vprop:propertyAlias> <vprop:propertyAlias messageType="wsdl5:PolicyQuoteProcessServiceRes" part="out" propertyName="tns:SSN"> <vprop:query><![CDATA [/receivePolicyQuote/policyQuoteInfo/ssn] ]></vprop:query> </vprop:propertyAlias> because there is no prefix for /receivePolicyQuote/policyQuoteInfo/ssn , shouldn't it be something like /pol:receivePolicyQuote/pol:policyQuoteInfo/pol:ssn , if it doesn't need prefix, what does it point to?
          Hide
          jeffdelong Jeff DeLong added a comment -

          Denny, You might be correct but this is what the correlation variable editor created. How should it handle prefixes?

          Show
          jeffdelong Jeff DeLong added a comment - Denny, You might be correct but this is what the correlation variable editor created. How should it handle prefixes?
          Hide
          dennyxu Denny Xu added a comment -

          Confirmed with Gary, the expression need namespace, so it is the issue of bpel editor, editor should add namespace when creating the correlation variable.

          Assign the issue to Grid to fix the editor side issue.

          Show
          dennyxu Denny Xu added a comment - Confirmed with Gary, the expression need namespace, so it is the issue of bpel editor, editor should add namespace when creating the correlation variable. Assign the issue to Grid to fix the editor side issue.
          Hide
          Grid.Qian Feng Qian added a comment -

          fixed

          Show
          Grid.Qian Feng Qian added a comment - fixed
          Hide
          Grid.Qian Feng Qian added a comment -

          patch

          Show
          Grid.Qian Feng Qian added a comment - patch
          Hide
          Grid.Qian Feng Qian added a comment -

          create a bug for this issue in eclipse bpel: https://bugs.eclipse.org/bugs/show_bug.cgi?id=298670

          Show
          Grid.Qian Feng Qian added a comment - create a bug for this issue in eclipse bpel: https://bugs.eclipse.org/bugs/show_bug.cgi?id=298670

            People

            • Assignee:
              Grid.Qian Feng Qian
              Reporter:
              jeffdelong Jeff DeLong
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development