[ https://issues.apache.org/jira/browse/AXIS2C-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nandika Jayawardana resolved AXIS2C-1357. ----------------------------------------- Resolution: Fixed Fix Version/s: 1.7.0 axis2_build_conf_ctx_with_file function can be used to specify any xml file name with axis2 entries. Then the created configuration context can be passed to service client to create the service client. This will resolve the issue. conf_ctx = axis2_build_conf_ctx_with_file(env,configuration_xml_file); svc_client = axis2_svc_client_create_with_conf_ctx_and_svc(env, NULL, conf_ctx, NULL); I fixed a minor issue in axis2_build_conf_ctx_with_file function to make it work. > axis2/c configuration file has to be named axis2.xml > ---------------------------------------------------- > > Key: AXIS2C-1357 > URL: https://issues.apache.org/jira/browse/AXIS2C-1357 > Project: Axis2-C > Issue Type: Bug > Components: core/engine > Affects Versions: 1.5.0 > Environment: windows XP > Reporter: Frank Zhou > Assignee: Nandika Jayawardana > Fix For: 1.7.0 > > > It seems that I can only use the name axis2.xml for the axis2/c configuration > file. I can specify different folds and axis2/c will look for axis2.xml in > that fold. I can also specify a file path ended with axis2.xml. All works > fine. But axis2/c will fail to create a wb service client if I specify a full > file path with a name different from axis2.xml. > > I think this needs to be fixed. In my environment, my web service client > needs to connect to several web service providers with different > configurations, it would be convenient if I can create several config files > with different names. > > Thanks! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.