You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Karr, David" <da...@wamu.net> on 2007/08/08 02:23:20 UTC
Is sample on axis->axis2 page missing a line?
I'm just browsing through the axis2 docs, and I noticed the following in
the "Migrating from Apache Axis 1.x to Axis2"
(http://ws.apache.org/axis2/1_2/migration.html) page:
-------
OMElement payload = fac.createOMElement("echoString", ns);
payload.setText("Hello!");
Options options = new Options();
ServiceClient client = new ServiceClient();
options.setTo(targetEPR);
//Blocking invocation
OMElement result = client.sendReceive(payload);
-------
Isn't this missing a line, like:
client.setOptions(options);
?
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Is sample on axis->axis2 page missing a line?
Posted by Deepal jayasinghe <de...@gmail.com>.
Yes it is missing that part, could you please create a JIRA about that
o.w we will forget to fix that.
Thanks
Deepal
> I'm just browsing through the axis2 docs, and I noticed the following in
> the "Migrating from Apache Axis 1.x to Axis2"
> (http://ws.apache.org/axis2/1_2/migration.html) page:
>
> -------
> OMElement payload = fac.createOMElement("echoString", ns);
> payload.setText("Hello!");
> Options options = new Options();
> ServiceClient client = new ServiceClient();
> options.setTo(targetEPR);
> //Blocking invocation
> OMElement result = client.sendReceive(payload);
> -------
>
> Isn't this missing a line, like:
>
> client.setOptions(options);
>
> ?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
--
Thanks,
Deepal
................................................................
"The highest tower is built one brick at a time"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org