[ http://issues.apache.org/jira/browse/AXIS2-1668?page=all ]

Davanum Srinivas resolved AXIS2-1668.
-------------------------------------

    Resolution: Fixed

Applied.

thanks,
dims

> Corrected an issue in TCPClient.java
> ------------------------------------
>
>                 Key: AXIS2-1668
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1668
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.1
>         Environment: Win XP, JDK 1.5
>            Reporter: Charitha Kankanamge
>         Attachments: patch.patch
>
>
> In order to run TCPClient, options.setAction("urn:echo") must be added to the 
> source. When I ran TCPClient.java as it was, following addressing error was 
> thrown.
> INFO: Deploying module : addressing-1.1
> Exception in thread "main" org.apache.axis2.AxisFault: A required header 
> representing a Message Addressing Property is not present
>       at 
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:308)
>       at 
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:579)
>       at 
> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
>       at userguide.clients.TCPClient.main(TCPClient.java:52)
> I was able to overcome this issue by adding, options.setAction("urn:echo") in 
> TCPClient.java.
> A patch is attached here with the necessary adjustment.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to