Re: resolving relative file paths (mod_axis2)
These links might help you, http://wsaxc.blogspot.com/2008/11/axis2c-handler-parameters.html http://wsaxc.blogspot.com/2008/11/axis2c-modules-and-persistent.html Supun On Mon, Apr 6, 2009 at 8:50 AM, Sam Carleton wrote: > On Sun, Apr 5, 2009 at 11:27 PM, Supun Kamburugamuva > wrote: > > I'm not that clear about your question. Generally if the info is > available > > for mod_axis2 at start-up you can put it to conf_ctx and retrieve it when > > the service is invoked. > > Supun, > > I think that is EXACTLY what I need. Is there any chance there might > be some additional details on how exactly to put info into the > conf_ctx and how to get the info out in the service? > > Sam > -- Software Engineer, WSO2 Inc http://wso2.org supunk.blogspot.com
Re: Application scope parameters
Yes, as I have mentioned in a previous mail you can put the info into conf_ctx and retrieve it from the service. Supun On Mon, Apr 6, 2009 at 8:37 AM, Sam Carleton wrote: > On Sun, Apr 5, 2009 at 11:15 PM, Supun Kamburugamuva > wrote: > > > On Mon, Apr 6, 2009 at 2:23 AM, Sam Carleton > > > wrote: > > > >> Question: > >> > >> From within the services init function, is there any way to get a > >> parameter element from axis2.xml or services.xml? > > > > It is not possible to access these parameters from init function. You can > > access the parameters when the first request comes to the service using > the > > msg_ctx. > > So the init function call is really only designed to allocate and > setup the svc_skeleton, nothing else, correct? > > For me to use Axis2/C, I really MUST get this setup done during the > initialization. My server is Apache and I have already added the > mod_axis2 code to another custom Apache module. The setup that needs > to be done is already happening in the Apache module. > > Question: > > Is there any way to pass the vital information from the Apache module > (axis2_module_init or axis2_handler) into the service? > > Sam > -- Software Engineer, WSO2 Inc http://wso2.org supunk.blogspot.com
WS-Policy support
Hi All, I am working on using axis2/c to built a web service client. I have a few questions regarding WS-policy support in axis2/c. From the manual in axis2/c web site, it seems that the WS-policy support is built in to the axis2/c. I would like to know the following: (1) Are there any documents regarding how to use WS-policy in axis2/c? (2) Are there any examples regarding how to use WS-policy in axis2/c? (3) I have a customer presenting me with a WSDL that contains some policy definitions and then referenced in operation/binding definitions, suppose I can parse the WSDL and extract all the policy information, at runtime, how do I use axis2/c to set the related policy in a operation/binding when I create a web service client (using axis2/c)? Any APIs? The afore mentioned WSDL (shortened to contain only related info) is pasted at the end of the message : Thanks much in advance! Vivian === http://www.xyz.com/webas/1000/soap/features101/"wsp:Optional="true"/> - http://www.xyz.com/NW05/soap/features/commit/";>false http://www.xyz.com/NW05/soap/features/blocking/";>true . ... http://schemas.xmlsoap.org/soap/http"style="document"/> ..
Re: WSDL2C exception
thanks alot Dimuthu On Sun, Apr 5, 2009 at 6:18 PM, Dimuthu Gamage wrote: > Hi Anil, > You wsdl should have external wsdls or/and schemas that are imported or > included. In that case you need to be online when running the tool. That is > not a requirement of the tool. > > Thanks > Dimuthu > > > On Sun, Apr 5, 2009 at 10:06 AM, Anil wrote: > >> I was trying to generate skelton and stub code from a wsdl file using >> WSDL2C.(axis2-1.4.1). It works fine when i am connected to internet. But >> throws exception when i am offline. Is it mandatory to be connected to >> internet when running WSDL2C? or am i missing any of the option in WSDL2C?? >> Please guide/coorect me if i am wrong. >> >> -- >> Regards, >> -Anil >> > > > > -- > Thanks, > Dimuthu Gamage > > http://www.dimuthu.org > http://www.wso2.org > -- Cheers, -Anil
file path separators
Right now I am working in Windows but the primary reason for using Axis2/C is to go cross platform sometime next year. Apache C Modules have done a very nice job of making sure that all file file IO functions that take a path are neutral when it comes to file path separators. Well not actually neutral exactly, but expect everything to be forward slashes. Question: Do the functions in axutil_file_handler.h which take a file path work on Windows given Apache style paths (forward slash)? Sam