RE: How can I create a java client to call axis c++ web service(Calculator)

2007-01-16 Thread yinqiu luo

I solved the issue based on information from

http://issues.apache.org/jira/browse/AXISCPP-111



From: "yinqiu luo" <[EMAIL PROTECTED]>
Reply-To: "Apache AXIS C User List" 
To: axis-c-user@ws.apache.org
Subject: How can I create a java client to call axis c++ web 
service(Calculator)

Date: Tue, 16 Jan 2007 19:58:41 +


Hi, all,

Please help.

I created axis c++ Calculator service (using axis-c-1.6-Linux-trace-bin) 
and installed it into apache server. I also created a c++ client which 
works well to call axis c++ Calculator service remotly. But I have problem 
to create a java client to call axis c++ Calculator service . I used "java 
org.apache.axis.wsdl.WSDL2Java ${AXISCPP}/deploy/wsdls/calculator.wsdl " to 
generate java stubs (axis-1_4).
my service is "http://57.4.3.195:80/axis/Calculator";. It is within my co's 
firewall.


All client and server machine are within the firewall.

I have error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Webservice failed
faultActor: server name:listen port
faultNode:
faultDetail:
  {}appSpecific:AxisEngineException:Web Service failed

Please help.

regards,
Yinqiu Luo

_
Type your favorite song.  Get a customized station.  Try MSN Radio powered 
by Pandora. http://radio.msn.com/?icid=T002MSN03A07001



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_
Dave vs. Carl: The Insignificant Championship Series.  Who will win? 
http://clk.atdmt.com/MSN/go/msnnkwsp007001msn/direct/01/?href=http://davevscarl.spaces.live.com/?icid=T001MSN38C07001



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



How can I create a java client to call axis c++ web service(Calculator)

2007-01-16 Thread yinqiu luo


Hi, all,

Please help.

I created axis c++ Calculator service (using axis-c-1.6-Linux-trace-bin) and 
installed it into apache server. I also created a c++ client which works 
well to call axis c++ Calculator service remotly. But I have problem to 
create a java client to call axis c++ Calculator service . I used "java 
org.apache.axis.wsdl.WSDL2Java ${AXISCPP}/deploy/wsdls/calculator.wsdl " to 
generate java stubs (axis-1_4).
my service is "http://57.4.3.195:80/axis/Calculator";. It is within my co's 
firewall.


All client and server machine are within the firewall.

I have error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Webservice failed
faultActor: server name:listen port
faultNode:
faultDetail:
  {}appSpecific:AxisEngineException:Web Service failed

Please help.

regards,
Yinqiu Luo

_
Type your favorite song.  Get a customized station.  Try MSN Radio powered 
by Pandora. http://radio.msn.com/?icid=T002MSN03A07001



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: hello

2007-01-16 Thread Nabeel Yoosuf

On 1/16/07, ritu gaud <[EMAIL PROTECTED]> wrote:


hello,
 thank u very much for ur such useful help, bt i got stucked again,
i am trying to run math.c (math_skeleton.c, math.h) to generate math.exe,
bt this project get compiled successfully, bt while linking gvs me errors
like

math.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math_skeleton.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
math_skeleton.obj : error LNK2001: unresolved external symbol
[EMAIL PROTECTED]
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/math.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
math.exe - 7 error(s), 0 warning(s)

hv u tried to generate exe? which file shud i include in vc++ project, to
remove above linking errors?



According to the errors, vc++ cannot find the axiom and util libraries. It
seems that either path to axis2 lib is incorrect or not set. In the vc
project check whether you have set the library path to $AXIS2C_FOLDER/lib.

Nabeel.

PS. I am using VC 2005 Express edition, which is available free of charge.

thank you.


Urvashi



*Nabeel Yoosuf <[EMAIL PROTECTED]>* wrote:

Hi,

If you are using the 0.96 binary distribution, for the time being you can
compile in Linux/Windows with the following steps. (Windows bin release does
not provide assistance on building samples yet, I'll file a JIRA for you.)

In Windows [vc project]
==
download and extract mathvc.zip from [1] to $AXIS2C_FOLDER/samples/client
you'll need to set include path to $AXIS2C_FOLDER/include and set path to
other required libraries listed in the installation guide

This will place the math.exe file inside Debug folder

In Windows [with nmake]
===
download and extract build.zip from [1] to $AXIS2C_FOLDER
you'll need to update $AXIS2C_FOLDER/build/win32/configure.in

vcvars32.bat
nmake axis2_client_math

This will place math.exe in $AXIS2C_FOLDER/bin/samples

In Linux
==
cd $AXIS2C_FOLDER/samples
./configure

This will create the Makefile for each sample.

cd client/math
make

If you are using Windows src distribution, there are VC projects under ide
section.

HTH,
Nabeel.
[1] http://people.apache.org/~nabeel/axis2c/tmp/


On 1/15/07, ritu gaud <[EMAIL PROTECTED]> wrote:
>
> hello,
>   can plz anyone guide me, how the
>
>   axis2_math_stub.c ,
>   math_client.c ,
>   math_skeleton.c and
>   math.c
>
>   files are used to generate the final exe i.e math.exe ?
>
>   thank you.
>
>   Urvashi
> --
> Here's a new way to find what you're looking for - Yahoo! Answers
> 
>


--
Here's a new way to find what you're looking for - Yahoo! 
Answers