Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 10395 invoked from network); 15 May 2008 18:14:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 18:14:49 -0000 Received: (qmail 47376 invoked by uid 500); 15 May 2008 18:14:51 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 47364 invoked by uid 500); 15 May 2008 18:14:51 -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 47347 invoked by uid 99); 15 May 2008 18:14:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 11:14:51 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [134.134.136.20] (HELO mga02.intel.com) (134.134.136.20) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 18:13:53 +0000 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 15 May 2008 11:10:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.27,492,1204531200"; d="scan'208,217";a="281882856" Received: from orsmsx335.amr.corp.intel.com (HELO orsmsx335.jf.intel.com) ([10.22.226.40]) by orsmga002.jf.intel.com with ESMTP; 15 May 2008 11:13:49 -0700 Received: from orsmsx423.amr.corp.intel.com ([10.22.226.104]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 15 May 2008 11:14:12 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C8B6B7.5F070638" Subject: Soap request to Microsoft .NET web services Date: Thu, 15 May 2008 11:13:26 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Soap request to Microsoft .NET web services Thread-Index: Aci2t17LLAcMCi8ORquJMI8gAJnu2w== From: "Fan, Jan-fon" To: "Apache AXIS C User List" , "Apache AXIS C Developers List" X-OriginalArrivalTime: 15 May 2008 18:14:12.0114 (UTC) FILETIME=[79F09720:01C8B6B7] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8B6B7.5F070638 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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: =20 string string =20 =20 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: =20 Jan-fon Fan =20 =20 =20 I am wonder if this problem is caused by the name space , it does not contain = xmlns=3Dhttp://scxpd9984.amr.corp.intel.com/webservices/. Another thing is that the starting tag, they are different: soap vs soapenv. =20 Can someone help me please. =20 Thanks, Jan-fon ------_=_NextPart_001_01C8B6B7.5F070638 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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:

 

<soap:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:soap=3D"http://schemas.xmlsoap.org/soap/envelope/">

  = <soap:Body>

    <HelloWorld xmlns=3D"http://scxpd9984.amr.corp.intel.com/webservices/"><= o:p>

      <first_name>string</first_name>

      <last_name>string</last_name>

    = </HelloWorld>

  = </soap:Body>

</soap:Envelope>

 

 

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:

 

<soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/">=

  = <soapenv:Header></soapenv:Header>

    = <soapenv:Body>

    = <HelloWorld>

      <first_name>Jan-fon</first_name>

=

      <last_name>Fan</last_name>

    = </HelloWorld>

  = </soapenv:Body>

</soapenv:Envelope>

 

 

 

I am wonder if this problem is caused by the name = space <HelloWorld>, it does not contain xmlns=3Dhttp://scxpd998= 4.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

------_=_NextPart_001_01C8B6B7.5F070638--