Reg. message ID: BAY108-DAV6AE19CD9C371CBB93AB9CAE930 () phx ! gbl
Hi everyone,
Is there any resolution to this? I'm facing the same issue and I'm using Axis
2 and rampart module 1.3.
If I just send a SOAP message with an empty security header my method gets
called.
POST /axis2/services/sample03 HTTP/1.1
User-Agent: Axis2
SOAPAction: urn:echo
Host: localhost:18088
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8
1ba
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
soapenv:mustUnderstand="1" /></soapenv:Header><soapenv:Body><ns1:echo
xmlns:ns1="
Hello' target=_blank
rel=nofollow>http://sample03.samples.rampart.apache.org/xsd"><param0>Hello
world</param0></ns1:echo></soapenv:Body></soapenv:Envelope>
0
Response:
HTTP/1.1 200 OK
Date: Fri, 04 Jan 2008 15:59:48 GMT
Server: Simple-Server/1.1
Transfer-Encoding: chunked
Content-Type: text/xml; charset=UTF-8
133
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header
/><soapenv:Body><ns:echoResponse xmlns:ns="Hello' target=_blank
rel=nofollow>http://sample03.samples.rampart.apache.org/xsd"><ns:return>Hello
world</ns:return></ns:echoResponse></soapenv:Body></soapenv:Envelope>
0
After debugging I relized that the handle() method from the
MyServiceCallbackHandler is not getting called although the handler is getting
invoked (tested by adding an empty constructor to the class).
Your help is much appreciated.
Thank you.
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.