Re: consuming secured .net asmx web service

2013-10-13 Thread pop-sa
www.w3.org/2000/09/xmldsig#";>http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"/>9lt2w27Pr7uwWE5w5s9djWPAoHrhhbVl2O3Mf9hacPPiEFEaCqjuc1hAhw1QHtu/3JaVDAHfIaovstz4L6XOch2mfeoEeTUmkqvCLayEsjJ9L1HFoIwkXhT5miPDkWcJFxwDjkJTmizZQmTY2Sbu9Z8kxADw5elS4aWhNA9xJGQ= -- View this message in context: http://cxf.547215.n5.nabble.com/consuming-secured-net-asmx-web-service-tp5734806p5735002.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: consuming secured .net asmx web service

2013-10-10 Thread Colm O hEigeartaigh
oreCase("Password")) { > builder.getUsernameTokenElement().removeChild(node); > passwordRemoved = true; > } > } > if (!passwordRemoved) { > throw new Exception("Error removing UsernameToken > password"); > } > > WSSecurityUtil.prependChildElement( > secHeader.getSecurityHeader(), > builder.getUsernameTokenElement()); > > outputString = > > org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(doc); > System.out.println("handleOUTBOUNDMessage outputstring: " + > outputString); > > > } catch (Exception ex) { > ex.printStackTrace(); > } > > } > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/consuming-secured-net-asmx-web-service-tp5734806.html > Sent from the cxf-dev mailing list archive at Nabble.com. > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com

consuming secured .net asmx web service

2013-10-08 Thread pop-sa
outputString = org.apache.ws.security.util.XMLUtils.PrettyDocumentToString(doc); System.out.println("handleOUTBOUNDMessage outputstring: " + outputString); } catch (Exception ex) { ex.printStackTrace(); } } -- View this message in context: http://cxf.547215.n5.nabble.com/consuming-secured-net-asmx-web-service-tp5734806.html Sent from the cxf-dev mailing list archive at Nabble.com.