I have to write a client application that accesses an outside web service. I have their WSDL and have generated Java classes using Wsdl2Java, as well as JUnit tests.

The tests are failing with
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.securityException <http://schemas.xmlsoap.org/soap/envelope/%7DServer.securityException>
faultSubcode:
faultString: com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5048E: One of &quot;SOAP Header&quot; elements required.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:com.ibm.wsspi.wssecurity.SoapSecurityException: <http://xml.apache.org/axis/%7DstackTrace:com.ibm.wsspi.wssecurity.SoapSecurityException:> WSEC5048E: One of &quot;SOAP Header&quot; elements required.

Since I have samples of what a valid SOAP packet that talks to this web service looks like I would like to see the XML that is being generated for me by all this generated code, so that I might better understand what the problem is. What is the easiest way to do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to