Greetings, I've been using axis for a while now, supporting simultaneously rest and soap requests. I'm also using the adb codegeneration tool from axis2/java project (c data bindings creation from wsdl document ). Now there is one issue when using the auto generated adb's and REST requests. As you know adb will also ensure the parameters in the request have the correct namespace. Problem is only using rest requests we can specify that namespace. When using rest it would be possible to parse the request with axiom, and ignore the namespace. But with adb's that is not an option and rest requests fail within adb serializarion as they miss the required namespace. This seems like a flaw to me, unless i'm missing something here in which case i'd like to hear some feedback.
Anyways in order to address this issue we've come across 2 solutions. The first was to include an attribute for each operation @ services.xml specifying the default namespace which is then used in rest requests (patched src/core/deployment/svc_builder.c). The second solution was to patch the xls document that specifies adb generation, so there is no namespace verification for any adb (patched /org/apache/axis2/schema/template/CADBBeanTemplateSource.xsl from axis2/java). What are your thoughs on this matter? Is this something you will be addressing in future versions of Axis2/c? Regards, Luís Bilo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]