Hey Glen ! Thanks again, I shall read that blog entry, for now I'm reading another one from the same website, on how to use wireshark, I can listen to my loopback interface while doing the integration test, I could even see my conversation :-)
POST /springws HTTP/1.1 Content-Type: text/xml; charset=UTF-8 Accept: */* SOAPAction: "" User-Agent: Apache CXF 2.5.1 Cache-Control: no-cache Pragma: no-cache Host: localhost:9000 Connection: keep-alive Content-Length: 973 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" soap:mustUnderstand="1"><wsse:UsernameToken wsu:Id="UsernameToken-1"><wsse:Username>stephane</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">jL6IOrqkKlWutN9WOhxXMSCqV+4=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">vT9GzinVImxuDVy007namQ==</wsse:Nonce><wsu:Created>2012-02-14T12:53:44.134Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><ns2:sendText xmlns:ns2="http://service.common.springws.nki.no/"><text>A little web service</text></ns2:sendText></soap:Body></soap:Envelope>HTTP/1.1 302 Found Location: http://localhost:9000/springws/ Content-Length: 0 Server: Jetty(7.5.3.v20111011) POST /springws HTTP/1.1 Content-Type: text/xml; charset=UTF-8 Accept: */* SOAPAction: "" User-Agent: Apache CXF 2.5.1 Cache-Control: no-cache Pragma: no-cache Host: localhost:9000 Connection: keep-alive Content-Length: 1119 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" soap:mustUnderstand="1"><wsse:UsernameToken wsu:Id="UsernameToken-2"><wsse:Username>stephane</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">0QcHaJ/F/v56Cr4ckZW6Xuf2Xrw=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">KTMAXv1xefDs839jw5d6CQ==</wsse:Nonce><wsu:Created>2012-02-14T12:53:44.640Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><ns2:sendTextToAdmin xmlns:ns2="http://service.common.springws.nki.no/"><text>Hello </text><arg1>[email protected]<firstname>Stephane</firstname><lastname>Eybert</lastname><login>stephane</login><password>mypass</password></arg1></ns2:sendTextToAdmin></soap:Body></soap:Envelope>HTTP/1.1 302 Found Location: http://localhost:9000/springws/ Content-Length: 0 Server: Jetty(7.5.3.v20111011) POST /springws HTTP/1.1 Content-Type: text/xml; charset=UTF-8 Accept: */* SOAPAction: "" User-Agent: Apache CXF 2.5.1 Cache-Control: no-cache Pragma: no-cache Host: localhost:9000 Connection: keep-alive Content-Length: 976 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" soap:mustUnderstand="1"><wsse:UsernameToken wsu:Id="UsernameToken-3"><wsse:Username>stephane</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">QwNBi0e1DMekwMaC5waBcGTKQ6U=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">8130ppKF3IlcBpgy6KOWNA==</wsse:Nonce><wsu:Created>2012-02-14T12:53:44.741Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><ns2:getAdmin xmlns:ns2="http://service.common.springws.nki.no/">[email protected]</ns2:getAdmin></soap:Body></soap:Envelope>HTTP/1.1 302 Found Location: http://localhost:9000/springws/ Content-Length: 0 Server: Jetty(7.5.3.v20111011) POST /springws HTTP/1.1 Content-Type: text/xml; charset=UTF-8 Accept: */* SOAPAction: "" User-Agent: Apache CXF 2.5.1 Cache-Control: no-cache Pragma: no-cache Host: localhost:9000 Connection: keep-alive Content-Length: 939 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" soap:mustUnderstand="1"><wsse:UsernameToken wsu:Id="UsernameToken-4"><wsse:Username>stephane</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">suetGs8NDr1PyVedcGFpN6rqXYI=</wsse:Password><wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">5nKjMgMCqf86s+nxby0iNg==</wsse:Nonce><wsu:Created>2012-02-14T12:53:44.932Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><ns2:makeBusinessException xmlns:ns2="http://service.common.springws.nki.no/"/></soap:Body></soap:Envelope>HTTP/1.1 302 Found Location: http://localhost:9000/springws/ Content-Length: 0 Server: Jetty(7.5.3.v20111011) As you can see there are some non xml trailing content but I don't know it that is normal or not, I'm a first time user of Wireshark, cool tool ! -- View this message in context: http://cxf.547215.n5.nabble.com/com-ctc-wstx-exc-WstxEOFException-Unexpected-EOF-in-prolog-when-run-in-integration-test-on-jetty-tp5478597p5482359.html Sent from the cxf-user mailing list archive at Nabble.com.
