Re: compilation error in rampart/c source code from trunk

2009-03-18 Thread Vivian Wang
OK, seems like I have to check out the axis2/c source from trunk too!

Thanks!
Viviam





From: Uthaiyashankar 
To: Apache AXIS C User List 
Sent: Wednesday, March 18, 2009 2:02:01 AM
Subject: Re: compilation error in rampart/c source code from trunk

Hi Vivian, 

It is defined in Axis2C\neethi\include\rp_defines.h

Regards, 
Shankar


On Wed, Mar 18, 2009 at 11:51 AM, Vivian Wang  wrote:


Hi All,

I just checked out the rampart/c source code from trunk and tried to compile 
it, I encountered the following compilation errors, I search rampart/c, axis2/c 
and openSSL, nowhere defines things like 'RP_INCLUDE_ALWAYS_SP12'. Is the 
source code stable?

Thanks!
Vivian


..\..\src\util\rampart_context.c(1251) : error C2065: 'RP_INCLUDE_ALWAYS_SP12' :
 undeclared identifier
..\..\src\util\rampart_context.c(1252) : error C2065: 'RP_INCLUDE_ONCE_SP12' : u
ndeclared identifier
..\..\src\util\rampart_context.c(1253) : error C2065: 'RP_INCLUDE_ALWAYS_TO_RECI
PIENT_SP12' : undeclared identifier
..\..\src\util\rampart_context.c(2510) : error C2065: 'derive_key_type_t' : unde
clared identifier
..\..\src\util\rampart_context.c(2510) : error C2146: syntax error : missing ';'
 before identifier 'key_type'
..\..\src\util\rampart_context.c(2510) : error C2144: syntax error : ''
 should be preceded by ''
..\..\src\util\rampart_context.c(2510) : error C2144: syntax error : ''
 should be preceded by ''
..\..\src\util\rampart_context.c(2510) : error C2143: syntax error : missing ';'
 before 'identifier'
..\..\src\util\rampart_context.c(2510) : error C2065: 'key_type' : undeclared id
entifier
..\..\src\util\rampart_context.c(2510) : error C2065: 'DERIVEKEY_NONE' : undecla
red identifier
..\..\src\util\rampart_context.c(2544) : error C2065: 'derive_key_version_t' : u
ndeclared identifier
..\..\src\util\rampart_context.c(2544) : error C2146: syntax error : missing ';'
 before identifier 'key_version'
..\..\src\util\rampart_context.c(2544) : error C2144: syntax error : ''
 should be preceded by ''
..\..\src\util\rampart_context.c(2544) : error C2144: syntax error : ''
 should be preceded by ''
..\..\src\util\rampart_context.c(2544) : error C2143: syntax error : missing ';'
 before 'identifier'
..\..\src\util\rampart_context.c(2544) : error C2065: 'key_version' : undeclared
 identifier
..\..\src\util\rampart_context.c(2544) : error C2065: 'DERIVEKEY_VERSION_SC13' :
 undeclared identifier






-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc. 
http://wso2.com/ - "The Open Source SOA Company" 


  

Re: Programatically enabling MTOM (AXIS2c Server side)

2009-03-18 Thread Kuba Tomiczek

Hello,

When I enable MTOM for serving just one request in the services.xml the 
server does not see this (All the requests are served like there is no 
MTOM at all...)

Do I something wrong?
The fragment of my services.xml with MTOM enabled is:


name="wsamapping">http://localhost:9090/Service/ClassificationUpdate



true
name="wsamapping">http://localhost:9090/Service/GetTermInfoIndex



name="wsamapping">http://localhost:9090/Service/GetIndexVersion



By saying MTOM does not work I mean the situation when file is in whole 
packed into xml.


Btw. I have axis2c in version 1.4

Thanks a lot,
Kuba



Manjula Peiris wrote:

In the server side you can do following,

1.Call axis2_msg_ctx_set_doing_mtom (msg_ctx, env, AXIS2_TRUE); from the
service code
2. Adding the enableMTOM parameter in the services.xml
2. Adding enableMTOM parameter in the axis2.xml - this will enable MTOM
globally.

-Manjula.


On Fri, 2009-03-06 at 12:37 +0100, Kuba Tomiczek wrote:
  

Hello

What is the best way (if possible) of setting programatically 
"enableMTOM" on axis2c Server Side, is it possible to modify options on 
the server side?

I found it could be done by:

