Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 29532 invoked from network); 15 May 2008 18:43:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 18:43:25 -0000 Received: (qmail 89664 invoked by uid 500); 15 May 2008 18:43:25 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 89652 invoked by uid 500); 15 May 2008 18:43:25 -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 89634 invoked by uid 99); 15 May 2008 18:43:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 11:43:25 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 May 2008 18:42:36 +0000 Received: (qmail 29347 invoked from network); 15 May 2008 18:42:49 -0000 Received: from unknown (HELO ?192.168.1.100?) (unknown) by unknown with SMTP; 15 May 2008 18:42:49 -0000 X-pair-Authenticated: 69.106.254.20 Message-ID: <482C842C.7020307@wso2.com> Date: Fri, 16 May 2008 00:42:52 +0600 From: Samisa Abeysinghe User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Apache AXIS C User List Subject: Re: Soap request to Microsoft .NET web services References: <012201c8b6b9$81477cd0$7a050a0a@minas> In-Reply-To: <012201c8b6b9$81477cd0$7a050a0a@minas> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Steven Zhang wrote: > 1. The namespace of HelloWorld must match, otherwise the service can't > locate the method. > 2. The "soap" and "soapenv" is not an issue when their namespace are > the same. > 3. I wander you can get result. I always receive failure because > SoapAction is not specified in the HTTP header. I have to fix it in Axis. > > You might use Ethereal to get the TCP data by IE and your client, > compare them to find what's different. You can also use tcpmon to capture messages with ease: http://ws.apache.org/commons/tcpmon/download.cgi You need Java for this though. Samisa... > > Steven > > > ----- Original Message ----- > *From:* Fan, Jan-fon > *To:* Apache AXIS C User List ; > Apache AXIS C Developers List > *Sent:* Thursday, May 15, 2008 11:13 AM > *Subject:* Soap request to Microsoft .NET web services > > Hi, > > I created a simple �hello world� web services by using Microsoft > .NET. User specifies the first name and last name, this service > just returns �Hello World first_name last_name� to the user. > > The soap request defined for this web services is: > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > > > xmlns="http://scxpd9984.amr.corp.intel.com/webservices/"> > > string > > string > > > > > > > > > > > > I use Axis2C client API trying to consume this web services, but > the service just returns me �Hello World�, the name part is missing. > > I use a sniffer program to check what is the request that I send > to server and find out it is: > > > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> > > > > > > > > Jan-fon > > Fan > > > > > > > > > > > > > > I am wonder if this problem is caused by the name space > , it does not contain > xmlns=http://scxpd9984.amr.corp.intel.com/webservices/. > > Another thing is that the starting tag, they are different: soap > vs soapenv. > > > > Can someone help me please. > > > > Thanks, > > Jan-fon > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG. > Version: 8.0.100 / Virus Database: 269.23.16/1434 - Release Date: 5/15/2008 7:24 AM > -- Samisa Abeysinghe Director, Engineering; WSO2 Inc. http://www.wso2.com/ - "The Open Source SOA Company" --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org