This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Web Services and the fly likes Axis Document/Literal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis Document/Literal" Watch "Axis Document/Literal" New topic
Author

Axis Document/Literal

Cory Wilkerson
Ranch Hand

Joined: Aug 14, 2001
Posts: 84
Has anyone successfully deployed a document/literal service on with Axis 1.1 Final? RPC seems to be a non-issue but I cannot get Axis to swallow doc/literal messages. They deploy fine -- but the Axis source (when I debug) -- seems to be failing me while parsing parameters.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Cory Wilkerson:
They deploy fine -- but the Axis source (when I debug) -- seems to be failing me while parsing parameters.

Could you please tell me what sort of service(input and return type) you are trying to deploy ? And can you also explain at what stage you are getting the error ? during clinet request or server processing ??
Yes I have been able to deploy & consume doc/lit service successfully with with axis1.1(very latest version).


Spritle Software Blogs
Mark Secrist
Ranch Hand

Joined: Jul 01, 2003
Posts: 89
Originally posted by Cory Wilkerson:
Has anyone successfully deployed a document/literal service on with Axis 1.1 Final? RPC seems to be a non-issue but I cannot get Axis to swallow doc/literal messages. They deploy fine -- but the Axis source (when I debug) -- seems to be failing me while parsing parameters.

I've successfully deployed doc/literal on Axis 1.1. There may be a couple of reasons why it isn't working.
1. Are you starting with a WSDL file? If so, make sure you rebuild the server and client side code to reflect a doc/literal style invocation.
2. If you went from rpc to doc/literal and did do the re-build, you will have to stop and start the server after re-deploying. If you are running Axis inside Apache Tomcat, the Tomcat server doesn't re-load the new JAR file. There may be an admin interfact to Tomcat to get it to do that, but I find it easier just to re-start.
Generally, this sounds like a mismatch between what you are sending (or think you are sending) and what the server side is expecting. I'd look along those lines.
Mark
 
Don't get me started about those stupid light bulbs.
 
subject: Axis Document/Literal