Package org.springside.examples.showcase.webservice.soap

Examples of org.springside.examples.showcase.webservice.soap.AccountSoapService


    String address = baseUrl + "/cxf/soap/accountservice";

    JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
    proxyFactory.setAddress(address);
    proxyFactory.setServiceClass(AccountSoapService.class);
    AccountSoapService accountWebServiceProxy = (AccountSoapService) proxyFactory.create();

    // (可选)演示重新设定endpoint address.
    ((BindingProvider) accountWebServiceProxy).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
        address);
View Full Code Here


   * 测试搜索用户
   */
  @Test
  @Category(Smoke.class)
  public void getTeamDetail() {
    AccountSoapService accountWebService = creatClient();

    GetTeamDetailResult result = accountWebService.getTeamDetail(1L);
    assertThat(result.getTeam().getName()).isEqualTo("Dolphin");
    assertThat(result.getTeam().getMaster().getName()).isEqualTo("管理员");
  }
View Full Code Here

TOP

Related Classes of org.springside.examples.showcase.webservice.soap.AccountSoapService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.