0 Replies Latest reply on Mar 10, 2009 7:36 PM by mano.coolguy

    Format issues with SOAP Header


      I am adding seurity(authentication) elements to SOAp Header using addSOAPRequestHeader() function. I am passing the mustUnderstand value as true.

      The generated output is as follows

      <?xml version="1.0" encoding="UTF-8"?>

      <soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance">


      <wsse:Security soapenv:actor="" soapenv:mustUnderstand="1" xmlns:wsse=" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

      I am not adding any soapenv:actor attribte anywhere in my code. But this attribute is created with a blank value. My web service request is failing for this reason. I am getting fault exception from AXIS Server.

      I need to remove this attribute to make it work. Does anybody know how I can do this?

      Thanks in Advance