You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by sv...@apache.org on 2004/08/24 19:49:59 UTC

cvs commit: ws-juddi/src/java/org/apache/juddi/proxy AxisTransport.java

sviens      2004/08/24 10:49:59

  Modified:    src/java/org/apache/juddi/proxy AxisTransport.java
  Log:
  Applied AxisTransport patch contributed by Antoni described in bug# JUDDI-39 (http://nagoya.apache.org/jira/browse/JUDDI-39)
  
  Revision  Changes    Path
  1.4       +1 -1      ws-juddi/src/java/org/apache/juddi/proxy/AxisTransport.java
  
  Index: AxisTransport.java
  ===================================================================
  RCS file: /home/cvs/ws-juddi/src/java/org/apache/juddi/proxy/AxisTransport.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AxisTransport.java	4 Jun 2004 13:46:43 -0000	1.3
  +++ AxisTransport.java	24 Aug 2004 17:49:59 -0000	1.4
  @@ -67,7 +67,7 @@
         call.setTargetEndpointAddress(endpointURL);
   
         String requestString = XMLUtils.ElementToString(request);
  -      SOAPBodyElement body = new SOAPBodyElement(new ByteArrayInputStream(requestString.getBytes()));
  +      SOAPBodyElement body = new SOAPBodyElement(new ByteArrayInputStream(requestString.getBytes("UTF-8")));
         Object[] soapBodies = new Object[] { body };
   
         Vector result = (Vector)call.invoke(soapBodies);