    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.

##

BizHttpProtocolAdapter()

##

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

##

BizHttpProtocolAdapter

     public BizHttpProtocolAdapter()

##

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

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