You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Woo SQ <wo...@gmail.com> on 2009/07/05 06:29:45 UTC

Re: Creating a client using a client stub

> I  am a student learning to develop web service using Apache axis2 and i
> encounter some problem need some expert advice from you. The problem is that
> i try creating a client using a client stub.  After running the program. I
> encounter the error as stated below. I hope that you can help me out on this
> issue. The attachment contain the SimpleServiceStub.java and
> SimpleClient.java.  Thank you in advance.
>
>
> log4j:WARN No appenders could be found for logger
> (org.apache.axis2.description.AxisService).
> log4j:WARN Please initialize the log4j system properly.
> Exception in thread "main" org.apache.axis2.AxisFault: The service cannot
> be found for the endpoint reference (EPR) 127.0.0.1/axis2/services/
>     at
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:517)
>     at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
>     at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
>     at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
>     at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
>     at
> com.ttdev.ss.client.SimpleServiceStub.concat(SimpleServiceStub.java:184)
>     at com.ttdev.ss.client.SimpleClient.main(SimpleClient.java:17)
>
>
>
> Thank you and regards
> SQ
>
> --
> Warning : Privileged/confidential information may be contained in this
> message. If you are not the intended addressee, you must not copy,
> distribute or take any action in reliance thereon. This email and any files
> transmitted with it are confidential and are intended solely for the use of
> the individual or entity to whom they are addressed.
>
> If you are not the intended recipient or the person responsible for
> delivering the email to the intended recipient, be advised that you have
> received this email in error and that any use, dissemination, forwarding,
> printing or copying of this email is strictly prohibited.
>
> If you have received this email in error, please immediately notify the
> sender and delete the email. Thank you.
>