2012-03-16 9 views
0

を見つけることができません.xml。 私は、repoのルートにaxis2.xmlを入れました。サーバが正しいフォルダにログを書き込むので、環境変数$ AXIS2C_HOMEを正しく設定しました。ここでaxis2c_http_serverは、私はOS X上でのAxis2/Cを使用しようとしていますが、私はaxis2c_http_serverを起動したとき、私は次のエラーを取得axis2.xmlを

私のレポの構造は次のとおりです。

[email protected]:repo $ pwd 
/Users/antoine/Documents/axis2c_test/repo 
[email protected]:repo $ ll -R 
total 16 
[email protected] 1 antoine staff 5.8K Mar 16 10:06 axis2.xml 
drwxr-xr-x 53 antoine staff 1.8K Mar 16 10:06 lib 
drwxr-xr-x 4 antoine staff 136B Mar 16 12:26 logs 
drwxr-xr-x 4 antoine staff 136B Mar 16 11:14 services 

./lib: 
total 25816 
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.0.dylib 
-rw-r--r-- 1 antoine staff 1.3M Mar 16 10:06 libaxis2_axiom.a 
-rwxr-xr-x 1 antoine staff 246K Mar 16 10:06 libaxis2_axiom.dylib 
-rwxr-xr-x 1 antoine staff 1.0K Mar 16 10:06 libaxis2_axiom.la 
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.0.dylib 
-rw-r--r-- 1 antoine staff 2.6M Mar 16 10:06 libaxis2_engine.a 
-rwxr-xr-x 1 antoine staff 576K Mar 16 10:06 libaxis2_engine.dylib 
-rwxr-xr-x 1 antoine staff 1.1K Mar 16 10:06 libaxis2_engine.la 
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.0.dylib 
-rw-r--r-- 1 antoine staff 484K Mar 16 10:06 libaxis2_http_common.a 
-rwxr-xr-x 1 antoine staff 120K Mar 16 10:06 libaxis2_http_common.dylib 
-rwxr-xr-x 1 antoine staff 1.1K Mar 16 10:06 libaxis2_http_common.la 
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.0.dylib 
-rw-r--r-- 1 antoine staff 57K Mar 16 10:06 libaxis2_http_receiver.a 
-rwxr-xr-x 1 antoine staff 20K Mar 16 10:06 libaxis2_http_receiver.dylib 
-rwxr-xr-x 1 antoine staff 1.2K Mar 16 10:06 libaxis2_http_receiver.la 
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.0.dylib 
-rw-r--r-- 1 antoine staff 355K Mar 16 10:06 libaxis2_http_sender.a 
-rwxr-xr-x 1 antoine staff 112K Mar 16 10:06 libaxis2_http_sender.dylib 
-rwxr-xr-x 1 antoine staff 1.2K Mar 16 10:06 libaxis2_http_sender.la 
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.0.dylib 
-rw-r--r-- 1 antoine staff 139K Mar 16 10:06 libaxis2_parser.a 
-rwxr-xr-x 1 antoine staff 49K Mar 16 10:06 libaxis2_parser.dylib 
-rwxr-xr-x 1 antoine staff 982B Mar 16 10:06 libaxis2_parser.la 
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.0.dylib 
-rw-r--r-- 1 antoine staff 190K Mar 16 10:06 libaxis2_xpath.a 
-rwxr-xr-x 1 antoine staff 57K Mar 16 10:06 libaxis2_xpath.dylib 
-rwxr-xr-x 1 antoine staff 902B Mar 16 10:06 libaxis2_xpath.la 
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.0.dylib 
-rw-r--r-- 1 antoine staff 982K Mar 16 10:06 libaxutil.a 
-rwxr-xr-x 1 antoine staff 193K Mar 16 10:06 libaxutil.dylib 
-rwxr-xr-x 1 antoine staff 867B Mar 16 10:06 libaxutil.la 
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.0.dylib 
-rw-r--r-- 1 antoine staff 191K Mar 16 10:06 libguththila.a 
-rwxr-xr-x 1 antoine staff 63K Mar 16 10:06 libguththila.dylib 
-rwxr-xr-x 1 antoine staff 923B Mar 16 10:06 libguththila.la 
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.0.6.0.dylib 
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.0.dylib 
-rw-r--r-- 1 antoine staff 1.4M Mar 16 10:06 libneethi.a 
-rwxr-xr-x 1 antoine staff 229K Mar 16 10:06 libneethi.dylib 
-rwxr-xr-x 1 antoine staff 1.0K Mar 16 10:06 libneethi.la 
drwxr-xr-x 3 antoine staff 102B Mar 16 10:06 pkgconfig 

./lib/pkgconfig: 
total 8 
-rw-r--r-- 1 antoine staff 256B Mar 16 10:06 axis2c.pc 

./logs: 
total 24 
-rw-r--r-- 1 antoine staff 12K Mar 16 12:26 axis2.log 

./services: 
total 32 
-rwxr-xr-x 1 antoine staff 10K Mar 16 12:26 libhello.dylib 
-rw-r--r-- 1 antoine staff 209B Mar 16 10:06 services.xml 

誰かが私が間違っているのか見ていますか?

答えて

0

私はクライアントサイドのコンシューマのみを使用していますが、おそらく私が持っている解決策があなたを助けることができます。

サーバーを実行するには、AXIS2Cインストールを指すようにAXIS2C_HOME環境変数を設定する必要があります。あなたがする必要はありませんクライアントの場合

axis2c_stub_t型の新しいインスタンスを作成するときに、あなただけ(別名CLIENT_HOMEパラメータを設定します。)axis2.xmlをファイルの場所をspecifiy