Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 65943 invoked from network); 4 Nov 2009 15:20:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Nov 2009 15:20:06 -0000 Received: (qmail 14003 invoked by uid 500); 4 Nov 2009 15:20:05 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 13982 invoked by uid 500); 4 Nov 2009 15:20:05 -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 13973 invoked by uid 99); 4 Nov 2009 15:20:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2009 15:20:05 +0000 X-ASF-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.95.226.11] (HELO smtp001.onecommunications.net) (69.95.226.11) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 04 Nov 2009 15:20:02 +0000 Received: (qmail 24571 invoked from network); 4 Nov 2009 15:19:40 -0000 Received: from unknown (HELO pop006.onecommunications.net) (172.28.6.1) by smtp001.onecommunications.net with SMTP; 4 Nov 2009 15:19:40 -0000 Received: (qmail 10918 invoked from network); 4 Nov 2009 10:19:39 -0500 Received: from unknown (HELO ?192.168.100.240?) (71.174.73.235) by pop006.onecommunications.net with SMTP; 4 Nov 2009 10:19:39 -0500 Message-ID: <4AF19B80.5030001@schedsys.com> Date: Wed, 04 Nov 2009 10:19:28 -0500 From: Dimitri Pararas User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) 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> <4AF148C6.6020505@wso2.com> In-Reply-To: <4AF148C6.6020505@wso2.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Damitha Kumarage wrote: > 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 >> >> > > I used a TCP sniffer to grab the response, I didn't know what might be important so I pasted it all. Looking at it again, it seems like maybe I pasted a request and inadvertently included the http headers from the second request also. When you say "I guess your actual service is a dot net service" do you mean a dot net implementation of SOAP or something totally different? I am fairly certain that it should be a soap service, does Axis not work with dot net SOAP? Dimitri