public Boolean isHttpCookies() { BooleanAttr cookiesUsed = (BooleanAttr) ((WSDLElement)getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_COOKIES); return cookiesUsed != null ? cookiesUsed.getBoolean() : new Boolean(false); //defaults to false if omitted }
public Boolean isHttpLocationIgnoreUncited() { BooleanAttr ignoreUncited = (BooleanAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_IGNORE_UNCITED); return ignoreUncited != null ? ignoreUncited.getBoolean() : new Boolean(false); }
public URI getSoapUnderlyingProtocol() { URIAttr protocol = (URIAttr) ((WSDLElement)getParent()) .getExtensionAttribute(SOAPConstants.Q_ATTR_SOAP_PROTOCOL); return protocol != null ? protocol.getURI() : null; }
public String getHttpMethodDefault() { StringAttr methodDef = (StringAttr) ((WSDLElement)getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_METHOD_DEFAULT); return methodDef != null ? methodDef.getString() : null; }
public URI getSoapMep() { URIAttr mep = (URIAttr) ((WSDLElement)getParent()) .getExtensionAttribute(SOAPConstants.Q_ATTR_SOAP_MEP); return mep != null ? mep.getURI() : null; }
public String getHttpFaultSerialization() { StringAttr serialization = (StringAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_FAULT_SERIALIZATION); return serialization != null ? serialization.getString() : HTTPConstants.SERIAL_APP_XML; }
public String getHttpContentEncoding() { String ce = null; StringAttr contEncoding = (StringAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING); if(contEncoding != null) { ce = contEncoding.getString(); } return ce; }
public URI getSoapMepDefault() { URIAttr mepDefault = (URIAttr) ((WSDLElement)getParent()) .getExtensionAttribute(SOAPConstants.Q_ATTR_SOAP_MEPDEFAULT); return mepDefault != null ? mepDefault.getURI() : null; }
public String getHttpAuthenticationRealm() { StringAttr realm = (StringAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_AUTHENTICATION_REALM); return realm != null ? realm.getString() : null; }
public String getHttpContentEncodingDefault() { StringAttr contEncodingDef = (StringAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT); return contEncodingDef != null ? contEncodingDef.getString() : null; }
public URI getSoapMep() { URIAttr mep = (URIAttr) ((WSDLElement)getParent()) .getExtensionAttribute(SOAPConstants.Q_ATTR_SOAP_MEP); return mep != null ? mep.getURI() : null; }
public String getHttpContentEncoding() { String ce = null; StringAttr contEncoding = (StringAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING); if(contEncoding != null) { ce = contEncoding.getString(); } return ce; }
public String getHttpContentEncoding() { StringAttr contentEncoding = (StringAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING); return (contentEncoding != null ? contentEncoding.getString() : null); }
public String getSoapVersion() { StringAttr version = (StringAttr) ((WSDLElement)getParent()) .getExtensionAttribute(SOAPConstants.Q_ATTR_SOAP_VERSION); return version != null ? version.getString() : "1.2"; }
public URI getSoapUnderlyingProtocol() { URIAttr protocol = (URIAttr) ((WSDLElement)getParent()) .getExtensionAttribute(SOAPConstants.Q_ATTR_SOAP_PROTOCOL); return protocol != null ? protocol.getURI() : null; }
public String getHttpMethodDefault() { StringAttr methodDef = (StringAttr) ((WSDLElement)getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_METHOD_DEFAULT); return methodDef != null ? methodDef.getString() : null; }
public String getHttpContentEncodingDefault() { StringAttr ceDef = (StringAttr) ((WSDLElement)getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_CONTENT_ENCODING_DEFAULT); return ceDef != null ? ceDef.getString() : null; }
public ExtensionProperty getProperty(String propertyName) { if(WSDLExtensionConstants.PROP_SAFE.equals(propertyName) ) { BooleanAttr safe = (BooleanAttr) ((WSDLElement)getParent()) .getExtensionAttribute(WSDLExtensionConstants.Q_ATTR_SAFE); return newExtensionProperty(WSDLExtensionConstants.PROP_SAFE, safe != null ? safe.getBoolean() : Boolean.FALSE); } else { return null; //the specified property name does not exist } }
public ExtensionProperty getProperty(String propertyName) { if(WSDLExtensionConstants.PROP_SAFE.equals(propertyName) ) { BooleanAttr safe = (BooleanAttr) ((WSDLElement)getParent()) .getExtensionAttribute(WSDLExtensionConstants.Q_ATTR_SAFE); return newExtensionProperty(WSDLExtensionConstants.PROP_SAFE, safe != null ? safe.getBoolean() : Boolean.FALSE); } else { return null; //the specified property name does not exist } }
public HTTPLocation getHttpLocation() { StringAttr httpLoc = (StringAttr) ((WSDLElement) getParent()) .getExtensionAttribute(HTTPConstants.Q_ATTR_LOCATION); return httpLoc != null ? new HTTPLocation(httpLoc.getString()) : null; }