Default namespace instead of using 'n1' namespace

1 view
Skip to first unread message

Herry

unread,
Aug 3, 2007, 4:31:31 AM8/3/07
to soap4r
Hi guys,

Is there a way to use the default namespace instead of 'n1' namespace
for the SOAP request? I couln't find any hints on the docs and FAQ.

Example:
<Operation xmlns='http://domain.com/service'>
<Variable>Value</Variable>
</Operation>

Instead of the default:
<n1:Operation xmlns:n1='http://domain.com/service'>
<n1:Variable>Value</n1:Variable>
</n1:Operation>

Sadly to say my host service can only accept default namespace. Thanks
a million.

Herry

unread,
Aug 3, 2007, 12:48:18 PM8/3/07
to soap4r
Sorry guys, just ignore my previous message. Found the answer I was
looking for after digging through the code:

For those who face the same problem, when adding the document or rpc
operation, make sure the
elementformdefault is set to true.

NAKAMURA, Hiroshi

unread,
Aug 4, 2007, 9:57:12 AM8/4/07
to soa...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Herry wrote:
> Sorry guys, just ignore my previous message. Found the answer I was
> looking for after digging through the code:
>
> For those who face the same problem, when adding the document or rpc
> operation, make sure the
> elementformdefault is set to true.

Amazing! I've been unaware of that feature.

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)

iQEVAwUBRrSFth9L2jg5EEGlAQL/iQgAuzmA6eN7HWYLNXoXu/u9X8vMOIuZZsC8
tXTSSJctbE4MweyzYW7iWNjyc8DQTHMsEZwhCPlfwI7BnPO4C92j+vfaPth45dAw
+jX8mXSx9AfIikKyMwX7MWa09duzgs7Uv6bre/tVYP49+zFGj0dR2rURJQVfjne2
NTjqmRV7V0HlnqtQIoMMhuPEIfZEX36zskDbBVRjEHMGZsA7RnY9bvmMUiG4dhIU
WTmZ02s+UZ3ZCxOx4qUPRRf66egTM5Cd4DlyK4vlrM56EpOyaQceNZOyNuNZeyq8
pv7FjxGFONAORmqosywdAv1ybxHQi/loUUZF09VfXuyI6sbEBpbFAw==
=FjJ3
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages