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 Tue, 21 Aug 2007 00:52:49 GMT
Hello,

1) I discovered that for "results" parameter, the expectation is an integer.
2) There is no axiom_element_set_integer call available.
3) When I pass the value as a string from the scripting environment, I get
an error that indicates that parameter is not right.
4) If I try to pass an integer, there is no matching signature.

Any clues?

Regards,
Yuva


On 8/20/07, Yuvaraj Athur Raghuvir <yuvaraj.a.r@gmail.com> wrote:
>
> 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
> >
> > <http://wso2.org/projects/wsf/c?WSO2%C2%A0Web%C2%A0Services%C2%A0Framework/C%C2%A0-%C2%A0Open%C2%A0source%C2%A0C%C2%A0library%C2%A0for%C2%A0providing%C2%A0and%C2%A0consuming%C2%A0Web%C2%A0services>
> > "
> >
> >
> > ---------------------------------------------------------------------
> > 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