Thanks very much (Danke schon) for the reply. The WSDL is below. The echo, errorTest and validTest operations work fine. The search operation fails. The domain name has been changed to protect the innocent. :) <? <xml version="1.0" encoding="UTF-8"?>wsdl:definitions name="AccountSearchService"targetNamespace="http://ws.mydomain.com/smc/accountSearch"xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:tns="http://ws.mydomain.com/smc/accountSearch"xmlns:smc="http://ws.mydomain.com/schema/smc/common"xmlns:smc1="http://ws.mydomain.com/schema/smc/accountSearch"xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:documentation>SMC account search web service. Copyright 2011 Estes Express Lines, Inc.</wsdl:documentation><wsdl:types><xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ws.mydomain.com/smc/accountSearch" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:complexType name="AuthenticationType"><xsd:sequence><xsd:element name="user" type="tns:UserType"/><xsd:element name="password" type="tns:PasswordType"/></xsd:sequence></xsd:complexType><xsd:simpleType name="EchoRequestType"><xsd:restriction base="xsd:string"><xsd:maxLength value="100"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="PasswordType"><xsd:restriction base="xsd:string"><xsd:minLength value="5"/><xsd:maxLength value="10"/></xsd:restriction></xsd:simpleType><xsd:simpleType name="UserType"><xsd:restriction base="xsd:string"><xsd:minLength value="5"/><xsd:maxLength value="10"/></xsd:restriction></xsd:simpleType><!-- Define SOAP message names here. --><!-- Authentication SOAP Header --><xsd:element name="auth" type="tns:AuthenticationType"/><!-- Echo Request Type --><xsd:element name="echoRequest" type="tns:EchoRequestType"/><!-- Echo Response Type --><xsd:element name="echoResponse" type="xsd:string"/><!-- General Fault --><xsd:element name="generalError" type="xsd:string"/><!-- Schema Validation Fault --><xsd:element name="schemaError" type="xsd:string"/></xsd:schema><xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.mydomain.com/schema/smc/accountSearch" xmlns:smc1="http://ws.mydomain.com/schema/smc/accountSearch" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><!-- Reference all schemas --><xsd:include schemaLocation="accountSearch.xsd"/><xsd:include schemaLocation="searchResponse.xsd"/></xsd:schema></wsdl:types><!-- Define messages. --><wsdl:message name="authenticationMsg"><wsdl:part name="authentication" element="tns:auth"></wsdl:part></wsdl:message><wsdl:message name="echoRequestMsg"><wsdl:part name="echoRequest" element="tns:echoRequest"></wsdl:part></wsdl:message><wsdl:message name="echoResponseMsg"><wsdl:part name="echoResponse" element="tns:echoResponse"></wsdl:part></wsdl:message><wsdl:message name="searchMsg"><wsdl:part name="search" element="smc1:searchRequest"></wsdl:part></wsdl:message><wsdl:message name="searchResultsMsg"><wsdl:part name="searchResults" element="smc1:searchResults"></wsdl:part></wsdl:message><wsdl:message name="generalErrorMsg"><wsdl:part name="fault" element="tns:generalError"></wsdl:part></wsdl:message><wsdl:message name="schemaErrorMsg"><wsdl:part name="fault" element="tns:schemaError"></wsdl:part></wsdl:message><wsdl:portType name="smcPort"><wsdl:operation name="echo"><wsdl:input name="echoRequest" message="tns:echoRequestMsg"></wsdl:input><wsdl:output name="echoResponse" message="tns:echoResponseMsg"></wsdl:output></wsdl:operation><wsdl:operation name="testErrors"><wsdl:input name="errorTest" message="tns:searchMsg"></wsdl:input><wsdl:output name="errorTestResults" message="tns:searchResultsMsg"></wsdl:output><wsdl:fault name="generalErrorMessage" message="tns:generalErrorMsg"></wsdl:fault><wsdl:fault name="schemaErrorMessage" message="tns:schemaErrorMsg"></wsdl:fault></wsdl:operation><wsdl:operation name="validTest"><wsdl:input name="validTestRequest" message="tns:searchMsg"></wsdl:input><wsdl:output name="validTestResults" message="tns:searchResultsMsg"></wsdl:output></wsdl:operation><wsdl:operation name="search"><wsdl:input name="searchRequest" message="tns:searchMsg"></wsdl:input><wsdl:output name="searchResults" message="tns:searchResultsMsg"></wsdl:output><wsdl:fault name="generalErrorMessage" message="tns:generalErrorMsg"></wsdl:fault><wsdl:fault name="schemaErrorMessage" message="tns:schemaErrorMsg"></wsdl:fault></wsdl:operation></wsdl:portType><wsdl:binding name="smcBinding" type="tns:smcPort"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /><wsdl:operation name="echo"><soap:operation soapAction="http://ws.mydomain.com/smc/accountSearch/echo" style="document"/><wsdl:input><soap:body parts="echoRequest" use="literal"/></wsdl:input><wsdl:output><soap:body parts="echoResponse" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="testErrors"><soap:operation soapAction="http://ws.mydomain.com/smc/accountSearch/errorTest" style="document" /><wsdl:input><soap:header message="tns:authenticationMsg" part="authentication" use="literal"></soap:header><soap:body parts="search" use="literal" /></wsdl:input><wsdl:output><soap:body parts="searchResults" use="literal" /></wsdl:output><wsdl:fault name="generalErrorMessage"><soap:fault name="generalErrorMessage" use="literal" /></wsdl:fault><wsdl:fault name="schemaErrorMessage"><soap:fault name="schemaErrorMessage" use="literal" /></wsdl:fault></wsdl:operation><wsdl:operation name="validTest"><soap:operation soapAction="http://ws.mydomain.com/smc/accountSearch/validTest" style="document" /><wsdl:input><soap:header message="tns:authenticationMsg" part="authentication" use="literal"></soap:header><soap:body parts="search" use="literal" /></wsdl:input><wsdl:output><soap:body parts="searchResults" use="literal" /></wsdl:output></wsdl:operation><wsdl:operation name="search"><soap:operation soapAction="http://ws.mydomain.com/smc/accountSearch/search" style="document" /><wsdl:input><soap:header message="tns:authenticationMsg" part="authentication" use="literal"></soap:header><soap:body parts="search" use="literal" /></wsdl:input><wsdl:output><soap:body parts="searchResults" use="literal" /></wsdl:output><wsdl:fault name="generalErrorMessage"><soap:fault name="generalErrorMessage" use="literal" /></wsdl:fault><wsdl:fault name="schemaErrorMessage"><soap:fault name="schemaErrorMessage" use="literal" /></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:service name="AccountSearchService"><wsdl:documentation>SMC account search web service</wsdl:documentation><wsdl:port name="accountSearch" binding="tns:smcBinding"><soap:address location="https://www.mydomain.com/smc/accountsearch/services/AccountSearchService"/></wsdl:port></ </wsdl:service>wsdl:definitions> ________________________________
On 12/8/2011 6:56 PM, Martin Gainty wrote: at the bottom of the wsdl you have a description of the service and Port > <service name="ICBDPChannel_Service"> > <port binding="tns:ICBDPChannelSoapBindingHTTP" >name="ICBDPChannelPortHTTP"> > <soap:address >location="http://localhost:8080/axis/services/webservices.ICBDPChannelSoapBindingHTTP%22/> > </port> > </service> > >anyone landing on >http://localhost:8080/axis/services/webservices.ICBDPChannelSoapBindingHTTP"/> > ><wsdl:service name="Version"> > <wsdl:port name="VersionHttpSoap11Endpoint" >binding="ns:VersionSoap11Binding"> > <soap:address >location="http://localhost:8007/axis2/services/Version.VersionHttpSoap11Endpoint/%22/%3E%3C/wsdl:port%3E > > <wsdl:port name="VersionHttpSoap12Endpoint" >binding="ns:VersionSoap12Binding"> > <soap12:address >location="http://localhost:8007/axis2/services/Version.VersionHttpSoap12Endpoint/%22/ > </wsdl:port> > > <wsdl:port name="VersionHttpEndpoint" binding="ns:VersionHttpBinding"> > <http:address >location="http://localhost:8007/axis2/services/Version.VersionHttpEndpoint/%22/%3E > </wsdl:port> ></wsdl:service> > >endpoiint >http://localhost:8007/axis2/services/Version.VersionHttpSoap11Endpoint >references service-name="Version" and Port Name=VersionHttpSoap11Endpoint > >invalid Operations are usually caused by fubar'ed InputMessage, OutputMessage >and FaultMessage >if you post the wsdl we can diagnose for you > >Viel Gluck! >Martin >______________________________________________ >Porfavor..no altere esta communicacion..Gracias > > >> Date: Thu, 8 Dec 2011 13:21:32 -0800 >> From: rexclaim...@yahoo.com >> Subject: Endpoint/Operation not found >> To: java-user@axis.apache.org >> >> I've been struggling with the dreaded "The endpoint reference (EPR) for the >> Operation not found..." error for over a day. I've read Keith Chapman's >> blog post >> (http://www.keith-chapman.org/2009/02/axis2-endpoint-reference-epr-for.html), >> used TCPMon and debugged and still don't know why the operation is not >> found. >> >> I have 3 other operations in the service that are working fine so the >> endpoint does not appear to be the problem. In debug I stepped into the >> AxisBasedOperationDispatcher#findOperation method. The action comes back >> correctly from the #messageContext.getSoapAction() method call. Then I step >> into the #getOperationBySOAPAction method. This returns null. I noticed >> that the operation was in the invalidOperationAliases List object. This may >> be the issue. Why would it be in this List? >> >> Any help is appreciated. >> >> Thanks, >> J >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org >> For additional commands, e-mail: java-user-h...@axis.apache.org >> > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org