Re: unsubscribe

2009-10-09 Thread Andreas Veithen
Please send a mail to axis-user-unsubscr...@ws.apache.org On Fri, Oct 9, 2009 at 06:10, Gudikoti, Rajesh rajesh.gudik...@logica.com wrote: Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas

Async Web service with two port types

2009-10-09 Thread Håkon Sagehaug
Hi all, I'm explaoring the async field of web services and have developed one using ws-addressing, and have my service when a request comes in, reply with HTTP 202 message, and the sending the actual result to a new endpoint, this works fine. In the end I maybe want to compose a BPEL process

RE: Cannot load SchemaTypeSystem

2009-10-09 Thread Christian Gosch
Ouuh sorry I missed that single .class file... but anyway, if all of the xsb stuff is on the runtime class path (i. e. the directories containing it all) this is OK. I preferred to pack this all together as a JAR and add it to the JAR zoo of the application. But that problem solved, now the

RE: Cannot load SchemaTypeSystem

2009-10-09 Thread mfr
General observation on NPE. Might apply to your case, Shalk, or it might not. I sometimes found NPEs in the execution of generated code when I wasn't careful to exactly match the axis2 version used for generation with the version used at runtime. (missing/renamed member variables,

Increase performance using axis 2 client stubs

2009-10-09 Thread Håkon Sagehaug
hi all, In our project we've got a web portal that uses web services, that we call by generating stubs using axis2 lib, as the back bone. I'm looking for ways to improve the performance in the calling bit now I've stated reusing the HttpClient object that is used, we have a Util class that

Re: Increase performance using axis 2 client stubs

2009-10-09 Thread Håkon Sagehaug
Hi One more thing I create the HttpClient object like this MultiThreadedHttpConnectionManager conMrg = new MultiThreadedHttpConnectionManager(); conMrg.getParams().setDefaultMaxConnectionsPerHost(10); httpClient = new HttpClient(conMrg); cheers, Håkon 2009/10/9 Håkon Sagehaug

[Axis2] attribute name in xs:element

2009-10-09 Thread David
Hi, I deploy my web service with Axis2 and weblogic 10 and I have a question about parameter name in wsdl... Why are they specified param0 for the name? For example : xs:element minOccurs=0 name=param0 nillable=true type=ns1:DonneesWS/ instead of xs:element minOccurs=0 name=donnees

RE: Increase performance using axis 2 client stubs

2009-10-09 Thread Paul French
Here is some code we use. Basically it uses commons pooling and creates a pool of stubs. The expensive operation of creating the axis2 configuration etc is only done once. It would be simple to wrap it as a proxy of your stub interface and put the attached code in the proxy and so the

Re: Increase performance using axis 2 client stubs

2009-10-09 Thread mfr
From memory (apologies in advance if this is off the mark), I think it's the axis2 client stub that will serialize multiple calls - i.e. will finish one request/response before beginning another. So if you want to parallelize the calls, what's needed is multiple client stubs, and multiple threads

Re: Increase performance using axis 2 client stubs

2009-10-09 Thread Håkon Sagehaug
Hi Thanks for the replys, I could tell little more about my setup perhaps. I've got on eConfigurationContext that is shared between the stubs, each service has one stub connecte to it. Thw web app is running inside tomcat, so the util class that is responsible for calling managing the stubs, is

[Axis2] Pb with xs:element name?

2009-10-09 Thread Didav Didav
Hi, I deploy my web service with Axis2-1.3 and weblogic 10 and I have a question about parameter name in wsdl... Why are they specified param0 for the name of the tag xs:element? For example : xs:element minOccurs=0 name=param0 nillable=true type=ns1:DonneesWS/ instead of xs:element

HTTP Works, but Axis Fails

2009-10-09 Thread michael_creech
We have a Java application that can connect to a PHP-based server from California (C) but not from India(I). Besides geographic location, the only known difference between C and I is that I accesses the Internet via a proxy server. We believe we have worked out the proxy issues in that I can

Re : [Axis2] Pb with xs:element name?

2009-10-09 Thread David
Okthe answer is to compile the procjet in debug to have the attribute name donnee in the class file De : Didav Didav dida...@hotmail.fr À : axis-user@ws.apache.org Envoyé le : Ven 9 Octobre 2009, 14 h 41 min 17 s Objet : [Axis2] Pb with xs:element

