[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wsdl2rpg and special char "&"
Sam,
For now the one and only option you have is to disable the XML entity
encoder at all. For that you need to call
XmlEntityEncoder_setEnabled(*OFF) before the request is produced by your
WS_OPER module:
XmlEntityEncoder_setEnabled(*OFF);
request =
'<?xml version="1.0" encoding="UTF-8"?>' +
'<soapenv:Envelope' +
' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"' +
' xmlns:s0="http://www.ripedev.com/"' +
'>' +
'<soapenv:Body>' +
'';
This way no entities will be encoded. I try to fix that mid August. Today
the entity encoder searches for '&' and replaces it with '&'. I was
better it would also check the next character for a '#' before replacing
the '&'.
But if you are open for a contribution you may want to try to modify
encodeXmlEntityToStreamInternally() (WSDL2R98) yourself and sent it back
to me.
Regards,
Thomas.
Am 18.07.2014 18:59, schrieb Sam:
> Good morning, We have wsdl2rpg version v1.15beta8 installed, We are
> sending " " as part of a field value, it is getting converted to
> "&#032", is there a flag or something I can set so that it is not
> escaped again.
>
> It looks like in the latest version there is procedure to set the flag
> on off, not sure though
>
> Thanks in advance.
>
>
> Sent from my iPhone
> -----------------------------------------------------------------------
>
>
This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------