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.