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 101568 - BluePrint 1-4 don't work.
Summary: BluePrint 1-4 don't work.
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: SOA (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
: 101964 104339 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-18 13:49 UTC by Vladimir Yaroslavskiy
Modified: 2007-05-24 00:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Yaroslavskiy 2007-04-18 13:49:24 UTC
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>
Comment 1 Sergey Lunegov 2007-04-18 14:02:53 UTC
BluePrint samples should work
Comment 2 Vladimir Yaroslavskiy 2007-04-20 14:27:35 UTC
*** Issue 101964 has been marked as a duplicate of this issue. ***
Comment 3 Vladimir Yaroslavskiy 2007-05-21 09:14:51 UTC
*** Issue 104339 has been marked as a duplicate of this issue. ***
Comment 4 _ hong_lin 2007-05-21 17:47:32 UTC
This is a sample related issue. Should be P1.
Comment 5 Jun Qian 2007-05-22 02:06:29 UTC
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.
Comment 6 Vladimir Yaroslavskiy 2007-05-22 08:25:10 UTC
Please provide link to the repository in java.net where I can check out
Blueprint samples and replace it in netbeans.org.
Comment 8 Vladimir Yaroslavskiy 2007-05-23 11:05:17 UTC
fixed.
Comment 9 _ hong_lin 2007-05-24 00:38:19 UTC
Verified BluePrint 1~4 works fine with build 200705230000.
But BluePrint5 fail to be deployed. I will log a separate bug.