Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 23590 invoked from network); 12 Jun 2009 07:26:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jun 2009 07:26:12 -0000 Received: (qmail 60812 invoked by uid 500); 12 Jun 2009 07:26:22 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 60763 invoked by uid 500); 12 Jun 2009 07:26:22 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 60754 invoked by uid 99); 12 Jun 2009 07:26:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 07:26:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_HELO_PASS,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2009 07:26:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MF194-0001fe-AT for axis-user@ws.apache.org; Fri, 12 Jun 2009 00:25:50 -0700 Message-ID: <23994109.post@talk.nabble.com> Date: Fri, 12 Jun 2009 00:25:50 -0700 (PDT) From: brijesh To: axis-user@ws.apache.org Subject: Axis client converts < > character to < > in payload MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: brijeshnk@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org hello there, i have following wsdl file when I call the service from axis client it converts xml < > character to http://www.nabble.com/file/p23994109/sp_caracter.jpg in payload , i am setting xml string ( test msg) as input message but in server I get payload as http://www.nabble.com/file/p23994109/sp_caracter.jpg which causes exception, is there anyway option in axis client to not to convert these character and send the message as it is to service? When I tested the same service with SOAP UI it works and send the message as it is, the issue is with axis client code. following is client code snippet public void test1NotifyEventPortNotifyEvent() throws Exception { com.ekaplus.www.NotifyEvent.NotifyEventBindingStub binding; try { binding = (com.ekaplus.www.NotifyEvent.NotifyEventBindingStub) new com.ekaplus.www.NotifyEvent.NotifyEventServiceLocator().getNotifyEventPort(); } catch (javax.xml.rpc.ServiceException jre) { if(jre.getLinkedCause()!=null) jre.getLinkedCause().printStackTrace(); throw new junit.framework.AssertionFailedError("JAX-RPC ServiceException caught: " + jre); } assertNotNull("binding is null", binding); // Time out after a minute binding.setTimeout(60000); // Test operation java.lang.String value = null; value = binding.notifyEvent(new java.lang.String("test message ")); // TBD - validate results System.out.println("ResponseDoc::"+value); } thanks & regards Brijesh N K -- View this message in context: http://www.nabble.com/Axis-client-converts-%3C-%3E-character-to---lt---gt--in-payload-tp23994109p23994109.html Sent from the Axis - User mailing list archive at Nabble.com.