axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roshan Weerasuriya <ros...@opensource.lk>
Subject Re: curious bug with namespace prefixes
Date Wed, 02 Jun 2004 17:56:04 GMT
hi alek,

 >otherwise one can get such invalid XML produced by AXIS-C++ (prefix 
SOAP-ENV is not declared ...)

Fixed it. The prefix "SOAP-ENV" was hard-coded in the Axis C++ code. 
Corrected it now.

rgds,
Roshan

At 02:20 AM 6/2/2004 -0500, you wrote:
>i would suggest to use something more than string concatentaion to emit 
>XML output with namesapces (i had similiar problems in XSOAP1).
>
>otherwise one can get such invalid XML produced by AXIS-C++ (prefix 
>SOAP-ENV is not declared ...)
>
><?xml version='1.0' encoding='utf-8' ?><env:Envelope 
>xmlns:env=\"http://www.w3.org/2003/05/soap-envelope\" 
>xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" 
>xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><env:Body><SOAP-ENV:Fault><faultcode

>xsi:type=\"xsd:string\">SOAP-ENV:Client</faultcode><faultstring 
>xsi:type=\"xsd:string\">Soap method is not allowed to 
>invoke</faultstring><faultactor 
>xsi:type=\"xsd:string\">http://endpoint/url</faultactor><faultdetail 
>xsi:type=\"xsd:string\">Requested method is not 
>allowed</faultdetail></SOAP-ENV:Fault></env:Body></env:Envelope>---
>
>something like Tim Bray serializer (see xml-dev) or XmlPull XmlSerializer 
>(but translated to C++ ) should make writing valid XML much easier.
>
>alek
>
>--
>The best way to predict the future is to invent it - Alan Kay
>




Mime
View raw message