You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Subash Devkota <SD...@D2Hawkeye.com> on 2006/11/30 08:08:51 UTC

[Axis2] Problem getting response from WebService from client in next pc

Hi all,

I am having problem calling webservice hosted in next pc.
If the web service client is in same computer, it works fine. But if 
client and server are at different computers, there is error receiving 
response from the server. The server can get the request  but the client 
can not obtain response from server.

I am using Axis2-1.0 and rampart module for security.
I am using :
    <items>Timestamp Signature Encrypt</items>
configuration in outflow and inflow for both client and service side.

I obtain following error when I call service from a client from any 
other computer other than the one where client is hosted:

org.apache.axis2.AxisFault: WSDoAllReceiver: security processing failed; 
nested exception is:
    org.apache.ws.security.WSSecurityException: An error was discovered 
processing the <wsse:Security> header. (WSSecurityEngine: Invalid 
timestamp The security semantics of message have expired)
    at 
org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:183)
    at 
org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82)
    at org.apache.axis2.engine.Phase.invoke(Phase.java:381)
    at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:473)
    at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:445)
    at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:355)
    at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:279)
    at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:457)
    at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:399)
   ....
Caused by: org.apache.ws.security.WSSecurityException: An error was 
discovered processing the <wsse:Security> header. (WSSecurityEngine: 
Invalid timestamp The security semantics of message have expired)
    at 
org.apache.ws.security.processor.TimestampProcessor.handleTimestamp(TimestampProcessor.java:82)
    at 
org.apache.ws.security.processor.TimestampProcessor.handleToken(TimestampProcessor.java:52)
    at 
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:269)
    at 
org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:191)
    at 
org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:180)
    ... 12 more

Please help me.......
Thanks in advance
Subash 
 
 
PRIVACY NOTICE

This email and any attachments may be confidential and/or privileged. Use of the information contained in this email by anyone other than the intended recipient is strictly prohibited. If you have received this email in error, please notify the sender by replying to this message and delete this email.

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