Chapter 8 Working with Web Services


Understanding the Web service .svc_java file

The svc_java file defines a Java Web service, an svc_java file is generated for each Java Web service.

Each svc_java file contains the following fields:

Field Component property
serviceName Web service component code
serviceComment Web service component comment
projectName Last directory name of the generation full path
serviceFilename %serviceName%.svc_java
authorName Web service component modifier name
dateCreated Generation date and time in the format:
Mmm dd, yyyy hh:mm:ss AM/PM
operationName Web method code
operationComment Web method comment
static Use "METHOD_TYPE_STATIC" if the web method is static
inputMessage Input message name
outputMessage Output message name
returnType Web operation return type
parameterName Operation parameter code
parameterComment Operation parameter comment
dataType Operation parameter data type
javaServiceParamType Web operation parameter type
classFullPath %projectName %/ %qualifiedClassName%
qualifiedClassName Fully qualified Java class file name

 


Copyright (C) 2007. Sybase Inc. All rights reserved.