axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <>
Subject Re: One service with operations in different namespaces
Date Thu, 25 Sep 2003 01:56:19 GMT

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.


At 09:16 PM 9/20/2003 +0200, you wrote:
>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 
>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
>                                       GG: 341942
>          PGP:

View raw message