Hey, thanks for the reply, I've just downloaded Sun App. Server 9.1 and I'm still getting the same problem. Here's my webservice class:
package com.example.proxy;
import java.math.*;
import java.util.*;
import javax.annotation.*;
import javax.ejb.*;
import javax.jms.*;
import javax.jms.Queue;
import javax.jws.*;
@Stateless
@WebService(endpointInterface="com.example.proxy")
public class DispatchServiceImpl implements MessageDispatcher {
@Resource(mappedName = "jms/ConnectionFactory")
private ConnectionFactory connectionFactory;
@Resource(mappedName = "jms/Queue")
private Queue queue;
@WebMethod
public List<MessageCountType> startDispatch(String receiverId,
if (queue == null && connectionFactory == null) {
System.out.println("queue and connectionFactory are null");
}
return null;
}
}
Thanks,
Mark
[Message sent by forum member 'markshure' (markshure)]
http://forums.java.net/jive/thread.jspa?messageID=237079