Hi,

Thanks for your reply!

> I notice your request has a closing tag after a self-closing tag.
> ...

</ns1:echoInteger> is closing the tag <ns1:echoInteger>
<ns1:arg0> is a self closing tag.

The soap request is generated by the axis client and I don't really
have any control on how it gets generated. The above request is
valid and it works fine otherwise.

Any other suggestions to work around this problem usign JQuery?

On Jul 9, 10:30 pm, [EMAIL PROTECTED] wrote:
> I notice your request has a closing tag after a self-closing tag.
> ...
> <ns1:arg0 href="#id0"/></ns1:echoInteger> shouldn't close itself and
> also have a closing tag. That would and should invalidate your soap
> request if I am correct without jquery interfering.
>
> try making the original request valid xml and check it again. IE..
> ...
> <ns1:arg0 href="#id0"></ns1:echoInteger>  notice that the first open
> tag is not self-closed allowing the </ns1 ... > tag to be the closing
> entity.
>
> Also for future reference, always try and validate the xml involved in
> your SOAP requests. I find it helps a great deal in debugging them.
>
> On Jul 8, 6:19 am,shruthi<[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I noticed JQuery does some clean up while appending html to an
> > element. This is a problem for me,
> > because I'm trying to use a text area which gets loaded with a soap
> > request.
>
> > My soap request looks like this.
>
> > <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
> > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><ns1:echoInteger
> > soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> > xmlns:ns1="http://ws.apache.org/axis2";><ns1:arg0 href="#id0"/></
> > ns1:echoInteger><multiRef id="id0" soapenc:root="0"
> > soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
> > xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/
> > encoding/">1</multiRef></soapenv:Body></soapenv:Envelope>
>
> > JQuery is closing the tag <ns1:agro> as </ns1>. This makes my soap
> > request invalid.
>
> > Is there a way to turn off this feature? Even a workaround would be
> > great!

Reply via email to