Borland Software Water System silk perforator java explorer 2006 release 2 Manuel d'utilisateur Page 75

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 110
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 74
SilkPerformer Java Explorer User Guide 71
3 S
ETTING UP TESTS
Negative Testing
Web Service Emitter Timeout
When generating Web service stub code for large WSDL files, the process of
generating the Java source code may take longer then the default timeout
specified by the Axis library. The following exception will be generated:
com.segue.jexplorer.datatyp.exception.JExpWsdlException: Failed to
generate Web Service proxy library(webAxisProxy1.jar).: Failed to create
java source from WSDL.: java.io.IOException:WSDL2Java emitter timed out
(this often means the WSDL at the specified URL is inaccessible)! at
com.segue.jexplorer.runtime.plugin.impl.webservice.axis.JExpAxisProxyGen
.generateProxyLibrary(JExpAxisProxyGen.java:272) at
com.segue.jexplorer.runtime.plugin.impl.webservice.axis.JExpAxisProxyGen
.generateProxy(JExpAxisProxyGen.java:138) at
com.segue.jexplorer.runtime.communication.JExpRuntimeOperation.generateW
ebServiceProxy(JExpRuntimeOperation.java:772)
Specifying a timeout Java Explorer allows you to specify a WSDL2Java emitter timeout in a
configuration file called webservice.properties. The property in the file must be
called emitter.timeout. The value must be specified in milliseconds.
<install dir>\Java Explorer\Startup\webservice.properties:
# for generating Web Service stub code with axis libraries
# a timeout in milliseconds maybe specified for the emitter to
# generate the source files
emitter.timeout=5000
Negative Testing
Although extended support for negative testing is not available, expected
exceptions can be ignored. See “Ignoring Expected Exceptions” for details.
Vue de la page 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 109 110

Commentaires sur ces manuels

Pas de commentaire