axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal Jayasinghe <deep...@gmail.com>
Subject Re: Disable namespace for POJO based service?
Date Fri, 23 Jul 2010 12:53:21 GMT
Axis2 does not directly provide a way to do that, but you can easily
do it by adding a module. Write a handler to do what you want and
process only the request coming to local host.

Deepal

On Fri, Jul 23, 2010 at 6:41 AM, Charles Galpin <cgalpin@lhsw.com> wrote:
> Yes you are correct, but for my purposes this is fine.
> On a related note I would also like to restrict access to a service to just
> localhost for example.
> <serviceGroup>
>   <service name="ExternalInterface" />
>   <service name="InternalInterface" />
> </serviceGroup>
> Can you recommend a way to limit access to the InternalInterface service to
> just localhost (or a specific IP, etc).
> thanks,
> charles
> On Jul 22, 2010, at 2:41 PM, Deepal Jayasinghe wrote:
>
> With the setting you mentioned Axis2 still generates namespaces in
> WSDL but at the run time it just ignores the name spaces in the
> message.
>
> Deepal
>
> On Thu, Jul 22, 2010 at 1:58 PM, Moritz Mädler <mail@moritz-maedler.de>
> wrote:
>
> I think if you just add
>
>        <schema elementFormDefaultQualified="false"/>
>
> to the service.xml it will work.
>
>
> Am 22.07.2010 um 19:53 schrieb Charles Galpin:
>
> Is it possible to have a POJO based service with no namespace generated in
> the XML? I am using  Ext.js to consume the xml from my service but it cannot
> handle namespaces in the tags generated for the objects I am returning.
>
> thanks,
>
> charles
>
>
>



-- 
http://blogs.deepal.org

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Mime
View raw message