Hi Roshan,
I have committed in the MSVC projects, Makefile.am's and regenerated the
client code. I have successfully built the samples on Windows.
Calculator_AxisClientException has been replaced with SoapFaultException.
So I believe all the samples should build and work for you.
Please let me know how you get on. If you still have problems, please let
me know on what platform you are building the samples, using which build
system and the errors you get, for which samples.
Thanks,
Mark
Mark Whitlock
IBM
----- Forwarded by Mark Whitlock/UK/IBM on 18/02/2005 18:20 -----
Roshan
Weerasuriya
<[EMAIL PROTECTED] To
e.lk> Apache AXIS C Developers List
<[email protected]>
18/02/2005 06:28 cc
Subject
Please respond to Re: Fw: Client samples doesn't
"Apache AXIS C build due to the method call
Developers List" "getFaultDetail(&pcDetail)"
hi Mark,
Now the generated client stubs file set doesn't contain the
Calculator_AxisClientException.hpp/cpp files. So the client code
generated is not compiling. There is a problem with the latest CVS
wsdl2ws tool.
Roshan
On Thu, 2005-02-17 at 16:37 +0000, Mark Whitlock wrote:
>
>
>
> Hi Roshan,
> I have now migrated my wsdl2ws fixes for soap faults to rpc-encoded as
well
> as doc-literal. I have also fixed the samples, regenerated the sample
stubs
> and updated the sample Makefile.am's. Hopefully this will fix all the
> problems you were seeing.
> Mark
> Mark Whitlock
> IBM
>
> ----- Forwarded by Mark Whitlock/UK/IBM on 17/02/2005 16:33 -----
>
> Mark
> Whitlock/UK/[EMAIL PROTECTED]
> BMGB
To
> [email protected]
> 17/02/2005 09:56
cc
>
>
Subject
> Please respond to Fw: Client samples doesn't build
> "Apache AXIS C due to the method call
> Developers List" "getFaultDetail(&pcDetail)"
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Hi Roshan,
> I'll fix this. Previously when a soap fault (defined in the wsdl)
occurred
> it was thrown as a service exception and the client had to extract the
> fault information to work out which soap fault it was. I changed this so
> that the complex type that is the soap fault is thrown. This simplifies
the
> client application since clients can have a separate catch for each soap
> fault. This also simplifies memory management since the fault that is
> thrown manages its own memory and doesn't contain a pointer to
ISoapFault.
> Apologies for breaking the sample,
> Mark
> Mark Whitlock
> IBM
>
> ----- Forwarded by Mark Whitlock/UK/IBM on 17/02/2005 09:38 -----
>
> Roshan
> Weerasuriya
> <[EMAIL PROTECTED]
To
> e.lk> [email protected]
>
cc
> 17/02/2005 09:32
>
Subject
> Client samples doesn't build due
to
> Please respond to the method call
> "Apache AXIS C "getFaultDetail(&pcDetail)"
> Developers List"
>
>
>
>
>
>
>
>
>
> hi all,
>
> The current CVS sample client(s) (eg: simple clinet i.e Calcualtor
> client) doesn't build due to the following method call,
> "ws.getFaultDetail(&pcDetail);". When I check the Stub it doesn't have
> such a method call. Certainly it builds when I comment this line. But I
> would like to know who ever removed it, might have added a different way
> to extract the error details. Can someone please comment on this.
>
> //---code taken from Calculator client cvs....
>
> int main() {
> ..
> ....
> ......
>
> if (strcmp(op, "add") == 0)
> {
> iResult = ws.add(i1, i2);
> ws.getFaultDetail(&pcDetail);
> ..
> ......
>
>
> Roshan
>
>
>
>