axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fpa...@opensoft.pt
Subject 'no such operation' after ?wsdl
Date Fri, 08 Feb 2008 17:38:27 GMT
Hi!

I'm having the strangest problem with my web service.
I have a Weblogic 10 server running Axis1.4 stubs created via the
wsdl2java tool. I have a simple client invoking the service and it works
fine. But when I access the wsdl via browser with the service?wsdl
feature, I start getting an axis fault "no such operation".

Here is my wsdl:
"
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:tns="urn:webservice" xmlns:intf="urn:webvisao"
targetNamespace="urn:webservice">
	<types>
		<xs:schema targetNamespace="urn:webvisao" xmlns:intf="urn:webvisao"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified">
			<xs:include schemaLocation="ListaDeclaracoesIVAInput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="ListaDeclaracoesIVAOutput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="DeclaracaoIVAInput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="DeclaracaoIVAOutput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoClientesInput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoClientesOutput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoFornecedoresInput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoFornecedoresOutput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoRegularizacoesInput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoRegularizacoesOutput.xsd"
namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoRInput.xsd" namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoROutput.xsd" namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoIInput.xsd" namespace="urn:webvisao" />
			<xs:include schemaLocation="AnexoIOutput.xsd" namespace="urn:webvisao" />
		</xs:schema>
	</types>
	<message name="ListaDeclaracoesIVAIn">
		<part name="listaDeclaracoesIVAIn" type="intf:ListaDeclaracoesIVAInput"/>
	</message>
	<message name="ListaDeclaracoesIVAOut">
		<part name="listaDeclaracoesIVAOut" type="intf:ListaDeclaracoesIVAOutput"/>
	</message>
	<message name="DeclaracaoIVAIn">
		<part name="declaracaoIVAIn" type="intf:IVTDPHTEBean_KEY"/>
	</message>
	<message name="DeclaracaoIVAOut">
		<part name="declaracaoIVAOut" type="intf:DeclaracaoIVAOutput"/>
	</message>
	<message name="AnexoClientesIn">
		<part name="anexoClientesIn" type="intf:IVTRCLIEBean_KEY"/>
	</message>
	<message name="AnexoClientesOut">
		<part name="anexoClientesOut" type="intf:AnexoClientesOutput"/>
	</message>
	<message name="AnexoFornecedoresIn">
		<part name="anexoFornecedoresIn" type="intf:IVTRFOREBean_KEY"/>
	</message>
	<message name="AnexoFornecedoresOut">
		<part name="anexoFornecedoresOut" type="intf:AnexoFornecedoresOutput"/>
	</message>
	<message name="AnexoRegularizacoesIn">
		<part name="anexoRegularizacoesIn" type="intf:IVTRRGUEBean_KEY"/>
	</message>
	<message name="AnexoRegularizacoesOut">
		<part name="anexoRegularizacoesOut" type="intf:AnexoRegularizacoesOutput"/>
	</message>
	<message name="AnexoRIn">
		<part name="anexoRIn" type="intf:IVTANHTEBean_KEY"/>
	</message>
	<message name="AnexoROut">
		<part name="anexoROut" type="intf:AnexoROutput"/>
	</message>
	<message name="AnexoIIn">
		<part name="anexoIIn" type="intf:VITVIGEEBean_KEY"/>
	</message>
	<message name="AnexoIOut">
		<part name="anexoIOut" type="intf:AnexoIOutput"/>
	</message>
	<portType name="ConsultaDeclaracoesIVAServicePort">
		<operation name="listaDeclaracoesIVA">
			<input name="listaDeclaracoesIVAIn" message="tns:ListaDeclaracoesIVAIn"/>
			<output name="listaDeclaracoesIVAOut"
message="tns:ListaDeclaracoesIVAOut"/>
		</operation>
		<operation name="declaracaoIVA">
			<input name="declaracaoIVAIn" message="tns:DeclaracaoIVAIn"/>
			<output name="declaracaoIVAOut" message="tns:DeclaracaoIVAOut"/>
		</operation>
		<operation name="anexoClientes">
			<input name="anexoClientesIn" message="tns:AnexoClientesIn"/>
			<output name="anexoClientesOut" message="tns:AnexoClientesOut"/>
		</operation>
		<operation name="anexoFornecedores">
			<input name="anexoFornecedoresIn" message="tns:AnexoFornecedoresIn"/>
			<output name="anexoFornecedoresOut" message="tns:AnexoFornecedoresOut"/>
		</operation>
		<operation name="anexoRegularizacoes">
			<input name="anexoRegularizacoesIn" message="tns:AnexoRegularizacoesIn"/>
			<output name="anexoRegularizacoesOut"
message="tns:AnexoRegularizacoesOut"/>
		</operation>
		<operation name="anexoR">
			<input name="anexoRIn" message="tns:AnexoRIn"/>
			<output name="anexoROut" message="tns:AnexoROut"/>
		</operation>
		<operation name="anexoI">
			<input name="anexoIIn" message="tns:AnexoIIn"/>
			<output name="anexoIOut" message="tns:AnexoIOut"/>
		</operation>
	</portType>
	<binding name="ConsultaDeclaracoesIVAServiceSoapBinding"
type="tns:ConsultaDeclaracoesIVAServicePort">
		<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="listaDeclaracoesIVA">
			<input>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</input>
			<output>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</output>
		</operation>
		<operation name="declaracaoIVA">
			<input>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</input>
			<output>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</output>
		</operation>
		<operation name="anexoClientes">
			<input>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</input>
			<output>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</output>
		</operation>
		<operation name="anexoFornecedores">
			<input>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</input>
			<output>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</output>
		</operation>
		<operation name="anexoRegularizacoes">
			<input>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</input>
			<output>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</output>
		</operation>
		<operation name="anexoR">
			<input>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</input>
			<output>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</output>
		</operation>
		<operation name="anexoI">
			<input>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</input>
			<output>
				<soap:body use="literal" namespace="intf:webvisao"/>
			</output>
		</operation>
	</binding>
	<service name="ConsultaDeclaracoesIVAService">
		<documentation>Interface de Consulta a Declaracoes IVA</documentation>
		<port name="ConsultaDeclaracoesIVAServicePort"
binding="tns:ConsultaDeclaracoesIVAServiceSoapBinding">
			<soap:address
location="http://localhost:7001/webvisao/service/ConsultaDeclaracoesIVAServiceSoap"/>
		</port>
	</service>
</definitions>
"

Is there something wrong with my wsdl?


Thanks in advance!
Francisco





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


Mime
View raw message