Hello everyone,

 

I have configured AXIS2/C with apache2 web server. I compiled calculator
sample with the following command:

"gcc -shared -olibCalculator.o -I/usr/local/axis2c/include/axis2-1.3.0
-L$AXIS2C_HOME/lib -laxutil -laxis2_axiom -laxis2_parser -laxis2_engine
-lpthread -laxis2_http_sender -laxis2_http_receiver calc.c"

 

Now when I access it through Internet explorer :
http://192.168.4.163/axis2/services/Calculator it displays :


Deployed Services


Calculator


This is a testing service, named 'Calculator' to test dynamic client 

Available Operations 

*       div 
*       add 
*       sub 
*       mul 

Problem is when I try to access its WSDL file by adding "?wsdl" at the end
of URL it gives an error:

The XML page cannot be displayed 

Cannot view XML input using style sheet. Please correct the error and then
click the Refresh <javascript:location.reload()>  button, or try again
later. 

  _____  

Invalid at the top level of the document. Error processing resource
'http://192.168.4.163/axis2/services/Calculator?wsdl'. ...

Unable to retreive wsdl for this service

^

 

When I tried to add this as a web-reference in VS.Net it displayed "The HTML
document does not contain Web service discovery information.".


Please help me where I am doing wrong.

 

Regards, 

Rahil Ali

 

Reply via email to