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";...>

Reply via email to