just to make sure that all soap requests do have the company namespace declared.
----- Original Message ----- From: "Scott Nichol" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 8:54 PM Subject: Re: namespace The call.buildEnvelope() will get you an Envelope to inspect and play with, but call.invoke(...) internally calls call.buildEnvelope() again, creating a new envelope that is independent of the one you previously manipulated. To my knowledge, there is no way using the RPC API to add an attribute to the SOAP Envelope. If you use the messaging API, you would have this freedom. My question would be, why do you need this particular namespace declared on the SOAP Envelope element? Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Dimple Joesph" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 03, 2004 8:59 PM Subject: Re: namespace > Call call = new Call(); > call.setSOAPMappingRegistry(smr); > Envelope env = call.buildEnvelope(); > env.declareNamespace("acme","http://acmecorp.com/namespace"); > > call.setTargetObjectURI(URN); > call.setMethodName("method");l > call.invoke(); > > > ----- Original Message ----- > From: "Scott Nichol" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, August 03, 2004 4:41 PM > Subject: Re: namespace > > > Can you be more specific about how you "get the envelope"? > > Scott Nichol > > Do not send e-mail directly to this e-mail address, > because it is filtered to accept only mail from > specific mail lists. > ----- Original Message ----- > From: "Dimple Joesph" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Sunday, August 01, 2004 5:04 PM > Subject: namespace > > > In a call i get the envelope and do env.declarenamespace but the namespace > is not set in the envelope.can anyone help me with this > > How do you specify a namespace in soap env like the xmlns :acme.what is the > command to do so. > <SOAP-ENV:Envelope > ...xmlns:acme="http://acmecorp.com/namespace"...> > >