Sorry, accidentally sent that last message out too early. :P

I'm implementing an encryption handler on a client and a decryption handler on the server. Both handlers are being called when the SOAP request is being made by the client. Using tcpmon, I can see that the client encrypts the SOAP Body correctly. Writing to a log file, I can see that at the end of the invoke method on the server handler that decrypts the packet, the SOAP Body is the exact same as before the encryption on the client side. However, once it leaves the server handler, to the service,
this exception is called.


stackTrace: java.lang.NullPointerException

at org.apache.axis.encoding.DeserializationContextImpl.getTypeMapping(DeserializationContextImpl.java:459)

at org.apache.axis.encoding.DeserializationContextImpl.getDeserializer(DeserializationContextImpl.java:428)

at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:263)

If I don't have the handlers involved, the client can call the web service just fine. I'm wondering what typeMapping is missing that the server can't find now, but can find when the encrypt/decrypt handlers are not present?

Any ideas?

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


Reply via email to