aspose file tools*
The moose likes JBoss/WildFly and the fly likes JBoss and JAX-RPC Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss and JAX-RPC Web Service" Watch "JBoss and JAX-RPC Web Service" New topic
Author

JBoss and JAX-RPC Web Service

Russell Ray
Ranch Hand

Joined: Apr 25, 2005
Posts: 116
I have a simple web service using JAX-RPC running on JBoss 4.0.5. I have setup the service to make the web server think it is dealing with a servlet (recommended way for handling JAX-RPC). When I use Eclipse's Web Service Explorer for testing the service, I receive this error on the server:



JBoss.org has been no help! Any help/suggestions from here on this issue would be greatly appreciated.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Well, personally for me, the easiest way for me to create Web Services is with EJB3 and @WebService @WebMethod, and then deploy in JBoss, go to the URL that will give me the soap and URL location for invocation, and use a tool like soapUI to test it out.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Russell Ray
Ranch Hand

Joined: Apr 25, 2005
Posts: 116
Mark:

Thanks for the suggestion.


When I look at the reponse within the Web Services Explorer I see this:




I've turned on the debugging for web services and I see this when the service is ran:



So we are getting to the Web Services, I make a deduction here. However, we are not completing the operation.

Russ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Is there an exception thrown?

Mark
Russell Ray
Ranch Hand

Joined: Apr 25, 2005
Posts: 116
Mark:

Yes, there is an exception. This is the stack trace I provided in the original post.

Russ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBoss and JAX-RPC Web Service