axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wadi wadi <wadie...@gmail.com>
Subject Re: Please help! The service cannot be found for the endpoint reference (EPR)
Date Wed, 09 Feb 2011 13:28:12 GMT
Thanks so much Denis.



On Tue, Feb 8, 2011 at 5:13 PM, Denis Weerasiri <ddweerasiri@gmail.com>wrote:

> So http://localhost:8080/axis2/services/Version/getVersion will invoke
> the Version service.
>
> On Tue, Feb 8, 2011 at 3:26 PM, wadi wadi <wadienil@gmail.com> wrote:
> > Yes here it is:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
> > xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
> > xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
> > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
> > xmlns:ns1="http://org.apache.axis2/xsd"
> > xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> > xmlns:ns="http://axisversion.sample"
> > xmlns:xs="http://www.w3.org/2001/XMLSchema"
> > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
> > targetNamespace="http://axisversion.sample">
> >     <wsdl:documentation>Version</wsdl:documentation>
> >     <wsdl:types>
> >         <xs:schema attributeFormDefault="qualified"
> > elementFormDefault="qualified" targetNamespace="
> http://axisversion.sample">
> >             <xs:complexType name="Exception">
> >                 <xs:sequence>
> >                     <xs:element minOccurs="0" name="Exception"
> > nillable="true" type="xs:anyType"/>
> >                 </xs:sequence>
> >
> >             </xs:complexType>
> >             <xs:element name="Exception">
> >                 <xs:complexType>
> >                     <xs:sequence>
> >                         <xs:element minOccurs="0" name="Exception"
> > nillable="true" type="ns:Exception"/>
> >                     </xs:sequence>
> >                 </xs:complexType>
> >             </xs:element>
> >             <xs:element name="getVersionResponse">
> >
> >                 <xs:complexType>
> >                     <xs:sequence>
> >                         <xs:element minOccurs="0" name="return"
> > nillable="true" type="xs:string"/>
> >                     </xs:sequence>
> >                 </xs:complexType>
> >             </xs:element>
> >         </xs:schema>
> >     </wsdl:types>
> >     <wsdl:message name="getVersionRequest"/>
> >
> >     <wsdl:message name="getVersionResponse">
> >         <wsdl:part name="parameters" element="ns:getVersionResponse"/>
> >     </wsdl:message>
> >     <wsdl:message name="Exception">
> >         <wsdl:part name="parameters" element="ns:Exception"/>
> >     </wsdl:message>
> >     <wsdl:portType name="VersionPortType">
> >         <wsdl:operation name="getVersion">
> >             <wsdl:input message="ns:getVersionRequest"
> > wsaw:Action="urn:getVersion"/>
> >
> >             <wsdl:output message="ns:getVersionResponse"
> > wsaw:Action="urn:getVersionResponse"/>
> >             <wsdl:fault message="ns:Exception" name="Exception"
> > wsaw:Action="urn:getVersionException"/>
> >         </wsdl:operation>
> >     </wsdl:portType>
> >     <wsdl:binding name="VersionSoap11Binding" type="ns:VersionPortType">
> >         <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> > style="document"/>
> >         <wsdl:operation name="getVersion">
> >             <soap:operation soapAction="urn:getVersion"
> style="document"/>
> >             <wsdl:input>
> >
> >                 <soap:body use="literal"/>
> >             </wsdl:input>
> >             <wsdl:output>
> >                 <soap:body use="literal"/>
> >             </wsdl:output>
> >             <wsdl:fault name="Exception">
> >                 <soap:fault use="literal" name="Exception"/>
> >             </wsdl:fault>
> >         </wsdl:operation>
> >
> >     </wsdl:binding>
> >     <wsdl:binding name="VersionSoap12Binding" type="ns:VersionPortType">
> >         <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
> > style="document"/>
> >         <wsdl:operation name="getVersion">
> >             <soap12:operation soapAction="urn:getVersion"
> style="document"/>
> >             <wsdl:input>
> >                 <soap12:body use="literal"/>
> >             </wsdl:input>
> >             <wsdl:output>
> >
> >                 <soap12:body use="literal"/>
> >             </wsdl:output>
> >             <wsdl:fault name="Exception">
> >                 <soap12:fault use="literal" name="Exception"/>
> >             </wsdl:fault>
> >         </wsdl:operation>
> >     </wsdl:binding>
> >     <wsdl:binding name="VersionHttpBinding" type="ns:VersionPortType">
> >         <http:binding verb="POST"/>
> >
> >         <wsdl:operation name="getVersion">
> >             <http:operation location="Version/getVersion"/>
> >             <wsdl:input>
> >                 <mime:content type="text/xml" part="getVersion"/>
> >             </wsdl:input>
> >             <wsdl:output>
> >                 <mime:content type="text/xml" part="getVersion"/>
> >             </wsdl:output>
> >         </wsdl:operation>
> >
> >     </wsdl:binding>
> >     <wsdl:service name="Version">
> >         <wsdl:port name="VersionHttpSoap11Endpoint"
> > binding="ns:VersionSoap11Binding">
> >             <soap:address
> > location="
> http://localhost:8080/axis2/services/Version.VersionHttpSoap11Endpoint/"/>
> >         </wsdl:port>
> >         <wsdl:port name="VersionHttpSoap12Endpoint"
> > binding="ns:VersionSoap12Binding">
> >             <soap12:address
> > location="
> http://localhost:8080/axis2/services/Version.VersionHttpSoap12Endpoint/"/>
> >         </wsdl:port>
> >         <wsdl:port name="VersionHttpEndpoint"
> > binding="ns:VersionHttpBinding">
> >
> >             <http:address
> > location="
> http://localhost:8080/axis2/services/Version.VersionHttpEndpoint/"/>
> >         </wsdl:port>
> >     </wsdl:service>
> > </wsdl:definitions>
> >
> >
> >
> >
> >
> > On Mon, Feb 7, 2011 at 4:24 PM, Denis Weerasiri <ddweerasiri@gmail.com>
> > wrote:
> >>
> >> On Mon, Feb 7, 2011 at 9:41 PM, wadi wadi <wadienil@gmail.com> wrote:
> >> > Hi,
> >> > I deployed a couple of webservice on my localhost. When going
> >> > to http://localhost:8080/axis2/services/ the following error is
> >> > displayed:
> >> > The service cannot be found for the endpoint reference (EPR)
> >> > /axis2/services/
> >> >
> >> > Also for the Version webservice that comes with the axis2 distribution
> >> > http://localhost:8080/axis2/services/Version?getVersion, the
> following
> >> > error
> >> > message is displayed
> >> Do you get the service WSDL for this?
> >> http://localhost:8080/axis2/services/Version?wsdl
> >> >
> >> > The endpoint reference (EPR) for the Operation not found is
> >> > /axis2/services/Version?getVersion and the WSA Action = null
> >> >
> >> > I am using:
> >> > Tomcat 6.0
> >> > Axis2 version 1.5.4
> >> > Windows OS
> >> > any idea please?
> >> > Many thanks for your help.
> >> >
> >>
> >>
> >>
> >> --
> >> Thanks,
> >> Denis
> >> ----------------------------------------------------------
> >> Denis Weerasiri
> >> blog: http://ddweerasiri.blogspot.com
> >> twitter: http://twitter.com/ddweerasiri
> >> linked-in: http://lk.linkedin.com/in/ddweerasiri
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: java-user-help@axis.apache.org
> >>
> >
> >
> >
> > --
> > Wadienil.
> >
>
>
>
> --
> Thanks,
> Denis
> ----------------------------------------------------------
> Denis Weerasiri
> blog: http://ddweerasiri.blogspot.com
> twitter: http://twitter.com/ddweerasiri
> linked-in: http://lk.linkedin.com/in/ddweerasiri
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>


-- 
Wadienil.

Mime
View raw message