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

Re: wdsl 2.0 support in axis2

2009-08-13 Thread Meredith Gregory
Axis Folks, When i saw Keith Chapman's blog on WSDL 2.0 using Axis2 i was encouraged. However, i created a little maven project and added the attached schema valid WSDL 2.0 file to src/main/axis2/service.wsdl and attempted the wsld2code target. It failed with a complaint indicating that

Re: Greater than's not being escaped in content of element in response

2009-08-13 Thread Andreas Veithen
Axis2 uses StAX to serialize XML, and the default StAX implementation shipped with Axis2 is Woodstox. You will have to check in the documentation of Woodstox if it is possible to configure this behavior, or alternatively find another StAX implementation that supports this. Andreas On Thu, Aug

Re: Re:

2009-08-13 Thread turboking
Hi, i just tried to compile with axis2 v.1.5 and still got the same prob. I try to compile the the generated code of a wsdl containing: xs:complexType name=ErrorReportType xs:sequence... xs:element name=Class form=unqualified type=xs:string/...

how can only public some spring bean method as method!

2009-08-13 Thread sam wong
Hi,All I have a spring Bean with many many method. but some method i don't want to public as WebService Method. like: public IUserAccountManager getUserAccountManager() { return userAccountManager; } public void setUserAccountManager(IUserAccountManager userAccountManager)

Using ServiceBuilder to build a axis 2 service

2009-08-13 Thread Håkon Sagehaug
Hi all I want to build a service for deployment using the wsdl and services.xml so I can deploy it locally, as not in a container, using the SimpleHTTPServer class. But I'm facing some problems using the services.xml, the ServiceBuilder don't seem to use it very much here is how I create my

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: how can only public some spring bean method as method!

2009-08-13 Thread Sagara Gunathunga
Hi, That's what i have mentioned in my last reply . Normally all the public method on Spring bean will expose as a web service operations. If you don't want to expose any particular method, you can define it as a exclude operation in service.xml file then that particular method will not expose

Re: how can only public some spring bean method as method!

2009-08-13 Thread sam wong
good, thanks Sagara 2009/8/13 Sagara Gunathunga sagara.gunathu...@gmail.com: Hi, That's what i have mentioned in my last reply . Normally all the public method on Spring bean will expose as  a web service operations. If you don't want to  expose any particular method, you can define it

Re: error sending S/MIME

2009-08-13 Thread Andreas Veithen
This may be caused by conflicting versions of some JAR (like activation or javamail). See [1]. [1] http://people.apache.org/~veithen/axiom/userguide/ch04.html#d0e719 On Thu, Aug 13, 2009 at 11:41, TomazMtomaz.majerh...@arnes.si wrote: When I'm using axis2 1.5 and S/MIME(I have Boncy Castle

Re: axis2 and rampart embedded into a fully POJO environment

2009-08-13 Thread Håkon Sagehaug
Hi, Didi you solve this? I'm facing the same issues as you. Trying to deploy rampart enabled service inside the Simple server and getting hit with this error from the null pointer. cheers, Håkon 2009/3/23 Csaba Juhász jcs...@gmail.com Hi, I'm quite new to Axis so forgive me if ask something

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:

Re: axis2 and rampart embedded into a fully POJO environment

2009-08-13 Thread Chinmoy Chakraborty
What version of Rampart are you using? I guess your point (2) is something related to JIRA *RAMPART-236*https://issues.apache.org/jira/browse/RAMPART-236. Please look at link [1]. [1].

Re: axis2 and rampart embedded into a fully POJO environment

2009-08-13 Thread Håkon Sagehaug
Hi Yes all was fixed when I changes to axiom 1.2.8. cheers, Håkon 2009/8/13 Chinmoy Chakraborty cch...@gmail.com What version of Rampart are you using? I guess your point (2) is something related to JIRA *RAMPART-236*https://issues.apache.org/jira/browse/RAMPART-236. Please look at link

configuring axis for a heavy java daemon

2009-08-13 Thread pushker chaubey
Hi Experts, We have a Java application which is a basically a heavy java daemon with a lot of threads. This application needs to communicate with another application which is some other technology. So far we have been using XML-RPC for communication. But now we now to migrate to powerful

Re: Axis2 Client in Weblogic: org.apache.axis2.deployment.DeploymentException

2009-08-13 Thread IamSam
Guys, Any takers for this? IamSam wrote: Hello Members, I am using Stub generated by Axis2 1.4 (WSDL2java) in a TimerTask scheduled inside Weblogic 9.0. It works normally but some times throws this exceptions and then onwards stops working

RE: Axis2 Client in Weblogic: org.apache.axis2.deployment.DeploymentException

2009-08-13 Thread Martin Gainty
did you try Java2WSDL -dlb -cn FullyQualofiedPackageAndClass to create doc/lit wsdl Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene

retrieve header information from skeleton

2009-08-13 Thread Hu, Mary - ITG
I need retrieve header data from generated skeleton. I know one way to read the header is from a handler where a MessageContext can pass the header. However, I have to insert the header data into body in the handler. It is not efficient and awkward. Do you know a straight forward way?

RE: retrieve header information from skeleton

2009-08-13 Thread Martin Gainty
should the solution provider accomplish this difficult task for free? Martin Gainty __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine

