Hi, This blog post "Using TCP Monitor to Debug Web Service Calls<http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-service.html>" [1] might help you.
Thanks, Keith. [1] http://www.keith-chapman.org/2008/07/using-tcp-monitor-to-debug-web-service.html On Mon, Sep 29, 2008 at 10:25 PM, Steve Cohen <[EMAIL PROTECTED]>wrote: > 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>< > http://schemas.xmlsoap.org/soap/envelope/%7DServer.securityException> > faultSubcode: > faultString: com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5048E: One > of "SOAP Header" 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>: > < > http://xml.apache.org/axis/%7DstackTrace:com.ibm.wsspi.wssecurity.SoapSecurityException:> > WSEC5048E: One of "SOAP Header" 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] > > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org
