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.
Use the lates build of Hula 070418: 1. Create Samples | SOA | BPEL BluePrints > "BluePrint 1" project (2,3,4,5) 2. Deploy "BluePrint1Application" project 3. Invoke "Test Project" action from popup menu of the project 4. There will be error message in Output view that "The response is not identical to the expected output". The response looks very strange (invoke Diff action on the node testSynchronousInvocation): <?xml version="1.0" encoding="UTF-8"?> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> <S:Body> <ns2:Fault xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope"> <faultcode>ns2:Server</faultcode> <faultstring>javax.jbi.messaging.MessagingException: Failed to normalize input. Could not normalize message did not find any node matching the element name, {*}purchaseOrder in the soap message Reported Cause: did not find any node matching the element name, {*}purchaseOrder in the soap message</faultstring> <detail> <ns2:exception xmlns:ns2="http://jax-ws.dev.java.net/" class="java.lang.RuntimeException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false"> <message>javax.jbi.messaging.MessagingException: Failed to normalize input. Could not normalize message did not find any node matching the element name, {*}purchaseOrder in the soap message Reported Cause: did not find any node matching the element name, {*}purchaseOrder in the soap message</message> <ns2:stackTrace> <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube$AsyncProviderCallbackImpl" file="AsyncProviderInvokerTube.java" line="100" method="sendError"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="130" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="89" method="invoke"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="native" method="invoke0"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="39" method="invoke"/> <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/> <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="585" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="65" method="invoke"/> <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="79" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="152" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="66" method="processRequest"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="559" method="__doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="518" method="_doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="503" method="doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="352" method="run"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="650" method="runTask"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="675" method="run"/> <ns2:frame class="java.lang.Thread" file="Thread.java" line="595" method="run"/> </ns2:stackTrace> <ns2:cause class="javax.jbi.messaging.MessagingException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false"> <message>Failed to normalize input. Could not normalize message did not find any node matching the element name, {*}purchaseOrder in the soap message Reported Cause: did not find any node matching the element name, {*}purchaseOrder in the soap message</message> <ns2:stackTrace> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSNormalizer" file="JAXWSNormalizer.java" line="71" method="normalize"/> <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="464" method="executeSOAP"/> <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="211" method="execute"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="128" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="89" method="invoke"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="native" method="invoke0"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="39" method="invoke"/> <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/> <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="585" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="65" method="invoke"/> <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="79" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="152" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="66" method="processRequest"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="559" method="__doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="518" method="_doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="503" method="doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="352" method="run"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="650" method="runTask"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="675" method="run"/> <ns2:frame class="java.lang.Thread" file="Thread.java" line="595" method="run"/> </ns2:stackTrace> <ns2:cause class="javax.jbi.messaging.MessagingException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false"> <message>Could not normalize message did not find any node matching the element name, {*}purchaseOrder in the soap message</message> <ns2:stackTrace> <ns2:frame class="com.sun.jbi.httpsoapbc.SoapNormalizer" file="SoapNormalizer.java" line="165" method="normalize"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSNormalizer" file="JAXWSNormalizer.java" line="68" method="normalize"/> <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="464" method="executeSOAP"/> <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="211" method="execute"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="128" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="89" method="invoke"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="native" method="invoke0"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="39" method="invoke"/> <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/> <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="585" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="65" method="invoke"/> <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="79" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="152" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="66" method="processRequest"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="559" method="__doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="518" method="_doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="503" method="doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="352" method="run"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="650" method="runTask"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="675" method="run"/> <ns2:frame class="java.lang.Thread" file="Thread.java" line="595" method="run"/> </ns2:stackTrace> <ns2:cause class="com.sun.jbi.nms.wsdl11wrapper.WrapperProcessingException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false"> <message>did not find any node matching the element name, {*}purchaseOrder in the soap message</message> <ns2:stackTrace> <ns2:frame class="com.sun.jbi.httpsoapbc.SoapNormalizer" file="SoapNormalizer.java" line="439" method="processSoapBody"/> <ns2:frame class="com.sun.jbi.httpsoapbc.SoapNormalizer" file="SoapNormalizer.java" line="151" method="normalize"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.JAXWSNormalizer" file="JAXWSNormalizer.java" line="68" method="normalize"/> <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="464" method="executeSOAP"/> <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="211" method="execute"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="128" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="89" method="invoke"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="native" method="invoke0"/> <ns2:frame class="sun.reflect.NativeMethodAccessorImpl" file="NativeMethodAccessorImpl.java" line="39" method="invoke"/> <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/> <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="585" method="invoke"/> <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="65" method="invoke"/> <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="79" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="152" method="invokeAsyncProvider"/> <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="66" method="processRequest"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="559" method="__doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="518" method="_doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="503" method="doRun"/> <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="352" method="run"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="650" method="runTask"/> <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="675" method="run"/> <ns2:frame class="java.lang.Thread" file="Thread.java" line="595" method="run"/> </ns2:stackTrace> </ns2:cause> </ns2:cause> </ns2:cause> </ns2:exception> </detail> </ns2:Fault> </S:Body> </S:Envelope> instead of expected: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <SOAP-ENV:Body> <purchaseOrder xmlns="http://enterprise.netbeans.org/bpel/xsd/purchase"> <orderId>012341</orderId> <customerId>9876</customerId> <orderDescription>OrderVal_Any_Description</orderDescription> <price>49.98</price> </purchaseOrder> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
BluePrint samples should work
*** Issue 101964 has been marked as a duplicate of this issue. ***
*** Issue 104339 has been marked as a duplicate of this issue. ***
This is a sample related issue. Should be P1.
This is a duplicate of bugster ticket: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6546499 It looks like there is some disconnection between the blueprints in open-jbi-components (java.net) and blueprints in NetBeans. According to Kiran, there are actually three repositories for blueprints: java.net, NetBeans, and a third one (for pure command line?). My understanding is that Kiran actively maintains the blueprints in the java.net repository. From NetBeans side, someone probably needs to make sure the NB repository is updated accordingly when the java.net repository is updated. I just tried blueprint1 from java.net against GF b41 and b47 and both worked fine. BluePrint samples in NetBeans need to be updated.
Please provide link to the repository in java.net where I can check out Blueprint samples and replace it in netbeans.org.
https://open-jbi-components.dev.java.net/source/browse/open-jbi-components/driver-tests/bpelse/blueprints/
fixed.
Verified BluePrint 1~4 works fine with build 200705230000. But BluePrint5 fail to be deployed. I will log a separate bug.