nemesis

nemesis

  • NA
  • 1
  • 0

Error in consuming web service by .NET client

May 22 2006 2:23 PM
I hav a server runnin on gsoap n a client on .NET.there is a square function in server which is defined as follows int ns__squarefunction(struct soap *soap, int num1, int *result) //the square function { printf("The square function has been initialized\n"); fprintf(stderr,"Value sent: %d\n",num1); *result = num1*num1; return SOAP_OK; } now in client I get following error.server is responding with correct answer but clinet is taking as a error messege. Client found response content type of '', but expected 'text/xml'. The request failed with the error message: -- 81 can anyone giv me idea,why .NET client is not able 2 understand the response from the gsoap server.Please respond asap,it is very urgent.