You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2007/02/07 09:03:06 UTC

[jira] Resolved: (AXIS2-1804) Error in generated WSDL file - wsaw namespace

     [ https://issues.apache.org/jira/browse/AXIS2-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deepal Jayasinghe resolved AXIS2-1804.
--------------------------------------

    Resolution: Fixed

issue is fixed in current SVN

> Error in generated WSDL file - wsaw namespace
> ---------------------------------------------
>
>                 Key: AXIS2-1804
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1804
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel, wsdl
>    Affects Versions: 1.1
>         Environment: Windows XP
>            Reporter: Stefan Lecho
>         Assigned To: Deepal Jayasinghe
>
> The declaration of the namespace "wsaw" is included in the 
> <wsdl:input> element, but it is missing in the <wsdl:output> 
> element. Adding the namespace manually to the <wsdl:output> 
> element solves this issue, but it remains a workaround and
> probably a bug that should :-) be solved in Axis.
> Generated: <wsdl:output message="tns:sendResponse"
> wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendResponse">
> </wsdl:output>
> Manually modified: <wsdl:output message="tns:sendResponse"
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendResponse">
> </wsdl:output>
> Regards.
> Original WSDL used as input for WSDL2Java:
> <definitions xmlns:tns="http://be.belgium.fsb" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://be.belgium.fsb">
> 	<types>
> 		<s:schema xmlns:tns="http://be.belgium.fsb" xmlns:err="http://fsb.belgium.be/fourthway/v1/error" xmlns:s="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://be.belgium.fsb">
> 			<s:import namespace="http://fsb.belgium.be/fourthway/v1/error" schemaLocation="./XSD/Error.xsd"/>
> 			<s:element name="send">
> 				<s:complexType>
> 					<s:sequence>
> 						<s:element ref="err:ErrorRequest">
> 						</s:element>
> 					</s:sequence>
> 				</s:complexType>
> 			</s:element>
> 			<s:element name="sendResponse">
> 				<s:complexType>
> 					<s:sequence>
> 						<s:element ref="err:ErrorResponse">
> 						</s:element>
> 					</s:sequence>
> 				</s:complexType>
> 			</s:element>
> 		</s:schema>
> 	</types>
> 	<message name="send">
> 		<part name="parameters" element="tns:send"/>
> 	</message>
> 	<message name="sendResponse">
> 		<part name="parameters" element="tns:sendResponse"/>
> 	</message>
> 	<portType name="ErrorInterfaceSoap">
> 		<operation name="send">
> 			<input message="tns:send"/>
> 			<output message="tns:sendResponse"/>
> 		</operation>
> 	</portType>
> 	<binding name="ErrorInterfaceSoap" type="tns:ErrorInterfaceSoap">
> 		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> 		<operation name="send">
> 			<soap:operation style="document"/>
> 			<input>
> 				<soap:body use="literal" namespace="http://be.belgium.fsb"/>
> 			</input>
> 			<output>
> 				<soap:body use="literal" namespace="http://be.belgium.fsb"/>
> 			</output>
> 		</operation>
> 	</binding>
> 	<service name="ErrorInterface">
> 		<port name="ErrorInterfaceSoap" binding="tns:ErrorInterfaceSoap">
> 			<soap:address location="http://devcons/axis2/services/ErrorInterface/1.0/ErrorInterface"/>
> 		</port>
> 	</service>
> </definitions>
> Generated WSDL:
> <wsdl:definitions xmlns:tns="http://be.belgium.fsb" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://be.belgium.fsb">
> 	<wsdl:types>
> 		<s:schema xmlns:err="http://fsb.belgium.be/fourthway/v1/error" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://be.belgium.fsb">
> 			<s:import namespace="http://fsb.belgium.be/fourthway/v1/error" schemaLocation="xsd0.xsd"/>
> 			<s:element name="send">
> 				<s:complexType>
> 					<s:sequence>
> 						<s:element ref="err:ErrorRequest"/>
> 					</s:sequence>
> 				</s:complexType>
> 			</s:element>
> 			<s:element name="sendResponse">
> 				<s:complexType>
> 					<s:sequence>
> 						<s:element ref="err:ErrorResponse"/>
> 					</s:sequence>
> 				</s:complexType>
> 			</s:element>
> 		</s:schema>
> 	</wsdl:types>
> 	<wsdl:message name="send">
> 		<wsdl:part name="part1" element="tns:send"/>
> 	</wsdl:message>
> 	<wsdl:message name="sendResponse">
> 		<wsdl:part name="part1" element="tns:sendResponse"/>
> 	</wsdl:message>
> 	<wsdl:portType name="ErrorInterfacePortType">
> 		<wsdl:operation name="send">
> 			<wsdl:input message="tns:send" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendRequest"/>
> 			<wsdl:output message="tns:sendResponse" wsaw:Action="http://be.belgium.fsb/ErrorInterfaceSoap/sendResponse"/>
> 		</wsdl:operation>
> 	</wsdl:portType>
> 	<wsdl:binding name="ErrorInterfaceSOAP11Binding" type="tns:ErrorInterfacePortType">
> 		<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
> 		<wsdl:operation name="send">
> 			<soap:operation soapAction="http://be.belgium.fsb/ErrorInterfaceSoap/sendRequest" style="document"/>
> 			<wsdl:input>
> 				<soap:body use="literal"/>
> 			</wsdl:input>
> 			<wsdl:output>
> 				<soap:body use="literal"/>
> 			</wsdl:output>
> 		</wsdl:operation>
> 	</wsdl:binding>
> 	<wsdl:binding name="ErrorInterfaceSOAP12Binding" type="tns:ErrorInterfacePortType">
> 		<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
> 		<wsdl:operation name="send">
> 			<wsdl:input>
> 				<soap12:body use="literal"/>
> 			</wsdl:input>
> 			<wsdl:output>
> 				<soap12:body use="literal"/>
> 			</wsdl:output>
> 		</wsdl:operation>
> 	</wsdl:binding>
> 	<wsdl:service name="ErrorInterface">
> 		<wsdl:port name="ErrorInterfaceSOAP11port_http" binding="tns:ErrorInterfaceSOAP11Binding">
> 			<soap:address location="http://devcons/axis2/services/ErrorInterface/1.0/ErrorInterface"/>
> 		</wsdl:port>
> 		<wsdl:port name="ErrorInterfaceSOAP12port_http" binding="tns:ErrorInterfaceSOAP12Binding">
> 			<soap12::address location="http://devcons/axis2/services/ErrorInterface/1.0/ErrorInterface"/>
> 		</wsdl:port>
> 	</wsdl:service>
> </wsdl:definitions>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org