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.
The attached project should create 1 provides and 2 consumes entries in the service unit descriptor (jbi.xml). Only 1 consumes is created. There should be a <consumes> for every Invoke activity.
Created attachment 66005 [details] xslt project to reproduce
Reproducible with Product Version: NetBeans IDE 6.1 (Build 200805300101) Downloaded latest Sierra DEV build from Hudson on 07/29.
Fixed in soa-dev. Changeset: 7f5b5fb0379e.
Created attachment 71610 [details] ejb project
Created attachment 71612 [details] Java Application project
Please disregard the attached 'ejb_project' and 'JavaApplication' projects. These two projects were attached to this ticket by mistake. They were meant to be attached to another ticket.
Used build: \\thumper\50builds\gfesb\v2\nightly\20081015-1408 The attached 'EmployeeXslt.zip' seems to have several compilation errors. The 'Transformmap.xml' failed to validate with several errors. Unable to verify ticket and will leave the ticket open for now.
The transformmap IS valid, it is the design-time validation that is incorrect. Right-click on EmployeeXslt project, choose Properties. In category General, check the box: "Allow build and deploy with errors". Once project is built, please confirm that the jbi.xml for the project has the entries as described in original comment: 1 provides and *2* consumes entries.
Verified with build: \\thumper\50builds\gfesb\v2\nightly\20081021-0703 After turning on the flag "Allow build and deploy with errors", and completed build on the provided project, I was able to see the missing entries for 'consumer'. Following is the source code from the resulting jbi.xml: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <jbi version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/jbi" xsi:schemaLocation="http://java.sun.com/xml/ns/jbi jbi.xsd" xmlns:ns0="http://www.sun.com/jbi/descriptor/service-unit" xmlns:ns1="http://sun.com/processDescriptor/employeeXslt" xmlns:ns2="http://j2ee.netbeans.org/wsdl/CandidateEvaluation"> <services binding-component="false"> <provides interface-name="ns2:CandidateEvaluationPortType" service-name="ns1:xsltse" endpoint- name="EvaluatorService"> <ns0:display-name>CandidateEvaluationPortType</ns0:display-name> <ns0:process-name>CandidateEvaluationPortType</ns0:process-name> <ns0:file-path>EvalCandidate.xsl;null;InterviewCandidate.xsl;null;null;null</ns0:file-path> </provides> <consumes interface-name="ns2:CandidateEvaluationPortType" service-name="ns1:xsltse" endpoint-name="Invoke1"> <ns0:display-name></ns0:display-name> <ns0:process-name></ns0:process-name> <ns0:file-path></ns0:file-path> </consumes> <consumes interface-name="ns2:CandidateEvaluationPortType" service-name="ns1:xsltse" endpoint-name="Invoke2"> <ns0:display-name></ns0:display-name> <ns0:process-name></ns0:process-name> <ns0:file-path></ns0:file-path> </consumes> </services> </jbi> (see attached built project)
Created attachment 72566 [details] Built XSLT project