axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Volodymyr Ilchenko <>
Subject Response of void methods
Date Tue, 02 Aug 2005 12:12:08 GMT
Hello All,

I'm using Axis 1.2.1 and trying to implement UDDI v.3 spec 
( However, I have a question with respect to 
methods that do not return a response but still have to execute 
synchronously. Here is an example from UDDI spec:

void delete_tModel(Delete_tModel body) throws DispositionReport;

Axis produces the following response in case the method call succeeds:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="">
     <delete_tModelResponse xmlns="urn:uddi-org:api_v3"/>

However, delete_tModelResponse is not defined under 
"urn:uddi-org:api_v3" namespace. Thus, the response is invalid.

I would expect the response to contain an empty SOAP Body element, like:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="">

Here are snippets of UDDI WSDL's provided by OASIS (you can find the 
complete WSDL's on

==== PortType ====

<message name="successMessage"/>
<message name="delete_tModelMessage">
	<part name="body" element="uddi:delete_tModel"/>
<operation name="delete_tModel">
	<input message="tns:delete_tModelMessage"/>
	<output message="tns:successMessage"/>
	<fault name="error" message="tns:dispositionReportFaultMessage"/>

==== Binding ====

<soap:binding style="document" 
<operation name="delete_service">
	<soap:operation soapAction="delete_service"/>
		<soap:body use="literal"/>
		<soap:body use="literal"/>
	<fault name="error">
		<soap:fault name="error" use="literal"/>

Best regards,
Volodymyr Ilchenko

View raw message