[axis2] axis2 1.3 custom complex type problem
Hi all, i have define a new class that has an member which is an array of KeyValuePair. Where KeyValuePair has two member of type object (key and value). WSDL is genereated as follows: Service class method: public Hashtable testHashtable2() { KeyValuePair[] keyValuePairs = new KeyValuePair[] { new KeyValuePair("TestStringKey", "TestStringValue"), new KeyValuePair(new Integer(1), new Integer(2)), new KeyValuePair("StringKayForinteger", new Integer(2)), new KeyValuePair(new Integer(1), "StringValueForInteger"), new KeyValuePair(new Integer(1), new String("StringValueForInteger")) }; return new Hashtable(keyValuePairs); } and SOAP Response: http://www.w3.org/2003/05/soap-envelope";> http://coaching.de";> http://vo.coaching.de/xsd"; xmlns:ax23="http://io.java/xsd"; xmlns:ax21="http://coaching.de/xsd";> TestStringKey TestStringValue StringKayForinteger StringValueForInteger StringValueForInteger So for String there are the values but not type and for Integer there are no values but the type. Why is this? Regards -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[axis2] WS-Security axis2 1.3 with rampart 1.3 custom token?
Hi all, i'm using axis2 1.3 with rampart 1.3 for ws-security. I have a runnig exsample with UsernameToken. That's fine so far. But now i have the need to transport a custom token with wss header. I'm runnig on a IBM websphere applicationserver and must transport a LTPA token. IBM is transporting this as follows in wss header: http://docs.oasis-open.org/wss/2004/01/oasis-200401-wsswssecurity-secext-1.0.xsd";> http://www.ibm.com/websphere/appserver/tokentype/5.0.2 ValueType="wsst:LTPA"> nwHBBZwUF+m94fAuY57oQrGFyKnIIYMM5OOlkbtMWx5yaIo= (see http://www-128.ibm.com/developerworks/webservices/library/ws-multiport/index.html#listing3) IBM is using the BinarySecurityToken to transport there own token (the LTPA token). So my question is how to extend/use rampart to transport a cutom token myself? Regards Holger -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[axis2] axis2 1.3 with rampart 1.3 custom token?
Hi all, i'm using axis2 1.3 with rampart 1.3 for wss. I have the need to transport a custom token with wss header. I have a IBM websphere applicationserver and must transport a LTPA token. http://docs.oasis-open.org/wss/2004/01/oasis-200401-wsswssecurity-secext-1.0.xsd";> http://www.ibm.com/websphere/appserver/tokentype/5.0.2 ValueType="wsst:LTPA"> nwHBBZwUF+m94fAuY57oQrGFyKnIIYMM5OOlkbtMWx5yaIo= (http://www-128.ibm.com/developerworks/webservices/library/ws-multiport/index.html#listing3) IBM is using the BinarySecurityToken to transport there own token. So my question is how to extend/use rampart to transport a cutom token. Regards -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] roadmap, eta. for axis2 1.4?
Thanks for your answer. Would be nice to get a tentative date of the next release and the notes. I'm asking for this, because we are in the situation that we must support hashtable in some way. It's no problem to define a a new class that has an member which is an array of KeyValuePair. Where KeyValuePair has two member of type object (key and value). WSDL is genereated as follows: Service class method: public Hashtable testHashtable2() { KeyValuePair[] keyValuePairs = new KeyValuePair[] { new KeyValuePair("TestStringKey", "TestStringValue"), new KeyValuePair(new Integer(1), new Integer(2)), new KeyValuePair("StringKayForinteger", new Integer(2)), new KeyValuePair(new Integer(1), "StringValueForInteger"), new KeyValuePair(new Integer(1), new String("StringValueForInteger")) }; return new Hashtable(keyValuePairs); } and SOAP Response: http://www.w3.org/2003/05/soap-envelope";> http://coaching.de";> http://vo.coaching.de/xsd"; xmlns:ax23="http://io.java/xsd"; xmlns:ax21="http://coaching.de/xsd";> TestStringKey TestStringValue StringKayForinteger StringValueForInteger StringValueForInteger So for String there are the values but not type and for Integer there are no values but the type. Why is this? And another problem are exceptions. (See my other mail http://marc.info/?l=axis-user&m=119572197706388&w=2) Regards Original-Nachricht > Datum: Fri, 23 Nov 2007 15:07:42 +0530 > Von: Deepal jayasinghe <[EMAIL PROTECTED]> > An: axis-user@ws.apache.org > Betreff: Re: [Axis2] roadmap, eta. for axis2 1.4? > [EMAIL PROTECTED] wrote: > > Hi all, > > > > i didn't found this on the webpage. What is the roadmap of the axis2 1.4 > release? What is the eta? > > > > > We discussed some of of the stuff we are going to have in the next > release in the last hackathon we had in Apachecon. And I will send a > note with what we discuss and may be I will be able to give you a > tentative date of the next release. We are not in a hurry to do another > release since we have not found critical issues with 1.3 release. > > Thanks > Deepal > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] roadmap, eta. for axis2 1.4?
Hi all, i didn't found this on the webpage. What is the roadmap of the axis2 1.4 release? What is the eta? And will it support POJOs with HasMap, Hastable and Vectors? Regeards -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] using exceptions with axis2 1.3 and adb
Hi all, i'm trying to use/transport exception with axis2 1.3 and adb but have trouble. The methods of my service class are throwing AxisFault but it is not in the generated WSDL from axis2. The operations do not have a fault. Any ideas? Thanks for help. Regards -- Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] building axis2 1.3 from source fails
Thank's Upul i can build it now. I just added the documentation directory from SVN release. Original-Nachricht > Datum: Fri, 9 Nov 2007 19:57:35 +0530 > Von: "Upul Godage" <[EMAIL PROTECTED]> > An: axis-user@ws.apache.org > Betreff: Re: [Axis2] building axis2 1.3 from source fails > You can uncomment the line, > modules/documentation > in the pom.xml and try. > > This may not affect the functionality. documentation module is missing > in the source distribution zip. But it is available in the svn. > http://svn.apache.org/repos/asf/webservices/axis2/trunk/java > > Upul > > > On Nov 9, 2007 7:12 PM, <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > i'm trying to build axis2 1.3 from source. I downloaded and extract the > source archive an run the maven (2.0.7) command -U -Drelease clean install > to build it. > > But i get the following error: > > > > [INFO] Scanning for projects... > > [INFO] > > > [ERROR] FATAL ERROR > > [INFO] > > > [INFO] Error building POM (may not be this project's POM). > > > > > > Project ID: unknown > > > > Reason: Could not find the model file > 'D:\eclipse_europa\workspace_axis2\axis2\modules\documentation\pom.xml'. for > project unknown > > > > There is no modules\documenation directory in the source archive of > axis2 1.3. > > So what can i do? How can i build it? > > > > Regards > > -- > > GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. > > Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] building axis2 1.3 from source fails
Hi all, i'm trying to build axis2 1.3 from source. I downloaded and extract the source archive an run the maven (2.0.7) command -U -Drelease clean install to build it. But i get the following error: [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown Reason: Could not find the model file 'D:\eclipse_europa\workspace_axis2\axis2\modules\documentation\pom.xml'. for project unknown There is no modules\documenation directory in the source archive of axis2 1.3. So what can i do? How can i build it? Regards -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[AXIS2] extending axis2 1.3 ADB to support Hashtable
Hi all, i'm using axis2 1.3 with ADB to create a webservice from a POJO. So far it's working as expected. And now i need to use Hashtable. If i look at the generated wsdl there is a use of xs:Hashtable (XMLSchema namespace). But if i look into XMLSchema i cannot find a declaration of Hashtable or Vector. So why is the wsdl generated with xs:Hashtable? How can i extend axis2 ADB to support Hashtable? Or what is the best in general to extend axis with other types? In axis 1.x there were serializer and deserializer you can implement your self. Thanks for response. Regards -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]