JAX-RPC之WSDL

2017/02/12 iteye
  1. javax.xml.rpc.Service <------------------> WSDL中的 service  
  2. 从jndi(J2EE)或者Service Factory(J2SE)中获取service以后   myService.getPort  <----------------------> WSDL中的port
    port 才是真正的对应一个service接口,也即SEI(Servie Endpoint Interface)  

一个SEI例子如下:

public interface MyPort extends java.rmi.Remote { String doSomething(int someParam) throws java.rmi.RemoteException; }

SEI可以手写或者用工具从WSDL中生成。  

Search

    Table of Contents