All Examples  XML Examples  BizTalk Example

Class examples.xml.biztalk.BizHttpProtocolAdapter


java.lang.Object

   |

   +----javax.servlet.GenericServlet

           |

           +----javax.servlet.http.HttpServlet

                   |

                   +----examples.xml.biztalk.BizHttpProtocolAdapter


public class BizHttpProtocolAdapter
extends HttpServlet
This servlet is used to accept BizTalk documents via the HTTP POST method and places the document into the incoming queue of the BizTalk server. An initArg named "bizQueue" should be used when registering this servlet to identify the name of the BizTalk server's incoming JMS queue.

Author:
Copyright (c) 2000 by BEA Systems, Inc. All Rights Reserved.

Constructor Index

 o BizHttpProtocolAdapter()

Method Index

 o doPost(HttpServletRequest, HttpServletResponse)
Handles HTTP POST requests
 o init(ServletConfig)
Initializes servlet.

Constructors

 o BizHttpProtocolAdapter

 public BizHttpProtocolAdapter()

Methods

 o init

 public synchronized void init(ServletConfig config) throws ServletException

Initializes servlet.

Parameters:
config - ServletConfig
Throws: ServletException
if there is a servlet problem
Overrides:
init in class GenericServlet
 o doPost

 public final void doPost(HttpServletRequest request,

                          HttpServletResponse response) throws ServletException, IOException

Handles HTTP POST requests

Parameters:
request - HttpServletRequest
response - HttpServletResponse
Throws: ServletException
if there is a servlet problem
Throws: IOException
if there is a I/O problem
Overrides:
doPost in class HttpServlet

All Examples  XML Examples  BizTalk Example