# xmlrpcserver outbound ws-security.

**URL:** <https://techcommunity.softwareag.com/t/xmlrpcserver-outbound-ws-security/202592>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [January 28, 2019, 5:42pm UTC](https://techcommunity.softwareag.com/t/xmlrpcserver-outbound-ws-security/202592 "2019-01-28T17:42:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![James3](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@James3](https://techcommunity.softwareag.com/u/James3)\
**Post date:** [January 28, 2019, 5:42pm UTC](https://techcommunity.softwareag.com/t/xmlrpcserver-outbound-ws-security/202592/1 "2019-01-28T17:42:08Z")

</div>

Is it possible to configure a mapping, deployed on xmlrpcserver, to create a SOAP call from NATURAL to a web service that requires ws-security (element encryption and username token). We have been working with a similar requirement in ws-stack for inbound calls to NATURAL and have had some success in the .aar configuration, but there is no .aar equivalent for outbound calls.

James.

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [January 30, 2019, 2:21pm UTC](https://techcommunity.softwareag.com/t/xmlrpcserver-outbound-ws-security/202592/2 "2019-01-30T14:21:03Z")

</div>

Hello James,

I got the following feedback from a colleague. No guarantee it will work 😉

1. prepare configuration of XML/SOAP RPC Server  
a. Make a copy of /WS-Stack/repository, e.g. wssrepo for using with XML/SOAP RPC Server  
b. The repository must contain module rampart.  
c. In the configuration file (axis2.xml) the rampart module must be engaged ( )

2. add WSDL and repository information in configuration file of XML/SOAP RPC Server  
  
  
\<exx-xmm name=“example.xmm”  
soapVersion=“1.1”  
wsdl=“example.wsdl” service=“exampleService”  
port=“exampleServiceSOAP11Port” repository=“wssrepo” \>  
  

3. modify the WSDL file to add the required WS-Policy

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:42pm UTC](https://techcommunity.softwareag.com/t/xmlrpcserver-outbound-ws-security/202592/3 "2021-04-02T15:42:12Z")

</div>


