Hi, I'm having problems implementing a service as document/literal. Basically, values returned to the client are always null, although debugging output on the server shows that the methods within the service are being executed correctly and the correct data is being returned.
Document literal doesn't seem to be well documented in the Axis docs, so I'm wondering is there anything startlingly obvious that is wrong with the code snippets below. It's also possible that I'm looking in entirely the wrong places to identify what's going on. Any help or comments would be gratefully received. In my WSDL, the operation is defined as: <operation name="getTestIdentifier"> <soap:operation soapAction=""/> <input> <soap:body use="literal" namespace="http://mydomain/enterprise/iaf"/> </input> <output> <soap:body use="literal" namespace="http://mydomain/enterprise/iaf"/> </output> </operation> TCPMonitor reports the body of the request as: <soapenv:Body> <getTestIdentifier xmlns="http://mydomain/enterprise/iaf"/> </soapenv:Body> ... And the respones as: <soapenv:Body> <Identifier xmlns="http://mydomain/enterprise/iaf/types">Test ID</Identifier> </soapenv:Body> The reason the namespaces are different is that the types are specified in a separate, imported schema. I don't know if this could be effecting the service. (?) Cheers, Nick