Handling No SOAP Header in Response

Rostom A <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
Is there a way to instruct Rampart and/or my Axis2 ADB built client stub to not look for a SOAP header in the response message? I keep getting the following error when I call the method on the stub to send a request to the service:

org.apache.axis2.AxisFault: SOAP header missing
    at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
    at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
    at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)


The response does not have a SOAP header by design.  Looking at the Axis2 debug logs I see that the SOAP response comes back fine from the server, but my call never returns and instead throws the above exception.


I'm using Axis2 1.6.2 and Rampart 1.6.2.

Any help would be appreciated.

--rostom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.