Thanks a lot, Keith,I never knew Eclipse had an internal TCP monitor.

This quickly shows me how much the generated packets are missing - there is an an expected header which the test code isn't generating, including extra namespaces, etc.

I will ask that question in a new thread.


keith chapman wrote:
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] <mailto:[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 &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>:
    
<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]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>




--
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


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

Reply via email to