Yes, this could definitely cause interop issues. Amila, can you please look into this.
Thanks Azeez On Sat, Jan 29, 2011 at 4:01 PM, Jorge Infante Osorio <jorg...@uci.cu>wrote: > Hi Afkham. > > I validated a WSDL of a data service and I saw the same error: > > element <fault> 'DataServiceFault' in operation 'obtenerDatosCedula' > (portType 'PersonaPortType') has no match in operation > 'obtenerDatosCedula' (binding 'PersonaHttpBinding')! > > And another error to: > > extensibility element '<soap12:binding>' might be part of an unsupported > WSDL extension because it is not in namespace > 'http://schemas.xmlsoap.org/wsdl/soap/' or > 'http://schemas.xmlsoap.org/wsdl/http/' and therefore will not be > validated! > > In this case the namespace is erroneous, in the wsdl appears: > <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" > style="document"/> > > This errors may cause interoperability issues. > > Jorge. > > De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En > nombre de Afkham Azeez > Enviado el: domingo, 16 de enero de 2011 8:44 > Para: carbon-dev > Asunto: Re: [Carbon-dev] XMLSpy validation failure for WSDLs generated in > Carbon > > Basically, for the HTTPBinding, the wsdl:fault element was not generated, > and I had to change <mime:content type="text/xml" part="parameters"/> > to <mime:content type="text/xml"/> > > Any idea what can be wrong here? > > Azeez > On Sat, Jan 15, 2011 at 10:22 PM, Afkham Azeez <az...@wso2.com> wrote: > After changing the HttpBinding as follows, the validation passed. I think > we > have a problem in WSDL generation for HttpBinding. > > <wsdl:binding name="AuthenticationAdminServiceHttpBinding" > type="ns:AuthenticationAdminServicePortType"> > <http:binding verb="POST" /> > <wsdl:operation name="logout"> > <http:operation location="logout" /> > <wsdl:input> > <mime:content type="text/xml"/> > </wsdl:input> > <wsdl:fault name="AuthenticationException"> > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="getUserPermissions"> > <http:operation location="getUserPermissions" /> > <wsdl:input> > <mime:content type="text/xml"/> > </wsdl:input> > <wsdl:output> > <mime:content type="text/xml" /> > </wsdl:output> > <wsdl:fault name="Exception"> > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="loginWithDelegation"> > <http:operation location="loginWithDelegation" /> > <wsdl:input> > <mime:content type="text/xml"/> > </wsdl:input> > <wsdl:output> > <mime:content type="text/xml" /> > </wsdl:output> > > <wsdl:fault name="AuthenticationException"> > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="login"> > <http:operation location="login" /> > <wsdl:input> > <mime:content type="text/xml"/> > </wsdl:input> > <wsdl:output> > <mime:content type="text/xml" /> > </wsdl:output> > > <wsdl:fault name="AuthenticationException"> > </wsdl:fault> > </wsdl:operation> > <wsdl:operation name="getSystemPermissionOfUser"> > <http:operation location="getSystemPermissionOfUser" /> > <wsdl:input> > <mime:content type="text/xml" /> > </wsdl:input> > <wsdl:output> > <mime:content type="text/xml"/> > </wsdl:output> > > <wsdl:fault name="Exception"> > </wsdl:fault> > </wsdl:operation> > </wsdl:binding> > > On Sat, Jan 15, 2011 at 10:05 PM, Afkham Azeez <az...@wso2.com> wrote: > I opened the AuthenticationAdmin WSDL > (http://cloud.wso2.com/services/AuthenticationAdmin?wsdl) in XMLSpy and > tried to validate it, and got the following failure: > > File AuthenticationAdmin.wsdl is not valid. > File C:\windows\profiles\azeez\My > Documents\Altova\XMLSpy2011\Examples\Untitled3.wsdl is not valid. > element <fault> 'AuthenticationException' in operation 'logout' (portType > 'AuthenticationAdminServicePortType') has no match in operation 'logout' > (binding 'AuthenticationAdminServiceHttpBinding')! > Error location: wsdl:definitions / wsdl:binding / wsdl:operation > > Is this a known issue? Perhaps the HTTP binding we generate has some > problems. > > -- > Afkham Azeez > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > Member; Apache Software Foundation; http://www.apache.org/ > email: az...@wso2.com cell: +94 77 3320919 > blog: http://blog.afkham.org > twitter: http://twitter.com/afkham_azeez > linked-in: http://lk.linkedin.com/in/afkhamazeez > > Lean . Enterprise . Middleware > > > > > -- > Afkham Azeez > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > Member; Apache Software Foundation; http://www.apache.org/ > email: az...@wso2.com cell: +94 77 3320919 > blog: http://blog.afkham.org > twitter: http://twitter.com/afkham_azeez > linked-in: http://lk.linkedin.com/in/afkhamazeez > > Lean . Enterprise . Middleware > > > > > -- > Afkham Azeez > Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, > Member; Apache Software Foundation; http://www.apache.org/ > email: az...@wso2.com cell: +94 77 3320919 > blog: http://blog.afkham.org > twitter: http://twitter.com/afkham_azeez > linked-in: http://lk.linkedin.com/in/afkhamazeez > > Lean . Enterprise . Middleware > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- *Afkham Azeez* Senior Software Architect & Senior Manager; WSO2, Inc.; http://wso2.com, * * *Member; Apache Software Foundation; **http://www.apache.org/*<http://www.apache.org/> * email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev