RE: Axis2c Soap Engine

2008-07-24 Thread Shobha AC
Thank You All.. _ From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2008 11:24 AM To: Apache AXIS C User List Subject: Re: Axis2c Soap Engine Hi Shoba, The directories that contains the core code are src/core/* Ignore the directories

Axis CPP new user - how to access an existing web-service

2008-07-24 Thread Deepak Warrier
Hi I am trying to generate client code to access a predefined web-service using AxisCPP (on Windows using Eclipse CDT). I was able to generate the client-side stubs using WSDL2ws for the corresponding WSDL. Do I need to specify the web-service elsewhere explicitly (like a config file)? Are

Re: Axis CPP new user - how to access an existing web-service

2008-07-24 Thread Nadir Amra
Have you read the user guides at http://ws.apache.org/axis/cpp/documentation.html? You will need to bind your client application to the axis_client dll. If the address of the service in wsdl is correct, you do not need to do anything. One last thing. You should build AXIS from SVN repository

RE: Axis CPP new user - how to access an existing web-service

2008-07-24 Thread Deepak Warrier
Hi Nadir, Thanks much for your response. I did make some progress- I was able to link and build it using Visual Studio 2005!! I guess the Axis Win32 binaries were not compatible with Eclipse CDT. However while executing the exe I did get an error - The error occurs within the following

Re: Axis2c Soap Engine

2008-07-24 Thread Rajika Kumarasiri
On Wed, Jul 23, 2008 at 10:48 AM, Shobha AC [EMAIL PROTECTED] wrote: Interesting! axiom sources (.c) gave me a total of 26046 LOC using find axiom/ -type f -name *.c -exec wc -l {} \; | awk 'BEGIN { loc = 0; } {loc += $1;} END{print loc;} ' -Rajika Dear All, Can u pls

RE: Axis CPP new user - how to access an existing web-service

2008-07-24 Thread Nadir Amra
Not sure VS 2005 is supported. I think earliest VS we use is 2006. Not sure it matters although I thought I would bring it up. Did you rebuilt axis from latest code in svn? Nadir Amra Deepak Warrier [EMAIL PROTECTED] wrote on 07/24/2008 11:24:46 AM: Hi Nadir, Thanks much for your

Re: Problem with Axis 2 Corba module

2008-07-24 Thread Eranga Jayasundera (එරංග)
Hello, Axis2 Corba module already support the following pre-processor directives. #ifdef #ifndef #else #endif #includes #define #undef Thanks, Eranga On Wed, Jul 23, 2008 at 7:32 PM, paulo cancela [EMAIL PROTECTED] wrote: Hello again Eranga. Just forget this. In the .idl there was the

Re: axis2 generates invalid code when response contains more than one part

2008-07-24 Thread Amila Suriarachchi
fixed in the trunk please have a look at. thanks, Amila. On Thu, Jul 24, 2008 at 5:18 AM, aelbert [EMAIL PROTECTED] wrote: Hello, everybody I have the following problem and would greatly appreciate if anybody has any suggestions! wsdl2java generates an incorrect function signature if

Give you a good website:goshopex.com

2008-07-24 Thread $tamo$
Give you a good website:goshopex.com

Give you a good website:goshopex.com

2008-07-24 Thread $tamo$
Give you a good website:goshopex.com

Re: axis2 generates invalid code when response contains more than one part

2008-07-24 Thread keith chapman
Amila, Is this a critical fix? If so can you put this fix to the 1.4 branch too. Thanks, Keith. On Thu, Jul 24, 2008 at 1:52 PM, Amila Suriarachchi [EMAIL PROTECTED] wrote: fixed in the trunk please have a look at. thanks, Amila. On Thu, Jul 24, 2008 at 5:18 AM, aelbert [EMAIL

Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
Hi everyone, I'm attempting to invoke a simple Rampart enabled EchoService from a .NET client. However, I get a The timestamp could not be validated error everytime. I've disabled the Timestamp option on the service side but it doesn't make any difference. I've compared the Timestamp

Re: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Nandana Mihindukulasooriya
Hi, Can you post the server's stack trace ? thanks, nandana On Thu, Jul 24, 2008 at 2:34 PM, Sanjay Vivek [EMAIL PROTECTED] wrote: Hi everyone, I'm attempting to invoke a simple Rampart enabled EchoService from a .NET client. However, I get a The timestamp could not be validated error

Re: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread José Ferreiro
Hello Sanjay, Please observe the following: SOAP Request from your .NET client wsse:Security wsu:Timestamp wsu:Id=Timestamp-74569579-8e34-407f-a10c-c27d3b119b80 wsu:Created2008-07-23T14:55:04Z/wsu:Created

RE: Returning 2d arrays

2008-07-24 Thread Simon Adams
Does anyone have any ideas on this? I'm really stuck as I am essentially returning the subset of a database table, and so need rows and columns. From: Simon Adams [mailto:[EMAIL PROTECTED] Sent: 23 July 2008 10:26 To: axis-user@ws.apache.org Subject: Returning 2d arrays Chaps, I wrote a

RE: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
Hi Nandana, I've looked at the Tomcat logs and I don't see any errors at all. I've looked at a few previous postings below and it appears that this issue was solved but unfortunately I've come across it again. Thanks Sanjay

Re: Returning 2d arrays

2008-07-24 Thread Chinmoy Chakraborty
I am also stuck on this (2D array problem)...please someone comment on this issueeven if Axis2 doesn't support 2D array, please let us know. On Thu, Jul 24, 2008 at 3:01 PM, Simon Adams [EMAIL PROTECTED] wrote: Does anyone have any ideas on this? I'm really stuck as I am essentially

RE: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
Hi Jose, The reason there's such a big time difference between the 2 timestamps is because the .NET client invoked the service yesterday while I invoked the service using a Java client today. I merely wanted to show the formatting of the 2 timestamps. I'm sorry if I mislead you! The .NET

org.apache.axis2.AxisFault: Couldn't find repository location 'repository'

2008-07-24 Thread Dini Omar
Hi all, I am trying to engage the rampart module but for some reason it is not being found. Here is the directory structure that i have (src is the project root) /src/com.alp.ccs21.soapgw.gw /src/lib /src/repository/modules/rampart-1.3.mar And here is the code to engage rampart

Re: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Nandana Mihindukulasooriya
Hi Sanjay, In deed this seems to be a clock synchonization issue as pointed out by Jose. As it seems this fails when the Rampart validates the created element. As it seems created value contains a future time w.r.t the server machine. You can adjust a skew value to get over from that issue

Axis2 with Properties

2008-07-24 Thread joern.albinger
Hello, I have a problem with my properties class. After archiving my service my database controller can't locate or read the properties data. In the data are the settings for the database connection like treiber , username url . Where do I have to place the properties for the right reading and

Re: org.apache.axis2.AxisFault: Did not understand MustUnderstand header(s):

2008-07-24 Thread Nandana Mihindukulasooriya
Hi Dini, I think this dispatching problem is an inherent problem in Axis2 and not a problem with client or server configuration. Anyway I think the standard way to use addressing for dispatching when security is involved. And if you really need to dig in to the problem, you need to

Specifying the server URI of Axis client

2008-07-24 Thread Patrick Stählin
Hi! I'm trying to access a gSOAP server (2.7.10) running on http://localhost:8081 using axis2-1.4. The Client-Stub, generated by wsdl2java, insists on connection to localhost:80, regardless of which targetEndpoint I'm passing to the constructor. The WSDL I'm using was generated by gSOAP. The

Polymorphism in Axis2

2008-07-24 Thread breaks
Hi, Excuse the simple question: Consider the following simple polymorphic arrangement: Dog and Cat both extending from Animal. If I send a list of Animals from client to server, which contains both cats and dogs, I can see the soap message containing animals which then reference dog and cat

RE: Timestamp error when invoking a Rampart service from a .NET client.

2008-07-24 Thread Sanjay Vivek
Hi Nandana, Jose, You were right about the timeskew element! I finally got it to work and it appears the client machine was 8 mins faster than the service machine. Thanks once again for both your help. Regards Sanjay From: Nandana Mihindukulasooriya

Re: org.apache.axis2.AxisFault: Did not understand MustUnderstand header(s):

2008-07-24 Thread Dini Omar
Hi Nandana, I am not currently using an Axis2.xml file on the client side. Should i be using this file? If so, if i create an Axis2.xml file and include the below code should it work? thanks On Thu, Jul 24, 2008 at 12:04 PM, Nandana Mihindukulasooriya [EMAIL PROTECTED] wrote: Hi Dini,

Sandesha2 error after Axis2 migration

2008-07-24 Thread Fabien Couvert
Hi all, I did a migration from Axis2 1.3 to Axis2 1.4 on Tomcat 6.0. Now I get an error when I deploy my webservice : /[ERROR] SandeshaModule.init() - Could not load module policies. Using default values./ When I try to use RM in my application I get a NullPointerException. Anyone have an

Re: Polymorphism in Axis2

2008-07-24 Thread Samisa Abeysinghe
If you have the schema and the WSDL in place, you can use WSDL2Java tool to see how Axis2 handles that. Samisa... breaks wrote: Hi, Excuse the simple question: Consider the following simple polymorphic arrangement: Dog and Cat both extending from Animal. If I send a list of Animals from

Re: Sandesha2 error after Axis2 migration

2008-07-24 Thread Samisa Abeysinghe
Fabien Couvert wrote: Hi all, I did a migration from Axis2 1.3 to Axis2 1.4 on Tomcat 6.0. Now I get an error when I deploy my webservice : /[ERROR] SandeshaModule.init() - Could not load module policies. Using default values./ When I try to use RM in my application I get a

Re: Sandesha2 error after Axis2 migration

2008-07-24 Thread Fabien Couvert
Here it is : 2008-07-24 11:40:40,192 [ERROR] AxisServlet.doPost() - java.lang.NullPointerException at org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.java:122) at org.apache.axis2.engine.Phase.invoke(Phase.java:317) at

Re: Axis2 with Properties

2008-07-24 Thread Steve Hall
Joern, I'm not sure how you are deploying your web service. However, if it is in a webapp (like the axis2 webapp), then place the properties file in the WEB-INF/classes directory and use the following code. // Read properties file. Properties properties = new Properties();

Re: org.apache.axis2.AxisFault: Couldn't find repository location 'repository'

2008-07-24 Thread Samisa Abeysinghe
Dini Omar wrote: Hi all, I am trying to engage the rampart module but for some reason it is not being found. Here is the directory structure that i have (src is the project root) /src/com.alp.ccs21.soapgw.gw http://com.alp.ccs21.soapgw.gw /src/lib /src/repository/modules/rampart-1.3.mar

Re: Axis2 with Properties

2008-07-24 Thread Pierre Muller
I had about the same problem : my database.properties file had to be put in the same folder as the .aar : webapps/axis2/WEB-INF/services. I guess Axis can't allow FileInputStream to fetch the file from within the .aar . Three days ago I asked here how to specify to Axis2 the directory to use

Accessing web services throug proxy

2008-07-24 Thread All4IT
Dear all, I have exactly the same issue as the one described by Valery last week. It would be great if somebody could help. Quick description: I need to access a web service located outside our company. Therefore I must use our proxy. But it does not seem to work. Each time I get a Transport

Ant target

2008-07-24 Thread Felipe Coutinho
Hello, I'm looking for an ant task to generate the aar for the Axis2. I want to generate the aar without the Service Archive Wizard - Eclipse Plug-in. Can you help me? Thanks.

Re: Specifying the server URI of Axis client

2008-07-24 Thread Patrick Stählin
On Thursday 24 July 2008 13:06:27 Patrick Stählin wrote: Using netcat to listen on port 80 showed that axis is indeed accessing localhost:80: overlord patrick # nc -l -p 80 POST http://localhost:8081/ HTTP/1.1 Well, this is because http.proxyHost was set to (empty string) and this is

Re: Ant target

2008-07-24 Thread robert lazarski
http://ws.apache.org/axis2/tools/1_4/CodegenToolReference.html#ant HTH, Robert On Thu, Jul 24, 2008 at 11:07 AM, Felipe Coutinho [EMAIL PROTECTED] wrote: Hello, I'm looking for an ant task to generate the aar for the Axis2. I want to generate the aar without the Service Archive Wizard -

Re : how to minimize axis2 used package?.

2008-07-24 Thread David
Hi, I need to know the real size of the axis client jar before to know if it is possible to help you. J9 is known to be a very slow KVM. If you have the source code of the axis client, it will be possible to apply some tricks to eran some Kilo bytes but it's a hard job to optimise the jar size

RE: Accessing web services throug proxy

2008-07-24 Thread All4IT
Dear all, I found the solution: you just need to disable chunked transfer encoding: _serviceClient.getOptions().setProperty(HTTPConstants.CHUNKED,false); Rgds, Benoit Legal Notice: This electronic mail and its attachments are

Re : Ant target

2008-07-24 Thread David
Hi, it's possible to use the jar task... jar jarfile=${name}.aar fileset dir=${services.dir}/ /jar David - Message d'origine De : Felipe Coutinho [EMAIL PROTECTED] À : axis-user@ws.apache.org Envoyé le : Jeudi, 24 Juillet 2008, 16h07mn 47s Objet : Ant target Hello, I'm

how to minimize axis2 used package?.

2008-07-24 Thread Danny Garcia Hernandez
Hi, i have a little java application runnig into mobile device with j9 vm. I use axis client jars to connect to the deployed axis services. The problem is that i need to reduce the packages copied to the device and then minimize the jvm load time. It is posible?. Thanks Danny

Re: axis2 generates invalid code when response contains more than one part

2008-07-24 Thread aelbert
Guys, Can you please include it in 1.4, it would really help us out. We have a lot of code that is written based on axis1 which we would have to rewrite otherwise. Is there a website which I can use to get the code from the trunk? Thanks, Alex -- View this message in context:

Re: Re : how to minimize axis2 used package?.

2008-07-24 Thread Danny Garcia Hernandez
Hi David, my jar client have about 710 kb. To install and use this services from device, i copy all jars from WebContent/WEB-INF/lib to J9 PPRO directory, a lot of package. My application use client services jar to connect remote services, i need all of this jars in my device?. activation

Re : Re : how to minimize axis2 used package?.

2008-07-24 Thread David
I don't know your application, so you need to test!! :) Maybe you don't need all of this jar... - Message d'origine De : Danny Garcia Hernandez [EMAIL PROTECTED] À : axis-user@ws.apache.org Envoyé le : Jeudi, 24 Juillet 2008, 17h50mn 29s Objet : Re: Re : how to minimize axis2 used

Question regarding asynchronous call

2008-07-24 Thread Hasnain Badami
Hi I am very new to Axis 2 (5 days) and am trying to implement an asynchronous non blocking client to a .net webservice. I know its very difficult to address the problem this way, but I shall be highly obliged with your responses. My client code is as under DMTServiceStub dmtStub = *new*

Identifying the correct classloader

2008-07-24 Thread Jones, Alan R
Hi, I checked the list archives, but cannot seem to find the answer to my issue: I have a binary (package) compiled in JBoss Rules. My axis2 service operates on this package/uses the package once it receives a request to do so. I cannot have the data model jar with which the package was

wsdl2java not creating xmime:base64Binary type correctly?

2008-07-24 Thread acm
I've been following this guide for MTOM in Axis2 (http://ws.apache.org/axis2/1_1/mtom-guide.html) and have been unable to get wsdl2java to create the Base64Binary class like is done in the example. In the example, the Base64Binary class has the method getBase64Binary(). Running wsdl2java I

RE: Identifying the correct classloader -clarify

2008-07-24 Thread Jones, Alan R
...to make it a bit more concise, I guess I just want to know how can i get my service to access jars/classes that reside in a directory outside of tomcat or axis2. Thanks, Alan J Alan R Jones Boeing Mission Systems Denver Engineering Center

RE: Memory issues with large dynamic generated stream payload -- MTOM with Axis2 1.2 issue

2008-07-24 Thread Shalab Goel
Please help. Any pointers will be appreciated. -Original Message- From: Shalab Goel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2008 1:55 PM To: [EMAIL PROTECTED]; axis-user@ws.apache.org Subject: RE: Memory issues with large dynamic generated stream payload Sorry for the

Thomas Landgraf ist außer Haus / out of office reply

2008-07-24 Thread landgraf
Ich werde ab 25.07.2008 nicht im Büro sein. Ich kehre zurück am 26.07.2008. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. I will answer your email when i am back in the office. - To unsubscribe, e-mail: [EMAIL

Re: Memory issues with large dynamic generated stream payload -- MTOM with Axis2 1.2 issue

2008-07-24 Thread Thilina Gunarathne
Hi, Make sure you are using HTTP 1.1 and that u have http-chunking enabled When chunking is enabled the internals will just get the stream from the data handler and then will stream it in to the message... Also in the past I have seen people running in to trouble due to issues with custom

Re: wsdl2java not creating xmime:base64Binary type correctly?

2008-07-24 Thread Thilina Gunarathne
Hi, Axis2 XMLBeans data binding no longer supports MTOM... Please refer to the latest doc[1].. Try code generating using ADB... wsdl2java.bat -d adb -uri TestService.wsdl thanks, Thilina [1] http://ws.apache.org/axis2/1_4/mtom-guide.html On Thu, Jul 24, 2008 at 12:30 PM, acm [EMAIL PROTECTED]

Re: Accessing web services throug proxy

2008-07-24 Thread Demetris G
Hmmm ... interesting - I wonder why turning off chunked transfer encoding would enable proxy-access of remote web services. Your errors seemed to have been authentication related. Well, if it works it works - thanks for letting us know man. Coppens Benoît (All4IT) wrote:  Dear all, I

about collection

2008-07-24 Thread liang li
hi,all i know little about axis. does axis permit that the return type is java collection, for example:List. does axis permit that the parameter type is java collection. so the follwoing interface is valid? public List getAllStudent() throw Exception; public List getStudentInfo(List

RE: about collection

2008-07-24 Thread Shehan Simen
Of course yes. From: liang li [mailto:[EMAIL PROTECTED] Sent: Friday, 25 July 2008 2:11 PM To: axis-user Subject: about collection hi,all i know little about axis. does axis permit that the return type is java collection, for example:List. does axis permit that the parameter type is java

Re: about collection

2008-07-24 Thread liang li
thanks Shehan, however i occoured some failure when i used mulle, axis. first let me tell you the envirment; service programs are put in mule/lib/user, and i config the file like this: mule-descriptor name=hlrWebService implementation=com.wri.hy.jcssv2.srv.hlr.HLRServiceImpl inbound-router

wsdl string pattern

2008-07-24 Thread Shehan Simen
Hi, I want to have a pattern for a string in wsdl. The pattern is like: string/string e.g. : image/jpeg Is the following pattern correct? xs:pattern value=([a-zA-Z])*/([a-zA-Z])*/ I want to introduce this pattern for MIME types. Is it correct? Please help me.

Re: Accessing web services throug proxy

2008-07-24 Thread Eran Chinthaka
Hmm, Yeah this is strange. You can make Axis2 go through proxies, using some settings, but I am not sure how disabling chunking fixed this problem. Interesting ... On Thu, Jul 24, 2008 at 8:26 PM, Demetris G [EMAIL PROTECTED] wrote: Hmmm ... interesting - I wonder why turning off chunked

RE: about collection

2008-07-24 Thread Shehan Simen
Hi, I think you are right. List might contain different kinds of objects. So Axis does not know how to deserialize. So just use an array of objects, so no more confussion. From: liang li [mailto:[EMAIL PROTECTED] Sent: Friday, 25 July 2008 3:36 PM To: axis-user@ws.apache.org Cc: [EMAIL

Re: about collection

2008-07-24 Thread liang li
thanks,Shehan the article from http://marc.info/?l=axis-userm=101907869705573w=2 say can use List. is that true? if yes, i dont know how to config in mule. best regards liang li 2008/7/25, Shehan Simen [EMAIL PROTECTED]: Hi, I think you are right. List might contain different kinds of