RE: retrieve header information from skeleton

2009-08-13 Thread Hu, Mary - ITG
I'm just asking if there is a known solution, because I think this is not a new inquiry. I appreciate any inputs. Thanks, Mary Hu _ From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Thursday, August 13, 2009 1:47 PM To: axis-user@ws.apache.org Subject: RE: retrieve header

Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Meredith Gregory
Axis Folks, Do the Axis2 code-generation tools support WSDL 2.0? Best wishes, --greg -- L.G. Meredith Managing Partner Biosimilarity LLC 1219 NW 83rd St Seattle, WA 98117 +1 206.650.3740 http://biosimilarity.blogspot.com

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Andreas Veithen
I think there is a command line option to switch to WSDL 2.0. Please check the documentation. Andreas On Thu, Aug 13, 2009 at 19:56, Meredith Gregorylgreg.mered...@gmail.com wrote: Axis Folks, Do the Axis2 code-generation tools support WSDL 2.0? Best wishes, --greg -- L.G. Meredith

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Meredith Gregory
Andreas, Thanks for your response. i did check the documentation. The description of the wsdl2code mvn targethttp://ws.apache.org/axis2/tools/1_2/maven-plugins/maven-wsdl2code-plugin.htmllists no such configuration parameter. Is there some other place i should look? Best wishes, --greg On Thu,

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Deepal Jayasinghe
As I remember correct option is w2, but I need to double check. Now I do not have access to code, once I do I will send the exact parameter. On Thu, Aug 13, 2009 at 2:08 PM, Meredith Gregorylgreg.mered...@gmail.com wrote: Andreas, Thanks for your response. i did check the documentation. The

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Meredith Gregory
Deepal, Many thanks for the note. But, even if that is the option, how do you set it from maven. The configuration offers no parameter to control that. Best wishes, --greg The WSDL2Code goal takes the following parameters as input. All parameters can be set from the command line by using

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Deepal Jayasinghe
Try -wv versionWSDL Version. Valid Options : 2, 2.0, 1.1 So in your case -wv 2 or -wv 2.0 Thanks, Deepal On Thu, Aug 13, 2009 at 2:34 PM, Meredith Gregorylgreg.mered...@gmail.com wrote: Deepal, Many thanks for the note. But, even if that is the option, how do you set it from

[Axis] Abstract class problem

2009-08-13 Thread Bautista, Billy
When I compile my code, I get the following error: class org.apache.axis.message.SOAPEnvelope is an abstract class. It can't be instantiated. Why is this? I checked the docs and org.apache.axis.message.SOAPEnvelope is a public class. It is not abstract.

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Meredith Gregory
Deepal, i've modified the configuration of the mvn plugin per your suggestion. i get exactly the same error. i get this on a document that is schema-valid according to Oxygen. Best wishes, --greg plugin groupIdorg.apache.axis2/groupId artifactIdaxis2-wsdl2code-maven-plugin/artifactId

RE: Axis2 Client in Weblogic: org.apache.axis2.deployment.DeploymentException

2009-08-13 Thread IamSam
Hi Martin, Thanks for your reply. I am not creating the WSDL as the web service I am using is a 3rd party WS and I use their WSDL to generate Client Java stub (WSDL2Java) mgainty wrote: did you try Java2WSDL -dlb -cn FullyQualofiedPackageAndClass to create doc/lit wsdl Martin

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Sagara Gunathunga
AFAIK in axis2-wsdl2code maven plugin's WSDL2CodeMojo does not contain any parameter called wv , so this option not supports for wsdl2code Maven-plugin. Try to use wsdl2java command line tool with wv option , it will work. e.g. wsdl2java -wv 2 -uri echo.wsdl Thanks , On Fri, Aug 14, 2009 at

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Andreas Veithen
WSDL2CodeMojo does support this option, but the documentation is not up to date: /** * @parameter expression=${axis2.wsdl2code.wsdlVersion} */ private String wsdlVersion = null; Andreas On Thu, Aug 13, 2009 at 22:09, Sagara Gunathungasagara.gunathu...@gmail.com wrote: AFAIK

Re: Does Axis 2.0 support WSDL 2.0?

2009-08-13 Thread Meredith Gregory
Andreas, Thanks! That does the trick. Best wishes, --greg On Thu, Aug 13, 2009 at 1:22 PM, Andreas Veithen andreas.veit...@gmail.comwrote: WSDL2CodeMojo does support this option, but the documentation is not up to date: /** * @parameter expression=${axis2.wsdl2code.wsdlVersion}

Passing 2 byte arrays to web service is yielding strange results

2009-08-13 Thread JFeisty
Axis newbie hereI have a very simple (pojo) web service and am serving it using Axis2 v1.5 in Tomcat 6. I have one web method called test(). It takes as a parameter a 'Placeholder' object. That 'Placeholder' object has two private byte array fields exposed with getters and setters. Here

[AXIS2]solicit response or notif

2009-08-13 Thread devesh pujari
Hi, Does Axis/Axis2 support notfi and solicit response Message patterns ? I understand that in WSDL out-only for notif and out-in for solicit-response to be written. Once the code is generated, what different needs to be done to support these than regular in-out message for service