Return-Path: X-Original-To: apmail-axis-c-dev-archive@www.apache.org Delivered-To: apmail-axis-c-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D04BCF9E8 for ; Thu, 25 Apr 2013 07:09:00 +0000 (UTC) Received: (qmail 88492 invoked by uid 500); 25 Apr 2013 07:09:00 -0000 Delivered-To: apmail-axis-c-dev-archive@axis.apache.org Received: (qmail 87654 invoked by uid 500); 25 Apr 2013 07:08:55 -0000 Mailing-List: contact c-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list c-dev@axis.apache.org Received: (qmail 87629 invoked by uid 99); 25 Apr 2013 07:08:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 07:08:54 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of kanak.pp@gmail.com designates 209.85.210.195 as permitted sender) Received: from [209.85.210.195] (HELO mail-ia0-f195.google.com) (209.85.210.195) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Apr 2013 07:08:47 +0000 Received: by mail-ia0-f195.google.com with SMTP id u20so573342iag.2 for ; Thu, 25 Apr 2013 00:08:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=OaBAKFV6oB3EjjPN1cvEMrGy49VNK0TEsKSzAVcCc2U=; b=DkC7NrT+5gd+0J9llEQHojAtAkjDuYtIyJtxhvfJCHTHAy2FelUn8upST5eD/sOCZR j5sKXAk1XwaPQU5SLtHRU+8+YjFaK4Vi86Ic0uTCoilNSFeGnBzocK4dKcB5UgurnL68 V0jtrjpKVdm/T4XsKCWWYll07bpKZNjdOTwrMzJyIBAYIe11q2ldo/huefciHO/ARMgK oX+pUfOfn8C2x4DprGSb36htoHwqtaoPbKJDcHAldA3+W8YYiVeCE+dr7IoBLm56aWM9 g/C6xbZAs+7kcwVk3cymGBI9/OllGRBN1TvnymOBN0ss0hSFOUoUVxsOZ4VwFde7gM2j uCiA== MIME-Version: 1.0 X-Received: by 10.50.108.104 with SMTP id hj8mr11982575igb.62.1366873707026; Thu, 25 Apr 2013 00:08:27 -0700 (PDT) Received: by 10.42.95.209 with HTTP; Thu, 25 Apr 2013 00:08:26 -0700 (PDT) Date: Thu, 25 Apr 2013 12:38:26 +0530 Message-ID: Subject: Invalid xml request error in sample service of axis2c From: kanak kumari To: c-dev@axis.apache.org Content-Type: multipart/alternative; boundary=089e01494f76c2a0dd04db2a1565 X-Virus-Checked: Checked by ClamAV on apache.org --089e01494f76c2a0dd04db2a1565 Content-Type: text/plain; charset=ISO-8859-1 Dear List, > > I'm completely new to axis2c and I've just downloaded and unpacked > axis2c 1.6 for Windows (binary release). > > I've followed the installation instructions and have successfully > started axis2_http_server. > > Trying to access the Calculator service's WSDL works fine (e.g. from > Visual Studio 2008) via > http://localhost:9090/axis2/services/Calculator?wsdl, but any call to > the service's add method returns "invalid XML in request" as well as the > same text is shown in the console window where axis2_http_server is > running. > > I've also tried soapUI. The request shown is: > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:typ="http://ws.apache.org/axis2/services/Calculator/types"> > > > > 1.0 > 1.0 > > > > > The response is > > > > > soapenv:Sender > Invalid XML format in request > > > > > The problem is issued in in calc.c (function axis2_calc_add()), where > > seq_node = axiom_node_get_first_child(complex_node, env); > > returns NULL. I would be happy for some hints on how to solve the problem. --089e01494f76c2a0dd04db2a1565 Content-Type: text/html; charset=ISO-8859-1
Dear List,
>
> I'm completely new to axis2c and I've just downloaded and unpacked
> axis2c 1.6 for Windows (binary release).
>
> I've followed the installation instructions and have successfully
> started axis2_http_server.
>
> Trying to access the Calculator service's WSDL works fine (e.g. from
> Visual Studio 2008) via
> http://localhost:9090/axis2/services/Calculator?wsdl, but any call to
> the service's add method returns "invalid XML in request" as well as the
> same text is shown in the console window where axis2_http_server is
> running.
>
> I've also tried soapUI. The request shown is:
>
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:typ="http://ws.apache.org/axis2/services/Calculator/types">
>   <soapenv:Header/>
>   <soapenv:Body>
>      <typ:add>
>         <param_1>1.0</param_1>
>         <param_2>1.0</param_2>
>      </typ:add>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> The response is
>
> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> ">
>   <soapenv:Body>
>      <soapenv:Fault>
>         <faultcode>soapenv:Sender</faultcode>
>         <faultstring>Invalid XML format in request</faultstring>
>      </soapenv:Fault>
>   </soapenv:Body>
> </soapenv:Envelope>
>
> The problem is issued in in calc.c (function axis2_calc_add()), where
>
>    seq_node = axiom_node_get_first_child(complex_node, env);
>
> returns NULL.

I would be happy for some hints on how to solve the problem.
--089e01494f76c2a0dd04db2a1565--