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.

Bug 80765 - BPEL does not validate the WSDL namespace successfully
Summary: BPEL does not validate the WSDL namespace successfully
Status: CLOSED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Ritesh Adval
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-20 22:51 UTC by lchang
Modified: 2006-07-26 20:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
bpel process (1.35 KB, application/octet-stream)
2006-07-20 22:51 UTC, lchang
Details
wsdl file (1.39 KB, application/octet-stream)
2006-07-20 22:52 UTC, lchang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lchang 2006-07-20 22:51:30 UTC
1.  Import attached .wsdl and .bpel
2.  Create CompApp project
3.  Add BPEL project to CompositeApplication
4.  Build CompApp project

Result:
You will get a validation error:
C:\Documents and Settings\lchang\echo\src\echo_1.bpel:13: column:51 Error: 
partnerLinkType "wsdlNS:partnerlinktype1" is not found in imported wsdl 
documents. solution: Please define a partnerLinkType "wsdlNS:partnerlinktype1" 
in one of imported wsdl documents or use an existing one. 
C:\Documents and Settings\lchang\echo\src\echo_1.bpel:13: column:51 Error: 
partnerLinkType role "partnerlinktyperole1" is not found in imported wsdl 
documents. solution: Please define a partnerLinkType 
role "partnerlinktyperole1" in one of imported wsdl documents or use an 
existing one. 
C:\Documents and Settings\lchang\echo\src\echo_1.bpel:20: column:136 Error: 
Missing required attribute "portType". solution: Please define required 
attribute "portType".  You can do this from the modeling objects property sheet.
C:\Documents and Settings\lchang\echo\src\echo_1.bpel:1: column:1 Error: Error 
compiling bpel process 
java.lang.NullPointerException
        at 
org.netbeans.modules.compapp.models.bpelmodel.visitor.ValidateVisitor.visit
(ValidateVisitor.java:901)
        at org.netbeans.modules.compapp.models.bpelmodel.impl.ReceiveImpl.accept
(ReceiveImpl.java:424)
        at 
org.netbeans.modules.compapp.models.bpelmodel.wsdlmodel.impl.XMLElementImpl.supe
rAccept(XMLElementImpl.java:731)
        at 
org.netbeans.modules.compapp.models.bpelmodel.wsdlmodel.impl.XMLElementImpl.acce
pt(XMLElementImpl.java:718)
        at 
org.netbeans.modules.compapp.models.bpelmodel.impl.SequenceImpl.accept
(SequenceImpl.java:179)
        at 
org.netbeans.modules.compapp.models.bpelmodel.wsdlmodel.impl.XMLElementImpl.supe
rAccept(XMLElementImpl.java:731)
        at 
org.netbeans.modules.compapp.models.bpelmodel.wsdlmodel.impl.XMLElementImpl.acce
pt(XMLElementImpl.java:718)
        at 
org.netbeans.modules.compapp.models.bpelmodel.impl.BPELProcessImpl.accept
(BPELProcessImpl.java:527)
        at 
org.netbeans.modules.compapp.models.bpelmodel.wsdlmodel.impl.XMLElementImpl.supe
rAccept(XMLElementImpl.java:731)
        at 
org.netbeans.modules.compapp.models.bpelmodel.wsdlmodel.impl.XMLElementImpl.acce
pt(XMLElementImpl.java:718)
        at 
org.netbeans.modules.compapp.models.bpelmodel.impl.BPELDocumentImpl.accept
(BPELDocumentImpl.java:278)
        at 
org.netbeans.modules.compapp.models.bpelmodel.impl.BPELDocumentImpl.validate
(BPELDocumentImpl.java:193)
        at 
org.netbeans.modules.compapp.models.bpelmodel.impl.BPELDocumentImpl.validate
(BPELDocumentImpl.java:180)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.validateBpel
(ValidationTask.java:419)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.loadAndValidateExistin
gBusinessProcess(ValidationTask.java:400)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.processBpelFile
(ValidationTask.java:291)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.processBpelFiles
(ValidationTask.java:282)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.processFolder
(ValidationTask.java:248)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.processFileObject
(ValidationTask.java:240)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.processSourceDir
(ValidationTask.java:235)
        at 
org.netbeans.modules.bpel.project.anttasks.ValidationTask.processSourceDirs
(ValidationTask.java:229)
        at org.netbeans.modules.bpel.project.anttasks.ValidationTask.execute
(ValidationTask.java:193)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets
(SingleCheckExecutor.java:37)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets
(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run
(BridgeImpl.java:240)
        at org.apache.tools.ant.module.run.TargetExecutor.run
(TargetExecutor.java:293)
        at org.netbeans.core.execution.RunClassThread.run
(RunClassThread.java:131)
 solution: please check if bpel file is valid
C:\Documents and Settings\lchang\CompositeApp1\nbproject\build-impl.xml:95: The 
following error occurred while executing this line:
C:\Documents and Settings\lchang\echo\nbproject\build-impl.xml:160: Found 
compilation errors in project files.
BUILD FAILED (total time: 0 seconds)
Comment 1 lchang 2006-07-20 22:51:57 UTC
Created attachment 32070 [details]
bpel process
Comment 2 lchang 2006-07-20 22:52:09 UTC
Created attachment 32071 [details]
wsdl file
Comment 3 Michael Frisino 2006-07-21 10:55:35 UTC
which validation system is in effect here? Is this still original BPEL build
validation system or newer common validation system? This will determine proper
dispatch of bug.
Comment 4 Denis Anisimov 2006-07-21 11:24:38 UTC
Mike , current description of bug contains :

org.netbeans.modules.compapp.models.bpelmodel.visitor,
org.netbeans.modules.compapp.models.bpelmodel.wsdlmodel

From this it is absolutely evident that this is build-system validation,
not validation that we use in static editing BPEL.
Comment 5 lchang 2006-07-26 20:53:14 UTC
no longer an issue in the latest build
Comment 6 lchang 2006-07-26 20:53:40 UTC
no longer an issue in the latest, no validation error anymore