A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Products
»
JBoss
Author
EJB 3.0 WebService Problems
Ali Gohar
Ranch Hand
Joined: Mar 18, 2004
Posts: 572
posted
Jan 28, 2008 03:32:00
0
Hi,
I've created an
EJB
3.0 Web Service and deployed in
Jboss
4.2.2. My ejb jar file is packaged inside an ear file. There are two problems now
1- i've tried to use the @SoapBinding annotation to make my webserice use RPC/Encoded style like this:
@SOAPBinding(style = SOAPBinding.Style.RPC, use= SOAPBinding.Use.ENCODED)
but it doesn't work, it still creates wsdl file with Document/literal.
2- Secondly how can i change the soap address of my webservice? Currently the soap address, jboss creates is
http://localhost:8080/my-ear-file/ejb-jar-file/SessionBeanName?wsdl.
I want it to be change something like
http://localhost:8080/myWebSerivce/myName?wsdl.
Is it possible?
Thanks
Bill Shirley
Ranch Hand
Joined: Nov 08, 2007
Posts: 457
posted
Jan 29, 2008 09:33:00
0
Don't create multiple threads for the same question.
Old Thread
http://faq.javaranch.com/java/UseOneThreadPerQuestion
Bill Shirley - bshirley - frazerbilt.com
if (Posts < 30) you.read(
JavaRanchFAQ
);
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8147
52
I like...
posted
Jan 29, 2008 22:01:00
0
Let's continue this discussion in the other thread. Closing this one.
[
My Blog
] [
JavaRanch Journal
]
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: EJB 3.0 WebService Problems
Similar Threads
EJB 3.0 WebService, How to change context
JAX-WS web service - "Cannot find dispatch method"
web service not found
EJB3 WSException: Cannot obtain java type mapping
problem related to web services
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter