help with web service

am working on a web service and have hit a learning curve road block.

I created a web service with a wsdl file that has an operation that I have added a binary variable to.

What I want the web service to do is to upload a file from the client machine to the web server just as mail attachments work.

The java that was created from the wsdl file import was

public class PutDocumentSoap_Impl implements org.me.hi.PutDocumentSoap, SessionBean {

javax.ejb.SessionContext context;

public java.lang.String putDocument(java.lang.String LOGIN_ID,

java.lang.String LOGIN_PSW, java.lang.String DOC_DATE,

org.me.hi.DCMNT_CLASS DCMNT_CLASS,

org.me.hi.DOC_TYPE DOC_TYPE,

java.lang.String CRISE_RCPNT_ID,

org.me.hi.WRKR_CNTY WRKR_CNTY,

org.me.hi.RCVD_AS RCVD_AS,

org.me.hi.APPL_EXPDT_CASE APPL_EXPDT_CASE,

org.me.hi.CNTNT_TYPE CNTNT_TYPE, byte[] content)

throws java.rmi.RemoteException {

java.lang.String _retVal;

.

.

.

}

I am not sure that this is correct but I do not see how to implement an input stream to transfer the file. On searching I found this article

http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html

which uses a HttpServletRequest object to initiate an input stream. I have no idea of how to do this in the class that was created by the wsdl. Can anyone tell me what I'm missing?

[1434 byte] By [defreemana] at [2007-10-2 20:43:35]
# 1
Try the following forum (about JSP technology) http://forum.java.sun.com/forum.jspa?forumID=45Try the following forum (about web services) http://forum.java.sun.com/forum.jspa?forumID=331
UncleSAMa at 2007-7-13 23:26:58 > top of Java-index,Desktop,Developing for the Desktop...