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.
Service assembly editor generates incorrect namespace prefix for the service-name attribute for redelivery/on-failure config. Defining the redelivery/on-failure error-endpoint configuration for the connection in the attached project generates the configuration correctly in the '.casa' file as shown <connection consumer="endpoint6" provider="endpoint7" state="unchanged"> <redelivery xmlns="http://www.sun.com/jbi/qos/redelivery" maxAttempts="2" waitTime="0"> <on-failure> <error-endpoint endpoint-name="ErrorEndpointPTBindingPort" service-name="ns1:ErrorEndpointService"/> </on-failure> </redelivery> </connection> here the ns1 namespace prefix is correctly referenced as follows. <casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="http://j2ee.netbeans.org/wsdl/simpleInterface" xmlns:ns2="http://enterprise.netbeans.org/bpel/smipleBPEL/redeliver" xmlns:xlink="http://www.w3.org/2000/xlink"> However the entry for the same configuration in the service assembly jbi.xml is incorrectly generated as shown <connection> <consumer endpoint-name="redeliverPTRole_partnerRole" service-name="ns1:redeliverPL"/> <provider endpoint-name="javaee_port1" service-name="ns2:redeliverService"/> <redelivery xmlns="http://www.sun.com/jbi/qos/redelivery" maxAttempts="2" waitTime="0"> <on-failure> <error-endpoint endpoint-name="ErrorEndpointPTBindingPort" service-name="ns1:ErrorEndpointService"/> </on-failure> </redelivery> </connection> Here in the jbi.xml the namespace prefix ns1 is not referenced to the wsdl file that defines the service definition. <jbi xmlns="http://java.sun.com/xml/ns/jbi" xmlns:ns1="http://enterprise.netbeans.org/bpel/smipleBPEL/redeliver" xmlns:ns2="http://j2ee.netbeans.org/wsdl/simpleInterface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/jbi ./jbi.xsd">
Created attachment 55682 [details] the project zip file
*** Issue 126154 has been marked as a duplicate of this issue. ***
Fixed.
changeset: 84a96fe7ea9f
Assigned to Senthil for verification.
The namespaces are correct in jbi.xml Verified in Milestone 8 build This issue can be closed