All Downloads are FREE. Search and download functionalities are using the official Maven repository.

calaxb_2.10.0-RC1.1.0.0-RC1.source-code.soapenvelope12.scala.template Maven / Gradle / Ivy

Go to download

scalaxb is an XML data-binding tool for Scala that supports W3C XML Schema (xsd) and wsdl.

The newest version!
// Generated by scalaxb.
package soapenvelope12


case class Envelope(Header: Option[soapenvelope12.Header] = None,
  Body: soapenvelope12.Body,
  attributes: Map[String, scalaxb.DataRecord[Any]])


/** 
	  Elements replacing the wildcard MUST be namespace qualified, but can be in the targetNamespace
	  
*/
case class Header(any: Seq[scalaxb.DataRecord[Any]] = Nil,
  attributes: Map[String, scalaxb.DataRecord[Any]])


case class Body(any: Seq[scalaxb.DataRecord[Any]] = Nil,
  attributes: Map[String, scalaxb.DataRecord[Any]])


/** 
	    Fault reporting structure
	  
*/
case class Fault(Code: soapenvelope12.Faultcode,
  Reason: soapenvelope12.Faultreason,
  Node: Option[java.net.URI] = None,
  Role: Option[java.net.URI] = None,
  Detail: Option[soapenvelope12.Detail] = None)


case class Faultreason(Text: soapenvelope12.Reasontext*)


case class Reasontext(value: String,
  xmllang: String)


case class Faultcode(Value: soapenvelope12.FaultcodeEnum,
  Subcode: Option[soapenvelope12.Subcode] = None)

trait FaultcodeEnum

object FaultcodeEnum {
  def fromString(value: String): FaultcodeEnum = value match {
    case "tns:DataEncodingUnknown" => TnsDataEncodingUnknown
    case "tns:MustUnderstand" => TnsMustUnderstand
    case "tns:Receiver" => TnsReceiver
    case "tns:Sender" => TnsSender
    case "tns:VersionMismatch" => TnsVersionMismatch

  }
}

case object TnsDataEncodingUnknown extends FaultcodeEnum { override def toString = "tns:DataEncodingUnknown" }
case object TnsMustUnderstand extends FaultcodeEnum { override def toString = "tns:MustUnderstand" }
case object TnsReceiver extends FaultcodeEnum { override def toString = "tns:Receiver" }
case object TnsSender extends FaultcodeEnum { override def toString = "tns:Sender" }
case object TnsVersionMismatch extends FaultcodeEnum { override def toString = "tns:VersionMismatch" }


case class Subcode(Value: javax.xml.namespace.QName,
  Subcode: Option[soapenvelope12.Subcode] = None)


case class Detail(any: Seq[scalaxb.DataRecord[Any]] = Nil,
  attributes: Map[String, scalaxb.DataRecord[Any]])


case class NotUnderstoodType(qname: javax.xml.namespace.QName)


case class SupportedEnvType(qname: javax.xml.namespace.QName)


case class UpgradeType(SupportedEnvelope: soapenvelope12.SupportedEnvType*)





© 2015 - 2025 Weber Informatics LLC | Privacy Policy