0 Replies Latest reply: Jan 23, 2013 10:13 AM by raj_in RSS

    Regarding SOAP header creation through java

    raj_in
      i have a SOAP, header how i can include this header in Request Soap.xml, by using java


      <soapenv:Header>
      <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" mustUnderstand="1">
      <wsse:UsernameToken>
      <wsse:Username>asadmin</wsse:Username>
      <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">asadmin</wsse:Password>
      </wsse:UsernameToken>
      </wsse:Security>
      </soapenv:Header>
      how can i programetically include this header in XMl,
      in that programme i have to remove some unwanted headers also.........