newbie question regarding rampart samples and tcpmon

2008-07-03 Thread Thomas Porschberg
Hi, I'm new to AXIS2 and rampart. However in a first step I got a simple unsecure webservice running with AXIS2-server and a gsoap client. In a second step I installed rampart and tried to execute the samples. I run sample02 successful (I copied the sample02.aar to axis2-1.4/repository/services

Re: How to consume .Net ( with WSE3.0 security enabled ) web services using Java Client(Axis 1.3)

2008-07-03 Thread sh_santosh
Dear all, can please suggest some tutorial or Link or your guidelines using Axis 1.3 , jakarta-tomcat-5.0.28. Regards Santosh Nunny wrote: > > Hi Santosh, > > I have to consume .Net web services( WSE 3.0 enabled) from Java Client. I > am >> using Axis 1.3 , jakarta-tomcat-5.0.28. >> They ha

Re: How to consume .Net ( with WSE3.0 security enabled ) web services using Java Client(Axis 1.3)

2008-07-03 Thread Nandana Mihindukulasooriya
Hi Santosh, I have to consume .Net web services( WSE 3.0 enabled) from Java Client. I am > using Axis 1.3 , jakarta-tomcat-5.0.28. > They have enabled WSE 3.0 in .Net web services ( Doc / Literal web services > ). > > Problem : Security requirements are not satisfied because the security > header

Re: Exceptions when using a Rampart client generated from stub classes.

2008-07-03 Thread Nandana Mihindukulasooriya
Hi Sanjay, That worked perfectly! Thanks for your advice. On a separate note, I've > a question regarding disabling HTTPS. The primary reason I want to do > this is because TCPMON can't intercept encrypted messages. I disabled > HTTPS by commenting out the following line in the services.xml file :

Re: Axis wsdl2java -generated codes

2008-07-03 Thread prabhu p
Hi Keith , Here is my wsdl and xsd file . Please note iam able to get as expected using Axis2 that is stub file will have method like login(LoginMethodArgs parameter); Let me know if you want more informations . Thanks, Prabhu On Thu, Jul 3, 2008 at 9:53 PM, keith chapman <[EMAIL PROTECTED]> w

Re: anyType element again and again

2008-07-03 Thread pierre betz
So, any ideas ? I tried some other ways, but I still really need to make a request which can send differents type of elements when I call it still blocked..

Re: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

2008-07-03 Thread Thilina Gunarathne
> Will this method.addChild will not create the proper XML format when I > send in the message? > What I mean by proper XML format is the XMLSchema which your service mandates your request should adhere to.. Do you have a proper WSDL for the service.. Is the service under ur control or something

Re: Axis2 Client config location

2008-07-03 Thread Sameera Jayasoma
Hi Brian, I just have look at Axis2 source code. I noticed that Axis2 uses the system properties "axis2.repo" and "axis2.xml" to get the locations of the repository and the axis2.xml, if you haven't specified them in your client side code. So you can use -Daxis2.repo or -Daxis2.xml system proper

RE: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

2008-07-03 Thread Attharkar, Asmita
Ok Now I am using File file = new File(INPUT_FILE); FileDataSource fileDataSource = new FileDataSource(file); //--- DataHandler dataHandler = new DataHandler(fileDataSource); // processWithAttach msgAttach = new processWithAttach (); OMFactory fac = OMAbstractFactory.getOMFactory(); OMText bin

Re: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

2008-07-03 Thread Thilina Gunarathne
Hi, I'm a bit confused... Why are you creating the XML using Axiom while you have stubs generated... It would have been better if you fixed your wsdl to reflect the correct XML elements and code generated.. Looks like you are getting the fault from the serverside. A message trace of the request a

RE: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

