Simon Laws wrote:
On 11/27/06, Simon Laws <[EMAIL PROTECTED]> wrote:
On 11/27/06, Pete Robbins <[EMAIL PROTECTED]> wrote:
>
> On 27/11/06, Pete Robbins <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 27/11/06, Simon Laws <[EMAIL PROTECTED] > wrote:
> > >
> > > I've just checked out SCA and SDO from SVN and I get and error
in VC
> > > Express
> > > when building SCA...
> > >
> > > ------ Build started: Project: tuscany_sca_ws_dispatcher,
> Configuration:
> > > Debug Win32 ------
> > > Compiling...
> > > Axis2Dispatcher.cpp
> > > Axis2DispatcherModule.cpp
> > >
>
c:\simon\projects\eclipse3.2\cpp\sca\runtime\extensions\ws\service\axis2c\src\tuscany\sca\ws\axis2dispatchermodule.cpp(66)
>
> > >
> > > : error C2440: '=' : cannot convert from 'axis2_status_t
(__stdcall
> > > *)(axis2_module_t *,const axis2_env_t *,axis2_conf_ctx_t
> > > *,axis2_module_desc_t *)' to 'axis2_status_t (__stdcall
> *)(axis2_module
> > > *,const axis2_env_t *)'
> > > This conversion requires a reinterpret_cast, a C-style cast
> or
> > > function-style cast
> > > Generating Code...
> > >
> > > Does this mean I have an out of date Axis install on my machine?
> > >
> > > Simon
> > >
> > >
> > Possibly. It builds fine for me against Axis 0.94 and 0.95
> >
> > --
> > Pete
>
>
> actually it's 0.94 I'm using
> --
> Pete
Thanks Pete,
I just upgraded to 0.95 and it built. Yet to test it.
S
So, I tried running the calculator sample with the web serivces
client and
it crashes. The local client works fine. So it is likely an issue with my
environment but has anyone else tried with Axis2 C 0.95?
For me it crashes in the axis2c DLL called from the line:
stub = (axis2_stub_t *)
axis2_stub_create_with_endpoint_uri_and_client_home(env,
endpoint_uri,
client_home);
Which is in the axis2_Calculator_stub.cpp file.
I'm fairly sure that my environment is set properly to use Axis2C 0.95
(i.e.
I've updated my path to point to the right version). I'll keep looking
but
It would be useful to know if some has used it successfully.
Simon
Simon
Hi Simon,
I'm using Axis2C 0.94. Most of us are probably still using Axis2C 0.94
as it's what we've used for our M2 release.
The error you're getting is not in the SCA runtime. This Web Services
client is not an SCA client and is using the Axis2C API directly. We may
have to update this client to work with Axis2C 0.95... In the meantime,
could you try to see if a real SCA client using an SCA reference with a
WS binding works? There's such a client in the RubyCalculator sample
under sample.calculator.wsclient.
Switching to Axis2C 0.95 soon is probably a good idea anyway. Axis2C
0.94 is not on the Apache mirrors anymore and you have to dig to find it
in the Apache backup archive at http://www.apache.org/dist/ws/axis2/c/.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]