logoon  windows
Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge


22 July 2015

httpd 2.4.16 VC14 build with
Visual Sudio 2015 RTM

Do not forget to install
the new C++ Redistributable

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored by anyone.

Your donations will help to keep this site alive and well, and continuing the building of the binaries.

Apache HTTPD Server with Axis2/C and Rampart issue MEP issue

Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner

View previous topic :: View next topic  
Author Message

Joined: 29 Sep 2011
Posts: 2

PostPosted: Thu 29 Sep '11 19:16    Post subject: Apache HTTPD Server with Axis2/C and Rampart issue MEP issue Reply with quote

Not sure I am posting this in the right location. I had a web service working and introduced Rampart which is when this issue came about.

Here is the message I am sending:
<soapenv:Envelope xmlns:itr="http://www.itracs.com/WS/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-7" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">6AkYWCxaCOoiBT7QqLC/R0bIM68=</wsse:Password>
            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">qKcdLrqAOYsZojFzapXDdg==</wsse:Nonce>

Message Received:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <faultstring>Could not map the MEP URI to an Axis2/C MEP constant value</faultstring>

<!-- This file was auto-generated from WSDL -->
<!-- by the Apache Axis2 version: 1.5.4  Built on : Dec 19, 2010 (08:18:42 CET) -->
<service name="DataModelWS">
<parameter name="ServiceClass">TestWS</parameter>
<description>Some Server Service
<operation name="GetEquipmentRoot" mep="http://www.w3.org/ns/wsdl/in-out">
<parameter name="wsamapping">http://www.itracs.com/WS/GetEquipmentRoot</parameter>

<!-- Security Stuff -->
<module ref="rampart"/>
  <wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
                <sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
                                <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
                                <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never">
                <sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
                    <sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Always"/>
                <rampc:RampartConfig xmlns:rampc="http://ws.apache.org/rampart/c/policy">

Any help would be appreciated
Back to top
James Blond

Joined: 19 Jan 2006
Posts: 5453
Location: Germany, Next to Hamburg

PostPosted: Fri 30 Sep '11 10:54    Post subject: Reply with quote

Anything in the Axis Log about this?

In the mean while try this
Back to top

Joined: 29 Sep 2011
Posts: 2

PostPosted: Fri 30 Sep '11 18:17    Post subject: Reply with quote

I figured it out actually. SoapUI was sending an additional security portion for the header. Figured that out from running RawCap and looking at the output in WireShark. Thanks for the help!
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1