Axis2 xsd:restriction Java code generation question.

2010-01-23 Thread TomazM
Is the Axis2 xsd:restriction supported in WSDL2JavaJava code generation with jibx binding? Regards, Tomaz attachment: tomaz_majerhold.vcf

Re: hibernate and axis2

2009-10-06 Thread TomazM
robert lazarski wrote: On Wed, Sep 30, 2009 at 9:53 AM, Andreas Veithen andreas.veit...@gmail.com wrote: I suggest you don't put all these jar's in the aar, put them in WEB-INF/lib . hibernate uses the TCCL and that won't work directly in an aar without some extra effort. It should be enough

Re: error sending S/MIME

2009-08-13 Thread TomazM
Thx Martin Gainty wrote: Illegal interception and manipulation costs businesses millions of dollars in lost revenue here AXIS Security is handled by Rampart Rampart doc states these steps for implementing BC 1.) Download bouncycastle according to your java version. You can download

error sending S/MIME

2009-08-13 Thread TomazM
When I'm using axis2 1.5 and S/MIME(I have Boncy Castle provider in JVM java.security) I get error: java.security.NoSuchProviderException: No provider configured for S/MIME But the same program(sending S/MIME mail) as web application in the same Tomcat(where axis2 is installed) it work fine.

Re: error sending S/MIME

2009-08-13 Thread TomazM
I could be I changed this jars and still problem. Scenario: For singing a mail I use: bcmail-jdk16-143.jar, javamail-crypto_060622.jar, javamail-crypto-bouncycastle-smime_060622.jar, bcprov-jdk16-143 and they ware in my_service/lib folder -- I was getting error:

error sending S/MIME

2009-08-12 Thread TomazM
Env: OS: Win XP Tomcat: 6.0.18 java: 1.6.0_10-b33 axis2: 1.4.1 I have tomcat web application which use crypto and bouncy castle for signing the mail and it work well. But when I'm using same class in my soap service(axis2) I get error: javax.mail.MessagingException: IOException while sending

ws-transactions

2009-06-28 Thread TomazM
Is any support for ws-transactions in axis2, something like Jboss BA-framework? Regards, Tomaz begin:vcard fn:Tomaz Majerhold n:Majerhold;Tomaz org:ARNES, Slovenian NREN;Development team adr:;;Jamova 39;Ljubljana;Ljubljana;1000;Slovenia title:Developer tel;work:+386 14798930 tel;fax:+386 1 479

AxisFault and Tomcat 6

2009-05-26 Thread TomazM
OS: Windows XP Tomcat: 6.0.18 Axis: 2-1.4.1 Rampart: 1.4 When my service throws the AxisFault I have problem whit Tomcat because he return the HTTP error to client not AxisFault, have anybody any idea what I'm doing wrong? Simple Pojo service: public Account login(String user, String pass)

wsdl2java

2009-05-21 Thread TomazM
I have error when using jbix %AXIS2_HOME%\bin\wsdl2java -uri jibx\META-INF\IPIS_JIBX.wsdl -Ebindingfile jibx\META-INF\binding.xml -p service.jibx -d jibx -s -ss -sd -ssi -uw -o build_jibx Exception in thread main org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL Is

scope=transportsession

2009-03-04 Thread TomazM
Is there any example how the service control that the same (cookie) session client invoke this service. Regards, Tomaz begin:vcard fn:Tomaz Majerhold n:Majerhold;Tomaz org:ARNES, Slovenian NREN;Development team adr:;;Jamova 39;Ljubljana;Ljubljana;1000;Slovenia

Re: Bug in Code Generator Wizard - Eclipse Plug-in

2009-02-23 Thread TomazM
Look hare for solution: http://blogiterox.wordpress.com/2008/10/24/exploring-apache-axis2-and-eclipse-plug-in-development/ Regards, Tomaz Car Toper wrote: I am reading through the book Developing Web Services with Apache Axis2 and it talked about the Code Generator Wizard - Eclipse Plug-in.

Re: axis rampart fault response as XML

2009-02-15 Thread TomazM
Mihindukulasooriya wrote: Can you post the full tomcat stack trace ? Expected behavior is to send a SOAP Fault in this scenario. Seems something goes wrong in the fault flow. thanks, nandana 2009/2/14 TomazM tomaz.majerh...@arnes.si mailto:tomaz.majerh...@arnes.si I want it to return an XML

Re: axis rampart fault response as XML

