You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by in...@sungard.com on 2008/11/05 11:36:07 UTC
printing parts of a node
Hello!
I want to print the parameter names in a node and not the parameter
values.
For example:
<param1>1</param1><param2>3</param2>
I want to print or get the hold of: param1 param2 but not 1 and 3
Does anyone know how this can be done?
/Indra
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: checking if axis server has started
Posted by Damitha Kumarage <da...@gmail.com>.
Hi,
indra.sharma@sungard.com wrote:
> Hi!
> Is there a way to check if axis server has started?
>
You can always do that by checking the return status. If this does not
help please send what you have tried to see whether I can be of any help
thanks
Damitha
> I have two threads, one initiates the axis server and gets stuck which
> also makes the main thread to stop. I would like to somehow check if the
> server has started and then let the main thread know so it can continue
> running.
>
> Regards
> Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
>
--
__________________________________________________________________
Damitha Kumarage
http://people.apache.org/
__________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
checking if axis server has started
Posted by in...@sungard.com.
Hi!
Is there a way to check if axis server has started?
I have two threads, one initiates the axis server and gets stuck which
also makes the main thread to stop. I would like to somehow check if the
server has started and then let the main thread know so it can continue
running.
Regards
Indra
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
RE: printing parts of a node
Posted by in...@sungard.com.
Thanks!
/Indra
-----Original Message-----
From: Uthaiyashankar [mailto:shankar@wso2.com]
Sent: den 7 november 2008 05:15
To: Apache AXIS C Developers List
Subject: Re: printing parts of a node
indra.sharma@sungard.com wrote:
> I tried to understand how I could use the serialize sub tree method
but
> I don't...
> I know how to get the node values but I also need to get the node
name,
> how can I do this?
>
Hi Indra,
try axiom_element_get_localname and axiom_element_get_namespace
Regards,
Shankar.
> I'm very thankful for a reply
>
> Regards
> Indra
>
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa@wso2.com]
> Sent: den 5 november 2008 15:57
> To: Apache AXIS C Developers List
> Subject: Re: printing parts of a node
>
> indra.sharma@sungard.com wrote:
>
>> Hello!
>> I want to print the parameter names in a node and not the parameter
>> values.
>> For example:
>> <param1>1</param1><param2>3</param2>
>> I want to print or get the hold of: param1 param2 but not 1 and 3
>>
>> Does anyone know how this can be done?
>>
>>
>
> This can be done using the serialize sub tree method. Please have a
look
>
> at the node header file.
>
> Samisa...
>
>> /Indra
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>
>>
>>
>
------------------------------------------------------------------------
>
>> Internal Virus Database is out of date.
>> Checked by AVG - http://www.avg.com
>> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date:
>>
> 10/31/2008 4:10 PM
>
>>
>>
>
>
>
--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: What are the configurable ws-security parameters for incoming
Posted by Manjula Peiris <ma...@wso2.com>.
On Thu, 2008-11-06 at 23:17 -0800, Vivian Wang wrote:
> The reference https://wso2.org/library/2702 really helps me a lot to understand the configurations. I've got another question though, give one configuration file, how can I configure several connections to different web servers for a single client? Can I have multiple configuration files and one for each connection? I imagine the configuration can be very different between connections to different servers.
>
yes you can keep different configurations in different policy files.
Build policies from them and set to svc_client before invoking the
service.
> Thanks again!
> Vivian
>
> >On Wed, 2008-11-05 at 10:30 -0800, Vivian Wang wrote:
> >> Thanks!
> >>
> >> But my question is really this: In WS-Policy, what parameters need to be or can be \
> >> configured for incoming message (the response message from a client point of view)? \
> >> I don't see much document in rampart/c site. From a user point of view, I would \
> >> like to see something like soapUI in which the configurable parameters for \
> >> WS-security are very clear. Is there anything like that in rampart/c in a \
> >> configuration file?
>
> >https://wso2.org/library/2702
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: What are the configurable ws-security parameters for incoming
Posted by Vivian Wang <vi...@yahoo.com>.
The reference https://wso2.org/library/2702 really helps me a lot to understand the configurations. I've got another question though, give one configuration file, how can I configure several connections to different web servers for a single client? Can I have multiple configuration files and one for each connection? I imagine the configuration can be very different between connections to different servers.
Thanks again!
Vivian
>On Wed, 2008-11-05 at 10:30 -0800, Vivian Wang wrote:
>> Thanks!
>>
>> But my question is really this: In WS-Policy, what parameters need to be or can be \
>> configured for incoming message (the response message from a client point of view)? \
>> I don't see much document in rampart/c site. From a user point of view, I would \
>> like to see something like soapUI in which the configurable parameters for \
>> WS-security are very clear. Is there anything like that in rampart/c in a \
>> configuration file?
>https://wso2.org/library/2702
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: printing parts of a node
Posted by Uthaiyashankar <sh...@wso2.com>.
indra.sharma@sungard.com wrote:
> I tried to understand how I could use the serialize sub tree method but
> I don't...
> I know how to get the node values but I also need to get the node name,
> how can I do this?
>
Hi Indra,
try axiom_element_get_localname and axiom_element_get_namespace
Regards,
Shankar.
> I'm very thankful for a reply
>
> Regards
> Indra
>
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:samisa@wso2.com]
> Sent: den 5 november 2008 15:57
> To: Apache AXIS C Developers List
> Subject: Re: printing parts of a node
>
> indra.sharma@sungard.com wrote:
>
>> Hello!
>> I want to print the parameter names in a node and not the parameter
>> values.
>> For example:
>> <param1>1</param1><param2>3</param2>
>> I want to print or get the hold of: param1 param2 but not 1 and 3
>>
>> Does anyone know how this can be done?
>>
>>
>
> This can be done using the serialize sub tree method. Please have a look
>
> at the node header file.
>
> Samisa...
>
>> /Indra
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>>
>>
>>
> ------------------------------------------------------------------------
>
>> Internal Virus Database is out of date.
>> Checked by AVG - http://www.avg.com
>> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date:
>>
> 10/31/2008 4:10 PM
>
>>
>>
>
>
>
--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
RE: printing parts of a node
Posted by in...@sungard.com.
I tried to understand how I could use the serialize sub tree method but
I don't...
I know how to get the node values but I also need to get the node name,
how can I do this?
I'm very thankful for a reply
Regards
Indra
-----Original Message-----
From: Samisa Abeysinghe [mailto:samisa@wso2.com]
Sent: den 5 november 2008 15:57
To: Apache AXIS C Developers List
Subject: Re: printing parts of a node
indra.sharma@sungard.com wrote:
> Hello!
> I want to print the parameter names in a node and not the parameter
> values.
> For example:
> <param1>1</param1><param2>3</param2>
> I want to print or get the hold of: param1 param2 but not 1 and 3
>
> Does anyone know how this can be done?
>
This can be done using the serialize sub tree method. Please have a look
at the node header file.
Samisa...
> /Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com
> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date:
10/31/2008 4:10 PM
>
>
--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org
Re: printing parts of a node
Posted by Samisa Abeysinghe <sa...@wso2.com>.
indra.sharma@sungard.com wrote:
> Hello!
> I want to print the parameter names in a node and not the parameter
> values.
> For example:
> <param1>1</param1><param2>3</param2>
> I want to print or get the hold of: param1 param2 but not 1 and 3
>
> Does anyone know how this can be done?
>
This can be done using the serialize sub tree method. Please have a look
at the node header file.
Samisa...
> /Indra
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
> ------------------------------------------------------------------------
>
>
> Internal Virus Database is out of date.
> Checked by AVG - http://www.avg.com
> Version: 8.0.175 / Virus Database: 270.8.5/1759 - Release Date: 10/31/2008 4:10 PM
>
>
--
Samisa Abeysinghe
Director, Engineering; WSO2 Inc.
http://www.wso2.com/ - "The Open Source SOA Company"
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org