The SOAPAction header is an HTTP header. It must be included in you input message.
-----Original Message----- From: Robert Sanford [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 8:13 AM To: [EMAIL PROTECTED] Subject: FW: No SOAPAction Header Error This message was originally sent to the Axis C++ User mailing list but I haven't gotten a reply from there so I'm trying the Java list since the server-side portion of the equation that is returning the error message is the Java side. Many thanks! rjsjr > -----Original Message----- > From: Robert Sanford [mailto:[EMAIL PROTECTED] > Sent: Monday, June 28, 2004 3:07 PM > To: [EMAIL PROTECTED] > Subject: No SOAPAction Header Error > > > After mucking around with Axis C++ client internals to get my > documents to actually transmit I get an error message from my > Axis Java server as cited below. The crux of the error > message from the Axis Java server is "no SOAPAction header!". > When I use the Axis Java client everything works just fine. > > I have copied the output from the console window below so you > can see what was transmitted and what was returned for > general viewing pleasure. > > The only difference that I can detect is that Java client has > extra attributes on the ns1:dispatch element as follows: > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > > Is that the issue? If that *is* the issue then how do I make > sure those attributes are applied to the ns1:dispatch element? > > Many thanks! > > rjsjr > > ---------- > > Transport:init() successfull > <?xml version='1.0' encoding='utf-8' ?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > <SOAP-ENV:Body> > <ns1:dispatch xmlns:ns1="http://soapinterop.org/"> > > <ns1:arg0 xsi:type="xsd:string"> > My document data here > </ns1:arg0> > </ns1:dispatch> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > try > Payload: > 1cb > <?xml version="1.0" encoding="UTF-8"?> > <soapenv:Envelope > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmln > s:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSc > hema-instance"> > <soapenv:Body> > <soapenv:Fault> > <faultcode > xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</f > aultcode> > <faultstring>no SOAPAction header!</faultstring> > <detail/> > </soapenv:Fault> > </soapenv:Body> > </soapenv:Envelope> > > m_MsgSize:466 > bodyLength:-842150451 > try > m_MsgSize:5 > bodyLength:-842150917 >