axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <deep...@gmail.com>
Subject Re: custom transport
Date Wed, 07 Nov 2007 17:42:02 GMT
mathieu fabre wrote:
> hi,
>  
> I would like to implement my own transport in xmpp (jabber)
> i write a XMPPTransportSender and a XMPPSimple Server like for the
> http transport.
> i add these sender and receiver in the axis2.xml config file.
Well we have already implement the XMPP transport , will commit soon.  :)
>  
> The client extract the soap message from the messageContext and send
> it to a chat (in the invoke method)
> using the "writeWithCommon" method (which is the client method)
>  
> The server receive the soap message via the chat and recreate the
> messageContext using
> transportUtils class.
>  
> My problem : i obtain an exception when i send the message context to
> axis engine - AxisEngine.receive(messageContext)
>  
> the exception is :
>  
> org.apache.axis2.fault : org.apache.axis2.databinding.ADBException :
> Unexpected subelement header...
You need to extract the SOAP message from the XMPP message and then need
to set the SOAP message to the the message context.

Thanks
Deepal

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message