Return-Path: Delivered-To: apmail-axis-c-user-archive@www.apache.org Received: (qmail 37658 invoked from network); 28 Mar 2011 08:29:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Mar 2011 08:29:47 -0000 Received: (qmail 35551 invoked by uid 500); 28 Mar 2011 08:29:47 -0000 Delivered-To: apmail-axis-c-user-archive@axis.apache.org Received: (qmail 35474 invoked by uid 500); 28 Mar 2011 08:29:46 -0000 Mailing-List: contact c-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache AXIS C User List" Delivered-To: mailing list c-user@axis.apache.org Received: (qmail 35466 invoked by uid 99); 28 Mar 2011 08:29:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 08:29:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pallavi.b.desai@gmail.com designates 209.85.215.173 as permitted sender) Received: from [209.85.215.173] (HELO mail-ey0-f173.google.com) (209.85.215.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Mar 2011 08:29:38 +0000 Received: by eyb6 with SMTP id 6so1064165eyb.32 for ; Mon, 28 Mar 2011 01:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=vY1+RfWsrF99CdRABIN7bGucSFxXclU2qhljmdVfayA=; b=tNk8ZKqYlc/CgOxzZaCR60WbDEYhlr44z9mmYbkVnCmTiIw5c+vzDaUksfdreyqoKU gQAivCH2sU9Fmedsbxp2DCrueO2ng0FYILfNPrrU3wtOJGZ+4f0u+pch4hRj7iWt8Dim 1ztm1CtYiI9mDu/E4GJ+bYBXoAhBz8BxX29oQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Jjt+YQFbMAHuJMQvZpVv/WT8ihSrgBM5RtX+OU9KvP8zzaN1ZG3Wf4ic5L3B1fbvtZ uqHpWH3KOVTAJ/rooaOJ27eHAztXiEymoctrdayZ22+FHuGmLvOnK8EI2LnY1D2/pbya oX2vsINsVKqx3j6S+iquX59T1ugC1R2rTuMNM= MIME-Version: 1.0 Received: by 10.213.2.143 with SMTP id 15mr1573906ebj.104.1301300957231; Mon, 28 Mar 2011 01:29:17 -0700 (PDT) Received: by 10.213.27.144 with HTTP; Mon, 28 Mar 2011 01:29:17 -0700 (PDT) In-Reply-To: References: Date: Mon, 28 Mar 2011 13:59:17 +0530 Message-ID: Subject: Re: getting "Hello" to work using Axis 1.6 with Apace 2.2 From: Pallavi Desai To: c-user@axis.apache.org Content-Type: multipart/alternative; boundary=0015174be07e4d3b40049f86bd81 X-Virus-Checked: Checked by ClamAV on apache.org --0015174be07e4d3b40049f86bd81 Content-Type: text/plain; charset=ISO-8859-1 I forgot to mention/highlight the error :) Hi, > > I have installed Apache 2.2 and Axi2C binaries version 1.6. > Have copied the axis2_mod.dll into Apache folder and am able to view the > services of Aixs2 under http://localhost/axis2/services. > Also the sample provided with Axis2C like echo work with Apache. I now want > to test the Hello program, mentioned at > http://axis.apache.org/axis2/c/core/docs/axis2c_manual.html#mod_axis2 with > Apache. Following is what I did. > > 1. Created the server hello.dll (tried both ways, visual studio 2010 > express edition and also using the command line cl.exe...). Copied the > hello.dll and the services .xml file under axis2/services > > 2. Able to view the new hello service under http:///localhost/axis2/services > > > 3. Created the hello.exe client , whiose end point address is > http://localhost/axis2/services/hello. > When I run the client executable, I get the following error*: Impl object > for service 'hello' not set in message receiver. 107 :: DLL description has > invalid state of not having valid DLL create function, of valid delete > function or valid dll_handler* > Am cut pasting part of the Apache log file. > > [Sat Mar 26 22:48:55 2011] [debug] > ..\..\src\core\engine\req_uri_disp.c(100) Checking for service using target > endpoint address : http://127.0.0.1:8090/axis2/services/hello > [Sat Mar 26 22:48:55 2011] [debug] > ..\..\src\core\engine\req_uri_disp.c(121) Service found using target > endpoint address > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler AddressingInHandler within the phase Transport > [Sat Mar 26 22:48:55 2011] [info] Starting addressing in handler > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler addressing_based_dispatcher within the phase Transport > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler rest_dispatcher within the phase Dispatch > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler soap_message_body_based_dispatcher within the phase > Dispatch > [Sat Mar 26 22:48:55 2011] [debug] > ..\..\src\core\engine\soap_body_disp.c(231) Checking for operation using > SOAP messagebody's first child's local name : greet > [Sat Mar 26 22:48:55 2011] [debug] > ..\..\src\core\engine\soap_body_disp.c(240) Operation found using SOAP > message body's first child's local name > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler soap_action_based_dispatcher within the phase Dispatch > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler dispatch_post_conditions_evaluator within the phase > PostDispatch > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler context_handler within the phase PostDispatch > [Sat Mar 26 22:48:55 2011] [error] > ..\..\src\core\receivers\raw_xml_in_out_msg_recv.c(115) *Impl object for > service 'hello' not set in message receiver. 107 :: DLL description has > invalid state of not having valid DLL create function, of valid > delete function or valid dll_handler* > [Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) > Invoke the handler AddressingOutHandler within the phase MessageOut > [Sat Mar 26 22:48:55 2011] [info] Starting addressing out handler > [Sat Mar 26 22:48:55 2011] [debug] > ..\..\src\modules\mod_addr\addr_out_handler. > > > > Searching for help on this error, gave me an idea of what could be the > issue, but still that does not help me, as I have the hello_svn.c file from > the apache axis2c site. > Can anybody give me pointers to what that problem could be? > > Also I noticed the difference is the dll size generated using the VS 2010 > express version. and using the command line as mentioned on the site. > > Regards > Pallavi > > > > > --0015174be07e4d3b40049f86bd81 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I forgot to mention/highlight the error=A0 := )

