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 121310 - 3 of 4 TRS sample tests fail
Summary: 3 of 4 TRS sample tests fail
Status: CLOSED WORKSFORME
Alias: None
Product: usersguide
Classification: Unclassified
Component: SOA (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-06 16:29 UTC by Andrei Chistiakov
Modified: 2008-02-27 15:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide (54.42 KB, text/plain)
2007-11-12 11:33 UTC, Vladimir Yaroslavskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2007-11-06 16:29:57 UTC
Reproduced in Sierra milestone 3.

The following predefined tests of Travel Reservation Sample App fail:
HasAirline, HasNoReservations, HasVehicle.

The output is as follows:
<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:Body>
    <SOAP-ENV:Fault>
      <faultcode xmlns="">SOAP-ENV:Server</faultcode>
      <faultstring xmlns="">Processing Error. Fault Name is
{http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault and Fault Value is
{http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault</faultstring>
      <faultactor xmlns=""/>
    </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The Glassfish output is as follows:

Pattern for exchange Id 229409205222351-51996-134136595684210187 is http://www.w3.org/2004/08/wsdl/in-out
Sending a one way outbound message to the NMR. MessageExchangeId is 229409205222351-51996-134136595684210188, service
name is {tres}Vehicle, endpoint name is VehicleReservationServiceRole_partnerRole.
Pattern for exchange Id 229409205222351-51996-134136595684210188 is http://www.w3.org/2004/08/wsdl/in-only
Sending a two  way outbound message to the NMR. MessageExchangeId is 229409205222351-51996-134136595890780189, service
name is {tres}Vehicle, endpoint name is VehicleReservationServiceRole_partnerRole.
HTTPBC-E00759: An exception occured while processing a reply message. Unsupported Content-Type: text/html Supported ones
are: [text/xml]
com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: text/html Supported ones are: [text/xml]
        at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:130)
        at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:294)
        at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:173)
        at com.sun.xml.xwss.XWSSClientPipe.process(XWSSClientPipe.java:140)
        at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
        at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
        at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
        at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
        at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
        at com.sun.xml.ws.client.Stub.process(Stub.java:248)
        at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:180)
        at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:206)
        at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.outboundCall(OutboundMessageProcessor.java:774)
        at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.dispatch(OutboundMessageProcessor.java:794)
        at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processRequestReplyOutbound(OutboundMessageProcessor.java:496)
        at com.sun.jbi.httpsoapbc.OutboundMessageProcessor.processMessage(OutboundMessageProcessor.java:228)
        at com.sun.jbi.httpsoapbc.OutboundAction.run(OutboundAction.java:63)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Pattern for exchange Id 229409205222351-51996-134136595890780189 is http://www.w3.org/2004/08/wsdl/in-out
[Fatal Error] :1:1: Content is not allowed in prolog.
Fault Processing Error. Fault Name is
{http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault and Fault Value is
{http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault is not handled in the current
scope. Sending faults for the pending requests in the current scope before propagating the fault to the enclosing scope.
Setting MessageEx id 229409205222351-51996-134136595684210187 with error: Processing Error. Fault Name is
{http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault and Fault Value is
{http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling}systemFault
HTTPBC-E00721: Provider for service [null] endpoint [TravelReservationSoapHttpPort] responded with an error status. No
detail was provided.
Comment 1 Andrei Chistiakov 2007-11-06 16:56:12 UTC
NOTE: only Netbeans and Glassfish were installed
Comment 2 Vladimir Yaroslavskiy 2007-11-08 12:27:45 UTC
Tried with the latest sierra autobuild sierra_15_20071108_1159 and GlassFish V2: it works fine, all tests passed. 
Comment 3 Andrei Chistiakov 2007-11-09 13:14:37 UTC
Reproduced with build
http://caps-dist.stc.com:8080/sierrabits/520Rel/20071108-0926/Installer/caps-520Rel-installer-image-SNAPSHOT-windows.zip

Steps to reproduce:
- while installing, select only Netbeans and Glassfish to install;
- run netbeans.exe;
- create TRS sample;
- start Glassfish;
- deploy ReservationPartnerServices;
- deploy TravelReservationServiceApplication;
- invoke Test popup menu command on TravelReservationServiceApplication node in Projects tree.
Comment 4 Vladimir Yaroslavskiy 2007-11-12 11:32:25 UTC
Can't reproduce:

1. Download jcaps from
http://caps-dist.stc.com:8080/sierrabits/520Rel/20071108-0926/Installer/caps-520Rel-installer-image-SNAPSHOT-windows.zip
2. Install NetBeans and Glassfish
3. Start Glassfish
4. Run NetBeans

Product Version: NetBeans IDE Dev (Build 20071108022055)
Java: 1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b06
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Userdir: D:\Work\cap\.netbeans\sierra

- create TravelReservationService sample
- deploy ReservationPartnerServices
- deploy TravelReservationServiceApplication
- invoke Test popup menu (Alt+F6)
- all tests are green (see attachment)
Comment 5 Vladimir Yaroslavskiy 2007-11-12 11:33:11 UTC
Created attachment 52872 [details]
ide