Re: Known exception

2006-04-10 Thread Adrian Dick
Hi,

You don't mention which version of Axis C++, but I shall assume the 1.6Beta
for the moment.

There is an error in the Calculator sample, on line 45 of Client.cpp the
endpoint is incorrectly capitalized, Calculator should start with an upper
case 'C'.  This is why the server is returning an exception, as it is
unable to find the corresponding service.
As for getting the message: "Exception: Cannot deserialize the requested
element." this is as a result of a problem in the stubs generated by
WSDL2Ws for rpc/encoded WSDLs, I believe this may now be fixed in the
nightly builds.

Regards,
Adrian
___
Adrian Dick ([EMAIL PROTECTED])


Atanacio Reyes <[EMAIL PROTECTED]> wrote on 08/04/2006 19:04:43:

> Hi.
>
> I'm trying to deploy the calculator example, and on
> client side, I have the next error.
>
> Exception: Cannot deserialize the requested element.
>
> the request soap message is:
>
> POST /axis/calculator HTTP/1.1
> Host: localhost:80
> Content-Type: text/xml; charset=UTF-8
> SOAPAction: "Calculator#add"
> Content-Length: 405
>
>
> 
>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> 
>  xmlns:ns1="http://localhost/axis/Calculator";>
>  xsi:type="xsd:int">20
>  xsi:type="xsd:int">20
> 
> 
> 
>
> And the response from simple_axis_server is:
>
> HTTP/1.1 200 OK
> Server: Apache Axis C++/1.6.a
> Connection: close
> Content-Length: 345
> Content-Type: text/xml
>
> 
> 
> 
> 
> SOAP-ENV:Server
> Unknown exception
> areyes:80
> Unknown Exception has
> occurred
> 
> 
> 
> 
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com



Known exception

2006-04-08 Thread Atanacio Reyes
Hi.

I'm trying to deploy the calculator example, and on 
client side, I have the next error.

Exception: Cannot deserialize the requested element.

the request soap message is:

POST /axis/calculator HTTP/1.1
Host: localhost:80
Content-Type: text/xml; charset=UTF-8
SOAPAction: "Calculator#add"
Content-Length: 405



http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>

http://localhost/axis/Calculator";>
20
20




And the response from simple_axis_server is:

HTTP/1.1 200 OK
Server: Apache Axis C++/1.6.a
Connection: close
Content-Length: 345
Content-Type: text/xml





SOAP-ENV:Server
Unknown exception
areyes:80
Unknown Exception has
occurred






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com