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 iksrazal <ik...@gmail.com> on 2006/01/04 12:09:41 UTC

Re: wsdl2java fault generation problem

Nicolas, 

The wsdl is not valid. Try using the 'free as in beer'  soa wsdl editor from 
cape clear. Try wsdl --> validate  .  

HTH,
iksrazal
http://www.braziloutsource.com/

Em Quarta 04 Janeiro 2006 09:28, o Nicolas Vahlas escreveu:
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="urn:nec"
> xmlns:apachesoap="http://xml.apache.org/xml-soap"
> xmlns:nec="urn:nec"
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:mobility="urn:mobility">
>
> <wsdl:types>
> <schema elementFormDefault="qualified" targetNamespace="urn:nec"
> xmlns="http://www.w3.org/2001/XMLSchema">
> <import namespace="http://xml.apache.org/xml-soap"/>
> <element name="experience" type="apachesoap:Document"/>
> </schema>
>
> <schema elementFormDefault="qualified" targetNamespace="urn:mobility"
> xmlns="http://europass.cedefop.eu.int/Mobility/V0.1">
> <xsd:element name="invalidDataDetail">
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="field" minOccurs="1" maxOccurs="unbounded" >
> <xsd:complexType>
> <xsd:sequence>
> <xsd:element name="name" type="xsd:string" />
> <xsd:element name="value" type="xsd:string" />
> <xsd:element name="reason" type="xsd:string" />
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> </xsd:sequence>
> </xsd:complexType>
> </xsd:element>
> </schema>
> </wsdl:types>
>
> <wsdl:message name="receiveExperienceRequest">
> <wsdl:part element="nec:experience" name="experience"/>
> </wsdl:message>
>
> <wsdl:message name="receiveExperienceResponse">
> </wsdl:message>
>
> <wsdl:message name="invalidDataFault">
> <wsdl:part element="mobility:invalidDataDetail" name="fields" />
> </wsdl:message>
>
> <wsdl:portType name="Host">
> <wsdl:operation name="receiveExperience" parameterOrder="experience">
> <wsdl:input message="nec:receiveExperienceRequest"
> name="receiveExperienceRequest"/>
> <wsdl:output message="nec:receiveExperienceResponse"
> name="receiveExperienceResponse"/>
> <wsdl:fault message="nec:invalidDataFault" name="invalidDataFault" />
> </wsdl:operation>
> </wsdl:portType>
>
> <wsdl:binding name="HostSoapBinding" type="nec:Host">
> <wsdlsoap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
> <wsdl:operation name="receiveExperience">
> <wsdlsoap:operation soapAction=""/>
> <wsdl:input name="receiveExperienceRequest">
> <wsdlsoap:body use="literal"/>
> </wsdl:input>
> <wsdl:output name="receiveExperienceResponse">
> <wsdlsoap:body use="literal"/>
> </wsdl:output>
> <wsdl:fault name="invalidDataFault">
> <wsdlsoap:fault name="invalidDataFault" use="literal" />
> </wsdl:fault>
> </wsdl:operation>
> </wsdl:binding>
>
> <wsdl:service name="HostService">
> <wsdl:port binding="nec:HostSoapBinding" name="Host">
> <wsdlsoap:address location="https://ydra.instore.gr/nec/services/Host"/>
> </wsdl:port>
> </wsdl:service>
>
> </wsdl:definitions>

--