Package no.kommune.bergen.soa.svarut.dto

Examples of no.kommune.bergen.soa.svarut.dto.ForsendelseStatusRest


  public void statuslist() throws Exception {
    WebClient wc = WebClient.create( "http://localhost:8080/forsendelse/service/rest/forsendelsesservice/statuslist?ids=000000001689.pdf,000000001690.pdf" );
    wc.type( "text/xml" );
    XMLSource source = wc.get( XMLSource.class );
    source.setBuffering();
    ForsendelseStatusRest b1 = source.getNode( "/books/book[position() = 1]", ForsendelseStatusRest.class );
    assertNotNull( b1 );
    ForsendelseStatusRest b2 = source.getNode( "/books/book[position() = 2]", ForsendelseStatusRest.class );
    assertNotNull( b2 );
  }
View Full Code Here


    }
    return statusList;
  }

  private ForsendelseStatusRest mapForsendelsesStatusRest( Forsendelse f ) {
    ForsendelseStatusRest forsendelseStatusRest = new ForsendelseStatusRest();
    forsendelseStatusRest.setForsendelseStatus( mapForsendelsesStatus( f ) );
    return forsendelseStatusRest;
  }
View Full Code Here

TOP

Related Classes of no.kommune.bergen.soa.svarut.dto.ForsendelseStatusRest

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.