axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hawkins <HAWKI...@uk.ibm.com>
Subject RE: A Problem with java webService client talking to C++ WebService server( The Calculator demo)
Date Thu, 10 Nov 2005 15:43:29 GMT
Hmm, I've not played with server that much - looks like the url might be 
wrong for the calculator - it should start with axis/<service> try that 
uri and see if it works. 

Could you raise a JIRA for the original simpleaxiserver problem please?

thanks,
John.





"Liu, Richard" <Richard.Liu@boeing.com> 
10/11/2005 15:32
Please respond to
"Apache AXIS C User List"


To
"Apache AXIS C User List" <axis-c-user@ws.apache.org>
cc

Subject
RE: A Problem with java webService client talking to C++ WebService 
server( The Calculator demo)






Hi, John:
 
  Thanks a lot for your reply.
 
  I have managed to set the axis server in apache instead of using 
"simple_axis_server", the same java client works great now !.  Maybe it's 
a problem of  "simple_axis_server".
 
  Another small proble I have now is that after I do "./apachectl start", 
I start my browser (Mozilla) and I type http://localhost:8000/axis, I see 
the "Welcome to AXIS C++" webpage and the "wsdl" link to each demo WSDL 
file.  However, if I click the "wsdl" link, I can not see the real wsdl 
file, I got an "The requested URL /calculator was not found on this 
server." error. 
 
  How could I fix this problem ?
 
 
Thanks
 
Richard Liu
 
 

From: John Hawkins [mailto:HAWKINSJ@uk.ibm.com] 
Sent: Thursday, November 10, 2005 2:31 AM
To: Apache AXIS C User List
Subject: Re: A Problem with java webService client talking to C++ 
WebService server( The Calculator demo)


hmm, 
sounds like either the C server wasn't flushing (not likely) or closing 
the stream (more likely) and Java didn't pick it up until it was closed. 
Could be an issue with either the server or the java client impl . 
However, we've not seen this before - and you would have thought this 
would be quite common - so perhaps you could try a different jvm first? 

Does your java client work against other servers? 

The fact your using the simpleaxis server and not apache makes me 
suspicious as this server isn't as robust as the apache solution. Can you 
set it up in apache? 

cheers, 
John. 




"Liu, Richard" <Richard.Liu@boeing.com> 
09/11/2005 22:14 

Please respond to
"Apache AXIS C User List"



To
<axis-c-user@ws.apache.org> 
cc

Subject
A Problem with java webService client talking to C++ WebService server ( 
The Calculator demo)








Hi,

 I am new to webService and using axis-c-1.5.0-linux-bin webservice on
linux now. 

 After installing all the software, I can successfully run the
"Calculator" demo provided by the axis-1.5, with both client and server
in C++ on two different linux machines.

 However, when I use the "Calculator.wsdl" to generate all the stub
files for a java client, wrote the java client and run this java client
to invoke "add" function, my java client was hanging there.

 The strang thing is that if I do "control-C" to stop the runing
"simple_axis_server 8001", my java webservice client immediately get the
CORRECT "add" function result
 back to me.

 Can anybody tell how to fix this problem ?

 
Thanks


Richard Liu
Software Engineer at Boeing 



Mime
View raw message