使用 JAX-RPC 访问 IBM WebSphere Service Registry and Repository
2009-10-23 00:00:00 来源:WEB开发网生成的接口
根据 WSDL 生成的 Java 接口如下所示:
import com.ibm.serviceregistry.jaxrpc.commonj.sdo.DataGraphType;
import com.ibm.serviceregistry.jaxrpc.ws.QueryResult;
import com.ibm.serviceregistry.jaxrpc.ws.ServiceRegistryWebServiceException;
import java.rmi.RemoteException;
package com.ibm.serviceregistry.jaxrpc.ws;
public interface WSRRCoreSDOPortType extends java.rmi.Remote {
public String create(DataGraphType datagraph) throws
RemoteException, ServiceRegistryWebServiceException;
public void delete(String bsrURI) throws
RemoteException, ServiceRegistryWebServiceException;
public QueryResult executeQuery(DataGraphType datagraph) throws
RemoteException, ServiceRegistryWebServiceException;
public QueryResult executeNamedQuery(String query) throws
RemoteException, ServiceRegistryWebServiceException;
public QueryResult executeNamedQueryWithParameters(String query,
String[] parameters) throws
RemoteException, ServiceRegistryWebServiceException;
public DataGraphType retrieve(String bsrURI) throws
RemoteException, ServiceRegistryWebServiceException;
public DataGraphType retrieveWithDepth(String bsrURI,
int depth) throws
RemoteException, ServiceRegistryWebServiceException;
public void update(DataGraphType datagraph) throws
RemoteException, ServiceRegistryWebServiceException;
更多精彩
赞助商链接