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 88457 - addressing namespace wrong, client hangs
Summary: addressing namespace wrong, client hangs
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-01 20:09 UTC by tamiro
Modified: 2006-11-08 15:39 UTC (History)
0 users

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 tamiro 2006-11-01 20:09:14 UTC
The addressing namespace should be 
  http://www.w3.org/2006/05/addressing/wsdl

With the WSIT redesign as of Nov 1, the namespace 
being inserted into the service wsit<pkg.service>.xml
was 
  http://www.w3.org/2006/05/addressing/wsdl

When running the client, the browser just hung 
and the glassfish server log showed
[#|2006-11-01T10:11:48.000-0500|WARNING|sun-appserver-pe9.1|javax.enterprise.resource.webservices.jaxws.wspolicy|_ThreadID=16;_ThreadName=httpWorkerThread-8080-0;_RequestID=8b68bcae-f59b-4dd4-a895-288365bc8773;|No
policy selector found which knows assertion
{http://www.w3.org/2005/08/addressing/wsdl}UsingAddressing|#]

[#|2006-11-01T10:11:48.015-0500|WARNING|sun-appserver-pe9.1|javax.enterprise.resource.webservices.jaxws.wspolicy|_ThreadID=16;_ThreadName=httpWorkerThread-8080-0;_RequestID=8b68bcae-f59b-4dd4-a895-288365bc8773;|Suboptimal
policy alternative selected with fitness "PARTIALLY_SUPPORTED"|#]

Before checking the RM box in the service's Edit Web Service Attributes 
gui, a simple service app and client servlet app following the 
instructions in Chapter 7 of the WSIT tutorial worked. 
Once you enable RM, that causes the following 

<wsp:Policy wsu:Id="CalculatorWSPortBindingPolicy">
        <wsp:ExactlyOne>
            <wsp:All>
                <wsaws:UsingAddressing
xmlns:wsaws="http://www.w3.org/2005/08/addressing/wsdl"/>
                <wsrm:RMAssertion/>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>

to be inserted in the wsit xml file which 
breaks the cleint servlet. After editing the the wsit xml 
web page file to have the correct namespace, refreshing, 
rebuilding, and redeploying the client servlet, it 
works.
Comment 1 Martin Grebac 2006-11-02 17:53:32 UTC
should be fixed in 2.01
Comment 2 tamiro 2006-11-08 15:39:20 UTC
I verified the fix.