Hi all, I've confirmed that the SOAP envelope of my request is correct (i.e. the actual XML content) by testing it in soapUI. soapUI displays the correct reponse from the server.
But when Axis2 sends off that XML request, the server responds with a Null Pointer. I'm guessing that the way Axis2 has wrapped the XML into an HTTP request is causing problems with the server. Has anyone had these kinds of problems? Axis2 log is included below. Does anyone know what the 125[\r][\n]" is? ... its look strange. 334912 [main] DEBUG httpclient.wire.content - >> "125[\r][\n]" 334912 [main] DEBUG httpclient.wire.content - >> "<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><ns1:getRecords xmlns:ns1="http://www.blabla.com/cmdb_rel_ci"><sys_id>451047c6c0a8016400de0ae6df9b9d76</sys_id></ns1:getRecords></soapenv:Body></soapenv:Envelope>" 334912 [main] DEBUG httpclient.wire.content - >> "[\r][\n]" 334912 [main] DEBUG httpclient.wire.content - >> "0" 334912 [main] DEBUG httpclient.wire.content - >> "[\r][\n]" 334912 [main] DEBUG httpclient.wire.content - >> "[\r][\n]" 334912 [main] DEBUG org.apache.commons.httpclient.methods.EntityEnclosingMethod - Request body sent 335243 [main] DEBUG httpclient.wire.header - << "HTTP/1.1 200 OK[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Date: Thu, 15 Nov 2007 06:08:46 GMT[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Server: Apache-Coyote/1.1[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Set-Cookie: JSESSIONID=9A6EE527F617A79F4BAEE4C5E8722921; Path=/[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Set-Cookie: glide_user=SC:Z3Vlc3Q=:41ec818446576292007b7661b2fcb202; Expires=Tue, 03-Dec-2075 09:22:53 GMT[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Set-Cookie: glide_user_session=SC:Z3Vlc3Q=:41ec818446576292007b7661b2fcb202[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Cache-Control: no-store[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Pragma: no-cache[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Expires: 0[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Content-Type: text/xml[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Content-Length: 321[\r][\n]" 335253 [main] DEBUG httpclient.wire.header - << "Connection: close[\r][\n]" regards, Etienne --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
