axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Attharkar, Asmita" <aatth...@telcordia.com>
Subject RE: Web service URL
Date Mon, 10 Nov 2008 17:14:40 GMT
Thanks for the responses Deepal,

Can I also add the port in the axis2.xml for the transport ins - http so my webservice will
be available at:

http://hostname:portnumber/MyWebApp/services/MyService

where hostname and port number are taken from axis2.xml?
[transport receiver for http?]

Thanks,
Asmita
-----Original Message-----
From: Deepal jayasinghe [mailto:deepalk@gmail.com]
Sent: Monday, November 10, 2008 11:09 AM
To: axis-user@ws.apache.org
Subject: Re: Web service URL


> Hi Deepal,
>
> Even I provide the URL in targetNamespace and SchemaNamespace of my services.xml
Well targetNamespace and SchemaNamespace are different than the service
URL in the WSDL service section. You can have same TagetNameSpace and
deploy in multiple servers , then each get different service address.
>  - can I edit the axis2.xml and it will take in the hostname from axis2.xml accordingly?
>
Yes , if you are running behind a proxy then it is good idea to edit he
host name in axis2.xml
> Is it a good practice to provide the targetNamespace and SchemaNamespace in services.xml?
>
Yes , for the service.
> Thanks so much,
> Asmita
>
> -----Original Message-----
> From: Deepal jayasinghe [mailto:deepalk@gmail.com]
> Sent: Monday, November 10, 2008 10:54 AM
> To: axis-user@ws.apache.org
> Subject: Re: Web service URL
>
> Attharkar, Asmita wrote:
>
>> Hi all,
>>
>>
>>
>> I would like to know what different factors are accounted when web
>> service address URL is created, I do not have my WSDL provided. Axis2
>> generates it for me.
>>
>> I want to be able to change the hostname IP address dynamically.
>>
>>
> Well the address is generated using the incoming request. You can change
> that by editing axis.xml
> change the host name parameter.
>
> Deepal
>
>>
>> Thanks,
>>
>> Asmita
>>
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> Thank you!
>
>
> http://blogs.deepal.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>


--
Thank you!


http://blogs.deepal.org


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


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


Mime
View raw message