I have a sample question,can i return a Jframe in a method defined in a jaxws webservice implementation class.if soo give me steps simple steps onlt or keywords,
i ve tried for example:
import java.awt.*;
import javax.jws.WebService;
import javax.jws.WebMethod;
@WebService(serviceName="frameService", portName="framePort", name="frame",wsdlLocation = "WEB-INF/primary.wsdl")
@BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP11HTTP_MTOM_BINDING)
public class frameserver implements Serializable{
@WebMethod
public Object send()
{
Object o=new Object();
JFrame f=new JFrame("khaled");
JLabel l=new JLabel("hiba");
f.add(l);
o=(JFrame)f;
return o;
}
public static void main(String[] args)
{
}
}`
i ve created a jax ws web service and do this but i m receiving an error.pls tell me if possible sending jframe using this way or no .wish somebody would answer my question ive been searching for couple of months without finding a solution to my problem
thanks,regards