nope, the body is there. i am using ADB. Shall I switch to xmlbeans for data bindings?
here is the soap message: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><ns1:ProcessFlowContext xmlns:ns1="http://tests.ws.dbvr.com/types"><id>111111111</id><user>ege</user><pswd>hh</pswd></ns1:ProcessFlowContext></soapenv:Header><soapenv:Body><ns1:msg xmlns:ns1="http://tests.ws.dbvr.com/types"><token>erewtr4</token><phone>sfddffcew</phone><message>efewfde</message></ns1:msg></soapenv:Body></soapenv:Envelope> the sample works fine in axis1, by the way! Denis On Sun, 2006-06-04 at 17:32 -0400, Anne Thomas Manes wrote: > Please provide more information. Based on the error message, it would > appear thta you are not including a body element (which is required). > > On 6/3/06, DO <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to test a service with the header. I auto > generated stubs > and every time I invoke the service it returns the following > message: > > org.apache.axis2.AxisFault: SOAPEnvelope must contain a body > element > which is either first or second child element of the > SOAPEnvelope. > > The service works fine if the header is not set. The header is > a simple > object with 3 string fields. I do not have a header handler on > the > server side. > > Any help would be appreciated. > > Cheers, > Denis > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
