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:[EMAIL PROTECTED]
Sent: Monday, November 10, 2008 11:09 AM
To: [email protected]
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:[EMAIL PROTECTED]
> Sent: Monday, November 10, 2008 10:54 AM
> To: [email protected]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


--
Thank you!


http://blogs.deepal.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to