I create memory stream.
var memoryStream = new MemoryStream();
var binaryFormatter = new BinaryFormatter();
binaryFormatter.Serialize(memoryStream, list.ToArray());
And I need to pass through the soap to java server and insert to database.
And how create webService method ?
@WebMethod(operationName = "CreateObject")
public String CreateTopology(
@WebParam(name = "session")int id_session,
@WebParam(name = "title") String title,
@WebParam(name = "content") Object content,
@WebParam(name = "access") Integer access) {
EDIT: Problem. I have serialized object in C #. I need to pass it on to the server via SOAP Java, after that save it in MySQL database in field of type Blob (may not be the blob)