• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis Document/Literal

 
Cory Wilkerson
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Mark Secrist
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic