This could be caused by the infamous strtof() bug (a link error essentially), which occurs on some platforms.
See the bugs+patches page for a fix. http://www.cs.fsu.edu/~engelen/soapbugs.html I will remove strtof() from the code in the future. It fails unless certain compiler options are used, which is a hassle. Otherwise, you may have forgotten to use a return SOAP_OK statement in your server operation, thus returning an undefined error code value. - Robert --- In gsoap@yahoogroups.com, "BRACHET Maxime" <[EMAIL PROTECTED]> wrote: > > Hi > > I implemented a simple service using gSOAP 2.7 which return 2 float. > when I consume this service using an Axis2 client it return the following > errior : > > HTTP/1.1 400 Bad Request > Server: gSOAP/2.7 > Content-Type: application/soap+xml; charset=utf-8 > Content-Length: 682 > Connection: close > > <?xml version="1.0" encoding="UTF-8"?> > <SOAP-ENV:Envelope xmlns:SOAP-ENV=" > http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC=" > http://www.w3.org/2003/05/soap-encoding" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema" xmlns:ns2=" > http://ws.apache.org/axis2/GPSServiceSoap11Binding" xmlns:ns1=" > http://ws.apache.org/axis2" xmlns:ns3=" > http://ws.apache.org/axis2/GPSServiceSoap12Binding"> > <SOAP-ENV:Body> > <SOAP-ENV:Fault> > <SOAP-ENV:Code> > <SOAP-ENV:Value>SOAP-ENV:Sender</SOAP-ENV:Value> > </SOAP-ENV:Code> > <SOAP-ENV:Reason> > <SOAP-ENV:Text>Error -1076171656</SOAP-ENV:Text> > </SOAP-ENV:Reason> > </SOAP-ENV:Fault> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > What it means ? > > Regards, > Maxime. >