org.apache.axis.wsdl
Class WsdlAttributes

java.lang.Object
  |
  +--org.apache.axis.wsdl.WsdlAttributes

public class WsdlAttributes
extends java.lang.Object

This class provides attribute storage for elements in the WSDL document It is used to answer questions about items that are tough to reach. For example finding out something about the operation in a binding when you are working with an operation in a portType.

Author:
Tom Jordahl (tjordahl@macromedia.com)

Field Summary
static int STYLE_DOCUMENT
           
static int STYLE_RPC
           
static int TYPE_HTTP_GET
           
static int TYPE_HTTP_POST
           
static int TYPE_SOAP
           
static int USE_ENCODED
           
static int USE_LITERAL
           
 
Constructor Summary
WsdlAttributes(javax.wsdl.Definition def, java.util.HashMap attibutes)
          Constructor takes WSDL document and attribute map
 
Method Summary
 int getBindingStyle(javax.wsdl.Binding binding)
          Return Soap binding style: document or rpc
 int getBindingType(javax.wsdl.Binding binding)
          Return binding type: Soap, HTTP get, HTTP post
 int getFaultBodyType(javax.wsdl.Operation operation)
          Return body type of operation: literal or encoded
 int getInputBodyType(javax.wsdl.Operation operation)
          Return body type of operation: literal or encoded
 int getOutputBodyType(javax.wsdl.Operation operation)
          Return body type of operation: literal or encoded
 boolean isInSoapBinding(javax.wsdl.PortType port)
          Return true if this portType is referenced in a Soap binding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USE_ENCODED

public static final int USE_ENCODED

USE_LITERAL

public static final int USE_LITERAL

STYLE_RPC

public static final int STYLE_RPC

STYLE_DOCUMENT

public static final int STYLE_DOCUMENT

TYPE_SOAP

public static final int TYPE_SOAP

TYPE_HTTP_GET

public static final int TYPE_HTTP_GET

TYPE_HTTP_POST

public static final int TYPE_HTTP_POST
Constructor Detail

WsdlAttributes

public WsdlAttributes(javax.wsdl.Definition def,
                      java.util.HashMap attibutes)
Constructor takes WSDL document and attribute map
Method Detail

getInputBodyType

public int getInputBodyType(javax.wsdl.Operation operation)
Return body type of operation: literal or encoded

getOutputBodyType

public int getOutputBodyType(javax.wsdl.Operation operation)
Return body type of operation: literal or encoded

getFaultBodyType

public int getFaultBodyType(javax.wsdl.Operation operation)
Return body type of operation: literal or encoded

getBindingStyle

public int getBindingStyle(javax.wsdl.Binding binding)
Return Soap binding style: document or rpc

getBindingType

public int getBindingType(javax.wsdl.Binding binding)
Return binding type: Soap, HTTP get, HTTP post

isInSoapBinding

public boolean isInSoapBinding(javax.wsdl.PortType port)
Return true if this portType is referenced in a Soap binding


Copyright © 2001 Apache XML Project. All Rights Reserved.