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 77529 - Enable Targets to be specified under Bootstrap policy using Netbeans.
Summary: Enable Targets to be specified under Bootstrap policy using Netbeans.
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: WSIT (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 14:44 UTC by venugr
Modified: 2010-04-06 13:49 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Sample WSDL with policy attached. (11.06 KB, text/xml)
2006-06-08 12:29 UTC, venugr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description venugr 2006-06-07 14:44:45 UTC
Security Policy spec now supports targets to  be present under Bootstrap policy
under SecureConversation token. We will need UI /Netbeans support for the same.

Suggest Bootstrap policy  have following default targets apart from enabling
users to configure the same.
<wsp:Policy wsu:Id="BootStrapPolicy"
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsap10="http://www.w3.org/2005/08/addressing"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:i0="http://xmlsoap.org/Ping"
xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/09/policy/addressing"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"
xmlns:tns="http://tempuri.org/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
xmlns:wsa10="http://www.w3.org/2005/08/addressing">
   <wsp:ExactlyOne>
       <wsp:All>
           <sp:SignedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
               <sp:Body/>
               <sp:Header Name="To"
               Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
               <sp:Header Name="From"
               Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
               <sp:Header Name="FaultTo"
               Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
               <sp:Header Name="ReplyTo"
               Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
               <sp:Header Name="MessageID"
               Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
               <sp:Header Name="RelatesTo"
               Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
               <sp:Header Name="Action"
               Namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing"/>
           </sp:SignedParts>
           <sp:EncryptedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
               <sp:Body/>
           </sp:EncryptedParts>
       </wsp:All>
   </wsp:ExactlyOne>
</wsp:Policy>
Comment 1 Martin Grebac 2006-06-07 16:27:27 UTC
Could you please provide the whole policy or wsit.xml sample so that I know
where exactly this piece belongs? Thanks.
Comment 2 venugr 2006-06-08 12:29:34 UTC
Created attachment 30890 [details]
Sample WSDL with policy attached.
Comment 3 Martin Grebac 2006-06-08 13:50:00 UTC
The default is generated altogether with Bootstrap policy. We may decide on
providing the configuration later on, but I'd leave it for now.
Comment 4 Jaroslav Pospisil 2010-04-06 13:49:11 UTC
v.