axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandika Jayawardana" <jayaw...@gmail.com>
Subject Re: Using AXIS2C from scripting environment
Date Thu, 09 Aug 2007 09:01:30 GMT
Hi Yuvaraj,

To build axis2c from vc project, use the vc2005 project solution file
located in <AXIS2 SOURCE DIR>ides\vc\axis2c folder. It will build axis2c to
a folder named deploy in <AXIS2 SOURCE DIR>ides\vc\axis2c directory.

Regards
Nandika


On 8/9/07, Yuvaraj Athur Raghuvir <yuvaraj.a.r@gmail.com> wrote:
>
> Hello Dinesh,
>
> I am trying to do exactly what the yahoo_client.c sample does from a
> scripting language called J available here <http://www.jsoftware.com/>.[1]
>
> 1) Running yahoo_client.c crashes at
>                   axis2_svc_client_free(svc_client, env);
> Debugging via VC revels the crash at  (one of these two lines....)
>     if (transport_out->param_container)
>     {
>         axutil_param_container_free(transport_out->param_container, env);
>     }
>
>     if (transport_out->out_flow)
>     {
>         axis2_flow_free(transport_out->out_flow, env);
>     }
>
> Note: I added proxy statement since I work behind a firewall.
>
> 2) From J, I can invoke dlls. This requires parameter passing. Here, at
> the point of
>     axis2_engine_send::AXIS2_TRANSPORT_SENDER_INVOKE
> I have a crash. I notice that with yahoo_client.c at this point, the
> parent process console window appears briefly since that address space is
> accessed.
>
>
> 3) I was hoping you will tell me when is the Transport Sender set. This
> can give me a clue to what is causing the corruption.
>
> Further, my local build of axutil project causes a crash much
> earlier....so any pointers on building axutil on VC will also be appreciated
> since that could tell me what is causing the corruption that causes the
> crash. I also know that my implementation in J could be the cause. So, all I
> need is some guidance on
> a) where is this set?
> b) are there any configuration parameters that need to be set?
> c) when I build local axutil project, the path separator is "/" instead of
> "\" for windows. That could lead to the fact that the dlls relevant
> (module\addressing\axis2_mod_addr.dll) is not getting loaded.
>
> Attached is the complete log file when invoked from the scripting
> language.
>
> Regards,
> Yuva
>
> Encl:
>
>
>
>
> [1] http://www.jsoftware.com/
>
>
> On 8/9/07, Dinesh Premalal < xydinesh@gmail.com> wrote:
> >
> > Hi Yuvaraj,
> >
> > "Yuvaraj Athur Raghuvir" < yuvaraj.a.r@gmail.com> writes:
> >
> > > Hello Dinesh,
> > >
> > > This is what the log file says:
> > >>>
> > > Thu Aug 09 11:27:28 2007] [debug] c:\08.utils\axis2\axis2c- src-1.0.0\
> > > axis2c-src-1.0.0\src\core\phaseresolver\phase_resolver.c(231) module
> > name
> > > is:addressing
> > > [Thu Aug 09 11:27:28 2007] [debug] c:\08.utils\axis2\axis2c-src-1.0.0\
> > > axis2c-src-1.0.0\src\core\phaseresolver\phase_holder.c (129) Add
> > handler
> > > AddressingOutHandler to phase MessageOut
> > > [Thu Aug 09 11:27:28 2007] [debug] c:\08.utils\axis2\axis2c-
> > src-1.0.0\
> > > axis2c-src-1.0.0\src\core\phaseresolver\phase_resolver.c(231) module
> > name
> > > is:addressing
> > > [Thu Aug 09 11:27:28 2007] [debug] c:\08.utils\axis2\axis2c-src-1.0.0\
> > > axis2c-src-1.0.0\src\core\phaseresolver\phase_resolver.c (231) module
> > name
> > > is:addressing
> > > [Thu Aug 09 11:27:28 2007] [debug] c:\08.utils\axis2\axis2c-
> > src-1.0.0\
> > > axis2c-src-1.0.0\src\core\phaseresolver\phase_holder.c(129) Add
> > handler
> > > AddressingOutHandler to phase MessageOut
> > > [Thu Aug 09 11:27:45 2007] [debug] c:\08.utils\axis2\axis2c-src-1.0.0\
> > > axis2c-src-1.0.0\src\core\engine\engine.c(572) Invoking phase
> > MessageOut
> > > [Thu Aug 09 11:27:45 2007] [debug] c:\08.utils\axis2\axis2c-src-1.0.0\
> > > axis2c-src-1.0.0\src\core\engine\phase.c (195) Invoke the handler
> > > AddressingOutHandler within the phase MessageOut
> > It is quite difficult to me to understand this piece of logfile
> > only. Could you please attach your logfile. If possible , could you
> > please give us some rough idea about your use case. It will help us to
> > locate possible errors.
> >
> > thanks,
> > Dinesh
> >
> > --
> > Dinesh Premalal
> > http://xydinesh.wordpress.com/
> > GPG ID : A255955C
> > GPG Key Finger Print : C481 E5D4 C27E DC34 9257  0229 4F44 266E A255
> > 955C
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-c-user-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


-- 
nandika@wso2.com
WSO2 Inc: http://www.wso2.com

Mime
View raw message