Re: [Axis2] Creating Axis2 SOAP Header

2007-05-11 Thread Daniel Herbison
Thank you so far for your help! The code is getting to the call (invokeBlocking) but is failing with this exception: Exception in thread main org.apache.axiom.soap.SOAPProcessingException: Expecting an implementation of SOAP Envelope as the parent. But received some other implementation Could

Re: [Axis2] Creating Axis2 SOAP Header

2007-05-10 Thread Eran Chinthaka
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok, the first advice is *never* use impl classes inside Axiom. Always use the factories. The reason is we have multiple implementations of them. To correct your problem, the easiest way is to create an OMElement rather than a SOAPHeaderBlock and call