Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 64923 invoked from network); 4 Nov 2009 09:27:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Nov 2009 09:27:29 -0000 Received: (qmail 85433 invoked by uid 500); 4 Nov 2009 09:27:28 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 85388 invoked by uid 500); 4 Nov 2009 09:27:27 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 85379 invoked by uid 99); 4 Nov 2009 09:27:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 09:27:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [209.85.210.203] (HELO mail-yx0-f203.google.com) (209.85.210.203) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 09:27:17 +0000 Received: by yxe41 with SMTP id 41so17708222yxe.30 for ; Wed, 04 Nov 2009 01:26:55 -0800 (PST) Received: by 10.150.74.6 with SMTP id w6mr2177457yba.317.1257326815795; Wed, 04 Nov 2009 01:26:55 -0800 (PST) Received: from ?10.100.1.102? ([123.231.64.242]) by mx.google.com with ESMTPS id 7sm343094ywf.40.2009.11.04.01.26.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 04 Nov 2009 01:26:51 -0800 (PST) Message-ID: <4AF148C6.6020505@wso2.com> Date: Wed, 04 Nov 2009 14:56:30 +0530 From: Damitha Kumarage User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Apache AXIS C User List Subject: Re: Transport identified SOAP version does not match with SOAP message version References: <4AF099AC.8030909@schedsys.com> In-Reply-To: <4AF099AC.8030909@schedsys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dimitri Pararas wrote: > I seem to be having some difficulty creating the proper headers for my > request using Axis2/c. I am creating a simple request using the hello > client as a base. When I send my request to the simple server > included with the axis2/c (after adding a dumb service) the request > works properly. When I send it to the actual server I receive this > error "Transport identified SOAP version does not match with SOAP > message version" (#195) the header created looks like this > POST /foobar/services/FoobarService HTTP/1.1 > User-Agent: Axis2C/1.6.0 > Content-Length: 420 > Content-Type: application/soap+xml;charset=UTF-8 > Host: mercury:21083 > > xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">00012009-11-1BOSLHR2009-11-1 > 20:00 > POST /Foobar/services/foobarService HTTP/1.1 > User-Agent: Axis2C/1.6.0 > Content-Length: 420 > Content-Type: application/soap+xml;charset=UTF-8 I think you have done a mistake here when copying the soap message to this mail message by copying the http headers again at the end. Are you sure your soap message have no mistakes. I guess your actual service is a dot net service thanks, Damitha > > I am using the axis2_svc_client_send_receive to send this request, and > I have not been able to figure out what the problem is and how to > manipulate the header even if I did. Thanks > Dimitri > > -- __________________________________________________________________ Damitha Kumarage Technical Lead; WSO2 Inc. "Oxygenating the Web Service Platform; " http://www.wso2.com/ blog: " http://damithakumarage.wordpress.com/ __________________________________________________________________