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: RE : Minimal axis2.xml for an Axis2/C htps client ?
Date Thu, 25 Feb 2010 04:51:05 GMT
It is not a bug. This happens when the when xml pull parsing goes wrong.
Could be due to some issue in axis2.xml. you can refer to architecture guide
to understand how processing happens.

http://ws.apache.org/axis2/1_0/Axis2ArchitectureGuide.html

Regards
Nandika

On Wed, Feb 24, 2010 at 3:05 PM, Olivier Mengué <omengue@oxymel.com> wrote:

>
> >You have to enable HTTPS transport and have to give  SERVER_CERT
> >parameter. This parameter uses given CA cert to validate server's
> >certificate.
>
> I already have a working https client.
>
> Can I remove <phaseOrder>? What does this section do? Where is it
> documented?
>
> >> Also, what is the minimal directory structure for the client? I would
> like
> >> to avoid delivering modules, services, include in production.
>
> >axis2.xml and lib are necessary. If you want WS-addressing support,
> >then you have to include modules as well. Services, include, bin,
> >docs, etc. are not needed.
>
>
>
> When I run the following program I get the error:
>  svc_client_create failure 135: XML builder done with pulling. Pull parser
> cannot pull any more
> Is it a bug I should report on JIRA?
>
> #include <axis2_util.h>
> #include <axis2_client.h>
>
> int main(int argc, char *argv[])
> {
>        axutil_env_t *env = NULL;
>        const axis2_char_t *axis2_home = NULL;
>        axis2_svc_client_t* client;
>
>        axis2_home = AXIS2_GETENV("AXIS2C_HOME");
>        printf("AXIS2C_HOME=%s\n", axis2_home ? axis2_home : "");
>        env = axutil_env_create_all("./chk_axis2_xml.log",
> AXIS2_LOG_LEVEL_TRACE);
>        if (env->error->error_number)
>                printf("env_create_all failure %d: %s\n",
> env->error->error_number, AXIS2_ERROR_GET_MESSAGE(env->error));
>
>        client = axis2_svc_client_create(env, axis2_home);
>        if (env->error->error_number)
>                printf("svc_client_create failure %d: %s\n",
> env->error->error_number, AXIS2_ERROR_GET_MESSAGE(env->error));
>        axis2_svc_client_free(client, env);
>
>        axutil_env_free(env);
>        return 0;
> }
>
> Olivier Mengué
> Oxymel, France.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org
>



-- 
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com

Mime
View raw message