Marcin,

Are you using rpc/encoded or doc/literal?

If you are using rpc/encoded, then the operation namespace is determined by the namespace attribute in the <input> definition in the <binding>. You can specify a different namespace for each operation. If you generate your server code from the WSDL file, Axis should be able to handle it. If not, then you should log it as a bug.

If you are using doc/literal, then the namespace of the top-level element in your SOAP body is determined by the targetNamespace attribute of the <schema> that defines the input element. If you want to use different namespaces, you need to define each message structure in a different schema.

Regards,
Anne

At 09:16 PM 9/20/2003 +0200, you wrote:
Hi.
I would like to make a message service that has two operations in different namespaces. So one would be invoked by messages <ns1:op1/> and <ns2:op2/>.


Unfortunately if I try to do it, I get an error, that Axis can't match an operation. When I set a namespace attribute in deploying I can run only one of those messages.

Is it possible to do it? Maybe it even isn't possible to describe in WSDL?

Thank you in advance.
Marcin Okraszewski

--
-------------------------------------------------------------
                      Marcin Okraszewski
[EMAIL PROTECTED]                                       GG: 341942
[EMAIL PROTECTED]          PGP: www.okrasz.prv.pl/pgp.asc
-------------------------------------------------------------






Reply via email to