Java Code Examples for com.sun.xml.internal.ws.api.model.ParameterBinding#isBody()
The following examples show how to use
com.sun.xml.internal.ws.api.model.ParameterBinding#isBody() .
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: SOAPSEIModel.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 2
Source File: SOAPSEIModel.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 3
Source File: SOAPSEIModel.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 4
Source File: SOAPSEIModel.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 5
Source File: SOAPSEIModel.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 6
Source File: SOAPSEIModel.java From hottub with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 7
Source File: SOAPSEIModel.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 8
Source File: SOAPSEIModel.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
@Override protected void populateMaps() { int emptyBodyCount = 0; for(JavaMethodImpl jm : getJavaMethods()){ put(jm.getMethod(), jm); boolean bodyFound = false; for(ParameterImpl p:jm.getRequestParameters()){ ParameterBinding binding = p.getBinding(); if(binding.isBody()){ put(p.getName(), jm); bodyFound = true; } } if(!bodyFound){ put(emptyBodyName, jm); // System.out.println("added empty body for: "+jm.getMethod().getName()); emptyBodyCount++; } } if(emptyBodyCount > 1){ //TODO throw exception // System.out.println("Error: Unqiue signature violation - more than 1 empty body!"); } }
Example 9
Source File: WSDLGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }
Example 10
Source File: WSDLGenerator.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }
Example 11
Source File: WSDLGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }
Example 12
Source File: WSDLGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }
Example 13
Source File: WSDLGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }
Example 14
Source File: WSDLGenerator.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }
Example 15
Source File: WSDLGenerator.java From openjdk-8-source with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }
Example 16
Source File: WSDLGenerator.java From openjdk-8 with GNU General Public License v2.0 | 2 votes |
/** * Determines if a parameter is associated with the message Body * @param parameter the parameter to check * @return true if the parameter is a <code>body</code> parameter */ protected boolean isBodyParameter(ParameterImpl parameter) { ParameterBinding paramBinding = parameter.getBinding(); return paramBinding.isBody(); }