Package no.kommune.bergen.soa.common.remote

Examples of no.kommune.bergen.soa.common.remote.RemoteFileTransferClient


  @Ignore
  @Test
  public void send() throws FileNotFoundException {
    String data = "123qweæøåÆØÅ!#";
    String filename = "1000_110000_000000000555.txt", username = "mule", password = "mule1234";
    RemoteFileTransferClient client = new HttpPostClient( "http://localhost:8080/mockservices/httppost", username, password );
    ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream( data.getBytes() );
    client.send( byteArrayInputStream, filename );
  }
View Full Code Here

TOP

Related Classes of no.kommune.bergen.soa.common.remote.RemoteFileTransferClient

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.