Yes I modified the request to make it one line but error still comes. Can u suggest a different web service engine for developing web services in c/c++.
On Fri, Apr 26, 2013 at 6:42 PM, Alex Mantaut <alex.mant...@intraway.com>wrote: > Did you generate a soapUI client from the wsdl I sent? Notice that in the > request you must remove all the end of line characters (basically you must > modify the request to make it one long line)... I don't know why this > happens, I don't use the server often, but it seems like a bug... > > Anyways if this doesn't work either you can check the client sample in > ./samples/client/math to see how a sucessfull request is sent... > > Hope it helps > > > > On Fri, Apr 26, 2013 at 1:16 AM, kanak kumari <kanak...@gmail.com> wrote: > >> Hi Alex, >> >> Thanks for the reply. >> I tried the math example by creating math.wsdl from calculator.wsdl but >> the same error persist. >> I also tried the math.wsdl u sent me but again the same error. >> >> >> On Thu, Apr 25, 2013 at 7:53 PM, Alex Mantaut >> <alex.mant...@intraway.com>wrote: >> >>> Hi, >>> I don't use axis server often, but if possible can you use the math >>> example instead of Calculator? (it has all the same operations but a >>> different name) The math example also has a client which works and can >>> serve as an example (perhaps Calculator was moved to math, and wasn't >>> deleted, i don't know)... >>> BTW, couldn't find math.wsdl to use with soap UI so I created it >>> from Calculator wsdl... I tried it and it worked but the sample seems to >>> have some problems if the xml has end of lines inside (perhaps a bug?) >>> Anyways if you create a client from math.wsdl without end of lines >>> it should work. >>> >>> Regards >>> >>> >>> >>> On Thu, Apr 25, 2013 at 4:08 AM, kanak kumari <kanak...@gmail.com>wrote: >>> >>>> Dear List, >>>> > >>>> > I'm completely new to axis2c and I've just downloaded and unpacked >>>> > axis2c 1.6 for Windows (binary release). >>>> > >>>> > I've followed the installation instructions and have successfully >>>> > started axis2_http_server. >>>> > >>>> > Trying to access the Calculator service's WSDL works fine (e.g. from >>>> > Visual Studio 2008) via >>>> > http://localhost:9090/axis2/services/Calculator?wsdl, but any call to >>>> > the service's add method returns "invalid XML in request" as well as the >>>> > same text is shown in the console window where axis2_http_server is >>>> > running. >>>> > >>>> > I've also tried soapUI. The request shown is: >>>> > >>>> > <soapenv:Envelope >>>> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" >>>> > xmlns:typ="http://ws.apache.org/axis2/services/Calculator/types"> >>>> > <soapenv:Header/> >>>> > <soapenv:Body> >>>> > <typ:add> >>>> > <param_1>1.0</param_1> >>>> > <param_2>1.0</param_2> >>>> > </typ:add> >>>> > </soapenv:Body> >>>> > </soapenv:Envelope> >>>> > >>>> > The response is >>>> > >>>> > <soapenv:Envelope >>>> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ >>>> > "> >>>> > <soapenv:Body> >>>> > <soapenv:Fault> >>>> > <faultcode>soapenv:Sender</faultcode> >>>> > <faultstring>Invalid XML format in request</faultstring> >>>> > </soapenv:Fault> >>>> > </soapenv:Body> >>>> > </soapenv:Envelope> >>>> > >>>> > The problem is issued in in calc.c (function axis2_calc_add()), where >>>> > >>>> > seq_node = axiom_node_get_first_child(complex_node, env); >>>> > >>>> > returns NULL. >>>> >>>> I would be happy for some hints on how to solve the problem. >>>> >>>> >>> >>> >>> -- >>> -- >>> Mantaut Alex >>> Intraway Corp. >>> >>> +54 (11) 6040-4000 >>> MSN: alex.mant...@intraway.com >>> >>> Visit our website at http://www.intraway.com >>> Proud to be an ISO 9001:2008 certified company >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: c-dev-unsubscr...@axis.apache.org >>> For additional commands, e-mail: c-dev-h...@axis.apache.org >>> >> >> > > > -- > -- > Mantaut Alex > Intraway Corp. > > +54 (11) 6040-4000 > MSN: alex.mant...@intraway.com > > Visit our website at http://www.intraway.com > Proud to be an ISO 9001:2008 certified company >