Hello, we need a singleton service that must be document/literal due
to interoperability issues. The Interface used to generate the wsdl
(LockManager) and the wsdl generated with the java2wsdl tool are
attached. We use the following options in the generation:

-l http://localhost:8080/axis/services/LockManagerService -n
http://tomas.org/faultolerance/lockmanager/service -y DOCUMENT -u
LITERAL aux.LockManager

and then we generate the skeleton/stub code with wsdl2java with the
following options:

-s -S true -W -d "Application" LockManagerService.wsdl

Once we have implemented and deployed our service, we make a call to
the lock method through the generated stub and it seems to send it
well, as you can see in the attached xml file, obtained with tcpmon,
but in the server side, the skeleton object gets only the first
parameter of the method and all the other parameters are received as
null. That behavor does not happen if the service is deployed as
Request instead of Application or if it uses RPC/Enconded instead of
Document/Literal.
Is it a bug with Axis? Are we doing something wrong?

--
Regards.
José Antonio Sánchez

Attachment: aux.tar.bz2
Description: BZip2 compressed data

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
	xmlns:xsd="http://www.w3.org/2001/XMLSchema";
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
	<soapenv:Body>
		<in0
			xmlns="http://tomas.org/faultolerance/lockmanager/service";>
			1
		</in0>
		<in1
			xmlns="http://tomas.org/faultolerance/lockmanager/service";>
			1
		</in1>
		<in2
			xmlns="http://tomas.org/faultolerance/lockmanager/service";>
			<id>init</id>
			<url>urn:epr</url>
		</in2>
		<in3
			xmlns="http://tomas.org/faultolerance/lockmanager/service";>
			var1
		</in3>
		<in4
			xmlns="http://tomas.org/faultolerance/lockmanager/service";>
			adapt20
		</in4>
	</soapenv:Body>
</soapenv:Envelope>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to