Java Code Examples for javax.jws.soap.SOAPBinding.Style#DOCUMENT
The following examples show how to use
javax.jws.soap.SOAPBinding.Style#DOCUMENT .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BindingHelper.java From syndesis with Apache License 2.0 | 5 votes |
BindingHelper(BindingMessageInfo bindingMessageInfo) throws ParserException, ParserConfigurationException { this.bindingMessageInfo = bindingMessageInfo; this.bindingOperation = bindingMessageInfo.getBindingOperation(); this.schemaCollection = bindingMessageInfo.getBindingOperation().getBinding().getService().getXmlSchemaCollection(); SoapOperationInfo soapOperationInfo = bindingOperation.getExtensor(SoapOperationInfo.class); SoapBindingInfo soapBindingInfo = (SoapBindingInfo) bindingOperation.getBinding(); soapVersion = soapBindingInfo.getSoapVersion(); // get binding style if (soapOperationInfo.getStyle() != null) { style = Style.valueOf(soapOperationInfo.getStyle().toUpperCase(Locale.US)); } else if (soapBindingInfo.getStyle() != null) { style = Style.valueOf(soapBindingInfo.getStyle().toUpperCase(Locale.US)); } else { style = Style.DOCUMENT; } // get body binding SoapBodyInfo soapBodyInfo = bindingMessageInfo.getExtensor(SoapBodyInfo.class); List<SoapHeaderInfo> soapHeaders = bindingMessageInfo.getExtensors(SoapHeaderInfo.class); bodyParts = soapBodyInfo.getParts(); // get any headers as MessagePartInfos hasHeaders = soapHeaders != null && !soapHeaders.isEmpty(); headerParts = hasHeaders ? soapHeaders.stream().map(SoapHeaderInfo::getPart).collect(Collectors.toList()) : null; // get required body use Use use = Use.valueOf(soapBodyInfo.getUse().toUpperCase(Locale.US)); if (ENCODED.equals(use)) { // TODO could we add support for RPC/encoded messages by setting schema type to any?? throw new ParserException("Messages with use='encoded' are not supported"); } // Document builder for create schemaset this.documentBuilder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); }
Example 2
Source File: WSDLBoundPortTypeImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }
Example 3
Source File: WSDLBoundPortTypeImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }
Example 4
Source File: SOAPBinding.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 5
Source File: WSDLBoundPortTypeImpl.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }
Example 6
Source File: SOAPBinding.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 7
Source File: WSDLBoundPortTypeImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }
Example 8
Source File: SOAPBinding.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 9
Source File: WSDLBoundPortTypeImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }
Example 10
Source File: SOAPBinding.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 11
Source File: SOAPBinding.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 12
Source File: SOAPBinding.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 13
Source File: WSDLBoundPortTypeImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }
Example 14
Source File: SOAPBinding.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 15
Source File: WSDLBoundPortTypeImpl.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }
Example 16
Source File: SOAPBinding.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * Returns true if its document/literal */ public boolean isDocLit() { return style == Style.DOCUMENT && use == Use.LITERAL; }
Example 17
Source File: WSDLBoundPortTypeImpl.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public boolean isDoclit(){ return Style.DOCUMENT==style; }