/** * Get SOAP version being used. * * @return version */ public String getSoapVersionURI() { if (soapVersionURI == null && parent != null) { return parent.getSoapVersionURI(); } return soapVersionURI == null ? SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI : soapVersionURI; }
/** * Get SOAP version being used. * * @return version */ public String getSoapVersionURI() { if (soapVersionURI == null && parent != null) { return parent.getSoapVersionURI(); } return soapVersionURI == null ? SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI : soapVersionURI; }
private static SOAPFactory getSOAPFactory(Options options) { String soapVersionURI = options.getSoapVersionURI(); if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapVersionURI)) { return OMAbstractFactory.getSOAP12Factory(); } else { // make the SOAP 1.1 the default SOAP version return OMAbstractFactory.getSOAP11Factory(); } } }
/** * Return the SOAP factory to use depending on what options have been set. If the SOAP version * can not be seen in the options, version 1.1 is the default. * * @return the SOAP factory * @see Options#setSoapVersionURI(String) */ private SOAPFactory getSOAPFactory() { String soapVersionURI = options.getSoapVersionURI(); if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapVersionURI)) { return OMAbstractFactory.getSOAP12Factory(); } else { // make the SOAP 1.1 the default SOAP version return OMAbstractFactory.getSOAP11Factory(); } }
/** * Create a SOAP message envelope using the supplied options. * TODO generated stub code should use this method, or similar method taking * an operation client * * @param options * @return generated * @throws SOAPProcessingException */ protected static SOAPEnvelope createEnvelope(Options options) throws SOAPProcessingException { return getFactory(options.getSoapVersionURI()).getDefaultEnvelope(); }
/** * Create a SOAP message envelope using the supplied options. * TODO generated stub code should use this method, or similar method taking * an operation client * * @param options * @return generated * @throws SOAPProcessingException */ protected static SOAPEnvelope createEnvelope(Options options) throws SOAPProcessingException { return getFactory(options.getSoapVersionURI()).getDefaultEnvelope(); }
/** * Return the SOAP factory to use depending on what options have been set. If the SOAP version * can not be seen in the options, version 1.1 is the default. * * @return the SOAP factory * @see Options#setSoapVersionURI(String) */ private SOAPFactory getSOAPFactory() { String soapVersionURI = options.getSoapVersionURI(); if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapVersionURI)) { return OMAbstractFactory.getSOAP12Factory(); } else { // make the SOAP 1.1 the default SOAP version return OMAbstractFactory.getSOAP11Factory(); } }
/** * Copied from {@link ServiceClient} */ protected SOAPFactory getSOAPFactory() { final String soapVersionURI = getOptions().getSoapVersionURI(); if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapVersionURI)) { return OMAbstractFactory.getSOAP12Factory(); } else { // make the SOAP 1.1 the default SOAP version return OMAbstractFactory.getSOAP11Factory(); } }
private SOAPFactory getSOAPFactory() { String soapVersionURI = getOptions().getSoapVersionURI(); if (SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI.equals(soapVersionURI)) { return OMAbstractFactory.getSOAP12Factory(); } else { // make the SOAP 1.1 the default SOAP version return OMAbstractFactory.getSOAP11Factory(); } }
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), deleteEmployee9, optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice/samples/batch_request_sample",
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), dummyWrappedType, optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice/samples/dtp_sample",
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), dummyWrappedType, optimizeContent(new javax.xml.namespace.QName("http://service.tracer.carbon.wso2.org",
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), dummyWrappedType, optimizeContent(new javax.xml.namespace.QName("http://ws.wso2.org/dataservice/samples/rdbms_sample",
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), openID25, dummyWrappedType,
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), resourceFinder88, dummyWrappedType,
env = toEnvelope(getFactory(_operationClient.getOptions().getSoapVersionURI()), resourceFinder61, dummyWrappedType,
org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); env = factory.getDefaultEnvelope();
org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); env = factory.getDefaultEnvelope();
org.apache.axiom.soap.SOAPFactory factory = getFactory(_operationClient.getOptions().getSoapVersionURI()); env = factory.getDefaultEnvelope();
clonedOptions.setExceptionToBeThrownOnSOAPFault(options.isExceptionToBeThrownOnSOAPFault()); clonedOptions.setManageSession(options.isManageSession()); clonedOptions.setSoapVersionURI(options.getSoapVersionURI()); clonedOptions.setTimeOutInMilliSeconds(options.getTimeOutInMilliSeconds()); clonedOptions.setUseSeparateListener(options.isUseSeparateListener());