alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Axis 2 example source code file (MessageContext.java)

This example Axis 2 source code file (MessageContext.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Axis 2 tags/keywords

application, http_request_method, message_outbound_property, object, object, outbound_message_attachments, scope, scope, servlet_context, string, string, util, wsdl_operation, wsdl_port, wsdl_service

The Axis 2 MessageContext.java source code

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements. See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership. The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
package javax.xml.ws.handler;

import java.util.Map;

public interface MessageContext extends Map<String, Object> {

    public enum Scope {
        APPLICATION,  
        HANDLER
    }

    public abstract void setScope(String s, Scope scope);

    public abstract Scope getScope(String s);

    public static final String MESSAGE_OUTBOUND_PROPERTY = "javax.xml.ws.handler.message.outbound";
    public static final String WSDL_DESCRIPTION = "javax.xml.ws.wsdl.description";
    public static final String WSDL_SERVICE = "javax.xml.ws.wsdl.service";
    public static final String WSDL_PORT = "javax.xml.ws.wsdl.port";
    public static final String WSDL_INTERFACE = "javax.xml.ws.wsdl.interface";
    public static final String WSDL_OPERATION = "javax.xml.ws.wsdl.operation";
    public static final String HTTP_RESPONSE_CODE = "javax.xml.ws.http.response.code";
    public static final String HTTP_REQUEST_HEADERS = "javax.xml.ws.http.request.headers";
    public static final String HTTP_RESPONSE_HEADERS = "javax.xml.ws.http.response.headers";
    public static final String HTTP_REQUEST_METHOD = "javax.xml.ws.http.request.method";
    public static final String SERVLET_REQUEST = "javax.xml.ws.servlet.request";
    public static final String SERVLET_RESPONSE = "javax.xml.ws.servlet.response";
    public static final String SERVLET_CONTEXT = "javax.xml.ws.servlet.context";
    public static final String INBOUND_MESSAGE_ATTACHMENTS = "javax.xml.ws.binding.attachments.inbound";
    public static final String OUTBOUND_MESSAGE_ATTACHMENTS = "javax.xml.ws.binding.attachments.outbound";
    public static final String QUERY_STRING = "javax.xml.ws.http.request.querystring";
    public static final String PATH_INFO = "javax.xml.ws.http.request.pathinfo"; 
}

Other Axis 2 examples (source code examples)

Here is a short list of links related to this Axis 2 MessageContext.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.