2009-02-15 Thread TomazM
in the fault flow. thanks, nandana 2009/2/14 TomazM tomaz.majerh...@arnes.si mailto:tomaz.majerh...@arnes.si I want it to return an XML that shows the SOAP Fault returned, so the client understand, how can I achieve this? I have situation: java 1.6_10 Tomcat 6.0.18

Re: Error in signature with X509Token

2009-02-14 Thread TomazM
, TomazM tomaz.majerh...@arnes.si mailto:tomaz.majerh...@arnes.si wrote: I still have problem, now I get error: .. org.apache.ws.security.util.Loader - Caught Exception while in Loader.getResource. This may be innocuous. java.lang.NullPointerException

axis rampart fault response as XML

2009-02-14 Thread TomazM
I want it to return an XML that shows the SOAP Fault returned, so the client understand, how can I achieve this? I have situation: java 1.6_10 Tomcat 6.0.18 axis2_1_4 rampart 1.4 Client send soap message with wrong signed key and rampart return the response is html, more precisely I get

Re: Error in signature with X509Token

2009-02-09 Thread TomazM
? Regard, Tomaz Erwin Reinhoud wrote: Hello Tomaz, In my sanbox env i have put the file in the tomcat bin dir and no path indication in service.xml. Regards, Erwin -Oorspronkelijk bericht- Van: TomazM [mailto:tomaz.majerh...@arnes.si] Verzonden: donderdag 5 februari 2009 12:13

Re: Error in signature with X509Token

2009-02-09 Thread TomazM
localtion path c:/tomcat/foldername/foldername/keys/server.jks HTH, Rgds, Jose Ferreiro On Mon, Feb 9, 2009 at 11:41 AM, TomazM tomaz.majerh...@arnes.si mailto:tomaz.majerh...@arnes.si wrote: I still have problem, now I get error: .. org.apache.ws.security.util.Loader

Re: Error in signature with X509Token

2009-02-05 Thread TomazM
, 2009 at 9:08 AM, TomazM tomaz.majerh...@arnes.si mailto:tomaz.majerh...@arnes.si wrote: Env: OS: Microsoft Windows XP [Version 5.1.2600] java: Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Tomcat: 6.0.16 Axis2: 1.4.1 Rampart

Re: Error in signature with X509Token

2009-02-05 Thread TomazM
, Feb 4, 2009 at 9:08 AM, TomazM tomaz.majerh...@arnes.si mailto:tomaz.majerh...@arnes.si wrote: Env: OS: Microsoft Windows XP [Version 5.1.2600] java: Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Tomcat: 6.0.16 Axis2: 1.4.1

how to enable rampart logging

2009-02-05 Thread TomazM
Is there any way to have full logging for rampart, let say as TRACE or DEBUG mode. Best Regard; Tomaz begin:vcard fn;quoted-printable:Toma=C5=BE Majerhold n;quoted-printable:Majerhold;Toma=C5=BE org:ARNES, Slovenian NREN;Development team adr:;;Jamova 39;Ljubljana;;;Slovenia title:Developer

Re: how to enable rampart logging

2009-02-05 Thread TomazM
log4j.logger.org.apache.axis2.enterprise=DEBUG Regards, Marcus V. Sánchez D. __ Enterprise Developer. Sun Certified Java Programmer (SCJP) PD: full file attached On Thu, Feb 5, 2009 at 6:22 AM, TomazM tomaz.majerh...@arnes.si mailto:tomaz.majerh...@arnes.si wrote: Is there any

Error in signature with X509Token

2009-02-04 Thread TomazM
Env: OS: Microsoft Windows XP [Version 5.1.2600] java: Java(TM) SE Runtime Environment (build 1.6.0_10-b33) Tomcat: 6.0.16 Axis2: 1.4.1 Rampart: 1.3 I'm trying to sign message with my CallbackHandler and wsp:Policy, keys are in keystore of JKS

axis drools

2009-01-19 Thread TomazM
Has anybody try to combine drools in axis server? begin:vcard fn;quoted-printable:Toma=C5=BE Majerhold n;quoted-printable:Majerhold;Toma=C5=BE org:ARNES, Slovenian NREN;Development team adr:;;Jamova 39;Ljubljana;;;Slovenia title:Developer tel;work:+386 14798930 tel;fax:+386 1 479 88 99

axis 1.4 problems with php associative array

2008-10-23 Thread TomazM
I have php SOAP service which returning php associative array, when I use axis client I get strange result. code: call.setReturnClass(HashMap.class); msg = (HashMapString, HashMap) call.invoke(new Object[] {}); for(Object o : msg.values()) { System.out.println(obj +o.getClass()+,