Hi,
must commit that i am not a java expert …
I want to make an SOAP/WSDL connection and therefore try to establish an URLconnection.
// - I import these libs:
import lotus.domino.*;
import java.net.*;
import java.io.*;
import java.util.*;
import java.io.PrintWriter;
import java.util.Date;
import java.security.Security;
// - then create the connection:
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
// - then try to give username/password in encoded format:
conn.setRequestProperty(“Authorization”, "Basic "+encodeBase64((“myusername:mypassword”).getBytes()));
and get the error (when saving):
Method encodeBase64(byte) not found in class JavaAgent.
But I found this example a few times here in this forum.
am I missing sth? Or is my Designers version to old? I copied it into a designer 7 environment but get a similar error: cannot resolve symbol
Thanks for any help in advance!
Uwe