Hi,
 
I'm still having the same problem of Address not found. I also tried to  look 
in mail Archive but I couldn't resolve it. I got 2 reply from mailing list, 1 
said that it looks like service is not available but I can see my webservice 
working on http://localhost:8080/axis2. The other said it might be the problem 
of SOAP and he recommended me to use TCPMon. For this I need to ask how do we 
know which version of SOAP we are using? and following is the result of TCPMon. 
I have also attached Service.xml and jsp client.
 
POST /axis2/services/AutenticationServer HTTP/1.1Content-Type: text/xml; 
charset=UTF-8SOAPAction: "urn:anonOutInOp"User-Agent: Axis2Host: 
localhost:8082Transfer-Encoding: chunked
fc<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><ns1:getVersion
 xmlns:ns1="http://axisversion.sample/xsd";><ns1:myValue 
/></ns1:getVersion></soapenv:Body></soapenv:Envelope>0
 
 
..................
HTTP/1.1 200 OKServer: Apache-Coyote/1.1Content-Type: 
text/html;charset=ISO-8859-1Content-Length: 242Date: Sun, 30 Sep 2007 23:19:55 
GMT
 
 
Exception: The endpoint reference (EPR) for the Operation not found is 
http://localhost:8082/axis2/services/AutenticationServer and the WSA Action = 
urn:anonOutInOp
 
<HTML><BODY>
ABC12
</BODY>
</HTML>   



> Date: Tue, 25 Sep 2007 12:11:58 -0500> From: [EMAIL PROTECTED]> To: 
> [email protected]> Subject: Re: EPR...Endpoint Reference> > The 
> Exception says that you do not have a service defined for "Random".> Make 
> sure that Random is correctly defined.> > > On Tue, Sep 25, 2007 at 
> 10:02:27AM -0700, Linus Kamb wrote:> > Not sure if this is your trouble, but 
> I had similar troubles.> > > > Look at: 
> http://marc.info/?l=axis-user&m=118954790931434&w=2> > > > use TCPMON to see 
> what your http headers look like (as well as the SOAP > > message.)> > > > 
> Linus> > > > > > Nasreen Laghari wrote:> > >Hi> > > > > >Why EPR operation is 
> not found?> > > > > > > > >Exception: The endpoint reference (EPR) for the 
> Operation not found is > > >http://localhost:8080/axis2/services/Random and 
> the WSA Action = > > >urn:anonOutInOp> > > > > > > > > > > >My Coding:> > > > 
> > ><%@ page import="org.apache.axiom.om.OMAbstractFactory,> > > 
> org.apache.axiom.om.OMElement,> > > org.apache.axiom.om.OMFactory,> > > 
> org.apache.axiom.om.OMNamespace,> > > org.apache.axis2.AxisFault,> > > 
> org.apache.axis2.Constants,> > > 
> org.apache.axis2.addressing.EndpointReference,> > > 
> org.apache.axis2.client.Options,> > > org.apache.axis2.client.ServiceClient,> 
> > > org.apache.axis2.context.ConfigurationContext,> > > 
> org.apache.axis2.context.ConfigurationContextFactory" %>> > > > > ><%! 
> private OMElement createEnvelope() {> > > OMFactory fac = 
> OMAbstractFactory.getOMFactory();> > > OMNamespace omNs = > > 
> >fac.createOMNamespace("http://axisversion.sample/xsd";, "ns1");> > > 
> OMElement method = fac.createOMElement("getVersion", omNs);> > > OMElement 
> value = fac.createOMElement("myValue", omNs);> > > method.addChild(value);> > 
> > return method;> > > }> > >%>> > ><%> > > String IP = 
> "http://localhost:8080/axis2/axis2-web/trial.jsp";;> > > int lastindex = 
> IP.lastIndexOf('/');> > > IP = IP.substring(0, lastindex);> > > 
> ///axis2/axis2-web/services/version> > > IP = IP.replaceAll("axis2-web", 
> "");> > >%>> > ><% try{> > > OMElement payload = createEnvelope();> > > 
> ConfigurationContext configctx = > > 
> >ConfigurationContextFactory.createConfigurationContextFromFileSystem(null, > 
> > >null);> > > ServiceClient client = new ServiceClient(configctx, null);> > 
> > EndpointReference targetEPR = new EndpointReference(IP + > > 
> >configctx.getServicePath() + "/Random");> > > > > > Options options = new 
> Options();> > > client.setOptions(options);> > > options.setTo(targetEPR);> > 
> > options.setTransportInProtocol(Constants.TRANSPORT_HTTP);> > > OMElement 
> result = client.sendReceive(payload);> > > out.println("Result: " +result);> 
> > >> > > > > > } catch (Exception e) {> > > out.println("Exception: 
> "+e.getMessage());> > > }> > >%>> > >> > 
> ---------------------------------------------------------------------> To 
> unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: 
> [EMAIL PROTECTED]> 
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
<service name="AuthenticationServer" scope="application">
    <description>
        AutenticationServer
    </description>
    


	<messageReceivers>
       
        <messageReceiver
            mep="http://www.w3.org/2004/08/wsdl/in-out";
    class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>


            


<messageReceiver
            mep="http://www.w3.org/2004/08/wsdl/in-out";
    class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>
	


    

<parameter name="ServiceClass">
        authenticationserver.AuthenticationServer
    </parameter>
</service>

Attachment: trial.jsp
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to