Re: namespace

"Dimple Joesph" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <000e01c479be$4bf6d030$220110ac@dimple>
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"...>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.