axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuvaraj Athur Raghuvir" <yuvaraj....@gmail.com>
Subject Re: How to limit results in yahoo sample?
Date Mon, 20 Aug 2007 12:37:52 GMT
Hello Samisa,

Yes you are right - the sample works as intended.

Now, I have been trying to find why the following lines trigger a break
point in the VC++ debugger:

    if (svc_client)
    {
        axis2_svc_client_free(svc_client, env);
        svc_client = NULL;
    }

I get an exception and have to terminate the debug run.

Regards,
Yuva


On 8/17/07, Samisa Abeysinghe <samisa@wso2.com> wrote:
>
> Yuvaraj Athur Raghuvir wrote:
> > Hello,
> >
> > I did the following based on documentation at [1]
> > <http://developer.yahoo.com/search/web/V1/webSearch.html>
> >     results_node = axiom_node_create (env);
> >     results_element = axiom_element_create (env, root_node, "results",
> > NULL, &results_node);
> >     axiom_element_set_text (results_element, env, "2",  results_node);
> >
> What you have done is correct. I tested with your changes to the yahoo
> sample and it works fine.
> > I get an error : "Builder done with pulling. Cannot pull any more".
> >
> > 1) What does this mean?
> This means that the XML builder is trying to pull more data but the
> stream has ended.
> > 2) How should I limit the results?
> As I said what you have done is correct. What is the search string that
> you are using? Also what is the version of Axis2/C that you are using?
>
> Thanks,
> Samisa...
> >
> > Regards,
> > Yuva
> >
> >
> > [1] http://developer.yahoo.com/search/web/V1/webSearch.html
>
>
> --
> Samisa Abeysinghe : WSO2 WSF/C
> "
> http://wso2.org/projects/wsf/c?WSO2&nbsp;Web&nbsp;Services&nbsp;Framework/C&nbsp;-&nbsp;Open&nbsp;source&nbsp;C&nbsp;library&nbsp;for&nbsp;providing&nbsp;and&nbsp;consuming&nbsp;Web&nbsp;services
> "
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>

Mime
View raw message