I'm trying to send the content of a java class file  to a server through a
SOAP request (as an XMLType.XSD_STRING");
 but I'm getting the following error:

"org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was
found in the element content of the document"



Is there some way of encoding the request to avoid the problem?



Thanks for any response!!



 /**  sends the content of a class file as a   XMLType.XSD_STRING **/
  public final String upload(String content,String path) throws Exception {
    call.setOperationName(new QName("Admin","upload"));
    call.setReturnType(XMLType.SOAP_STRING);

call.addParameter("content",XMLType.XSD_STRING,ParameterMode.PARAM_MODE_IN);
    this.response = (String) call.invoke(new Object[]{content});
    call.removeAllParameters();
    return response;
  }







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

Reply via email to