Chapter 8 Working with Web Services


Understanding the Web service .svc_ejb file

The svc_ejb file defines an EJB Web service, an svc_ejb file is generated for each EJB Web service.

Each svc_ejb file contains the following fields:

Field Component property
serviceName Web Service component code
serviceComment Web Service component comment
projectPath The project directory and folder name
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
ejbFullName <PackageCode>.<ComponentCode>
operationName Web method code
operationComment Web method comment
inputMessageName Web operation input message name
outputMessageName Web operation output message name
returnType Operation return type. Example: impl:Double
parameterName Operation parameter code
parameterComment Operation parameter comment
dataType Operation parameter data type in XSD format. Example: xsd:string
classFullPath %projectPath%/ %qualifiedClassName%
qualifiedClassName Fully qualified Java class file name
endpointName End point name
connectionName Application server connection profile name. If you use a different application server connection profile name for EAServer, you need to change this option
EJBComponentURI EJB component URI
jndiProviderURL JNDI provider URL. For EAServer, the default value is iiop://localhost:9100

You may need to change the server name and port number
initialContextFactory Initial context factory class name
jndiName EJB JNDI name
clientJAR Client JAR file path
ejbRemoteInterface EJB remote interface fully qualified name
ejbHomeInterface EJB home interface fully qualified name

 


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