Peter Barrs <peter.barrs <at> data-arterial.net> writes: > > Hello, > > I am trying to get some very simple blocking client side code to work > based on the examples in the user guide > > I get an AxisFault, "First Element must contain the local name, > Envelope" exception in response to > sender.sendReceive(request) in the code listing below. > > I have all the 0.95 jars in the classpath and the service itself works > ok - I have tested that by other means. > > I did try creating a complete message (below), without and without the > soap namespace, but I still get the above exception > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:tns="http://nrmw.qld.gov.au/imsFeatureExtractService"> > <soap:Body> > <tns:getServiceIdentifiersRequest/> > </soap:Body> > </soap:Envelope>
Hello I'm sure this may be a little late but I have had the same problem. Try invoking the method from a browser i.e http://yourServer/axis2/services/yourService/theMethod?wsdl (you should be able to see the xml to be returned to you) if not, you should at least get some helpful errors. :-) Thanks