gpt4 book ai didi

org.codehaus.enunciate.contract.jaxws.WebMethod.getDeclaringEndpointInterface()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 11:09:05 26 4
gpt4 key购买 nike

本文整理了Java中org.codehaus.enunciate.contract.jaxws.WebMethod.getDeclaringEndpointInterface()方法的一些代码示例,展示了WebMethod.getDeclaringEndpointInterface()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebMethod.getDeclaringEndpointInterface()方法的具体详情如下:
包路径:org.codehaus.enunciate.contract.jaxws.WebMethod
类名称:WebMethod
方法名:getDeclaringEndpointInterface

WebMethod.getDeclaringEndpointInterface介绍

[英]The declaring web service for this web method.
[中]此web方法的声明web服务。

代码示例

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The target namespace of the rpc message.
 *
 * @return The target namespace of the rpc message.
 */
public String getTargetNamespace() {
 return webMethod.getDeclaringEndpointInterface().getTargetNamespace();
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The target namespace of the rpc message.
 *
 * @return The target namespace of the rpc message.
 */
public String getTargetNamespace() {
 return webMethod.getDeclaringEndpointInterface().getTargetNamespace();
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * The target namespace of the rpc message.
 *
 * @return The target namespace of the rpc message.
 */
public String getTargetNamespace() {
 return webMethod.getDeclaringEndpointInterface().getTargetNamespace();
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * The target namespace of the rpc message.
 *
 * @return The target namespace of the rpc message.
 */
public String getTargetNamespace() {
 return webMethod.getDeclaringEndpointInterface().getTargetNamespace();
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC output message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped response beans.
 *
 * @return A possible response bean name.
 */
public String getResponseBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName + "Response";
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC input message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped request beans.
 *
 * @return A possible request bean name.
 */
public String getRequestBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC output message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped response beans.
 *
 * @return A possible response bean name.
 */
public String getResponseBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName + "Response";
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * This doesn't have anything to do with the spec, but can be used in case a bean is needed to be
 * generated for an RPC input message.  The bean name will be generated in accordance with the instructions
 * given in the specification that apply to document/literal wrapped request beans.
 *
 * @return A possible request bean name.
 */
public String getRequestBeanName() {
 String capitalizedName = this.webMethod.getSimpleName();
 capitalizedName = Character.toString(capitalizedName.charAt(0)).toUpperCase() + capitalizedName.substring(1);
 return this.webMethod.getDeclaringEndpointInterface().getPackage().getQualifiedName() + ".jaxws." + capitalizedName;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The simple name of the method.
 *
 * @return The simple name of the method.
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName();
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The simple name of the method appended with "Response".
 *
 * @return The simple name of the method appended with "Response".
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName() + "Response";
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * The simple name of the method.
 *
 * @return The simple name of the method.
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName();
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * The simple name of the method appended with "Response".
 *
 * @return The simple name of the method appended with "Response".
 */
public String getMessageName() {
 return webMethod.getDeclaringEndpointInterface().getSimpleName() + "." + webMethod.getSimpleName() + "Response";
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The SOAP parameter style of this web method.
 *
 * @return The SOAP parameter style of this web method.
 */
public SOAPBinding.ParameterStyle getSoapParameterStyle() {
 SOAPBinding.ParameterStyle style = getDeclaringEndpointInterface().getSoapParameterStyle();
 SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class);
 if (bindingInfo != null) {
  style = bindingInfo.parameterStyle();
 }
 return style;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * The SOAP parameter style of this web method.
 *
 * @return The SOAP parameter style of this web method.
 */
public SOAPBinding.ParameterStyle getSoapParameterStyle() {
 SOAPBinding.ParameterStyle style = getDeclaringEndpointInterface().getSoapParameterStyle();
 SOAPBinding bindingInfo = getAnnotation(SOAPBinding.class);
 if (bindingInfo != null) {
  style = bindingInfo.parameterStyle();
 }
 return style;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The namespace of the web result.
 *
 * @return The namespace of the web result.
 */
public String getTargetNamespace() {
 String targetNamespace = isImplicitSchemaElement() ? method.getDeclaringEndpointInterface().getTargetNamespace() : "";
 if ((this.annotation != null) && (this.annotation.targetNamespace() != null) && (!"".equals(this.annotation.targetNamespace()))) {
  targetNamespace = this.annotation.targetNamespace();
 }
 return targetNamespace;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

public String getElementNamespace() {
 String targetNamespace = webMethod.getDeclaringEndpointInterface().getTargetNamespace();
 javax.xml.ws.RequestWrapper annotation = webMethod.getAnnotation(javax.xml.ws.RequestWrapper.class);
 if ((annotation != null) && (annotation.localName() != null) && (!"".equals(annotation.targetNamespace()))) {
  targetNamespace = annotation.targetNamespace();
 }
 return targetNamespace;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The target namespace of this web param.
 *
 * @return The target namespace of this web param.
 */
public String getTargetNamespace() {
 String namespace = isImplicitSchemaElement() ? method.getDeclaringEndpointInterface().getTargetNamespace() : "";
 if ((annotation != null) && (annotation.targetNamespace() != null) && (!"".equals(annotation.targetNamespace()))) {
  namespace = annotation.targetNamespace();
 }
 return namespace;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

public String getElementNamespace() {
 String targetNamespace = webMethod.getDeclaringEndpointInterface().getTargetNamespace();
 javax.xml.ws.RequestWrapper annotation = webMethod.getAnnotation(javax.xml.ws.RequestWrapper.class);
 if ((annotation != null) && (annotation.localName() != null) && (!"".equals(annotation.targetNamespace()))) {
  targetNamespace = annotation.targetNamespace();
 }
 return targetNamespace;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

/**
 * The local namespace of the output.
 *
 * @return The local namespace of the output.
 */
public String getElementNamespace() {
 String namespace = webMethod.getDeclaringEndpointInterface().getTargetNamespace();
 javax.xml.ws.ResponseWrapper annotation = webMethod.getAnnotation(javax.xml.ws.ResponseWrapper.class);
 if ((annotation != null) && (annotation.targetNamespace() != null) && (!"".equals(annotation.targetNamespace()))) {
  namespace = annotation.targetNamespace();
 }
 return namespace;
}

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

/**
 * The local namespace of the output.
 *
 * @return The local namespace of the output.
 */
public String getElementNamespace() {
 String namespace = webMethod.getDeclaringEndpointInterface().getTargetNamespace();
 javax.xml.ws.ResponseWrapper annotation = webMethod.getAnnotation(javax.xml.ws.ResponseWrapper.class);
 if ((annotation != null) && (annotation.targetNamespace() != null) && (!"".equals(annotation.targetNamespace()))) {
  namespace = annotation.targetNamespace();
 }
 return namespace;
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com