Hi,

I have installed Apach= e 2.2 and Axi2C binaries version 1.6.
Have copied the axis2_mod.dll into Apache folder and am able to view the se= rvices of Aixs2 under http://localhost/axis2/services.
Also the sample provided with Axis2C like echo work with Apache. I now want= to test the Hello program, mentioned at http://ax= is.apache.org/axis2/c/core/docs/axis2c_manual.html#mod_axis2 with Apach= e. Following=A0 is what I did.

1. Created the server hello.dll (tried both ways, visual studio 2010 ex= press edition and also using the command line cl.exe...). Copied the hello.= dll and the services .xml file under axis2/services

2. Able to view = the new hello service under http:///localhost/axis2/services

3. Created the hello.exe client , whiose end point address is http://localho= st/axis2/services/hello.
When I run the client executable, I get the= following error: Impl object for service 'hello' not set in mes= sage receiver. 107 ::=20 DLL description has invalid state of not having valid DLL create=20 function,=A0=A0=A0 of valid delete function or valid dll_handler
<= /div>

Am cut pasting part of the Apache log file= .
=A0
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\req_uri_disp.= c(100) Checking for service using target endpoint address : http://127.0.0.1:= 8090/axis2/services/hello
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\req_uri_disp.c(121= ) Service found using target endpoint address
[Sat Mar 26 22:48:55 2011]= [debug] ..\..\src\core\engine\phase.c(210) Invoke the handler AddressingIn= Handler within the phase Transport
[Sat Mar 26 22:48:55 2011] [info]=A0 Starting addressing in handler
[Sat= Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke th= e handler addressing_based_dispatcher within the phase Transport
[Sat Ma= r 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invoke the h= andler rest_dispatcher within the phase Dispatch
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invok= e the handler soap_message_body_based_dispatcher within the phase Dispatch<= br>[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\soap_body_disp.= c(231) Checking for operation using SOAP messagebody's first child'= s local name : greet
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\soap_body_disp.c(2= 40) Operation found using SOAP message body's first child's local n= ame
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210= ) Invoke the handler soap_action_based_dispatcher within the phase Dispatch=
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invok= e the handler dispatch_post_conditions_evaluator within the phase PostDispa= tch
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210= ) Invoke the handler context_handler within the phase PostDispatch
[Sat Mar 26 22:48:55 2011] [error] ..\..\src\core\receivers\raw_xml_in_out_= msg_recv.c(115) Impl object for service 'hello' not set in messa= ge receiver. 107 :: DLL description has invalid state of not having valid D= LL create function,=A0=A0=A0=A0=A0=A0=A0=A0 of valid delete function or val= id dll_handler
[Sat Mar 26 22:48:55 2011] [debug] ..\..\src\core\engine\phase.c(210) Invok= e the handler AddressingOutHandler within the phase MessageOut
[Sat Mar = 26 22:48:55 2011] [info]=A0 Starting addressing out handler
[Sat Mar 26 = 22:48:55 2011] [debug] ..\..\src\modules\mod_addr\addr_out_handler.



Searching for help on this error, gave me an idea of what could= be the issue, but still that does not help me, as I have the hello_svn.c f= ile from the apache axis2c site.
Can anybody give me pointers to what that problem could be?
=A0
Also I noticed the difference is the dll size generated using the VS 2= 010 express version. and using the command line as mentioned on the site.
=A0
Regards
Pallavi





--0015174be07e4d3b40049f86bd81--