Hello,

I run into a problem using wss4j in axis1.

After the successful logged decrypted Message found in the log

2006-11-06 13:04:04,737 DEBUG [http-8280-Processor24] org.apache.axis.providers.java.RPCProvider: body is <ns1:hallo soapenv:encodingStyle="http:// schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://aa"; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><name xsi:type="xsd:string" xml ns:xsi="http://www.w3.org/2001/XMLSchema-instance";>Berlin_to_encrypt</name></ns1:hallo>

following exception occured:

2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.enterprise: Mapping Exception to AxisFault org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145) at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:81) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)

Before that, I see following debug message in the log

2006-11-06 13:04:04,737 DEBUG [http-8280-Processor24] org.apache.axis.i18n.ProjectResourceBundle: org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 2006-11-06 13:04:04,737 DEBUG [http-8280-Processor24] org.apache.axis.encoding.DeserializationContext:Pushing handler [EMAIL PROTECTED] 2006-11-06 13:04:04,737 DEBUG [http-8280-Processor24] org.apache.axis.encoding.DeserializationContext: Enter: DeserializationContext::startPrefixMapping(ns1, http://aa) 2006-11-06 13:04:04,737 DEBUG [http-8280-Processor24] org.apache.axis.utils.NSStack: NSPush (32) 2006-11-06 13:04:04,737 DEBUG [http-8280-Processor24] org.apache.axis.utils.NSStack: NSPush (32) 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.encoding.DeserializationContext: Exit: DeserializationContext::startPrefixMapping() 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.encoding.DeserializationContext: Enter: DeserializationContext::startElement(http://aa, hallo) 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.message.RPCHandler: Enter: RPCHandler.onStartChild() 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.i18n.ProjectResourceBundle: org.apache.axis.i18n.resource::handleGetObject(typeFromAttr00) 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.message.RPCHandler: Type from attributes is: null 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.message.RPCHandler: Exit: RPCHandler.onStartChild() 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.i18n.ProjectResourceBundle: org.apache.axis.i18n.resource::handleGetObject(pushHandler00) 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.encoding.DeserializationContext: Pushing handler [EMAIL PROTECTED] 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.encoding.DeserializationContext: Exit: DeserializationContext::startElement() 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.encoding.DeserializationContext: Enter: DeserializationContext::startElement( , name) 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.i18n.ProjectResourceBundle: org.apache.axis.i18n.resource::handleGetObject(cantHandle00) 2006-11-06 13:04:04,738 DEBUG [http-8280-Processor24] org.apache.axis.i18n.ProjectResourceBundle: org.apache.axis.i18n.resource::handleGetObject(toAxisFault00

Following logging entries are strange:
org.apache.axis.message.RPCHandler: Type from attributes is:  null

and

org.apache.axis.encoding.DeserializationContext: Enter: DeserializationContext::startElement( , name)



Does that message have any impact in this problem ?
Does anybody have an idea, what can be the reason for that behaviour ?
Does there any other debugging possibilities ?

Thanks !

Mathias
begin:vcard
fn;quoted-printable:Mathias L=C3=B6sche
n;quoted-printable:L=C3=B6sche;Mathias
org;quoted-printable:Ausw=C3=A4rtiges Amt der Bundesrepublik Deutschland / Federal Foreign Off=
	ice of Germany;IT Netzbetrieb / IT Operations
adr;quoted-printable:Werderscher Markt 1;;Ausw=C3=A4rtiges Amt ;Berlin;;10117;Germany
email;internet:[EMAIL PROTECTED]
tel;work:+49/1888-17-2145
tel;fax:+49/1888-17-52145
url:http://www.auswaertiges-amt.de
version:2.1
end:vcard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to