Can't add SOAPFault to an axis.message.SOAPEnvelope

2004-10-18 Thread Thomas Forrester
How do I add a SOAPFault to an org.apache.axis.message.SOAPEnvelope and then retrive it. Retreiving a SOAPBODY from the envelope like so: org.apache.axis.message.SOAPEnvelope.getBody() returns a javax.xml.soap.SOAPBody which is incompatable. Thanks Tom

Why do I get an invalid QName local part exception?

2004-10-15 Thread Thomas Forrester
Hi, Can anyone help explain why I get an exception thrown at the last line of this code snippet: DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); Document doc = builder.newDocument(); Element root = doc.createElementNS("EnvelopeService","getDetail"); doc.appen

Does anyone use the message style services in AXIS or is every one using RPC style only?

2004-10-14 Thread Thomas Forrester
Does anyone out there use the message style services? I am coming to the impression that nobody uses these methods, everyone uses the RPC style. Is this the case, if so what do people use for Message style web services, the JAAXM API's in the JWSDP possibly? I would appreciate some dialog on this

how to use message-style services in Axis

2004-10-13 Thread Thomas Forrester
Does anyone out there use the message style services? I am having real problems just trying to get a simple solution working with nested elements. The TestMsg.java example works OK to send individual elements (without children). I can not find any references on how to use implement the Document me

How to insert a DOM object into org.apache.axis.message.SOAPBody

2004-10-12 Thread Thomas Forrester
I have created a simple xml document as a DOM object e.g. 314159TKM901 I want to send this as a SOAP message to a web service in apache axis using the message method (as opposed to RPC). What is the easiest way to insert the DOM object into the SOAP message? For example I have tried: 1) org.ap