Looks like the call went through but the service your are talking to
requires some authentication information...  which you did not seem to send,
that is why you got a fault.  

Sylvain.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 5:39 PM
To: [EMAIL PROTECTED]
Subject: Re: RE: Problem with Server


thank you very much Sylvain, but now I have this problem:
Caught SOAP exception: SOAP Fault: User 'null' not authenticated (unknown
user)

somebody has idea that this bad?
Victor




> 
> De: "St-Germain, Sylvain" <[EMAIL PROTECTED]>
> Fecha: 11-Abr-2002 16:42
> Para: [EMAIL PROTECTED]
> Asunto: RE: Problem with Server
> 
> This happen when your service is not deployed.   Axis may be deployed but
> you need to deploy your stock quote service using something like:  
> 
> java -cp %cp% org.apache.axis.client.AdminClient
> -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
> 
> And copy your classes inside axis's WEB-INF/classes
> 
> Once you got that, change your endpoint to the service endpoint, not Axis
> itself, i.e. 
> endpoint = http://localhost:8080/axis/services/yourServiceNameGoesHere
> 
> Sylvain
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 11, 2002 4:38 PM
> To: [EMAIL PROTECTED]
> Subject: Problem with Server
> 
> 
>  I receive the error following , somebody has idea that this bad?
> 
> Caught SOAP exception: SOAP Fault: The AXIS engine could not find a target
> service to invoke!  targetService is null
> 
> this it is my program client
> * EasySoap++ - A C++ library for SOAP (Simple Object Access Protocol)
> #include <SOAP.h>
> 
> //
> //  The namespace for the methods we're calling.  This
> //  is the same namespace defined in calchandler.h.
> static const char *ns = "http://localhost:8080/axis/servlet/AxisServlet";;
> static const char *default_server =
> "http://localhost:8080/axis/servlet/AxisServlet";;
> static const char *default_server_name = "Axis";
> static const char *default_interop_namespace =
> "http://localhost:8080/axis/servlet/AxisServlet";;
> static const char *default_interop_soapaction =
> "urn:xmltoday-delayed-quotes";
> 
> int
> main(int argc, const char *argv[])
> {
>       try
>       {
>               const char *endpoint;
>               if (argc > 1)
>                       endpoint = argv[1];
>               else
>                       endpoint =
> "http://localhost:8080/axis/servlet/AxisServlet";;
> 
>               SOAPProxy proxy(endpoint);
> ("samples.stock.GetQuote", ns);
>              SOAPMethod addmethod("getQuote", default_interop_namespace,
> default_interop_soapaction, false);
>       
> 
>               int a = 10;
>               int b = 22;
>               float n;
> 
> 
> 
>               addmethod.AddParameter("symbol") << "XXX";
> 
> 
>               const SOAPResponse& addresp = proxy.Execute(addmethod);
>               addresp.GetReturnValue() >> n;
>               printf("%d + %d = %d\n", a, b, n);
>               
>               return 0;
>               
>       }
>       catch (SOAPException& ex)
>       {
>               printf("Caught SOAP exception: %s\n", ex.What().Str());
>               return 1;
>       }
> }
> 
> Best regards
> 
> Victor
> 
> 
>
----------------------------------------------------------------------------
> --
> 
> Obt�n gratis tu cuenta de correo en StarMedia Email.
> �Reg�strate hoy mismo!. http://www.starmedia.com/email
> 
>
----------------------------------------------------------------------------
> --
> 
> 
>
----------------------------------------------------------------------------
> --
> 
> Obt�n gratis tu cuenta de correo en StarMedia Email.
> �Reg�strate hoy mismo!. http://www.starmedia.com/email
> 
>
----------------------------------------------------------------------------
> --
> 
> 
> This message may contain privileged and/or confidential information.  If
you
> have received this e-mail in error or are not the intended recipient, you
> may not use, copy, disseminate or distribute it; do not open any
> attachments, delete it immediately from your system and notify the sender
> promptly by e-mail that you have done so.  Thank you.
> 

----------------------------------------------------------------------------
--

Obt�n gratis tu cuenta de correo en StarMedia Email.
�Reg�strate hoy mismo!. http://www.starmedia.com/email

----------------------------------------------------------------------------
--


This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Reply via email to