Hess,
I tried your webservice with NB 5.5.1 Created new Ejb module and added your code.
Then built and deployed it. That worked fine. Next created webservice client and could get that to work too. I enabled the dump in my GF using -Dcom.sun.xml.ws.assembler.server=true and this is how my messages look
<?xml version="1.0" ?>
<S:Envelope xmlns:S="
http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:ping xmlns:ns2="
http://www.imtf.com/hypersuite/ulysse">
<msg>hi</msg>
</ns2:ping>
</S:Body>
</S:Envelope>
[#|2007-09-26T13:42:53.250-0700|INFO|sun-appserver9.1|javax.enterprise.system.st
ream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-1;|
====[com.sun.xml.ws.assembler.server:response]====|#]
[#|2007-09-26T13:42:53.265-0700|INFO|sun-appserver9.1|javax.enterprise.system.st
ream.out|_ThreadID=15;_ThreadName=httpSSLWorkerThread-8080-1;|
<?xml version="1.0" ?>
<S:Envelope xmlns:S="
http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:pingResponse xmlns:ns2="
http://www.imtf.com/hypersuite/ulysse">
<return>[PingBean] ping: hi</return>
</ns2:pingResponse>
</S:Body>
</S:Envelope>
|#]
Regards,
Bhakti
[Message sent by forum member 'bhaktimehta' (bhaktimehta)]
http://forums.java.net/jive/thread.jspa?messageID=237248