Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 5023 invoked by uid 500); 10 May 2002 17:50:10 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 5003 invoked from network); 10 May 2002 17:50:05 -0000 Message-ID: From: "Volanis, Alexander" To: "'axis-dev@xml.apache.org'" Subject: Interoperability issue with MSVC++.Net Date: Fri, 10 May 2002 13:49:43 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all, I have developed an Axis RPC web service that works very nicely with C#.Net and VB.Net clients. Doing the same with VC++.Net which uses ATL 7.0 to parse the XML messages revealed two issues with the generated WSDL. Issue 1) The generated WSDL contains response message definitions that look like this: When the method is invoked the result message looks like this: ... MSVC++.Net generates some table based parsing that assumes the response element will be named "return" instead of "methodReturn". I looked into the Axis sources but could not pinpoint the problem. It seems to me that the Java2WSDL should be able to keep the element name consistent with the method invocation. I tried the WSDD operation element returnQName attribute but I had no success. Is the returnQName attribute supported in Axis? Issue 2) This problem appeared in beta 2 and I can still see this in the 5/6/2002 nightly build. The problem has to do with the generated operation bindings. The namespace for input is different from the namespace for output. The MS service proxy generator utility stops with an error indicating that namespaces must be the same. This is what I get for the operation method binding: Notice how the namespace is the method name for input and the service URI for output. Both of these problems I can correct by editing the WSDL but I would rather see the correct WSDL generated instead. Thank you for your time and this great product! Regards, Alex Volanis Consulting Engineer e-mail: avolanis@rsasecurity.com