p.s. this is for a REST-ful web service.

On 5/30/07, Brice Ruth <[EMAIL PROTECTED]> wrote:

Hi Freeman,

Are you looking for the interface?

@WebService
public interface MessageService {
    Message getMessage(long id);
    void addMessage(Message message);
    void updateMessage(long id, Message message);
    void deleteMessage(long id);
}

This is what's used to create the dynamic proxy, i.e.
Proxy.newProxyInstance(...)

-Brice


On 5/30/07, Freeman Fang <[EMAIL PROTECTED]> wrote:
>
> Hi Brice,
>
> How is your proxied class looks like?  Would you please send it to us?
> Thanks very much
>
> Freeman
>
> Brice Ruth wrote:
> > I can't seem to pass in a proxied class as my serviceBean for the
> jaxws
> > endpoint. When the processing hits line 488 of
> > JaxWsServiceConfiguration, it
> > invokes getPackageName() on the proxy, which throws an NPE at line
> 505.
> >
> > I would imagine that it would be common to receive a proxy for the
> > serviceBean if AOP is being used, for instance for declarative
> > transactions.
> >
> > Maybe I'm not on the right track, though - please let me know!
> >
>
>


--
Brice Ruth, FCD
Software Engineer, Madison WI




--
Brice Ruth, FCD
Software Engineer, Madison WI

Reply via email to