Group:  Other Microsoft Office Products ยป microsoft.public.infopath
Thread: How to modify the default namespace?

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

How to modify the default namespace?
"Martin Eckart" <moartl17[ at ]yahoo.de> 17.07.2006 15:37:53
Hi NG,

Does anyone know how to modify the default namespace "tempuri.org" and
replace by custom one in an existing .xsn file (meaning in all sub files
like manifext.xsf, template.xml, ...)?

Thank you very much,
Martin


Re: How to modify the default namespace?
"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> 17.07.2006 17:49:39
You should be able to extract the form files and make these changes using notepad--though I don't know what side effects you might run into later.

Why do you need to change this? Is there a legitimate business reason, or just curious?

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )


Re: How to modify the default namespace?
"Martin Eckart" <moartl17[ at ]yahoo.de> 18.07.2006 06:48:25
I did that. But than I do get error messages that my Web Service Calls do
not work anymore, so I assume that this is not the best way to do that...

It is a Security issue and the company I am working for wants me to change
that. Now that we have ~20 forms in production I need to find a way how to
best deal with that.

Any idea?

"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> wrote in message
news:%23qdqilcqGHA.5012[ at ]TK2MSFTNGP03.phx.gbl...
You should be able to extract the form files and make these changes using
notepad--though I don't know what side effects you might run into later.

Why do you need to change this? Is there a legitimate business reason, or
just curious?

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )



Re: How to modify the default namespace?
"Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> 18.07.2006 16:30:19
I'm not a security expert, so I don't understand how a namespace definition is considered a security issue. I wonder if they are going overboard on something that is not the issue they think it is. Maybe someone else can jump in here and either explain it to me, or back me up that it's not really an issue.

If all you did was change the string "tempuri.org" to "somethingelse" in every location it is present, then I would have assumed that it would work correctly. If not, then perhaps the WS is "expecting" that namespace definition. If so, then I don't know what more you can do unless there is some way to change the WS expectations.

Good luck!

--
Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPathDev ( http://www.InfoPathDev.com )


Re: How to modify the default namespace?
S.Y.M. Wong-A-Ton 18.07.2006 18:14:02
Like Greg said, the namespace cannot be a security issue, unless it is being
used somehow/somewhere for authentication, authorization, or access control.
And if that is the case, I'd recommend reviewing your security design first
before trying to change it.
---
S.Y.M. Wong-A-Ton


"Martin Eckart" wrote:

[Quoted Text]
> I did that. But than I do get error messages that my Web Service Calls do
> not work anymore, so I assume that this is not the best way to do that...
>
> It is a Security issue and the company I am working for wants me to change
> that. Now that we have ~20 forms in production I need to find a way how to
> best deal with that.
>
> Any idea?
>
> "Greg Collins [InfoPath MVP]" <gcollins_AT_msn_DOT_com> wrote in message
> news:%23qdqilcqGHA.5012[ at ]TK2MSFTNGP03.phx.gbl...
> You should be able to extract the form files and make these changes using
> notepad--though I don't know what side effects you might run into later.
>
> Why do you need to change this? Is there a legitimate business reason, or
> just curious?
>
> --
> Greg Collins [Microsoft MVP]
> Visit Brain Trove ( http://www.BrainTrove.com )
> Visit InfoPathDev ( http://www.InfoPathDev.com )
>
>
>
>

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net