You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Nuno Guerreiro <nv...@yahoo.com> on 2002/03/22 13:09:17 UTC

Is the wsdl "fault" element supported by wsdl2java?

It seems to me that wsdl2java is ignoring the "fault"
element in a wsdl file I have (file included below).

Thanks,

Nuno Guerreiro

----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://localhost:8080/axis/services/cidadebcp-registerBranchUser"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:impl="http://localhost:8080/axis/services/cidadebcp-registerBranchUser-impl"
xmlns:intf="http://localhost:8080/axis/services/cidadebcp-registerBranchUser"
xmlns:tns0="http://www.cidadebcp.pt/webservices/types"
xmlns:tns1="http://www.cidadebcp.pt/webservices/registerBranchUser"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<import
namespace="http://www.cidadebcp.pt/webservices/registerBranchUser"
location="schemas/RegisterBranchUser.xsd"/>
	<wsdl:message name="registerBranchUserResponse">
		<wsdl:part name="out"
element="tns1:registerBranchUserOutput"/>
		<wsdl:part name="outputContext"
element="tns0:outputContext"/>
	</wsdl:message>
	<wsdl:message name="registerBranchUserRequest">
		<wsdl:part name="in"
element="tns1:registerBranchUserInput"/>
		<wsdl:part name="inputContext"
element="tns0:inputContext"/>
	</wsdl:message>
  <wsdl:message name="fault">
    <wsdl:part element="tns0:error"/>
  </wsdl:message>
	<wsdl:portType name="registerBranchUserService">
		<wsdl:operation name="registerBranchUser"
parameterOrder="in inputContext">
			<wsdl:input
message="intf:registerBranchUserRequest"/>
			<wsdl:output
message="intf:registerBranchUserResponse"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding
name="cidadebcp-registerBranchUserSoapBinding"
type="intf:registerBranchUserService">
		<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
		<wsdl:operation name="registerBranchUser">
			<wsdlsoap:operation soapAction="" style="rpc"/>
			<wsdl:input>
				<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/axis/services/cidadebcp-registerBranchUser"
use="encoded"/>
			</wsdl:input>
			<wsdl:output>
				<wsdlsoap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/axis/services/cidadebcp-registerBranchUser"
use="encoded"/>
			</wsdl:output>
      <wsdl:fault>
        <wsdl:fault
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8080/axis/services/cidadebcp-registerBranchUser"
use="encoded"/>
      </wsdl:fault>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="cidadebcp-registerBranchUser">
		<wsdl:port
binding="intf:cidadebcp-registerBranchUserSoapBinding"
name="cidadebcp-registerBranchUser">
			<wsdlsoap:address
location="http://localhost:8080/axis/services/cidadebcp-registerBranchUser"/>
		</wsdl:port>
	</wsdl:service>
</wsdl:definitions>


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/