Axis2C发布一个服务

1. 编译此服务源代码生成库文件如libadtDeviceService.so , 写好wsdl,如adtDeviceService.wsdl ,写好services.xml.

2. 在$AXIS2C_HOME/services目录新建立目录adtDeviceService,将上述三文件复制到此目录。

3. Restart axis2_http_server

4. WEB访问http://localhost/axis2/services

5. 客户端运行即可访问此服务。查看客户端运行后的log:axis2.log 

 

[Tue Apr 26 13:09:57 2011] [info]  Starting HTTP server thread

[Tue Apr 26 13:10:24 2011] [debug] http_worker.c(200) Client HTTP version HTTP/1.1

[Tue Apr 26 13:10:24 2011] [debug] soap_builder.c(945) identified soap version is soap12

[Tue Apr 26 13:10:24 2011] [debug] phase.c(210) Invoke the handler request_uri_based_dispatcher within the phase Transport

[Tue Apr 26 13:10:24 2011] [debug] req_uri_disp.c(100) Checking for service using target endpoint address : http://192.168.6.209:9090/axis2/services/adtDeviceService

[Tue Apr 26 13:10:24 2011] [debug] req_uri_disp.c(121) Service found using target endpoint address

[Tue Apr 26 13:10:24 2011] [debug] phase.c(210) Invoke the handler AddressingInHandler within the phase Transport

[Tue Apr 26 13:10:24 2011] [info]  Starting addressing in handler

[Tue Apr 26 13:10:24 2011] [debug] phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport

[Tue Apr 26 13:10:24 2011] [debug] phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch

[Tue Apr 26 13:10:24 2011] [debug] phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch

[Tue Apr 26 13:10:24 2011] [debug] phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch

[Tue Apr 26 13:10:24 2011] [debug] soap_action_disp.c(115) Checking for operation using SOAPAction : urn:queryAcBasicInfo

[Tue Apr 26 13:10:24 2011] [debug] soap_action_disp.c(146) Operation found using SOAPAction

[Tue Apr 26 13:10:24 2011] [debug] phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
最新版本的axis2c Apache Axis2/C What is it? ----------- The Apache Axis2/C is a SOAP engine implementation that can be used to provide and consume Web Services. Axis2/C is an effort to implement Axis2 architecture, in C. Please have a look at http://ws.apache.org/axis2/1_0/Axis2ArchitectureGuide.html for an overview on Axis2 architecture. Axis2/C supports both SOAP 1.1 and SOAP 1.2. The soap processing model is built on the AXIOM XML object model. Axis2/C is capable of handling one-way messaging (In-Only) as well as request response messaging (In-Out). It can be used in both synchronous and asynchronous modes. Axis2/C has built in WS-Addressing support. It implements WS-Addressing 1.0 specification completely. It also has built in MTOM/XOP support for handling binary attachments. As a project of the Apache Software Foundation, the developers aim to collaboratively develop and maintain a robust, commercial-grade, standards-based Web Services stack implementation with freely available source code. The Latest Version ------------------ Details of the latest version can be found on the Apache Axis2/C project page under http://ws.apache.org/axis2/c. Documentation ------------- The documentation available as of the date of this release is included in HTML format in the docs/ directory. The most up-to-date documentation can be found at http://ws.apache.org/axis2/c/docs/index.html. Installation ------------ Please see the file named INSTALL. You can also have a look at docs/installationguide.html. Licensing --------- Please see the file named LICENSE. Contacts -------- o If you want freely available support for using Apache Axis2/C please join the Apache Axis2/C user community by subscribing to users mailing list, axis-c-user@ws.apache.org' as described at http://ws.apache.org/axis2/c/mail-lists.html o If you have a bug report for Apache Axis2/C please go log a Jira issue at http://issues.apache.org/jira/browse/AXIS2C o If you want to participate in actively developing Apache Axis2/C please subscribe to the `axis-c-dev@ws.apache.org' mailing list as described at http://ws.apache.org/axis2/c/mail-lists.html Acknowledgements ---------------- Apache Axis2/C relies heavily on the use of autoconf and libtool to provide a build environment.
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值