Web Service 那点事儿(2)—— 使用 CXF 开发 SOAP 服务

来源:互联网 发布:淘宝活动倒计时代码 编辑:程序博客网 时间:2024/06/19 01:29


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" soap:mustUnderstand="1">
<wsse:UsernameToken wsu:Id="UsernameToken-a67bb246-b327-482c-a588-0eda911e1a62">
<wsse:Username>client</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">clientpass</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soap:Header>
<soap:Body>
<ns2:testInt xmlns:ns2="http://soap_jaxws.ws.demo/">
<arg0>2</arg0>
         </ns2:testInt>
 </soap:Body>
</soap:Envelope>


http://my.oschina.net/huangyong/blog/286439



http://www.cnblogs.com/windwithlife/archive/2013/03/03/2942157.html

0 0
原创粉丝点击