Codota Logo
WSDLModelerBase.error
Code IndexAdd Codota to your IDE (free)

How to use
error
method
in
com.sun.tools.ws.processor.modeler.wsdl.WSDLModelerBase

Best Java code snippets using com.sun.tools.ws.processor.modeler.wsdl.WSDLModelerBase.error (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ScheduledThreadPoolExecutor s =
  • Codota Iconnew ScheduledThreadPoolExecutor(corePoolSize)
  • Codota IconThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
  • Codota IconString str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
  • Smart code suggestions by Codota
}
origin: com.sun.xml.ws/jaxws-tools

private String getMimeContentType(MIMEContent mimeContent){
  String mimeType = mimeContent.getType();
  if(mimeType == null){
    error(mimeContent, ModelerMessages.MIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(info.operation.getName().getLocalPart()));
  }
  return mimeType;
}
origin: javaee/metro-jax-ws

private String getMimeContentType(MIMEContent mimeContent){
  String mimeType = mimeContent.getType();
  if(mimeType == null){
    error(mimeContent, ModelerMessages.MIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(info.operation.getName().getLocalPart()));
  }
  return mimeType;
}
origin: org.glassfish.metro/webservices-tools

private String getMimeContentType(MIMEContent mimeContent){
  String mimeType = mimeContent.getType();
  if(mimeType == null){
    error(mimeContent, ModelerMessages.MIMEMODELER_INVALID_MIME_CONTENT_MISSING_TYPE_ATTRIBUTE(info.operation.getName().getLocalPart()));
  }
  return mimeType;
}
origin: com.sun.xml.ws/jaxws-tools

protected String getResponseNamespaceURI(SOAPBody body) {
  String namespaceURI = body.getNamespace();
  if (namespaceURI == null) {
    if(options.isExtensionMode()){
      return info.modelPort.getName().getNamespaceURI();
    }
    // the WSDL document is invalid
    // at least, that's my interpretation of section 3.5 of the WSDL 1.1 spec!
    error(body, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(info.bindingOperation.getName()));
  }
  return namespaceURI;
}
origin: javaee/metro-jax-ws

protected String getResponseNamespaceURI(SOAPBody body) {
  String namespaceURI = body.getNamespace();
  if (namespaceURI == null) {
    if(options.isExtensionMode()){
      return info.modelPort.getName().getNamespaceURI();
    }
    // the WSDL document is invalid
    // at least, that's my interpretation of section 3.5 of the WSDL 1.1 spec!
    error(body, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(info.bindingOperation.getName()));
  }
  return namespaceURI;
}
origin: com.sun.xml.ws/jaxws-tools

protected String getRequestNamespaceURI(SOAPBody body) {
  String namespaceURI = body.getNamespace();
  if (namespaceURI == null) {
    if(options.isExtensionMode()){
      return info.modelPort.getName().getNamespaceURI();
    }
    // the WSDL document is invalid
    // at least, that's my interpretation of section 3.5 of the WSDL 1.1 spec!
    error(body, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(info.bindingOperation.getName()));
  }
  return namespaceURI;
}
origin: org.glassfish.metro/webservices-tools

protected String getResponseNamespaceURI(SOAPBody body) {
  String namespaceURI = body.getNamespace();
  if (namespaceURI == null) {
    if(options.isExtensionMode()){
      return info.modelPort.getName().getNamespaceURI();
    }
    // the WSDL document is invalid
    // at least, that's my interpretation of section 3.5 of the WSDL 1.1 spec!
    error(body, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(info.bindingOperation.getName()));
  }
  return namespaceURI;
}
origin: org.glassfish.metro/webservices-tools

protected String getRequestNamespaceURI(SOAPBody body) {
  String namespaceURI = body.getNamespace();
  if (namespaceURI == null) {
    if(options.isExtensionMode()){
      return info.modelPort.getName().getNamespaceURI();
    }
    // the WSDL document is invalid
    // at least, that's my interpretation of section 3.5 of the WSDL 1.1 spec!
    error(body, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(info.bindingOperation.getName()));
  }
  return namespaceURI;
}
origin: javaee/metro-jax-ws

protected String getRequestNamespaceURI(SOAPBody body) {
  String namespaceURI = body.getNamespace();
  if (namespaceURI == null) {
    if(options.isExtensionMode()){
      return info.modelPort.getName().getNamespaceURI();
    }
    // the WSDL document is invalid
    // at least, that's my interpretation of section 3.5 of the WSDL 1.1 spec!
    error(body, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_SOAP_BODY_MISSING_NAMESPACE(info.bindingOperation.getName()));
  }
  return namespaceURI;
}
origin: javaee/metro-jax-ws

protected String getResponseNamespaceURI(SOAPBody body) {
  String namespaceURI = body.getNamespace();
  if (namespaceURI == null) {
    if(options.isExtensionMode()){
      return info.modelPort.getName().getNamespaceURI();
    }
    // the WSDL document is invalid
    // at least, that's my interpretation of section 3.5 of the WSDL 1.1 spec!
    error(body, ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_SOAP_BODY_MISSING_NAMESPACE(info.bindingOperation.getName()));
  }
  return namespaceURI;
}
origin: javaee/metro-jax-ws

protected SOAPBody getSOAPRequestBody() {
  SOAPBody requestBody =
    (SOAPBody)getAnyExtensionOfType(info.bindingOperation.getInput(),
      SOAPBody.class);
  if (requestBody == null) {
    // the WSDL document is invalid
    error(info.bindingOperation.getInput(), ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(info.bindingOperation.getName()));
  }
  return requestBody;
}
origin: com.sun.xml.ws/jaxws-tools