axis2_options_set_enable_mtom(options, env, AXIS2_TRUE);

but when shall I set these options, so that they qould be available for 
server?
Should I create new "options" structure or rather get it from somewhere 
in the server code?


I have an axis2c server (1.4)  which has to handle
a) requests from clients not supporting MTOM (Python ZSI)
b) different MTOM requests from c client
So I cannot set enabling MTOM in axis2.xml ...

Thanks a lot
Kuba




  




Re: compilation error in rampart/c source code from trunk

2009-03-18 Thread Uthaiyashankar
Hi Vivian,

It is defined in Axis2C\neethi\include\rp_defines.h

Regards,
Shankar

On Wed, Mar 18, 2009 at 11:51 AM, Vivian Wang wrote:

>
> Hi All,
>
> I just checked out the rampart/c source code from trunk and tried to
> compile it, I encountered the following compilation errors, I search
> rampart/c, axis2/c and openSSL, nowhere defines things like
> 'RP_INCLUDE_ALWAYS_SP12'. Is the source code stable?
>
> Thanks!
> Vivian
>
> 
> ..\..\src\util\rampart_context.c(1251) : error C2065:
> 'RP_INCLUDE_ALWAYS_SP12' :
>  undeclared identifier
> ..\..\src\util\rampart_context.c(1252) : error C2065:
> 'RP_INCLUDE_ONCE_SP12' : u
> ndeclared identifier
> ..\..\src\util\rampart_context.c(1253) : error C2065:
> 'RP_INCLUDE_ALWAYS_TO_RECI
> PIENT_SP12' : undeclared identifier
> ..\..\src\util\rampart_context.c(2510) : error C2065: 'derive_key_type_t' :
> unde
> clared identifier
> ..\..\src\util\rampart_context.c(2510) : error C2146: syntax error :
> missing ';'
>  before identifier 'key_type'
> ..\..\src\util\rampart_context.c(2510) : error C2144: syntax error :
> ''
>  should be preceded by ''
> ..\..\src\util\rampart_context.c(2510) : error C2144: syntax error :
> ''
>  should be preceded by ''
> ..\..\src\util\rampart_context.c(2510) : error C2143: syntax error :
> missing ';'
>  before 'identifier'
> ..\..\src\util\rampart_context.c(2510) : error C2065: 'key_type' :
> undeclared id
> entifier
> ..\..\src\util\rampart_context.c(2510) : error C2065: 'DERIVEKEY_NONE' :
> undecla
> red identifier
> ..\..\src\util\rampart_context.c(2544) : error C2065:
> 'derive_key_version_t' : u
> ndeclared identifier
> ..\..\src\util\rampart_context.c(2544) : error C2146: syntax error :
> missing ';'
>  before identifier 'key_version'
> ..\..\src\util\rampart_context.c(2544) : error C2144: syntax error :
> ''
>  should be preceded by ''
> ..\..\src\util\rampart_context.c(2544) : error C2144: syntax error :
> ''
>  should be preceded by ''
> ..\..\src\util\rampart_context.c(2544) : error C2143: syntax error :
> missing ';'
>  before 'identifier'
> ..\..\src\util\rampart_context.c(2544) : error C2065: 'key_version' :
> undeclared
>  identifier
> ..\..\src\util\rampart_context.c(2544) : error C2065:
> 'DERIVEKEY_VERSION_SC13' :
>  undeclared identifier
>
>
>
>


-- 
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"


Re: Some quick Axis2C help required ---- very very urgent

2009-03-18 Thread Manjula Peiris
Hi Ramesh,

Please refer [1] before asking questions in an Apache mailing list. If
you need quick/urgent help there are companies providing commercial
support for Axis2/C. You can contact them. Putting as urgent won't help.

[1] http://www.catb.org/~esr/faqs/smart-questions.html#urgent

-Manjula.


On Wed, 2009-03-18 at 11:41 +0530, ramesh Gopal wrote:
> Hi All,
> 
> I want to write a client code that will consume a web-service.
> 
> what are the steps that go into deciding that ?
> 
> Is there any source code that one of you can share ? 
> 
> Instead of generating the code at run-time (because different ppl have 
> different wsdl formats), can it be a static code with a few place holders ?
> 
> Pls give your feedback 
> 
> Ramesh.
> 
> 
>   Add more friends to your messenger and enjoy! Go to 
> http://messenger.yahoo.com/invite/
>