A web server use the jabber component protocol to connect with wildfire

I would like to develop a web server using the jabber component protocol to connect with wildfire .

It means that the IM client connect with the web server by HTTP protocol and the web server connect with wildfire

by the jabber component protocol.

The web server is only a web server for IM client but is a component for wildfire.

is it feasibility? Can the web server help IM client to send or receive message?

I have known how to create connection between web server as a component and wildfire by Jabber component ]

protocol ,but I don’'t kown how the web server (component) help IM client to send login data and other message

to wildfire.

Because the jabber comonent protocol only refer to how to create connection between a component and jabber

server but not refer to how to transfer the message eg user login imformation from IM client. to wildfire.

Ask for help!