From michaelchan@example.org Fri Apr 01 02:05:22 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 85791 invoked from network); 1 Apr 2005 02:05:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 02:05:21 -0000 Received: (qmail 41735 invoked by uid 500); 1 Apr 2005 02:05:19 -0000 Delivered-To: michaelchan@example.org Received: (qmail 41697 invoked by uid 500); 1 Apr 2005 02:05:18 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 41683 invoked by uid 99); 1 Apr 2005 02:05:18 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 31 Mar 2005 18:05:18 -0800 Received: (qmail 85752 invoked by uid 1700); 1 Apr 2005 02:05:17 -0000 Received: from localhost (michaelchan@example.org) by localhost with SMTP; 1 Apr 2005 02:05:17 -0000 Date: Thu, 31 Mar 2005 18:05:17 -0800 (PST) From: Toshiyuki Kimura <michaelchan@example.org> To: michaelchan@example.org Subject: RE: cvs commit: ws-axis/java/src/org/apache/axis/i18n resource.properties In-Reply-To: <michaelchan@example.org> Message-ID: <michaelchan@example.org> References: <michaelchan@example.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost 1.6.2 0/1000/N X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Tom, Thank you for the advice, and my apologies for insufficient words. > The idea was to present translators with as minimal set of diffs > from release to release as possible. Basically, I quite agree with you on the approach, but the problem of the current resource is that there're so many unused and temporal keys. Fortunately, the Japanization is the first feasibility study for Axis in i18n task. I think that it's a good timing to clean-up the existing resource keys, so that later translators can easy find out the necessary keys to translate. Then, in fact, I've also asked dims how we should take steps to do so. Sure, erasing of keys is not so good at this time. My (/ Our) intention was below on the diff of the last commit message; ###################################################################### # Unused keys # # # # THE FOLLOWING KEYS ARE NOT IN-USE ON THE CURRENT SOURCE. FOR THIS # # REASON, THESE KEYS MAY BE DEPRECATED SOMETIMES IN THE FUTURE. IF # # YOU EXPLICITLY HOPE TO USE ANY KEYS BELOW, YOU HAVE TO MOVE THE # # KEYS INTO THE "In-use keys" BLOCK ABOVE. # # # # Mar. 31, 2005 Toshi # ###################################################################### Thanks, Toshi On Thu, 31 Mar 2005, Tom Jordahl wrote: > > Toshi, > > This is great, but in general we add new keys to the bottom of the file > so that additions that need to be translated are always in the same > place. > > The idea was to present translators with as minimal set of diffs from > release to release as possible. > > -- > Tom Jordahl > Macromedia Server Development >> -----Original Message----- >> From: michaelchan@example.org [mailto:michaelchan@example.org] >> Sent: Thursday, March 31, 2005 5:31 AM >> To: michaelchan@example.org >> Subject: cvs commit: ws-axis/java/src/org/apache/axis/i18n >> resource.properties >> >> toshi 2005/03/31 02:30:54 >> >> Modified: java/src/org/apache/axis/i18n resource.properties >> Log: >> On the i18n task, we've found a lot of unused keys at the current >> resource file. To make clear the status, I've added the following >> changes to the file. >> >> BEFORE: resource.properties >> +-----------------+ >> | key-1 = .... | <-- (In-use) >> | key-2 = .... | <-- (Unused) >> | key-3 = .... | <-- (In-use) >> | key-4 = .... | <-- (Unused) >> | key-5 = .... | <-- (Unused) >> | key-6 = .... | <-- (In-use) >> : : >> +-----------------+ >> >> AFTER: resource.properties >> +-----------------+ >> | ### In-use keys | >> | # | >> | key-1 = .... | >> | key-3 = .... | >> | key-6 = .... | >> | | >> | ### Unused keys | >> | # | >> | key-2 = .... | >> | key-4 = .... | >> | key-5 = .... | >> : : >> +-----------------+ >> >> Credit: >> On this task, Shouhei Kodama has been a great help in creating >> the new resource file. >> >> Thanks, >> Toshi > From michaelchan@example.org Fri Apr 01 08:30:13 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 5286 invoked from network); 1 Apr 2005 08:30:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 08:30:12 -0000 Received: (qmail 38035 invoked by uid 500); 1 Apr 2005 08:22:51 -0000 Delivered-To: michaelchan@example.org Received: (qmail 37987 invoked by uid 500); 1 Apr 2005 08:22:51 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 37971 invoked by uid 99); 1 Apr 2005 08:22:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 00:22:50 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id 2C08429A for <michaelchan@example.org>; Fri, 1 Apr 2005 10:22:47 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Fri, 1 Apr 2005 10:22:47 +0200 (CEST) From: =?UTF-8?Q?Sanlaville_R=C3=A9my_=28JIRA=29?= <michaelchan@example.org> To: michaelchan@example.org Subject: [jira] Updated: (AXIS-1905) Axis - .NET - Namespace In-Reply-To: <{{EMAIL+PHONE}}> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-1905?page=3Dhistory ] Sanlaville R=E9my updated AXIS-1905: ---------------------------------- Attachment: MultiDiffusionWS.wsdl deploy.wsdd The wsdl and wsdd file for the getVersion example > Axis - .NET - Namespace > ----------------------- > > Key: AXIS-1905 > URL: http://issues.apache.org/jira/browse/AXIS-1905 > Project: Axis > Type: Bug > Versions: 1.2RC3 > Environment: Server (Windows/Weblogic8.1 SP2) - Client (Windows/.NET v1.= 1) > Reporter: Sanlaville R=E9my > Attachments: MultiDiffusionWS.wsdl, deploy.wsdd > > I'm using Axis version 1.2RC3 for my Web Service on the server side=20 > We have to accept both Axis client (v1.2RC3) and .NET client (v1.1).=20 > You will find the wsdl and wsdd in attachment=20 > <<MultiDiffusionWS.wsdl>> <<deploy.wsdd>>=20 > I am facing with the following interoperability problem.=20 > If the .NET client invoke the getVersion method, our Web Service return t= his soap message :=20 > <?xml version=3D"1.0" encoding=3D"utf-8"?>=20 > <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelo= pe/" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xsi=3D"http://www= .w3.org/2001/XMLSchema-instance"> > <soapenv:Body>=20 > <getVersionResponse xmlns=3D"http://mdws.rd.francetelecom= .com">=20 > <getVersionReturn>=20 > <version>v1.0</version>=20 > </getVersionReturn>=20 > </getVersionResponse>=20 > </soapenv:Body>=20 > </soapenv:Envelope>=20 > But the .NET client need this soap message=20 > <?xml version=3D"1.0" encoding=3D"utf-8"?>=20 > <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelo= pe/" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xsi=3D"http://www= .w3.org/2001/XMLSchema-instance"> > <soapenv:Body>=20 > <getVersionResponse xmlns=3D"http://mdws.rd.francetelecom= .com">=20 > <getVersionReturn>=20 > <version xmlns=3D"http://model.mdws.rd.fr= ancetelecom.com">v1.0</version>=20 > </getVersionReturn>=20 > </getVersionResponse>=20 > </soapenv:Body>=20 > </soapenv:Envelope>=20 > I don't understand why Axis does not generate the namespace http://model.= mdws.rd.francetelecom.com for the node version (cf. wsdl). > (Perhaps we also need a namespace for the node getVersionReturn).=20 > (From Anne) > I think this is a bug in Axis. (please report it) .NET's interpretation o= f the schema is correct. getVersionReturn is in the http://mdws.rd.francete= lecom.com namespace, and version is in the http://model.mdws.rd.francetelec= om.com namespace. > As a workaround, either define the getVersionReturn element in the second= namespace, or define the type in the first namespace. You also might try r= emoving the elementFormDefault attribute from the second schema, which woul= d put version in no namespace. > Anne --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From michaelchan@example.org Fri Apr 01 08:53:44 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 15345 invoked from network); 1 Apr 2005 08:53:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 08:53:44 -0000 Received: (qmail 79123 invoked by uid 500); 1 Apr 2005 08:53:39 -0000 Delivered-To: michaelchan@example.org Received: (qmail 79082 invoked by uid 500); 1 Apr 2005 08:53:39 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 79069 invoked by uid 99); 1 Apr 2005 08:53:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 00:53:37 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id 32CE52CC for <michaelchan@example.org>; Fri, 1 Apr 2005 10:22:42 +0200 (CEST) Message-ID: <{{EMAIL+PHONE}}> Date: Fri, 1 Apr 2005 10:22:42 +0200 (CEST) From: =?UTF-8?Q?Sanlaville_R=C3=A9my_=28JIRA=29?= <michaelchan@example.org> To: michaelchan@example.org Subject: [jira] Created: (AXIS-1905) Axis - .NET - Namespace Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Axis - .NET - Namespace ----------------------- Key: AXIS-1905 URL: http://issues.apache.org/jira/browse/AXIS-1905 Project: Axis Type: Bug Versions: 1.2RC3 =20 Environment: Server (Windows/Weblogic8.1 SP2) - Client (Windows/.NET v1.1) Reporter: Sanlaville R=E9my Attachments: MultiDiffusionWS.wsdl, deploy.wsdd I'm using Axis version 1.2RC3 for my Web Service on the server side=20 We have to accept both Axis client (v1.2RC3) and .NET client (v1.1).=20 You will find the wsdl and wsdd in attachment=20 <<MultiDiffusionWS.wsdl>> <<deploy.wsdd>>=20 I am facing with the following interoperability problem.=20 If the .NET client invoke the getVersion method, our Web Service return thi= s soap message :=20 <?xml version=3D"1.0" encoding=3D"utf-8"?>=20 <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope= /" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xsi=3D"http://www.w= 3.org/2001/XMLSchema-instance"> <soapenv:Body>=20 <getVersionResponse xmlns=3D"http://mdws.rd.francetelecom.c= om">=20 <getVersionReturn>=20 <version>v1.0</version>=20 </getVersionReturn>=20 </getVersionResponse>=20 </soapenv:Body>=20 </soapenv:Envelope>=20 But the .NET client need this soap message=20 <?xml version=3D"1.0" encoding=3D"utf-8"?>=20 <soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope= /" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xsi=3D"http://www.w= 3.org/2001/XMLSchema-instance"> <soapenv:Body>=20 <getVersionResponse xmlns=3D"http://mdws.rd.francetelecom.c= om">=20 <getVersionReturn>=20 <version xmlns=3D"http://model.mdws.rd.fran= cetelecom.com">v1.0</version>=20 </getVersionReturn>=20 </getVersionResponse>=20 </soapenv:Body>=20 </soapenv:Envelope>=20 I don't understand why Axis does not generate the namespace http://model.md= ws.rd.francetelecom.com for the node version (cf. wsdl). (Perhaps we also need a namespace for the node getVersionReturn).=20 (From Anne) I think this is a bug in Axis. (please report it) .NET's interpretation of = the schema is correct. getVersionReturn is in the http://mdws.rd.francetele= com.com namespace, and version is in the http://model.mdws.rd.francetelecom= .com namespace. As a workaround, either define the getVersionReturn element in the second n= amespace, or define the type in the first namespace. You also might try rem= oving the elementFormDefault attribute from the second schema, which would = put version in no namespace. Anne --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From michaelchan@example.org Fri Apr 01 09:28:52 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 29903 invoked from network); 1 Apr 2005 09:28:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 09:28:51 -0000 Received: (qmail 25144 invoked by uid 500); 1 Apr 2005 09:28:50 -0000 Delivered-To: michaelchan@example.org Received: (qmail 25096 invoked by uid 500); 1 Apr 2005 09:28:50 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 25083 invoked by uid 99); 1 Apr 2005 09:28:49 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 01 Apr 2005 01:28:49 -0800 Received: (qmail 29873 invoked by uid 2003); 1 Apr 2005 09:28:48 -0000 Date: 1 Apr 2005 09:28:48 -0000 Message-ID: <michaelchan@example.org> From: michaelchan@example.org To: michaelchan@example.org Subject: cvs commit: ws-axis/c/tests/auto_build/testcases/client/cpp CalculatorDocSSLClient.cpp X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N jamejose 2005/04/01 01:28:48 Modified: c/tests/auto_build/testcases/client/cpp CalculatorDocSSLClient.cpp Log: Revision Changes Path 1.6 +1 -1 ws-axis/c/tests/auto_build/testcases/client/cpp/CalculatorDocSSLClient.cpp Index: CalculatorDocSSLClient.cpp =================================================================== RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/CalculatorDocSSLClient.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CalculatorDocSSLClient.cpp 23 Mar 2005 15:45:06 -0000 1.5 +++ CalculatorDocSSLClient.cpp 1 Apr 2005 09:28:48 -0000 1.6 @@ -57,7 +57,7 @@ sslkeyhome=getenv("SSL_KEYS_HOME"); if (!sslkeyhome) - { cout << "SSL_KEY_HOME not set" << endl; + { cout << "SSL_KEYS_HOME not set" << endl; return 1; } From michaelchan@example.org Fri Apr 01 09:29:58 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 30227 invoked from network); 1 Apr 2005 09:29:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 09:29:57 -0000 Received: (qmail 28651 invoked by uid 500); 1 Apr 2005 09:29:56 -0000 Delivered-To: michaelchan@example.org Received: (qmail 28605 invoked by uid 500); 1 Apr 2005 09:29:56 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 28590 invoked by uid 99); 1 Apr 2005 09:29:55 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 01 Apr 2005 01:29:55 -0800 Received: (qmail 30204 invoked by uid 2003); 1 Apr 2005 09:29:54 -0000 Date: 1 Apr 2005 09:29:54 -0000 Message-ID: <michaelchan@example.org> From: michaelchan@example.org To: michaelchan@example.org Subject: cvs commit: ws-axis/c/tests/auto_build/testcases/client/cpp CalculatorDocSSL1Client.cpp X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N jamejose 2005/04/01 01:29:54 Modified: c/tests/auto_build/testcases/client/cpp CalculatorDocSSL1Client.cpp Log: Revision Changes Path 1.6 +1 -1 ws-axis/c/tests/auto_build/testcases/client/cpp/CalculatorDocSSL1Client.cpp Index: CalculatorDocSSL1Client.cpp =================================================================== RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/CalculatorDocSSL1Client.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- CalculatorDocSSL1Client.cpp 23 Mar 2005 15:45:06 -0000 1.5 +++ CalculatorDocSSL1Client.cpp 1 Apr 2005 09:29:54 -0000 1.6 @@ -56,7 +56,7 @@ sslkeyhome=getenv("SSL_KEYS_HOME"); if (!sslkeyhome) - { cout << "SSL_KEY_HOME not set" << endl; + { cout << "SSL_KEYS_HOME not set" << endl; return 1; } From michaelchan@example.org Fri Apr 01 10:40:53 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 47138 invoked from network); 1 Apr 2005 10:40:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 10:40:53 -0000 Received: (qmail 17985 invoked by uid 500); 1 Apr 2005 10:40:48 -0000 Delivered-To: michaelchan@example.org Received: (qmail 17955 invoked by uid 500); 1 Apr 2005 10:40:47 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 17941 invoked by uid 99); 1 Apr 2005 10:40:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from fw.qualitype.de (HELO mail.qualitype.de) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 02:40:46 -0800 content-class: urn:content-classes:message Subject: RE: Wsdl2java ignores types[Scanned] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01C536A7.41172BF5" Date: Fri, 1 Apr 2005 12:40:42 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6487.1 Message-ID: <michaelchan@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Wsdl2java ignores types[Scanned] Thread-Index: AcU1/aGiL5EJbEW1RCuoHEEnRJdTngACbT7wACff/2A= From: "Ulbricht, Frank" <michaelchan@example.org> To: <michaelchan@example.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C536A7.41172BF5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have attached the file that was produced by Axis 1.1 wsdl2java. Now in Axis 1.2R3 I don't have a file... I aggree this is a much friendlier behavior, I don't like this An99Type either. But still there is the problem how to access this existing web service thate xpects this type. It is not developed by me, so I have no way to change/update it... -----Original Message----- From: Tom Jordahl [mailto:michaelchan@example.org]=20 Sent: Thursday, March 31, 2005 5:37 PM To: michaelchan@example.org Subject: RE: Wsdl2java ignores types[Scanned] What was the type that Axis emitted for AN99Type? WE don't implement the restrictions, so Axis was probably 'fixed' to just put a String for this type. I would argue this is much friendlier behavior. -- Tom Jordahl Macromedia Server Development > -----Original Message----- > From: Ulbricht, Frank [mailto:michaelchan@example.org] > Sent: Thursday, March 31, 2005 9:27 AM > To: michaelchan@example.org > Subject: Wsdl2java ignores types >=20 >=20 > Hello there, >=20 > I'm using "wsdl2java" from Axis 1.2R3 with the following WSDL file from > a third party company (simplified for showing the problem): >=20 > <?xml version=3D"1.0" encoding=3D"UTF-8"?> <wsdl:definitions=20 > targetNamespace=3D"urn:std-transfer" > xmlns=3D"http://schemas.xmlsoap.org/wsdl/" > xmlns:apachesoap=3D"http://xml.apache.org/xml-soap" > xmlns:impl=3D"urn:std-transfer" xmlns:intf=3D"urn:std-transfer" > xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/" > xmlns:tns2=3D"http://stdmsg.soap.sla" = xmlns:tns3=3D"http://dtyp.soap.sla" > xmlns:tns4=3D"http://soap.apache.org" > xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap=3D"http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"> > <wsdl:types> > <schema targetNamespace=3D"http://dtyp.soap.sla" > xmlns=3D"http://www.w3.org/2001/XMLSchema"> > <import namespace=3D"http://schemas.xmlsoap.org/soap/encoding/"/> > <simpleType name=3D"AN99Type"> > <restriction base=3D"xsd:string"> > <maxLength value=3D"99"/> > </restriction> > </simpleType> > <simpleType name=3D"CS80004Type"> > <restriction base=3D"xsd:string"> > <enumeration value=3D"0"/> > <enumeration value=3D"1"/> > <enumeration value=3D"2"/> > <enumeration value=3D"3"/> > <enumeration value=3D"4"/> > <enumeration value=3D"5"/> > <enumeration value=3D"6"/> > <enumeration value=3D"7"/> > </restriction> > </simpleType> > </schema> > </wsdl:types> > </wsdl:definitions> >=20 > A class is generated for "CS80004Type" but not for "AN99Type". It works > fine with Axis 1.1. Could this be a bug in Axis 1.2R3 or is something=20 > wrong with the WSDL file? >=20 > I have no problem using pure strings instead of the "An99Type" but in=20 > this case I'm not compatible with the existing web service anymore... >=20 > Regards, > Frank Ulbricht >=20 > ______________________________________________________________ >=20 > [ F r a n k U l b r i c h t ] >=20 > Softwareentwicklung | software development >=20 > Qualitype AG > Quality Assurance Systems | Bioinformatics > Moritzburger Weg 67 | 01109 Dresden > fon (660)715-9144 | fax (660)715-9144 > mailto:michaelchan@example.org | http://www.qualitype.de=20 > ______________________________________________________________ >=20 >=20 > The information in this email and any attachments is confidential and is > intended for the addressee only. If you are not the intended recipient, > please delete this message and any attachments and advise the sender by > return email. >=20 ------_=_NextPart_001_01C536A7.41172BF5 Content-Type: application/octet-stream; name="AN99Type.java" Content-Transfer-Encoding: base64 Content-Description: AN99Type.java Content-Disposition: attachment; filename="AN99Type.java" LyoqDQogKiBBTjk5VHlwZS5qYXZhDQogKg0KICogVGhpcyBmaWxlIHdhcyBhdXRvLWdlbmVyYXRl ZCBmcm9tIFdTREwNCiAqIGJ5IHRoZSBBcGFjaGUgQXhpcyBXU0RMMkphdmEgZW1pdHRlci4NCiAq Lw0KDQpwYWNrYWdlIHNsYS5zb2FwOw0KDQpwdWJsaWMgY2xhc3MgQU45OVR5cGUgIGltcGxlbWVu dHMgamF2YS5pby5TZXJpYWxpemFibGUsIG9yZy5hcGFjaGUuYXhpcy5lbmNvZGluZy5TaW1wbGVU eXBlIHsNCiAgICBwcml2YXRlIGphdmEubGFuZy5TdHJpbmcgdmFsdWU7DQoNCiAgICBwdWJsaWMg QU45OVR5cGUoKSB7DQogICAgfQ0KDQogICAgLy8gU2ltcGxlIFR5cGVzIG11c3QgaGF2ZSBhIFN0 cmluZyBjb25zdHJ1Y3Rvcg0KICAgIHB1YmxpYyBBTjk5VHlwZShqYXZhLmxhbmcuU3RyaW5nIHZh bHVlKSB7DQogICAgICAgIHRoaXMudmFsdWUgPSBuZXcgamF2YS5sYW5nLlN0cmluZyh2YWx1ZSk7 DQogICAgfQ0KDQogICAgLy8gU2ltcGxlIFR5cGVzIG11c3QgaGF2ZSBhIHRvU3RyaW5nIGZvciBz ZXJpYWxpemluZyB0aGUgdmFsdWUNCiAgICBwdWJsaWMgamF2YS5sYW5nLlN0cmluZyB0b1N0cmlu ZygpIHsNCiAgICAgICAgcmV0dXJuIHZhbHVlID09IG51bGwgPyBudWxsIDogdmFsdWUudG9TdHJp bmcoKTsNCiAgICB9DQoNCiAgICBwdWJsaWMgamF2YS5sYW5nLlN0cmluZyBnZXRWYWx1ZSgpIHsN CiAgICAgICAgcmV0dXJuIHZhbHVlOw0KICAgIH0NCg0KICAgIHB1YmxpYyB2b2lkIHNldFZhbHVl KGphdmEubGFuZy5TdHJpbmcgdmFsdWUpIHsNCiAgICAgICAgdGhpcy52YWx1ZSA9IHZhbHVlOw0K ICAgIH0NCg0KICAgIHByaXZhdGUgamF2YS5sYW5nLk9iamVjdCBfX2VxdWFsc0NhbGMgPSBudWxs Ow0KICAgIHB1YmxpYyBzeW5jaHJvbml6ZWQgYm9vbGVhbiBlcXVhbHMoamF2YS5sYW5nLk9iamVj dCBvYmopIHsNCiAgICAgICAgaWYgKCEob2JqIGluc3RhbmNlb2YgQU45OVR5cGUpKSByZXR1cm4g ZmFsc2U7DQogICAgICAgIEFOOTlUeXBlIG90aGVyID0gKEFOOTlUeXBlKSBvYmo7DQogICAgICAg IGlmIChvYmogPT0gbnVsbCkgcmV0dXJuIGZhbHNlOw0KICAgICAgICBpZiAodGhpcyA9PSBvYmop IHJldHVybiB0cnVlOw0KICAgICAgICBpZiAoX19lcXVhbHNDYWxjICE9IG51bGwpIHsNCiAgICAg ICAgICAgIHJldHVybiAoX19lcXVhbHNDYWxjID09IG9iaik7DQogICAgICAgIH0NCiAgICAgICAg X19lcXVhbHNDYWxjID0gb2JqOw0KICAgICAgICBib29sZWFuIF9lcXVhbHM7DQogICAgICAgIF9l cXVhbHMgPSB0cnVlICYmIA0KICAgICAgICAgICAgKCh0aGlzLnZhbHVlPT1udWxsICYmIG90aGVy LmdldFZhbHVlKCk9PW51bGwpIHx8IA0KICAgICAgICAgICAgICh0aGlzLnZhbHVlIT1udWxsICYm DQogICAgICAgICAgICAgIHRoaXMudmFsdWUuZXF1YWxzKG90aGVyLmdldFZhbHVlKCkpKSk7DQog ICAgICAgIF9fZXF1YWxzQ2FsYyA9IG51bGw7DQogICAgICAgIHJldHVybiBfZXF1YWxzOw0KICAg IH0NCg0KICAgIHByaXZhdGUgYm9vbGVhbiBfX2hhc2hDb2RlQ2FsYyA9IGZhbHNlOw0KICAgIHB1 YmxpYyBzeW5jaHJvbml6ZWQgaW50IGhhc2hDb2RlKCkgew0KICAgICAgICBpZiAoX19oYXNoQ29k ZUNhbGMpIHsNCiAgICAgICAgICAgIHJldHVybiAwOw0KICAgICAgICB9DQogICAgICAgIF9faGFz aENvZGVDYWxjID0gdHJ1ZTsNCiAgICAgICAgaW50IF9oYXNoQ29kZSA9IDE7DQogICAgICAgIGlm IChnZXRWYWx1ZSgpICE9IG51bGwpIHsNCiAgICAgICAgICAgIF9oYXNoQ29kZSArPSBnZXRWYWx1 ZSgpLmhhc2hDb2RlKCk7DQogICAgICAgIH0NCiAgICAgICAgX19oYXNoQ29kZUNhbGMgPSBmYWxz ZTsNCiAgICAgICAgcmV0dXJuIF9oYXNoQ29kZTsNCiAgICB9DQoNCiAgICAvLyBUeXBlIG1ldGFk YXRhDQogICAgcHJpdmF0ZSBzdGF0aWMgb3JnLmFwYWNoZS5heGlzLmRlc2NyaXB0aW9uLlR5cGVE ZXNjIHR5cGVEZXNjID0NCiAgICAgICAgbmV3IG9yZy5hcGFjaGUuYXhpcy5kZXNjcmlwdGlvbi5U eXBlRGVzYyhBTjk5VHlwZS5jbGFzcyk7DQoNCiAgICBzdGF0aWMgew0KICAgICAgICB0eXBlRGVz Yy5zZXRYbWxUeXBlKG5ldyBqYXZheC54bWwubmFtZXNwYWNlLlFOYW1lKCJodHRwOi8vZHR5cC5z b2FwLnNsYSIsICJBTjk5VHlwZSIpKTsNCiAgICAgICAgb3JnLmFwYWNoZS5heGlzLmRlc2NyaXB0 aW9uLkVsZW1lbnREZXNjIGVsZW1GaWVsZCA9IG5ldyBvcmcuYXBhY2hlLmF4aXMuZGVzY3JpcHRp b24uRWxlbWVudERlc2MoKTsNCiAgICAgICAgZWxlbUZpZWxkLnNldEZpZWxkTmFtZSgidmFsdWUi KTsNCiAgICAgICAgZWxlbUZpZWxkLnNldFhtbE5hbWUobmV3IGphdmF4LnhtbC5uYW1lc3BhY2Uu UU5hbWUoIiIsICJ2YWx1ZSIpKTsNCiAgICAgICAgZWxlbUZpZWxkLnNldFhtbFR5cGUobmV3IGph dmF4LnhtbC5uYW1lc3BhY2UuUU5hbWUoImh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1h IiwgInN0cmluZyIpKTsNCiAgICAgICAgdHlwZURlc2MuYWRkRmllbGREZXNjKGVsZW1GaWVsZCk7 DQogICAgfQ0KDQogICAgLyoqDQogICAgICogUmV0dXJuIHR5cGUgbWV0YWRhdGEgb2JqZWN0DQog ICAgICovDQogICAgcHVibGljIHN0YXRpYyBvcmcuYXBhY2hlLmF4aXMuZGVzY3JpcHRpb24uVHlw ZURlc2MgZ2V0VHlwZURlc2MoKSB7DQogICAgICAgIHJldHVybiB0eXBlRGVzYzsNCiAgICB9DQoN CiAgICAvKioNCiAgICAgKiBHZXQgQ3VzdG9tIFNlcmlhbGl6ZXINCiAgICAgKi8NCiAgICBwdWJs aWMgc3RhdGljIG9yZy5hcGFjaGUuYXhpcy5lbmNvZGluZy5TZXJpYWxpemVyIGdldFNlcmlhbGl6 ZXIoDQogICAgICAgICAgIGphdmEubGFuZy5TdHJpbmcgbWVjaFR5cGUsIA0KICAgICAgICAgICBq YXZhLmxhbmcuQ2xhc3MgX2phdmFUeXBlLCAgDQogICAgICAgICAgIGphdmF4LnhtbC5uYW1lc3Bh Y2UuUU5hbWUgX3htbFR5cGUpIHsNCiAgICAgICAgcmV0dXJuIA0KICAgICAgICAgIG5ldyAgb3Jn LmFwYWNoZS5heGlzLmVuY29kaW5nLnNlci5TaW1wbGVTZXJpYWxpemVyKA0KICAgICAgICAgICAg X2phdmFUeXBlLCBfeG1sVHlwZSwgdHlwZURlc2MpOw0KICAgIH0NCg0KICAgIC8qKg0KICAgICAq IEdldCBDdXN0b20gRGVzZXJpYWxpemVyDQogICAgICovDQogICAgcHVibGljIHN0YXRpYyBvcmcu YXBhY2hlLmF4aXMuZW5jb2RpbmcuRGVzZXJpYWxpemVyIGdldERlc2VyaWFsaXplcigNCiAgICAg ICAgICAgamF2YS5sYW5nLlN0cmluZyBtZWNoVHlwZSwgDQogICAgICAgICAgIGphdmEubGFuZy5D bGFzcyBfamF2YVR5cGUsICANCiAgICAgICAgICAgamF2YXgueG1sLm5hbWVzcGFjZS5RTmFtZSBf eG1sVHlwZSkgew0KICAgICAgICByZXR1cm4gDQogICAgICAgICAgbmV3ICBvcmcuYXBhY2hlLmF4 aXMuZW5jb2Rpbmcuc2VyLlNpbXBsZURlc2VyaWFsaXplcigNCiAgICAgICAgICAgIF9qYXZhVHlw ZSwgX3htbFR5cGUsIHR5cGVEZXNjKTsNCiAgICB9DQoNCn0NCg== ------_=_NextPart_001_01C536A7.41172BF5-- From michaelchan@example.org Fri Apr 01 13:52:01 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 97690 invoked from network); 1 Apr 2005 13:52:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 13:52:01 -0000 Received: (qmail 15115 invoked by uid 500); 1 Apr 2005 13:51:41 -0000 Delivered-To: michaelchan@example.org Received: (qmail 15017 invoked by uid 500); 1 Apr 2005 13:51:40 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 14988 invoked by uid 99); 1 Apr 2005 13:51:40 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of michaelchan@example.org designates 83.161.120.155 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 05:51:39 -0800 Received: by rproxy.gmail.com with SMTP id f1so909037rne for <michaelchan@example.org>; Fri, 01 Apr 2005 05:51:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=qzxc69gdqJO8EtMCKaAw81gnLWnLTKdhj679h0Iwcz2dkBHlKI66w1z0aR4GNwKm3/qSwekpq+OkQ6prlg65t3wHD0fgjX9za3x1/O/XZT4E6bzoh3pNNSu5JOPxz9v79b2uscbmJjHCmqDacSixbAkQIzh5yLEtE7bPnZ3+JLA= Received: by 83.161.120.155 with SMTP id y1mr2792047rnd; Fri, 01 Apr 2005 05:51:35 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 1 Apr 2005 05:51:34 -0800 (PST) Message-ID: <michaelchan@example.org> Date: Fri, 1 Apr 2005 19:21:34 +0530 From: babloosony <michaelchan@example.org> Reply-To: babloosony <michaelchan@example.org> To: "michaelchan@example.org" <michaelchan@example.org>, michaelchan@example.org Subject: How to make .NET/AXIS Client add namespace to soap message elements Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, Say how can I below soap message from the client (can be .NET or AXIS) : <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> <getOrderDetails xmlns="http://ws.as.com/wsdl/ds"> <ORDER> <ORDERNUMBER>999999999</ORDERNUMBER> </ORDER> </getOrderDetails> </soapenv:Body> </soapenv:Envelope Now, in the above soap message I want to have this namespace declaration "xmlns="http://ws.as.com/schemas/ds" like for ORDER element <ORDER "xmlns="http://ws.as.com/schemas/ds"> Is there any configuration that I can in any of the below to achieve this : 1. .NET Framework 1.1 2. AXIS 1.2 RC2 3. in WSDL Is there anything that I can configure in my WSDL before giving to client's so that they can always send namespace for the soap message elements. Please suggest. Regards, Kumar. From michaelchan@example.org Fri Apr 01 20:12:30 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 26097 invoked from network); 1 Apr 2005 20:12:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2005 20:12:29 -0000 Received: (qmail 84764 invoked by uid 500); 1 Apr 2005 20:12:24 -0000 Delivered-To: michaelchan@example.org Received: (qmail 84559 invoked by uid 500); 1 Apr 2005 20:12:22 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 84490 invoked by uid 99); 1 Apr 2005 20:12:22 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 12:12:20 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id 2BDDF2A4 for <michaelchan@example.org>; Fri, 1 Apr 2005 22:12:18 +0200 (CEST) Message-ID: <michaelchan@example.org> Date: Fri, 1 Apr 2005 22:12:18 +0200 (CEST) From: "Neil Katin (JIRA)" <michaelchan@example.org> To: michaelchan@example.org Subject: [jira] Commented: (AXIS-1740) Dead and/or Incomplete Code in JavaProvider / SOAPService In-Reply-To: <michaelchan@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-1740?page=comments#action_61990 ] Neil Katin commented on AXIS-1740: ---------------------------------- I noticed this checkin comment that describes who and why added the code; I was trying to find an example of how to use it and couldn't find any code that did... 2004-05-03 20:04 gdaniels Some changes deriving from the WS-RF interop work. * Make sure soapAction gets reset on each call * Pick up type mappings in getDeserializerForClass() * Fix bug - make sure the same logic is followed in the deploy writer and the stub writer with respect to which types to write mappings for. Factor out logic into a Utils method * Factory scope plumbing - use the SOAPService object to hold a Map of object IDs to service objects. When we get a request for a factory scoped service, some URL manager (SimpleAxisWorker, say) is responsible for parsing the URL and setting an "objectID" property in the MessageContext. This gets used by the JavaProvider to locate the right object in the Map. Custom factory methods can create new objects and drop them into the SOAPService's map directly. Will clean up the APIs a bit here. * Make sure null response messages are ok for SimpleAxisWorker * Give SOAPBodyElement a (QName, Object) constructor * src/org/apache/axis/transport/http/SimpleAxisWorker.java (1.40) * src/org/apache/axis/wsdl/toJava/JavaDeployWriter.java (1.82) * src/org/apache/axis/wsdl/toJava/JavaStubWriter.java (1.132) * src/org/apache/axis/wsdl/toJava/Utils.java (1.87) > Dead and/or Incomplete Code in JavaProvider / SOAPService > --------------------------------------------------------- > > Key: AXIS-1740 > URL: http://issues.apache.org/jira/browse/AXIS-1740 > Project: Axis > Type: Bug > Versions: 1.2RC2 > Environment: Axis 1.2RC2. Observed while single-stepping through code in debugger. > Reporter: Donnie Hale > Priority: Minor > > In JavaProvider.getServiceObject, there's a branch to handle the condition if the service scope is "Scope.FACTORY". In trying to find out what functionality that scope might support (I hadn't seen mention of it in any documentation), I noticed that this branch of code references the SOAPService.serviceObjects public member variable. Looking at the SOAPService code, I see that this variable is a Map and references a HashMap instance. However, I've searched the entire code base and found no place where anything is ever placed into that map. So the branch in JavaProvider looking for a key which comes from the MessageContext's properties (msgContext.getStrProp("objectID")) will never succeed. > I've searched the entire code base for the following: "serviceObjects", "objectID", and "Scope.FACTORY". I've not found anything that gives me a hint as to what is / was supposed to be happening here. > I'm wondering if this is dead code from eliminating previous functionality or incomplete code for implementing new functionality. I did search the bug list before posting this. If it's a duplicate, my apologies... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From michaelchan@example.org Sat Apr 02 02:37:56 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 889 invoked from network); 2 Apr 2005 02:37:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2005 02:37:55 -0000 Received: (qmail 66573 invoked by uid 500); 2 Apr 2005 02:37:52 -0000 Delivered-To: michaelchan@example.org Received: (qmail 66386 invoked by uid 500); 2 Apr 2005 02:37:51 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 66367 invoked by uid 99); 2 Apr 2005 02:37:50 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=INVALID_TZ_GMT X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from relay3.slt.lk (HELO relay3.slt.lk) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 18:37:49 -0800 Received: from scorpionm (localhost [83.161.120.155]) by relay3.slt.lk (8.12.10+Sun/8.12.10) with ESMTP id j322W17u018026; Sat, 2 Apr 2005 08:32:07 +0600 (GMT) Message-Id: <michaelchan@example.org> From: "Jaliya Ekanayake" <michaelchan@example.org> To: <michaelchan@example.org>, <michaelchan@example.org> Subject: RE: [Axis2]A Proposal for the messaged based Axis2 core Date: Sat, 2 Apr 2005 08:37:33 +0600 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcU0FkC9QPqObiCwRLW/i9DKjtkidQA0oCoA In-Reply-To: <michaelchan@example.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Shawn, Thanks for the ideas. Here are the clarifications.. (In the middle of the axis summit) 1. What does the "Message" look like? 2. Is WSA information burnt into the "Message" much like in Indigo? >>My idea is to provide something similar to Indigo, where the user is provided with an API to create a SOAP message. Accroding to the yesterday's discussion, we conclude that the MessageSender has two methods that the user (Client or the Call) can access. send(MessageCOntext) Send(SOAPEnvelope) So at the moment the Message is not provided, but will be a future addition. 3. What does the client programming model(s) look like, this proposal seems to be directed more at the internals, correct? >>Yes, it is focused to internals. We will provide the client programming model using Call API, yet the user (client) can access MessageSender directly. 4. Interesting use of the MessageContext, I'll have to think about that. What happened to the MessageBus concept? >>It seems like we don't need the MessageContext to be in the runnable mode after all. Engine will provide mechanism to pause and resume MessageContext. So if some handler want to release the current thread and continue with the current MessageContext then what the handler can do is, keep a reference to the current MessageContext and set the pause=true in the MessageContext. Then the engine will stop processing the rest of the handlers in the handler chain. Once the handler needs to start processing the message that it stops earlier, it can call, engine.resume(MessageContext) and the engine will continue with the stopped point. We may refine this part during the summit itself, have to see :) Last Q >>I agree with you regarding that, hope others are also with the same idea I will try to clarify this soon. Thanks, Jaliya -----Original Message----- From: Shawn Dahlen [mailto:michaelchan@example.org] Sent: Tuesday, March 29, 2005 10:11 AM To: Jaliya Ekanayake Cc: michaelchan@example.org Subject: Re: [Axis2]A Proposal for the messaged based Axis2 core Jaliya - Just got a chance to begin reading the proposal (noticed that it was slightly different than the document in the toy engine Srinath and you put together). I wish I could reply in full now, but alas I need to catch some shut eye. My work has granted me tomorrow and next day to collaborate, so I will spend tomorrow reviewing the proposal (and anything else you guys might put together at the conference). At first glance, I like the direction. A few questions. 1. What does the "Message" look like? 2. Is WSA information burnt into the "Message" much like in Indigo? 3. What does the client programming model(s) look like, this proposal seems to be directed more at the internals, correct? 4. Interesting use of the MessageContext, I'll have to think about that. What happened to the MessageBus concept? 5. At the messaging level, I do not believe a contract (ala WSDL) should be necessary. The contract between the parties is implicit (or the developers looked up a document / WSDL? to see the messages required for communication). The service model of course would generate the appropriate proxies based on the service descriptor (WSDL). Is the opinion of others at the conference? I do apologize for my inability to help share ideas quickly on this topic. Always tough trying to find that spare time :) - Shawn On Mon, 28 Mar 2005 09:39:55 +0600, Jaliya Ekanayake <michaelchan@example.org> wrote: > > > > Hi Shawn and All, > > > > I have suggested few changes to Axis2 core with the aim of supporting more > message based services. The proposal is sent in the attachment. > > I would be interested in hearing your thoughts. > > > > Thanks, > > > > Jaliya > From michaelchan@example.org Sat Apr 02 05:56:20 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 23176 invoked from network); 2 Apr 2005 05:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2005 05:56:20 -0000 Received: (qmail 85053 invoked by uid 500); 2 Apr 2005 05:56:16 -0000 Delivered-To: michaelchan@example.org Received: (qmail 84460 invoked by uid 500); 2 Apr 2005 05:56:15 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 84446 invoked by uid 99); 2 Apr 2005 05:56:15 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of michaelchan@example.org designates 83.161.120.155 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 21:56:13 -0800 Received: by rproxy.gmail.com with SMTP id f1so1209974rne for <michaelchan@example.org>; Fri, 01 Apr 2005 21:56:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=LQ+fZBmjwGgIbTvOgIzWmjY8doLY0mVD1hw5iBqRBCBpJTKHWPKijGdhax0M41J2OIRKfyNH0VXNgjvkhp/Xrq3g5NxSH/CeiMBnFCaTNsDRBfeqrGbdZ8IGEDV0ZL52FfvzU84DeojEdBRxTpACqWDnvWptuLg1aOb1I2U5jKM= Received: by 83.161.120.155 with SMTP id y1mr3518722rnd; Fri, 01 Apr 2005 21:56:11 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 1 Apr 2005 21:56:11 -0800 (PST) Message-ID: <michaelchan@example.org> Date: Sat, 2 Apr 2005 11:26:11 +0530 From: babloosony <michaelchan@example.org> Reply-To: babloosony <michaelchan@example.org> To: "michaelchan@example.org" <michaelchan@example.org>, michaelchan@example.org Subject: .NET / AXIS Client not adding namespace to soap message elements Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi All, Say I have below soap message from the client (can be .NET or AXIS) : ------------------------------------------------------------------------------------------------- <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> <getWeatherResponse xmlns="http://ws.ss.com/wsdl/ws/ab"> <forecast > <zip>343434</zip> <city>Campbell</city> <state>CA</state> <date>April 11, 2003</date> <forecast>20 percent chance of rain.</forecast> <hi>0</hi> <low>0</low> <precip>0</precip> <parentForecast> <parentZip>520010</parentZip> </parentForecast> </forecast> </getWeatherResponse> </soapenv:Body> </soapenv:Envelope> ------------------------------------------------------------------------------------------------- Now, in the above soap message I want to have this namespace declaration xmlns="http://ws.ss.com/schemas/ws/ab" for the forecast element <forecast xmlns="http://ws.ss.com/schemas/ws/ab">. Even though I have this 'forecast' element declared in seperate schema definition with its own namespace why is that the request soap message from AXIS or .NET does not include namespace for this forecast element in its request soap message ? Is there any configuration that I can in any of the below to achieve this : 1. .NET Framework 1.1 2. AXIS 1.2 RC2 3. in WSDL Is there anything that I can configure in my WSDL before giving to client's so that they can always send namespace for the soap message elements. Please suggest. Below is my wsdl ------------------------------------------------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:impl="http://ws.ss.com/wsdl/ws/ab" xmlns:intf="http://ws.ss.com/wsdl/ws/ab" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns1="http://ws.ss.com/schemas/ws/ab" targetNamespace="http://ws.ss.com/wsdl/ws/ab"> <wsdl:types> <schema targetNamespace="http://ws.ss.com/schemas/ws/ab" elementFormDefault="qualified" xmlns:tns="http://ws.ss.com/schemas/ws/ab" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema"> <complexType name="parentForecast"> <sequence> <element name="parentZip" nillable="true" type="xsd:string" /> </sequence> </complexType> <element name="forecast"> <complexType> <complexContent> <extension base="tns1:parentForecast"> <sequence> <element minOccurs="0" name="zip" type="xsd:string"/> <element minOccurs="0" name="city" type="xsd:string"/> <element minOccurs="0" name="state" type="xsd:string"/> <element minOccurs="0" name="date" type="xsd:string"/> <element minOccurs="0" name="forecast" type="xsd:string"/> </sequence> <attribute use="required" name="hi" type="xsd:byte"/> <attribute use="required" name="low" type="xsd:byte"/> <attribute use="required" name="precip" type="xsd:byte"/> </extension> </complexContent> </complexType> </element> </schema> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ws.ss.com/wsdl/ws/ab" elementFormDefault="qualified"> <import namespace="http://ws.ss.com/schemas/ws/ab"/> <element name="getWeather"> <complexType> <sequence> <element name="ziprq" type="xsd:string"/> </sequence> </complexType> </element> <element name="getWeatherResponse"> <complexType> <sequence> <element ref="tns1:forecast"/> </sequence> </complexType> </element> </schema> </wsdl:types> <wsdl:message name="getWeatherRequest"> <wsdl:part name="parameters" element="impl:getWeather"/> </wsdl:message> <wsdl:message name="getWeatherResponse"> <wsdl:part name="parameters" element="impl:getWeatherResponse"/> </wsdl:message> <wsdl:portType name="SparePartPriceSessionInterface"> <wsdl:operation name="getWeather"> <wsdl:input name="getWeatherRequest" message="impl:getWeatherRequest"/> <wsdl:output name="getWeatherResponse" message="impl:getWeatherResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="SparePartPriceSessionBinding" type="impl:SparePartPriceSessionInterface"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getWeather"> <wsdlsoap:operation/> <wsdl:input> <wsdlsoap:body use="literal"/> </wsdl:input> <wsdl:output> <wsdlsoap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="SparePartPriceSessionInterfaceService"> <wsdl:port name="SparePartPriceSessionBean" binding="impl:SparePartPriceSessionBinding"> <wsdlsoap:address location="http://localhost:8080/axis/services/SparePartPriceSession"/> </wsdl:port> </wsdl:service> </wsdl:definitions> ------------------------------------------------------------------------------------------------- Thanks & Regards, Kumar. From michaelchan@example.org Sat Apr 02 06:24:18 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 25770 invoked from network); 2 Apr 2005 06:24:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2005 06:24:18 -0000 Received: (qmail 3474 invoked by uid 500); 2 Apr 2005 06:24:13 -0000 Delivered-To: michaelchan@example.org Received: (qmail 3430 invoked by uid 500); 2 Apr 2005 06:24:13 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 3416 invoked by uid 99); 2 Apr 2005 06:24:13 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of michaelchan@example.org designates 83.161.120.155 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 22:24:13 -0800 Received: by wproxy.gmail.com with SMTP id 37so827666wra for <michaelchan@example.org>; Fri, 01 Apr 2005 22:24:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=o+J0q92sBpSX8Jgwh+FP9KPcK4MzTgzWyfnrU8PWLaDmulzISiWGxABNjMfCTiug3dO3RnzrBcqZRDvcnjH6I29cwNZ80zuuMm2imPyH2iwOxk6Vw8GbO/AdJfuDQpkh7OGTUSEoc40FappgfX6rMPKWAwnSMLAVG4f/JFdPb1o= Received: by 83.161.120.155 with SMTP id 35mr1666224wra; Fri, 01 Apr 2005 22:24:11 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 1 Apr 2005 22:24:11 -0800 (PST) Message-ID: <michaelchan@example.org> Date: Sat, 2 Apr 2005 14:24:11 +0800 From: HaoRan Zheng <michaelchan@example.org> Reply-To: HaoRan Zheng <michaelchan@example.org> To: michaelchan@example.org Subject: Can OM with differed building really be so effective in Axis2? Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi all, Sorry for bothering everybody. I'm not sure whether this question is appropriate for this maillist. If not, please apprise me and I'll never commit it again:) I'm very interested in Axis2 and I know performance is a big goal of Axis2. But, I really wonder whether the differed building can help to enhance the performance a lot AT SERVER SIDE. My suspicion is based on the follow points: (a). Almost all the SOAP services need the parsed SOAP envelope (the echoXML sample service maybe an exception), so differed building does not mean no building. That is to say, parsing and building is unavoidable mostly. (b). At server side, we won't design any unnecessary arguments. So we need parse the SOAP message entirely; even partial parsing won't be feasible at server side. I know it is an improvement to choose the pull-parsing with StAX. At least it is one-time parsing while Axis 1.x used the replay mechanism to process the pre-parsed SAX events. But I do want to know, how much performance enhancement can benefit from the OM with differed building? Could anyone explain it to me? Thank you so much! Regards, HR, Zheng From michaelchan@example.org Sat Apr 02 06:48:19 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 27908 invoked from network); 2 Apr 2005 06:48:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2005 06:48:18 -0000 Received: (qmail 23473 invoked by uid 500); 2 Apr 2005 06:48:17 -0000 Delivered-To: michaelchan@example.org Received: (qmail 22876 invoked by uid 500); 2 Apr 2005 06:48:16 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 22862 invoked by uid 99); 2 Apr 2005 06:48:16 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of michaelchan@example.org designates 83.161.120.155 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 01 Apr 2005 22:48:14 -0800 Received: by wproxy.gmail.com with SMTP id 37so829305wra for <michaelchan@example.org>; Fri, 01 Apr 2005 22:48:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=lX5LqliuOSS4fANp7y2ay9NSs6WUyHYrMuD4ntV1yd45+lU36fxbxLOKZ9WjWMc0i4K+NLfJvGN7T1vfpiVlpv+NeMnpfYHbhsgJDevpnspBtJdFzK0O8aiLZJ+R76PbOyW9fpepwP4dAAvcelStNS/q+pBtgr9jgmRp+V0VRgA= Received: by 83.161.120.155 with SMTP id 37mr136339wru; Fri, 01 Apr 2005 22:48:12 -0800 (PST) Received: by 83.161.120.155 with HTTP; Fri, 1 Apr 2005 22:48:12 -0800 (PST) Message-ID: <michaelchan@example.org> Date: Sat, 2 Apr 2005 14:48:12 +0800 From: HaoRan Zheng <michaelchan@example.org> Reply-To: HaoRan Zheng <michaelchan@example.org> To: michaelchan@example.org, babloosony <michaelchan@example.org> Subject: Re: .NET / AXIS Client not adding namespace to soap message elements In-Reply-To: <michaelchan@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <michaelchan@example.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The soap message provided in your letter seems not a soap request from any client, but a soap response from the server. Right? Regards, HaoRan Zheng On Apr 2, 2005 1:56 PM, babloosony <michaelchan@example.org> wrote: > Hi All, > > Say I have below soap message from the client (can be .NET or AXIS) : > > ------------------------------------------------------------------------------------------------- > <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> > <getWeatherResponse xmlns="http://ws.ss.com/wsdl/ws/ab"> > <forecast > > <zip>343434</zip> > <city>Campbell</city> > <state>CA</state> > <date>April 11, 2003</date> > <forecast>20 percent chance of rain.</forecast> > <hi>0</hi> > <low>0</low> > <precip>0</precip> > <parentForecast> > <parentZip>520010</parentZip> > </parentForecast> > </forecast> > </getWeatherResponse> > </soapenv:Body> > </soapenv:Envelope> > ------------------------------------------------------------------------------------------------- > > Now, in the above soap message I want to have this namespace > declaration xmlns="http://ws.ss.com/schemas/ws/ab" for the forecast element > <forecast xmlns="http://ws.ss.com/schemas/ws/ab">. Even though I have > this 'forecast' element declared in > seperate schema definition with its own namespace why is that the > request soap message from AXIS or .NET does not > include namespace for this forecast element in its request soap message ? > > Is there any configuration that I can in any of the below to achieve this : > 1. .NET Framework 1.1 > 2. AXIS 1.2 RC2 > 3. in WSDL > > Is there anything that I can configure in my WSDL before giving to > client's so that they can always send namespace for the soap message > elements. Please suggest. Below is my wsdl > > ------------------------------------------------------------------------------------------------- > <?xml version="1.0" encoding="UTF-8"?> > > <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:impl="http://ws.ss.com/wsdl/ws/ab" > xmlns:intf="http://ws.ss.com/wsdl/ws/ab" > xmlns:apachesoap="http://xml.apache.org/xml-soap" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:tns1="http://ws.ss.com/schemas/ws/ab" > targetNamespace="http://ws.ss.com/wsdl/ws/ab"> > <wsdl:types> > <schema targetNamespace="http://ws.ss.com/schemas/ws/ab" > elementFormDefault="qualified" > xmlns:tns="http://ws.ss.com/schemas/ws/ab" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns="http://www.w3.org/2001/XMLSchema"> > <complexType name="parentForecast"> > <sequence> > <element name="parentZip" nillable="true" type="xsd:string" /> > </sequence> > </complexType> > <element name="forecast"> > <complexType> > <complexContent> > <extension base="tns1:parentForecast"> > <sequence> > <element minOccurs="0" name="zip" type="xsd:string"/> > <element minOccurs="0" name="city" type="xsd:string"/> > <element minOccurs="0" name="state" type="xsd:string"/> > <element minOccurs="0" name="date" type="xsd:string"/> > <element minOccurs="0" name="forecast" type="xsd:string"/> > </sequence> > <attribute use="required" name="hi" type="xsd:byte"/> > <attribute use="required" name="low" type="xsd:byte"/> > <attribute use="required" name="precip" type="xsd:byte"/> > </extension> > </complexContent> > </complexType> > </element> > </schema> > <schema xmlns="http://www.w3.org/2001/XMLSchema" > targetNamespace="http://ws.ss.com/wsdl/ws/ab" > elementFormDefault="qualified"> > <import namespace="http://ws.ss.com/schemas/ws/ab"/> > <element name="getWeather"> > <complexType> > <sequence> > <element name="ziprq" type="xsd:string"/> > </sequence> > </complexType> > </element> > <element name="getWeatherResponse"> > <complexType> > <sequence> > <element ref="tns1:forecast"/> > </sequence> > </complexType> > </element> > </schema> > </wsdl:types> > <wsdl:message name="getWeatherRequest"> > <wsdl:part name="parameters" element="impl:getWeather"/> > </wsdl:message> > <wsdl:message name="getWeatherResponse"> > <wsdl:part name="parameters" element="impl:getWeatherResponse"/> > </wsdl:message> > <wsdl:portType name="SparePartPriceSessionInterface"> > <wsdl:operation name="getWeather"> > <wsdl:input name="getWeatherRequest" message="impl:getWeatherRequest"/> > <wsdl:output name="getWeatherResponse" message="impl:getWeatherResponse"/> > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="SparePartPriceSessionBinding" > type="impl:SparePartPriceSessionInterface"> > <wsdlsoap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http"/> > <wsdl:operation name="getWeather"> > <wsdlsoap:operation/> > <wsdl:input> > <wsdlsoap:body use="literal"/> > </wsdl:input> > <wsdl:output> > <wsdlsoap:body use="literal"/> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="SparePartPriceSessionInterfaceService"> > <wsdl:port name="SparePartPriceSessionBean" > binding="impl:SparePartPriceSessionBinding"> > <wsdlsoap:address > location="http://localhost:8080/axis/services/SparePartPriceSession"/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > ------------------------------------------------------------------------------------------------- > > Thanks & Regards, > Kumar. > From michaelchan@example.org Sat Apr 02 15:16:27 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 86335 invoked from network); 2 Apr 2005 15:16:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2005 15:16:27 -0000 Received: (qmail 12749 invoked by uid 500); 2 Apr 2005 15:16:22 -0000 Delivered-To: michaelchan@example.org Received: (qmail 12519 invoked by uid 500); 2 Apr 2005 15:16:21 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 12355 invoked by uid 99); 2 Apr 2005 15:16:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 02 Apr 2005 07:16:20 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id A9FB828A for <michaelchan@example.org>; Sat, 2 Apr 2005 17:16:17 +0200 (CEST) Message-ID: <michaelchan@example.org> Date: Sat, 2 Apr 2005 17:16:17 +0200 (CEST) From: "Raphael Jean (JIRA)" <michaelchan@example.org> To: michaelchan@example.org Subject: [jira] Created: (AXIS-1906) CLONE -dime attachment content is empty if datahandler's source is not FileDataSource Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N CLONE -dime attachment content is empty if datahandler's source is not FileDataSource ------------------------------------------------------------------------------------- Key: AXIS-1906 URL: http://issues.apache.org/jira/browse/AXIS-1906 Project: Axis Type: Bug Components: Serialization/Deserialization Versions: 1.1 Environment: Operating System: Other Platform: Other Reporter: Raphael Jean The problem is that in DimeBodyPart for getDataSize(), if the source is not FileDataSource we actually read the whole input stream and then close it. When we close it we can no longer use the stream to write out the content. One possible solution would be that while we read in the data to get the size, we write it out to a ByteArrayOutputStream and then use it to write out the data out. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From michaelchan@example.org Sat Apr 02 15:16:28 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 86437 invoked from network); 2 Apr 2005 15:16:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2005 15:16:28 -0000 Received: (qmail 12397 invoked by uid 500); 2 Apr 2005 15:16:21 -0000 Delivered-To: michaelchan@example.org Received: (qmail 12347 invoked by uid 500); 2 Apr 2005 15:16:21 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 12334 invoked by uid 99); 2 Apr 2005 15:16:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 02 Apr 2005 07:16:20 -0800 Received: from ajax.apache.org (ajax.apache.org [83.161.120.155]) by ajax.apache.org (Postfix) with ESMTP id 3361E29A for <michaelchan@example.org>; Sat, 2 Apr 2005 17:16:18 +0200 (CEST) Message-ID: <michaelchan@example.org> Date: Sat, 2 Apr 2005 17:16:18 +0200 (CEST) From: "Raphael Jean (JIRA)" <michaelchan@example.org> To: michaelchan@example.org Subject: [jira] Commented: (AXIS-1906) CLONE -dime attachment content is empty if datahandler's source is not FileDataSource In-Reply-To: <michaelchan@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-1906?page=comments#action_62031 ] Raphael Jean commented on AXIS-1906: ------------------------------------ Unfortunately this issue is still not fixed in axis 1.2RC3. Using a DataSource instead of a FileDataSource results in an empty attachment being sent. > CLONE -dime attachment content is empty if datahandler's source is not FileDataSource > ------------------------------------------------------------------------------------- > > Key: AXIS-1906 > URL: http://issues.apache.org/jira/browse/AXIS-1906 > Project: Axis > Type: Bug > Components: Serialization/Deserialization > Versions: 1.1 > Environment: Operating System: Other > Platform: Other > Reporter: Raphael Jean > > The problem is that in DimeBodyPart for getDataSize(), if the source is not > FileDataSource we actually read the whole input stream and then close it. When > we close it we can no longer use the stream to write out the content. One > possible solution would be that while we read in the data to get the size, we > write it out to a ByteArrayOutputStream and then use it to write out the data > out. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira From michaelchan@example.org Sat Apr 02 22:49:46 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 39617 invoked from network); 2 Apr 2005 22:49:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2005 22:49:46 -0000 Received: (qmail 20540 invoked by uid 500); 2 Apr 2005 22:49:44 -0000 Delivered-To: michaelchan@example.org Received: (qmail 20508 invoked by uid 500); 2 Apr 2005 22:49:44 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 20492 invoked by uid 99); 2 Apr 2005 22:49:44 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of michaelchan@example.org designates 83.161.120.155 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Sat, 02 Apr 2005 14:49:42 -0800 Received: by rproxy.gmail.com with SMTP id 1so691112rny for <michaelchan@example.org>; Sat, 02 Apr 2005 14:49:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=BE111VcY5xDVduGfYZYjqI43pfIH56nxOGT3YKZjEo9wlYcDM/4VFf61atPEc29mxACXrNxFEn7mNO5hy8flFzFWagfOX1tkBEZNmFzHvDetWIoC7+yunOnKajX2T99m1EiuiBw0t/TXa4hrRk4s3bzYCMOvSrq6hNGniod1kcI= Received: by 83.161.120.155 with SMTP id 4mr2857935rnz; Sat, 02 Apr 2005 14:49:40 -0800 (PST) Received: by 83.161.120.155 with HTTP; Sat, 2 Apr 2005 14:49:40 -0800 (PST) Message-ID: <michaelchan@example.org> Date: Sun, 3 Apr 2005 04:49:40 +0600 From: Davanum Srinivas <michaelchan@example.org> Reply-To: michaelchan@example.org To: michaelchan@example.org Subject: Re: Issues with Extensibility of CommonsHttpSender/HttpSender In-Reply-To: <michaelchan@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <michaelchan@example.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N +1 from me. Would you be willing to contribute both Axis changes AND commons http client changes? -- dims On Mar 31, 2005 2:44 PM, Matthew-J Watson <michaelchan@example.org> wrote: > Hi Guys, > > This email is directed towards the developers, but may also be of interest to users. > > I am trying to get an AXIS SOAP client (tried 1.1 and 1.2rc3) to authenticate with a server which is using the microsoft SPNEGO authorization scheme (similar to basic auth, but uses kerberos tokens instead) - It works fine from C# etc but I'm trying to write a test harness in java. > > SPNEGO works like basic auth in: > client -> server: GET xxx > server->client: 401 with WWW-Authenticate: Negotiate > client->server GET xxx with Authorization: Negotiate base64endocdedkerberostoken... > > The classes that do the authorization are the org.apache.axis.transport.http.CommonsHttpSender and org.apache.axis.transport.http.HttpSender. > We have plugin classes that extend the commons-httpclient to do client side SPNEGO handling and so want to use the CommonsHttpSender to make things easier. > > The problem is, we need to HttpClient.getState().setCredentials() with a custom credential on the client before executing the method. Due to the way this class is written, we have had to copy the entire class to our own version and modify the methods. If we had a mechanism for plugging into HttpSender, it would suffer from the same problems. Extending either sender without completely replacing it is impossible. > > I'd consider submitting a patched version which would be more extensible (i.e. make more methods and protected ones at that, where at least we'd be able to intercept the HttpClient before and after the execute was called and set the credentials in a derived class) but I'd like to get feedback from other developers first who have more experience with the code (I'm on day 2 now). > > Any opinions? > > Matthew Watson > > -- > > This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > > -- Davanum Srinivas - http://webservices.apache.org/~dims/ From michaelchan@example.org Sun Apr 03 15:14:21 2005 Return-Path: <michaelchan@example.org> Delivered-To: michaelchan@example.org Received: (qmail 58684 invoked from network); 3 Apr 2005 15:14:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 3 Apr 2005 15:14:21 -0000 Received: (qmail 33213 invoked by uid 500); 3 Apr 2005 15:14:18 -0000 Delivered-To: michaelchan@example.org Received: (qmail 33178 invoked by uid 500); 3 Apr 2005 15:14:17 -0000 Mailing-List: contact michaelchan@example.org; run by ezmlm Precedence: bulk Reply-To: michaelchan@example.org list-help: <mailto:michaelchan@example.org> list-unsubscribe: <mailto:michaelchan@example.org> List-Post: <mailto:michaelchan@example.org> Delivered-To: mailing list michaelchan@example.org Received: (qmail 33164 invoked by uid 99); 3 Apr 2005 15:14:17 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of michaelchan@example.org designates 83.161.120.155 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.28) with ESMTP; Sun, 03 Apr 2005 08:14:15 -0700 Received: by rproxy.gmail.com with SMTP id z35so1816737rne for <michaelchan@example.org>; Sun, 03 Apr 2005 08:14:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VsP7VuQY9lAuomN070kmrhHs6szEJA1T6V6v5+RSKzK8KVzXTpgL6dZhlhFkHty6jFf2QWKlftNRHhAKYaQP3Yf9Feg7DR1skB3vdrsvSrXzowZRhlMFePiC01TQcIfCL1svE67IVgrzuUDcWpqxexNmyFnk1FbbUGvlkBepJRM= Received: by 83.161.120.155 with SMTP id 73mr3986597rna; Sun, 03 Apr 2005 08:14:13 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Sun, 3 Apr 2005 08:14:13 -0700 (PDT) Message-ID: <michaelchan@example.org> Date: Sun, 3 Apr 2005 11:14:13 -0400 From: Anne Thomas Manes <michaelchan@example.org> Reply-To: Anne Thomas Manes <michaelchan@example.org> To: michaelchan@example.org, HaoRan Zheng <michaelchan@example.org> Subject: Re: .NET / AXIS Client not adding namespace to soap message elements In-Reply-To: <michaelchan@example.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <michaelchan@example.org> <michaelchan@example.org> X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N And according to the WSDL, "forecast" should be qualified using the "http://ws.ss.com/schemas/ws/ab" namespace. So the service is not generating the correct response. - Anne On Apr 2, 2005 2:48 AM, HaoRan Zheng <michaelchan@example.org> wrote: > The soap message provided in your letter seems not a soap request from > any client, but a soap response from the server. Right? > > Regards, > HaoRan Zheng > > On Apr 2, 2005 1:56 PM, babloosony <michaelchan@example.org> wrote: > > Hi All, > > > > Say I have below soap message from the client (can be .NET or AXIS) : > > > > ------------------------------------------------------------------------------------------------- > > <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> > > <getWeatherResponse xmlns="http://ws.ss.com/wsdl/ws/ab"> > > <forecast > > > <zip>343434</zip> > > <city>Campbell</city> > > <state>CA</state> > > <date>April 11, 2003</date> > > <forecast>20 percent chance of rain.</forecast> > > <hi>0</hi> > > <low>0</low> > > <precip>0</precip> > > <parentForecast> > > <parentZip>520010</parentZip> > > </parentForecast> > > </forecast> > > </getWeatherResponse> > > </soapenv:Body> > > </soapenv:Envelope> > > ------------------------------------------------------------------------------------------------- > > > > Now, in the above soap message I want to have this namespace > > declaration xmlns="http://ws.ss.com/schemas/ws/ab" for the forecast element > > <forecast xmlns="http://ws.ss.com/schemas/ws/ab">. Even though I have > > this 'forecast' element declared in > > seperate schema definition with its own namespace why is that the > > request soap message from AXIS or .NET does not > > include namespace for this forecast element in its request soap message ? > > > > Is there any configuration that I can in any of the below to achieve this : >
{'source': 'Apache Software Foundation Public Mail Archives'}