xmlns

2009-10-09 Thread Didav Didav
Hello, When i have in a wsdl: xmlns:ax23=http://vo.coaching.de/xsd; or xmlns:ax24=http://vo.coaching.de/xsd; ax23 or ax24 specify the version of axis2 ?? so axis2 1.3 and axis2 1.4 ??? Thank you David Achetez un nouveau PC et

Re: Increase performance using axis 2 client stubs

2009-10-09 Thread mfr
Again apologies in advance if I've misunderstood. You talked of a util that encapsulates three WS client stub calls (all calls on the same HttpClient object). This util executes in a web container thread triggered by a request to your portal app. You want to speed up the execution of the

RE: xmlns

2009-10-09 Thread Martin Gainty
to understand namespace assignments for your XML messages please reference http://wso2.org/library/articles/differentiating-between-soap-versions-looking-soap-message hth Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de

RE: [Axis2] Pb with xs:element name?

2009-10-09 Thread David Hesson
Is that a POJO service or what? And what JDK are you using. From: Didav Didav [mailto:dida...@hotmail.fr] Sent: Friday, October 09, 2009 8:41 AM To: axis-user@ws.apache.org Subject: [Axis2] Pb with xs:element name? Hi, I deploy my web service with

Re : [Axis2] Pb with xs:element name?

2009-10-09 Thread David
Yes POJO Service. I m using JDK 1.5 De : David Hesson dhes...@rjlg.com À : axis-user@ws.apache.org Envoyé le : Ven 9 Octobre 2009, 17 h 41 min 43 s Objet : RE: [Axis2] Pb with xs:element name? Is that a POJO service or what? And what JDK are you using.

RE: HTTP Works, but Axis Fails

2009-10-09 Thread michael_creech
I forgot to attach the test program (now attached). -Original Message- From: CREECH,MIKE (Non-A-Labs,ex1) Sent: Friday, October 09, 2009 7:18 AM To: axis-user@ws.apache.org Cc: CREECH,MIKE (Non-A-Labs,ex1) Subject: HTTP Works, but Axis Fails We have a Java application that can connect

simpleType vs. no type in XSD

2009-10-09 Thread Mary Hu
I don't see any benefit to define SimpleType. Instead, ADB bean generates 2 classes for each SimpleType element that brings in unnecessary complicity. I would just define such basic restrictions in attribute as 'type' and 'maxLength' . Any thought about this? This email is confidential and

RE: xmlns

2009-10-09 Thread Didav Didav
Thank you... I have an another question : Is it possible to set the namespace prefix in a wsdl? I have in my wsdl: xs:schema xmlns:ax24=http://language.webservice.releve.efluidpub.efluid.com/xsd; attributeFormDefault=qualified elementFormDefault=qualified

AbstractMethodError in simple Rampart client

2009-10-09 Thread David Dearing
I have created a simple Axis2 echo service and client and am now trying to add Rampart security, starting with a simple UsernameToken and plain text Password. The secured service is running and it rejects client calls that are missing the required SOAP header. I set up the client to add the

RE: Re : [Axis2] Pb with xs:element name?

2009-10-09 Thread David Hesson
Can I please see the signature of the POJO method? I'm not sure if it's related to having a complex object as the input argument, or maybe a property needs set in the Axis2 config. From: David [mailto:tida...@yahoo.fr] Sent: Friday, October 09, 2009 11:51

Re: Axis 1 (1.4) - Simple proof of concept client not working - SAXParserException: Content is not allowed in prolog

2009-10-09 Thread mule_user
I needed to add WEB-INF\server-config.wsdd and add my custom services in that file. After that, I was able to see my custom service. I was able to create custom client and successfully returned the results. There is so much emphasis on deploying using JWS, Admin Console etc. and a lot of

Re: [Axis2] AbstractMethodError in simple Rampart client

2009-10-09 Thread David Dearing
David Dearing wrote: I have created a simple Axis2 echo service and client and am now trying to add Rampart security, starting with a simple UsernameToken and plain text Password. The secured service is running and it rejects client calls that are missing the required SOAP header. I set