org.idoox.wasp.wsdl
Class SOAPMethodInfo.PartInfo

java.lang.Object
  extended byorg.idoox.wasp.wsdl.SOAPMethodInfo.PartInfo
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
SOAPMethodInfo

public static class SOAPMethodInfo.PartInfo
extends java.lang.Object
implements java.io.Serializable

This class contains information about one WSDL part.

Since:
4.0
See Also:
Serialized Form

Field Summary
 Member inSchemaElement
          schema 'element' for the part
 Type inSchemaType
          schema 'type' for the part
 boolean isAttachment
          true if the part is message attachment (in MIME: one part = one attachment, so it is simple) (in DIME: if true, it says this part (parameter in method) is attachment (but it is false e.g.
 boolean isSoapHeader
          if the part is declared as a soap:header, then it will not be generated as an argumetnso of the method in the WSDL2Java
 java.lang.String mimeType
          MIME type is set only when processing WSDL with MIME attachments, it has no meaning when processing WSDL with DIME attachments! In MIME it is easy, one part is one attachment.
 Member outSchemaElement
          schema 'element' for the part
 Type outSchemaType
          schema 'type' for the part
 java.lang.String partName
          the name WSDL part
 int partType
          input/inout/output type of the part
 
Constructor Summary
SOAPMethodInfo.PartInfo()
           
 
Method Summary
 void dump(com.idoox.debug.IndentCategory cat)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

partName

public java.lang.String partName
the name WSDL part


partType

public int partType
input/inout/output type of the part


inSchemaType

public Type inSchemaType
schema 'type' for the part


inSchemaElement

public Member inSchemaElement
schema 'element' for the part


outSchemaType

public Type outSchemaType
schema 'type' for the part


isAttachment

public boolean isAttachment
true if the part is message attachment (in MIME: one part = one attachment, so it is simple) (in DIME: if true, it says this part (parameter in method) is attachment (but it is false e.g. when the attachment is hidden inside some structure, so the part itself has a type of this structure and the type *MessageAttachment is a field of this structure)


mimeType

public java.lang.String mimeType
MIME type is set only when processing WSDL with MIME attachments, it has no meaning when processing WSDL with DIME attachments! In MIME it is easy, one part is one attachment. In DIME, "attachments" could be e.g. field of structures, so something like the mime type should be specified for each type of this structures, not for the whole part And we are using general app/binary mime type for trasnfering DIME attachments, so it is not necessary to use this field.


outSchemaElement

public Member outSchemaElement
schema 'element' for the part


isSoapHeader

public boolean isSoapHeader
if the part is declared as a soap:header, then it will not be generated as an argumetnso of the method in the WSDL2Java

Constructor Detail

SOAPMethodInfo.PartInfo

public SOAPMethodInfo.PartInfo()
Method Detail

toString

public java.lang.String toString()

dump

public void dump(com.idoox.debug.IndentCategory cat)