Easy-BPEL

Invalid generated BPEL from a WSDL

Details

  • Type: Bug Bug
  • Status: New New
  • Resolution: Unresolved
  • Affects Version/s: 1.2
  • Fix Version/s: None
  • Component/s: None
  • Security Level: Public
  • Description:
    Hide

    EasyBPEL provides a feature to generate a BPEL skeleton from a WSDL file.
    This feature is used in the studio.

    The generated BPEL is right, except that the "myRole" attribute of the main partner is invalid.
    It does not match the one in the generated Artifacts WSDL.
    If we keep the incorrect myRole and that we try to introspect the BPEL to get the URI of the imported documents, we get a NPE.

    The stack trace is the following:

    java.lang.NullPointerException
    at com.ebmwebsourcing.easybpel.model.bpel.impl.wsdlImports.DescriptionsImpl.getProcessInterfaces(DescriptionsImpl.java:569)
    at com.ebmwebsourcing.easybpel.model.bpel.tools.validator.AnalysorResult.<init>(AnalysorResult.java:54)
    at com.ebmwebsourcing.easybpel.model.bpel.tools.validator.BPELAnalyser.analyze(BPELAnalyser.java:74)
    ...

    This exception does not occur if the myRole attribute is right and exists in the Artifacts WSDL.

    Show
    EasyBPEL provides a feature to generate a BPEL skeleton from a WSDL file. This feature is used in the studio. The generated BPEL is right, except that the "myRole" attribute of the main partner is invalid. It does not match the one in the generated Artifacts WSDL. If we keep the incorrect myRole and that we try to introspect the BPEL to get the URI of the imported documents, we get a NPE. The stack trace is the following: java.lang.NullPointerException at com.ebmwebsourcing.easybpel.model.bpel.impl.wsdlImports.DescriptionsImpl.getProcessInterfaces(DescriptionsImpl.java:569) at com.ebmwebsourcing.easybpel.model.bpel.tools.validator.AnalysorResult.<init>(AnalysorResult.java:54) at com.ebmwebsourcing.easybpel.model.bpel.tools.validator.BPELAnalyser.analyze(BPELAnalyser.java:74) ... This exception does not occur if the myRole attribute is right and exists in the Artifacts WSDL.
  • Environment:
    The version is 1.3-SNAPSHOT, but JIRA does not accept "unknown" in the version's list and this version does not exist.
    This bug occurred under Windows XP.
  1. ProblemeIntrospectionBPEL.zip
    (6 kB)
    Vincent Zurczak
    Mon, 2 Aug 2010 - 17:26:11 +0200

Issue Links

Activity

Hide
Vincent Zurczak added a comment - Mon, 2 Aug 2010 - 17:26:11 +0200

The studio's project with the BPEL and all its artifacts.

Show
Vincent Zurczak added a comment - Mon, 2 Aug 2010 - 17:26:11 +0200 The studio's project with the BPEL and all its artifacts.
Vincent Zurczak made changes - Mon, 2 Aug 2010 - 17:26:11 +0200
Field Original Value New Value
Attachment ProblemeIntrospectionBPEL.zip [ 10098 ]
Vincent Zurczak made changes - Thu, 5 Aug 2010 - 11:31:13 +0200
Link This issue blocks PETALSSTUD-16 [ PETALSSTUD-16 ]

People

Dates

  • Created:
    Mon, 2 Aug 2010 - 17:25:37 +0200
    Updated:
    Thu, 5 Aug 2010 - 11:31:13 +0200