ws-sandesha-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jaliya Ekanayake" <jnekanay...@gmail.com>
Subject Re: wrong <wsa:Address>
Date Fri, 06 Jan 2006 20:29:01 GMT
Hi Ken,

Sandesha will use the local machine's IP address as the replyTo address when 
it sends requests from a client machine. You can override it by setting this 
value in the client as follows.

 ctx.setReplyToURL("http://127.0.0.1:9090/axis/services/RMService");

Thanks,

Jaliya


> Dear All:
>
> I am trying to implent sandesha on an existing ws, the deploy descriptor
> reads like this :
> ==================================================================================
> <deployment xmlns="http://xml.apache.org/axis/wsdd/"
> xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> <service name="TaskWS" provider="java:RPC">
> <parameter name="className" value="com.ctu.tm.ws.TaskWSIF"/>
> <parameter name="allowedMethods" value="*"/>
> <beanMapping qname="myNS:Forecast" xmlns:myNS="urn:BeanService"
> languageSpecificType="java:com.ctu.tm.data.TaskBaseBean"/>
> </service>
>
> <service name="RMService" provider="Handler">
>         <requestFlow>
>             <handler
> type="java:org.apache.sandesha.ws.rm.handlers.RMServerRequestHandler"></handler>
>             <handler
> type="java:org.apache.axis.message.addressing.handler.AddressingHandler"></handler>
>         </requestFlow>
>
>         <parameter name="handlerClass"
> value="org.apache.sandesha.ws.rm.providers.RMClientProvider"/>
>         <parameter name="className"
> value="org.apache.sandesha.client.RMService"/>
>         <parameter name="allowedMethods" value="*"/>
>         <parameter name="scope" value="request"/>
>     </service>
> </deployment>
> ==================================================================================
> I use my PC as both RM source and RM destination.
>
> In my logs file , I find the following message :
> <wsa:Address>http://192.168.2.2:9090/axis/services/RMService</wsa:Address>
>
> It's really weired. The ip address of my PC is definitely not
> 192.168.2.2 , does anyone know why this happens ?
>
> Thanks for reading my question.
>
> Ken
> -- 
> 研發部             胡重威             Ken Hu          ken@mmti.com.tw
>
> 孟華科技股份有限公司
> http://www.mmti.com.tw
>
> 高雄巿804鼓山區蓮海路70號
> 國立中山大學創新育成中心511室
>
> 電話      07-5253020
> 傳真      07-5252165
> 行動      0937083880
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: sandesha-dev-help@ws.apache.org
> 


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


Mime
View raw message