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 91697 - options for input/output messages not sticking
Summary: options for input/output messages not sticking
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: 2007-01-02 19:10 UTC by tamiro
Modified: 2010-05-20 11:42 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 2007-01-02 19:10:02 UTC
With nbms updated on or before Dec 15, the UI for input and output 
messages doesn't cause any change to the wsdl. With the default 
security mechanism in effect, I checked all the boxes in the 
encrypt and Required columns and saved. Afterward the wsdl appeared 
as shown below and upon reentering the GUI the boxes were nolonger checked.
Selecting these options either has no effect or -- if that is intentional -- 
should not be allowed. 


<?xml version="1.0" encoding="UTF-8"?> 
 <definitions 
 xmlns="http://schemas.xmlsoap.org/wsdl/" 
 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
 xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="Dec6Non109WSService"
targetNamespace="http://dec6non109.me.org/"
xmlns:tns="http://dec6non109.me.org/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsaws="http://www.w3.org/2005/08/addressing"
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"
xmlns:sc="http://schemas.sun.com/2006/03/wss/server"
xmlns:wspp="http://java.sun.com/xml/ns/wsit/policy"
xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization"
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"
xmlns:fi="http://java.sun.com/xml/ns/wsit/2006/09/policy/optimizedfastinfosetserialization"

 >
    <message name="add"/>
    <message name="addResponse"/>
    <portType name="Dec6Non109WS">
        <operation name="add">
            <input message="tns:add"/>
            <output message="tns:addResponse"/>
        </operation>
    </portType>
    <binding name="Dec6Non109WSPortBinding" type="tns:Dec6Non109WS">
        <wsp:PolicyReference URI="#Dec6Non109WSPortBindingPolicy"/>
        <operation name="add">
            <input>
                <wsp:PolicyReference
URI="#Dec6Non109WSPortBinding_add_Input_Policy"/>
            </input>
            <output>
                <wsp:PolicyReference
URI="#Dec6Non109WSPortBinding_add_Output_Policy"/>
            </output>
        </operation>
    </binding>
    <service name="Dec6Non109WSService">
        <port name="Dec6Non109WSPort" binding="tns:Dec6Non109WSPortBinding"/>
    </service>
    <wsp:Policy wsu:Id="Dec6Non109WSPortBindingPolicy">
        <wsp:ExactlyOne>
            <wsp:All>
                <wsaws:UsingAddressing
xmlns:wsaws="http://www.w3.org/2006/05/addressing/wsdl"/>
                <fi:OptimizedFastInfosetSerialization enabled="true"/>
                <sc:KeyStore wspp:visibility="private" alias="s1as"
storepass="changeit" type="JKS" location="C:\Sun\certs\server-keystore.jks"/>
                <sc:TrustStore wspp:visibility="private"
peeralias="xws-security-client" storepass="changeit" type="JKS"
location="C:\Sun\certs\server-truststore.jks"/>
                <sp:SymmetricBinding>
                    <wsp:Policy>
                        <sp:ProtectionToken>
                            <wsp:Policy>
                                <sp:X509Token
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
                                    <wsp:Policy>
                                        <sp:WssX509V3Token10/>
                                    </wsp:Policy>
                                </sp:X509Token>
                            </wsp:Policy>
                        </sp:ProtectionToken>
                        <sp:Layout>
                            <wsp:Policy>
                                <sp:Strict/>
                            </wsp:Policy>
                        </sp:Layout>
                        <sp:IncludeTimestamp/>
                        <sp:OnlySignEntireHeadersAndBody/>
                        <sp:AlgorithmSuite>
                            <wsp:Policy>
                                <sp:Basic128/>
                            </wsp:Policy>
                        </sp:AlgorithmSuite>
                    </wsp:Policy>
                </sp:SymmetricBinding>
                <sp:Wss11>
                    <wsp:Policy>
                        <sp:MustSupportRefKeyIdentifier/>
                        <sp:MustSupportRefIssuerSerial/>
                        <sp:MustSupportRefThumbprint/>
                        <sp:MustSupportRefEncryptedKey/>
                    </wsp:Policy>
                </sp:Wss11>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>
    <wsp:Policy wsu:Id="Dec6Non109WSPortBinding_add_Input_Policy">
        <wsp:ExactlyOne>
            <wsp:All>
                <sp:SignedSupportingTokens>
                    <wsp:Policy>
                        <sp:UsernameToken
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
                            <wsp:Policy>
                                <sp:WssUsernameToken10/>
                            </wsp:Policy>
                        </sp:UsernameToken>
                    </wsp:Policy>
                </sp:SignedSupportingTokens>
                <sp:EncryptedParts>
                    <sp:Body/>
                </sp:EncryptedParts>
                <sp:SignedParts>
                    <sp:Body/>
                    <sp:Header Name="To"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="From"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="FaultTo"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="ReplyTo"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="MessageId"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="RelatesTo"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="Action"
Namespace="http://www.w3.org/2005/08/addressing"/>
                </sp:SignedParts>
                <sp:EncryptedElements/>
                <sp:SignedElements/>
                <sp:RequiredElements/>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>
    <wsp:Policy wsu:Id="Dec6Non109WSPortBinding_add_Output_Policy">
        <wsp:ExactlyOne>
            <wsp:All>
                <sp:EncryptedParts>
                    <sp:Body/>
                </sp:EncryptedParts>
                <sp:SignedParts>
                    <sp:Body/>
                    <sp:Header Name="To"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="From"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="FaultTo"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="ReplyTo"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="MessageId"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="RelatesTo"
Namespace="http://www.w3.org/2005/08/addressing"/>
                    <sp:Header Name="Action"
Namespace="http://www.w3.org/2005/08/addressing"/>
                </sp:SignedParts>
                <sp:EncryptedElements/>
                <sp:SignedElements/>
                <sp:RequiredElements/>
            </wsp:All>
        </wsp:ExactlyOne>
    </wsp:Policy>
</definitions>
Comment 1 Martin Grebac 2007-01-09 14:37:41 UTC
Fixed in v2.10.