Martin, Many thanks for your reply - I fear the first part of your reply was removed because it was interprated as java script by Nabble.
Couple of questions 1. is minOccurs=0 used in the header, I noticed its use in the body but when I hit the wsdl I don't see the header. 2. I am looking for a way to make the timestamp optional via a configuration file(on the server side) not a code change. Is your suggestion possible without code changes and if so how. Thanks again David. mgainty wrote: > > > the list is correct > > try setting attribute > minOccurs=0 > for the element you do not wish to render > > usually starting with operator supplied wsdl (and any accompanying xsds..) > > Martin > ______________________________________________ > Note de déni et de confidentialité > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le > destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la > copie de ceci est interdite. Ce message sert à l'information seulement et > n'aura pas n'importe quel effet légalement obligatoire. Étant donné que > les email peuvent facilement être sujets à la manipulation, nous ne > pouvons accepter aucune responsabilité pour le contenu fourni. > > > > >> Date: Fri, 28 Aug 2009 13:18:13 -0700 >> From: newtondav...@hotmail.com >> To: axis-dev@ws.apache.org >> Subject: CFX Header Security Configurations >> >> >> Our developers have developed webservices using Apache CFX. The problem I >> have is that the application I am using can not construct the timestamp >> part >> for the security header. Is there a simple configuration change that I >> can >> make on the application side to ignore the timestamp. Below is an example >> of >> the header my webservices is expecting. I need to call it with timestamp >> removed. >> >> If there is a better list to post these types of questions - please let >> know >> that as well. >> >> >> <soapenv:Header> >> <wsse:Security soapenv:mustUnderstand="1" >> xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> >> <wsu:Timestamp wsu:Id="Timestamp-20874988" >> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> >> <wsu:Created>2009-05-20T20:50:03.317Z</wsu:Created> >> <wsu:Expires>2009-05-21T13:30:03.317Z</wsu:Expires> >> </wsu:Timestamp> <wsse:UsernameToken >> wsu:Id="UsernameToken-30892496" >> xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> >> <wsse:Username>PortalAdmin</wsse:Username> >> <wsse:Password >> Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">PortalAdmin</wsse:Password> >> </wsse:UsernameToken> >> </wsse:Security> >> </soapenv:Header> >> >> -- >> View this message in context: >> http://www.nabble.com/CFX-Header-Security-Configurations-tp25196332p25196332.html >> Sent from the Axis - Dev mailing list archive at Nabble.com. >> > > _________________________________________________________________ > With Windows Live, you can organize, edit, and share your photos. > http://www.windowslive.com/Desktop/PhotoGallery > -- View this message in context: http://www.nabble.com/CFX-Header-Security-Configurations-tp25196332p25202598.html Sent from the Axis - Dev mailing list archive at Nabble.com.