2008-07-03 Thread Tony Dean
try specifying "application/octet"... I personally use a dataHandler and use streams directly... From: Attharkar, Asmita [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 12:18 PM To: axis-user@ws.apache.org Subject: RE: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not seria

RE: Axis2 Client config location

2008-07-03 Thread Brian Dillon
Hi, Thanks, I had seen this but I was hoping that there was a configuration way of doing this rather than needing to hardcode the repository location. Is there any system parameter way equivalent to the axis1 approach ? Thanks, Brian -Original Message- From: Charitha Kankanamge [mailto

Re: Axis wsdl2java -generated codes

2008-07-03 Thread keith chapman
Hi Prabhu, Can you post your WSDL please. Thanks, Keith. On Thu, Jul 3, 2008 at 6:42 PM, prabhu p <[EMAIL PROTECTED]> wrote: > Hello Everyone , > I am using Axis 1.4 for converting WSDl2Java and testing my web services . I > am writing a client which uses these generated codes. WSDL2Java > is s

RE: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

2008-07-03 Thread Attharkar, Asmita
Hi, Here is my client code: myStub._getServiceClient().getOptions() .setProperty(Constants.Configuration.ENABLE_MTOM, Constants.VALUE_TRUE); myStub._getServiceClient().getOptions().setTimeOutInMilliSeconds(1); File file = new File

Re: Axis2 SOAP-client and HTTPS-based server using basic authentication

2008-07-03 Thread keith chapman
Noticed that you had auth.setPassword(userName); auth.setUsername(password); in your code. A mistake probably that caused the issue? Thanks, Keith. On Thu, Jul 3, 2008 at 8:07 PM, Odd Kenneth Oden <[EMAIL PROTECTED]> wrote: > > Hello, > > I have been unable to successfully execute my WSDL-gene

RE: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

2008-07-03 Thread Tony Dean
don't know about your issue, but there are other issues fixed in 1.4 that were broke in 1.3 so I wouldn't go back there. From: Attharkar, Asmita [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2008 9:40 AM To: axis-user@ws.apache.org Subject: MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow

Re: Lightweight servlet container to test web services

2008-07-03 Thread Andrew Clegg
2008/7/3 Paul Fremantle <[EMAIL PROTECTED]>: > Andrew > > In tests, Axis2 is much more performant running in Tomcat or with the > native non-blocking NIO transports that with the built-in standard > server. We use Tomcat in an embedded way in the WSO2 Web Services App > server (http://wso2.org/proj

Re: Lightweight servlet container to test web services

2008-07-03 Thread Paul Fremantle
Andrew In tests, Axis2 is much more performant running in Tomcat or with the native non-blocking NIO transports that with the built-in standard server. We use Tomcat in an embedded way in the WSO2 Web Services App server (http://wso2.org/projects/wsas/java) because we found it faster than Jetty or

Axis2 SOAP-client and HTTPS-based server using basic authentication

2008-07-03 Thread Odd Kenneth Oden
Hello, I have been unable to successfully execute my WSDL-generated Axis2 1.4 client against a web service that uses HTTPS and basic authentication. After some extensive search on the Internet, I found some suggestions which I have tried to implement. I've managed to successfully do a HTTP get

Re: Lightweight servlet container to test web services

2008-07-03 Thread Alexey Zavizionov
Thank you for reply. I am developer of java web services based on Axis1. For regular testing I have to start/stop servlet container to deploy/undeploy test WAR application. This process should be embedded into maven2 regular test process. Is there documentation how can we start and deploy sample t

MTOM: Axis2-1.4 issue?? XMLStreamException: Unknow type can not serialize

2008-07-03 Thread Attharkar, Asmita
All, I am trying to send a pdf attachment in the soap message but I get this: org.apache.axis2.databinding.utils.ConverterUtil.serializeAnyType(ConverterUtil.java:1449) And the message doesn't come to web services server, it is failing in OperationClient.execute() method itself. The AxisFault m

Re: Lightweight servlet container to test web services

2008-07-03 Thread Alexey Zavizionov
I see SimpleAxis2Server in the bin dir for Axis2, but nothing in the axis1distribution. My service is based on Axis1. On Thu, Jul 3, 2008 at 3:26 PM, Paul Fremantle <[EMAIL PROTECTED]> wrote: > Axis and Axis2 also offer a lightweight built-in server runtime for > testing. Just look in the bin\ d

FW: ADB external mapping

2008-07-03 Thread Martin Kadlec
Hi, I'm still struggling with getting the XML contents (or ) in a parse() method of a ADBBean, storing them in the bean and feeding them later back to the serialize() method. Is there an efficient way to copy the raw XML contents from one to another without having to go through all the parse ev

Axis wsdl2java -generated codes

2008-07-03 Thread prabhu p
Hello Everyone , I am using Axis 1.4 for converting WSDl2Java and testing my web services . I am writing a client which uses these generated codes. WSDL2Java is successful but the generated codes are missing some informations means, It creates a stub files which has a method like this *login(Aes

Re: Lightweight servlet container to test web services

2008-07-03 Thread Andrew Clegg
For production use, what are the advantages of deploying Axis2 within a full-on application server? We don't use any other Java web applications -- indeed, we don't use any other Java applications at the moment -- but we are migrating some webservices from Perl/SOAP::Lite to Java/Axis2. Given tha

Re: Lightweight servlet container to test web services

2008-07-03 Thread Paul Fremantle
Axis and Axis2 also offer a lightweight built-in server runtime for testing. Just look in the bin\ directory. Paul On Thu, Jul 3, 2008 at 12:12 PM, Alexey Zavizionov <[EMAIL PROTECTED]> wrote: > Is there anybody who use maven2 and any servlet container to test web > services? > Probably, servlet

Lightweight servlet container to test web services

2008-07-03 Thread Alexey Zavizionov
Is there anybody who use maven2 and any servlet container to test web services? Probably, servlet container runs as maven plugin. Regards, Alexey

Re: Axis and websphere

2008-07-03 Thread Alexey Zavizionov
Thanks for your reply. I fixed problems. On Thu, Jun 19, 2008 at 5:38 PM, ab <[EMAIL PROTECTED]> wrote: > Yes. I've done that and its been working in production for about 6months or > so. Are you running into some issues? > > -ab > > > - Original Message > From: Alexey Zavizionov <[EMAIL

Re: Axis2 Client config location

2008-07-03 Thread Charitha Kankanamge
Hi Brian, You can use ConfigurationContext to pick up config files (e.g:- axis2.xml) as follows 1.Create configurationContext from file system as follows. ConfigurationContext cc = ConfigurationContextFactory.createConfigurationContextFromFileSystem("\home\user\axis2\repository","\home\user\ax

How to consume .Net ( with WSE3.0 security enabled ) web services using Java Client(Axis 1.3)

2008-07-03 Thread sh_santosh
Dear all, I have to consume .Net web services( WSE 3.0 enabled) from Java Client. I am using Axis 1.3 , jakarta-tomcat-5.0.28. They have enabled WSE 3.0 in .Net web services ( Doc / Literal web services ). Problem : Security requirements are not satisfied because the security header is not prese

Problem with Axis2 client in JBoss 4 environment

2008-07-03 Thread Domenico Nappo
Hi all, we have a problem in invoking a web service (exposed in Siebel CRM) in a JBoss environment. The client code is generated with Axis2 (with adb mapping). It works fine in a stand-alone environment. When we use the client in a web-app deployed on JBoss, a Socket exception occurs. We think t

Axis2 Client config location

2008-07-03 Thread Brian Dillon
Hi, Is there way to indicate where a standalone axis2 client should pick up it's configuration files (e.g. in axis1 this could be done using -Daxis.ClientConfigFile). Thanks, Brian __ FINEOS Corporation is the global brand name of FINEOS C