protected SOAPBody getSOAPRequestBody() {
  SOAPBody requestBody =
    (SOAPBody)getAnyExtensionOfType(info.bindingOperation.getInput(),
      SOAPBody.class);
  if (requestBody == null) {
    // the WSDL document is invalid
    error(info.bindingOperation.getInput(), ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(info.bindingOperation.getName()));
  }
  return requestBody;
}
origin: com.sun.xml.ws/jaxws-tools

protected SOAPBody getSOAPResponseBody() {
  SOAPBody responseBody =
    (SOAPBody)getAnyExtensionOfType(info.bindingOperation.getOutput(),
      SOAPBody.class);
  if (responseBody == null) {
    // the WSDL document is invalid
    error(info.bindingOperation.getOutput(),  ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(info.bindingOperation.getName()));
  }
  return responseBody;
}
origin: org.glassfish.metro/webservices-tools

protected SOAPBody getSOAPResponseBody() {
  SOAPBody responseBody =
    (SOAPBody)getAnyExtensionOfType(info.bindingOperation.getOutput(),
      SOAPBody.class);
  if (responseBody == null) {
    // the WSDL document is invalid
    error(info.bindingOperation.getOutput(),  ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(info.bindingOperation.getName()));
  }
  return responseBody;
}
origin: javaee/metro-jax-ws

protected SOAPBody getSOAPRequestBody() {
  SOAPBody requestBody =
    (SOAPBody)getAnyExtensionOfType(info.bindingOperation.getInput(),
      SOAPBody.class);
  if (requestBody == null) {
    // the WSDL document is invalid
    error(info.bindingOperation.getInput(), ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(info.bindingOperation.getName()));
  }
  return requestBody;
}
origin: org.glassfish.metro/webservices-tools

protected SOAPBody getSOAPRequestBody() {
  SOAPBody requestBody =
    (SOAPBody)getAnyExtensionOfType(info.bindingOperation.getInput(),
      SOAPBody.class);
  if (requestBody == null) {
    // the WSDL document is invalid
    error(info.bindingOperation.getInput(), ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_INPUT_MISSING_SOAP_BODY(info.bindingOperation.getName()));
  }
  return requestBody;
}
origin: javaee/metro-jax-ws

protected SOAPBody getSOAPResponseBody() {
  SOAPBody responseBody =
    (SOAPBody)getAnyExtensionOfType(info.bindingOperation.getOutput(),
      SOAPBody.class);
  if (responseBody == null) {
    // the WSDL document is invalid
    error(info.bindingOperation.getOutput(),  ModelerMessages.WSDLMODELER_INVALID_BINDING_OPERATION_OUTPUT_MISSING_SOAP_BODY(info.bindingOperation.getName()));
  }
  return responseBody;
}
origin: com.sun.xml.ws/jaxws-tools

private MessagePart getMimeContentPart(Message message, MIMEPart part) {
  for( MIMEContent mimeContent : getMimeContents(part) ) {
    String mimeContentPartName = mimeContent.getPart();
    MessagePart mPart = message.getPart(mimeContentPartName);
    //RXXXX mime:content MUST have part attribute
    if(null == mPart) {
      error(mimeContent,  ModelerMessages.WSDLMODELER_ERROR_PARTS_NOT_FOUND(mimeContentPartName, message.getName()));
    }
    mPart.setBindingExtensibilityElementKind(MessagePart.WSDL_MIME_BINDING);
    return mPart;
  }
  return null;
}
origin: org.glassfish.metro/webservices-tools

private MessagePart getMimeContentPart(Message message, MIMEPart part) {
  for( MIMEContent mimeContent : getMimeContents(part) ) {
    String mimeContentPartName = mimeContent.getPart();
    MessagePart mPart = message.getPart(mimeContentPartName);
    //RXXXX mime:content MUST have part attribute
    if(null == mPart) {
      error(mimeContent,  ModelerMessages.WSDLMODELER_ERROR_PARTS_NOT_FOUND(mimeContentPartName, message.getName()));
    }
    mPart.setBindingExtensibilityElementKind(MessagePart.WSDL_MIME_BINDING);
    return mPart;
  }
  return null;
}
origin: javaee/metro-jax-ws

private MessagePart getMimeContentPart(Message message, MIMEPart part) {
  for( MIMEContent mimeContent : getMimeContents(part) ) {
    String mimeContentPartName = mimeContent.getPart();
    MessagePart mPart = message.getPart(mimeContentPartName);
    //RXXXX mime:content MUST have part attribute
    if(null == mPart) {
      error(mimeContent,  ModelerMessages.WSDLMODELER_ERROR_PARTS_NOT_FOUND(mimeContentPartName, message.getName()));
    }
    mPart.setBindingExtensibilityElementKind(MessagePart.WSDL_MIME_BINDING);
    return mPart;
  }
  return null;
}
com.sun.tools.ws.processor.modeler.wsdlWSDLModelerBaseerror

Popular methods of WSDLModelerBase

  • getAnyExtensionOfType
  • getExtensionOfType
  • getInputMessage
  • getMessageParts
  • getMimeContentPart
  • getMimeContentPartName
  • getMimeContentParts
  • getMimeContentType
  • getMimeContents
  • getMimeParts
  • getOutputMessage
  • getQNameOf
  • getOutputMessage,
  • getQNameOf,
  • getSOAPRequestBody,
  • getSOAPResponseBody,
  • isConflictingClassName,
  • isProvider,
  • isRootPart,
  • isStyleAndPartMatch,
  • validateMimeContentPartNames

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • startActivity (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • ConcurrentHashMap (java.util.concurrent)
    A hash table supporting full concurrency of retrievals and adjustable expected concurrency for updat
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now