Re: |AXIS2] [AXIS2C] c-stubs: memset in axis2_TYPE_create missing

2007-08-14 Thread Samisa Abeysinghe
I have packed and hosted the latest snapshot with Java svn head here: http://people.apache.org/~samisa/1.1.0-RC1/ Please have a look. Thanks, Samisa... Samisa Abeysinghe wrote: Dr. Florian Steinborn wrote: On Wed, 08 Aug 2007 11:30:23 +0200, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Fixed

Re: |AXIS2] [AXIS2C] c-stubs: memset in axis2_TYPE_create missing

2007-08-14 Thread Dr. Florian Steinborn
Hi Samisa, thanks for the light you shed. Could you please drop some lines explaining how to build a working binary copy from the Axis2 sources? I know it may be off-topic here but we want to be able to apply changes and test them (just to make suggestions here). The readme-file in the

RE: [Rampart/C | Neethi/C] Possible to get the current x509security certificate from a policy?

2007-08-14 Thread Jamie Lyon
Sorry for not being overly clear. Basically I've loaded a policy using: neethi_policy* policy = neethi_util_create_policy_from_file( axisEnv, fileName ); Then applied it to the service client using: axis2_svc_client_set_policy( svcClient, axisEnv, policy ); Now if possible I would like to be

Re: |AXIS2] [AXIS2C] c-stubs: memset in axis2_TYPE_create missing

2007-08-14 Thread Samisa Abeysinghe
Dr. Florian Steinborn wrote: Hi Samisa, thanks for the light you shed. Could you please drop some lines explaining how to build a working binary copy from the Axis2 sources? I know it may be off-topic here but we want to be able to apply changes and test them (just to make suggestions here).

RE: [Rampart/C | Neethi/C] Possible to get the current x509security certificate from a policy?

2007-08-14 Thread Manjula Peiris
On Tue, 2007-08-14 at 09:34 +0100, Jamie Lyon wrote: Hi Jamie, Neethi/C Security policy extension is for building and ordering the security header. It has nothing to do with the content of the payload. So in your requirement to include the security token in the payload You need to do it in your

RE: [Rampart/C | Neethi/C] Possible to get the currentx509security certificate from a policy?

2007-08-14 Thread Jamie Lyon
Thanks, that part is fine -- there's some very useful helper functions there. My primary question however is that in my policy.xml I've got: rampc:RampartConfig xmlns:rampc=http://ws.apache.org/rampart/c/policy; rampc:Certificate/my/path/mycert.pem/rampc:Certificate

java.io.IOException: Cannot run rc program

2007-08-14 Thread Velesevich Ilya
Hi ! I have download source from http://svn.apache.org/repos/asf/webservices/axis/trunk/c I have install Ant 1.7.0 by http://ws.apache.org/axis/cpp/developers-guide.html I try build source using Ant 1.7.0 but after running Ant I have exception: build.xml:82 Execute failed java.io.IOException:

Re: java.io.IOException: Cannot run rc program

2007-08-14 Thread Carlos Escobar Zarzar
Velesevich Ilya escribió: Hi ! I have download source from http://svn.apache.org/repos/asf/webservices/axis/trunk/c I have install Ant 1.7.0 by http://ws.apache.org/axis/cpp/developers-guide.html I try build source using Ant 1.7.0 but after running Ant I have exception: build.xml:82 Execute

Re: java.io.IOException: Cannot run rc program

2007-08-14 Thread Carlos Escobar Zarzar
Velesevich Ilya escribió: Hi ! I have download source from http://svn.apache.org/repos/asf/webservices/axis/trunk/c I have install Ant 1.7.0 by http://ws.apache.org/axis/cpp/developers-guide.html I try build source using Ant 1.7.0 but after running Ant I have exception: build.xml:82 Execute

Axic C++. Is it using and fixing????

2007-08-14 Thread Velesevich Ilya
Using Axis C++ 1.x - Is it actual at now?? I want call web-service And this call must be cross-platform. I think Axis C++ help me. But I want ask: Is it stable product? And Is it fixing now?? How used is it now???

Re: java.io.IOException: Cannot run rc program

2007-08-14 Thread Velesevich Ilya
I want exactly question: this fail in build.xml at 82 line: Execute failed java.io.IOException: Cannot run rc program ... System cannot find program specified exec executable=rc !--arg =/fo '${basedir}/build/version.res' '${basedir}/build/version.temp.rc'/-- arg

Re: java.io.IOException: Cannot run rc program

2007-08-14 Thread Carlos Escobar Zarzar
as for the axis-c++ binaries, you should be able to find them in http://www.apache.org/dist/ws/axis-c/ Velesevich Ilya escribió: I want exactly question: this fail in build.xml at 82 line: Execute failed java.io.IOException: Cannot run rc program ... System cannot find program specified

Re: java.io.IOException: Cannot run rc program

2007-08-14 Thread Velesevich Ilya
Yes I'm know but if you want call web service from client stub(client stub create using WSDL2Ws Axis C++ 1.6b) You will very unhappy when simple WebService whith method HelloWorld do not run twice; and code generate HTTPTransport exception. This exception like here:

Re: Axiom Questions

2007-08-14 Thread Subra A Narayanan
Hey Kaushalye, I noticed that ip_stream is of type axis2_byte_t. Looking at the definition of axis2_byte_t in axutil_utils_defines.h, I realized that it is nothing but a char. I am wondering if I read a part of a binary file from disk using pread and store the read data in void *buffer and then

Call web service on C#

2007-08-14 Thread Velesevich Ilya
Hi !! I have web service written on C# I want call this service from code on C/C++ (I want that this code stably working) What is better way to do this call? What framework better use? Axis C++ 1.xor Axis2C ??? Thanks!

Re: Axiom Questions

2007-08-14 Thread Dumindu Pallewela
Subra A Narayanan wrote: Hey Kaushalye, I noticed that ip_stream is of type axis2_byte_t. Looking at the definition of axis2_byte_t in axutil_utils_defines.h, I realized that it is nothing but a char. I am wondering if I read a part of a binary file from disk using pread and store the read

Re: Axiom Questions

2007-08-14 Thread Subra A Narayanan
Dumindu, Thanks for the reply! I am going to try it out for myself but just wanted to make sure that this was a no issue :-) Thanks again! Subra On 8/14/07, Dumindu Pallewela [EMAIL PROTECTED] wrote: Subra A Narayanan wrote: Hey Kaushalye, I noticed that ip_stream is of type

Re: Axic C++. Is it using and fixing????

2007-08-14 Thread Nadir Amra
Velesevich, It is stable, and fixes are being incorporated, although not many developers are working on it, I am putting fixes in when I,, but only to the client side, which is what you want. Ensure you get source and build from SVN since 1.6b is backlevel. Nadir K. Amra Velesevich Ilya

Large Attachment support in Axis2/C

2007-08-14 Thread Subra A Narayanan
Hello folks, My webservice receives/sends attachments from/to clients using Axis2/C MTOM. Today we noticed that when a client was trying to send a 1.3 MB file, the server only received about 1/2 of it (around 760 KB) I was reading the MTOM guide =

Re: Call web service on C#

2007-08-14 Thread Samisa Abeysinghe
Velesevich Ilya wrote: Hi !! I have web service written on C# I want call this service from code on C/C++ (I want that this code stably working) What is better way to do this call? What framework better use? Axis C++ 1.x or Axis2C ??? Well I cannot comment on the suitability of Axis2 C++,

Re: Large Attachment support in Axis2/C

2007-08-14 Thread Samisa Abeysinghe
Subra A Narayanan wrote: Hello folks, My webservice receives/sends attachments from/to clients using Axis2/C MTOM. Today we noticed that when a client was trying to send a 1.3 MB file, the server only received about 1/2 of it (around 760 KB) There was a bug that we fond out yesterday with

Axis2 1.3 Released

2007-08-14 Thread Erwin Reinhoud
Hello All, I used the following ant tasks to generate code. This worked fine with axis2 1.1.1 and 1.2 and i use all libraries in release, now using 1.3 i get the error below. taskdef name=codegen classname=org.apache.axis2.tool.ant.AntCodegenTask classpath refid=axis2.class.path/ /taskdef

Problem with AXIS WSDL2Java

2007-08-14 Thread Steffen Bleul
Hi, I have a code generation problem with Axis 1.4 and WSDL2Java. WSDL2Java is running fine as long as i just use simple types in the Web Service interfaces. But after defining my own ComplexType it does not work anymore. I have the suspicion that there is some fault in WSDL2Java.

RE: [ANN][Axis2]Axis2 1.3 Released

2007-08-14 Thread Jorge Fernandez
Hi, I wanted to download eclipse code generator plugin and the links were broken. Links are kind of this: ./ws/axis2/tools/1_3/axis2-eclipse-codegen-wizard-1.3.zip but the real path is: .../ws/axis2/tools/1_3/axis2-eclipse-codegen-wizard.zip Thanks, Jorge Fernández Deepal

RE: Axis2 service not returning SOAP Message

2007-08-14 Thread John Pfeifer
I reverted my pom.xml file and it seems to be working again. I must have removed a dependency. Thanks, John -Original Message- From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Mon 8/13/2007 9:27 AM To: axis-user@ws.apache.org Subject: Re: Axis2 service not returning SOAP Message

RE: Axis2 Spring Question

2007-08-14 Thread John Pfeifer
Ben Robert, Thanks for the input. My application is now working with all of my code in the webapp and other librares in WEB-INF/lib. I left the service.xml in the aar file but plan to do away with that all together. Thanks, John -Original Message- From: Ben Tomasini

[Axis1.4] Web service not showing in the list of deployed Web services

2007-08-14 Thread Celinio . Fernandes
Hi, i see the service name of my web service in the configuration file server-config.wsdd but it is not showing when i click in the list link in the page http://localhost:9000/noeews/servlet/AxisServlet does anyone know why ? Thanks for your help. Here is the service name in question,

RE: Axis1.4 client hiting an Axis 2.0 service

2007-08-14 Thread Kandalam, Anjana
OK ya I got to know what the problem is. I am not able to get to the deployed services page itself. I have upgraded my services to Axis2.0. When I try to go to localhost and see the deployed services I get page not found. The Happy axis page is also not displayed. I have copied the happyaxis.jsp

Re: Illegal argument exception Local part can not be null when creating QName

2007-08-14 Thread Martin Gainty
QName is used as an arg to setOperationName of call e.g. call.setOperationName(new QName(urn:soapservice, getEvents)); Qname is used to specify returnType in the call object call.setReturnType(new QName(events),java.lang.String.class); if you are using aggregate or complex constructed Java

Re: passwordCallbackClass

2007-08-14 Thread Pavan Madiraju
Thanks for the response Dimuthu, Can anyone point me to documentation on passwordCallbackClass and when it is invoked ? Is that invoked by the service on receiving the request from client or while generating the response. Thanks, Pavan On 8/14/07, Dimuthu Leelaratne [EMAIL PROTECTED] wrote:

Re: [Axis2] SAML security tokens generation

2007-08-14 Thread Christina Larocca
Thanks for your quick response. I'm going to put the examples to work. Regards. Christina. 2007/8/14, Ruchith Fernando [EMAIL PROTECTED]: Hi Christina, Rampart supports adding SAML Tokens to the security header in the policy based implementation. You can see an example here :

Http session / several services

2007-08-14 Thread Franck LEFEBURE
Hello, I have 2 wsdl2java generated stubs : String endpoint1 = http://server:7779/commonapi/services/EndPoint1;; String endpoint2 = http://server:7779/commonapi/services/EndPoint2;; FirstEndPointSoapBindingStub service1 = new FirstEndPointSoapBindingStub (new

faultString: org.xml.sax.SAXException: Invalid element error when create java code using wsdl2java

2007-08-14 Thread Ashish Kulkarni
Hi I have a wsdl file, and i created java source using wsdl2java, i used parameter -w to create wrap Arrays , i wrote java code to create all the objects to call the web service, and i am getting the following error faultString: org.xml.sax.SAXException: Invalid element in

RE: Http session / several services [SOLVED]

2007-08-14 Thread Franck LEFEBURE
JsessionId Cookie injection for the second call: service1.firstMethod(foo, bar); Call firstCall = service1._getCall(); org.apache.axis.MessageContext msgContext = firstCall.getMessageContext(); String cookie = msgContext.getStrProp(HTTPConstants.HEADER_COOKIE);

getting AxisFault: The input stream for an incoming message is null.

2007-08-14 Thread אלחנן מעיין
Hi.. I have this code: final String serviceNS=http://tempuri.org/;; final String method=HelloWorld; RPCServiceClient client=new RPCServiceClient(); client.getOptions().setAction(serviceNS+method); client.setTargetEPR(new

POJO axis2 web service with Tomcat 5.5 with security

2007-08-14 Thread Jenn Chen
Hi, Has anyone run axis2 web service with Apache 1.3/ Tomcat 5.5 with security? My Axis2 version is 1.1.1. I've created an Axis2 web service using the POJO examples in the documentation. The wsdl is visible when I start Tomcat 5.5 up without security. However when Tomcat has security, I

[Axis 2] InvocationTargetException when generating JiBX client

2007-08-14 Thread Rupal Soni
I am trying to generate the JiBX client code using Axis2 CodeGen Wizard. I am getting Error Occured When Completing the Process java.lang.InvocationTargetException Any idea why. I am using the latest 1.3 version of Axis2. Please help. - Got a little couch

How can I read file

2007-08-14 Thread renjith kalappurackal
Hi All, I have a problem facing while try to read a file from a web services that is packaged as aar. My application structure is as follows The server I am using is jboss-3.0.8_tomcat-4.1.24. And I wrote code to access file in my local machine as below in lets say

Accessing a file from service Class

2007-08-14 Thread renjith kalappurackal
Hi All, I have a problem facing while try to read a file from a web services that is packaged as aar. My application structure is as follows The server I am using is jboss-3.0.8_tomcat-4.1.24. And I wrote code to access file in my local machine as below in lets say Converter.java.

Consuming .NET exposed web service by an Axis2 ADB Client gives Error 400 : Bad Request

2007-08-14 Thread Pushkar Bodas
Hi, I am a newbie to AXIS2 and .NET too. I exposed a web service in .NET and I am trying to consume it by using AXIS2's ADB client. The way in which .NET creates the WSDL makes the WSDL2java utility of AXIS2 to generate request classes for even those web-methods, which do not take any

Axis2: Speciying style in services.xml

2007-08-14 Thread Bhojraj, Santosh
Hi: I am trying to create web services using Axis2 and would like to specify the style as rpc when the serivce.aar is generated. How do I do this ? The style gets set to document when I deploy the .aar file. I am able to do this when generating the WSDL by specifying the parameter in the ant

Re: Accessing a file from service Class

2007-08-14 Thread Martin Gainty
the war task should include any/all files (include myconfig.xml) to be referenced then any deploy tasks should un-war or decompress the files (including myconfig.xml) to the deployment folder which would be either WEB-INF/lib or WEB-INF/classes M-- This email message and any files transmitted

Re: Axis2: Speciying style in services.xml

2007-08-14 Thread Martin Gainty
Axis2 Spring Questiona link to the style attribute explanation http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCDocumentWrappedAndMessage Does this help? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom

access to ServletConfig from service class

2007-08-14 Thread feh
I've embedded Axis2 in an existing application running under Tomcat, such that the AxisServlet is specified in web.xml, and all requests for /app/services/* are routed to Axis. Axis then takes care of calling my service methods for a given request. Does anybody know how I can get a reference

[AXIS2] Service archiver eclipse plugin changes ANT_HOME, causes ant problems

2007-08-14 Thread Pantvaidya, Vishwajit
I installed the Axis2 service archiver plugin into my Eclipse - and after that saw that my ant builds stopped working. I saw that was because, it had in the process changed the eclipse ant_home to C:\eclipse\plugins\Axis2_Service_Archiver_1.3.0\ ANT_HOME expects a lib directory within the

RE: [AXIS2] Service archiver eclipse plugin changes ANT_HOME, causes ant problems

2007-08-14 Thread Pantvaidya, Vishwajit
A correction - the service archiver folder does have a lib folder but not all the ant jars. From: Pantvaidya, Vishwajit [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 14, 2007 2:56 PM To: axis-user@ws.apache.org Subject: [AXIS2] Service archiver eclipse

[AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Pantvaidya, Vishwajit
I was running axis2 wsdl2java task with the xmlbeans binding option - and got the error Exception in thread main java.lang.NoClassDefFoundError: org/apache/axiom/om/OMNode. My impression is that I do not need axiom jars since I am using xmlbeans binding. Can someone clarify? Secondly - the

RE: access to ServletConfig from service class

2007-08-14 Thread Raghu Upadhyayula
Hi Feh, You can get the ServletContext as follows (In Axis 1.3). Which Axis version are you using? For Axis 1.3 MessageContext context = MessageContext.getCurrentContext(); HttpServlet servlet = (HttpServlet)context.getProperty(HTTPConstants.MC_HTTP_SERVLET);

[RAMPART] Which is the official rampart home page?

2007-08-14 Thread Alberto Patino
Hi guys! I'm trying to download RAMPART module 1.3 RC1 to run samples with Axis2-1.3 as suggested by Ruchith , but I'm stuck trying to find the RC1 version I think the page: http://ws.apache.org/rampart/ is the official one, but I don't see the link in the main page of apache, On the other

Independent Log4j logging in Axis 2 services

2007-08-14 Thread Anthony Bull
Hi, has anyone managed to get multiple services running under the same axis2 instance to use independent log4j configurations? I have two services, and am configuring log4j via log4j.properties files in each service - however, the first service starts logging to the log file for the second

Re: Independent Log4j logging in Axis 2 services

2007-08-14 Thread Anthony Bull
Thanks for the reply. All my loggers are acquired by the following (where THIS_CLASS is the current class): Logger logger = Logger.getLogger( THIS_CLASS.class); I'm initializing log4j with a static initializer in the MessageReceiverInOut class of each service, similar to the following code:

Fw: faultString: org.xml.sax.SAXException: Invalid element error when create java code using wsdl2java

2007-08-14 Thread Martin Gainty
on the top line of your WSDL change version from 1.0 to version=1.0 then run the WSDL2Java command WSDL2Java -uri file:///C:/Pfizer.wsdl which created the CallbackHandler and ServerStub java source files C:\src\com\pfizer\www\mapslims\ MapsLimsServerCallbackHandler.java MapsLimsServerStub.java

Re: [RAMPART] Which is the official rampart home page?

2007-08-14 Thread Ruchith Fernando
Hi, I did send a mail to the rampart-dev list [1] about the RC release :-) and apologies about not updating the Rampart site[2]. We should move the axis2 rampart page into the rampart site and link to the official site from the axis modules page. Thanks, Ruchith 1.

Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Amila Suriarachchi
On 8/15/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote: I was running axis2 wsdl2java task with the xmlbeans binding option – and got the error Exception in thread main java.lang.NoClassDefFoundError: org/apache/axiom/om/OMNode. My impression is that I do not need axiom jars since I am

Re: [AXIS2] wsdl2java for xmlbeans needs axiom jars?

2007-08-14 Thread Upul Godage
Hi, For the second question, try attribute databindingName=xmlbeans For the first question, may be wsdl2java code is internally using axiom functionality to work with the wsdl xml files, although the generated code is xmlbeans. Upul On 8/15/07, Pantvaidya, Vishwajit [EMAIL PROTECTED] wrote:

Re: Consuming .NET exposed web service by an Axis2 ADB Client gives Error 400 : Bad Request

2007-08-14 Thread Amila Suriarachchi
This is a problem with your epr (end point reference). When generating the stubs with the wsdl2java tool, it writes the epr specified in the Port element (in the wsdl) to the stub file. Then if you do not override this (by giving the epr to stub) it uses this already saved epr. Please check this

[axis2] [IMPORTANT] JDK 1.4 compatibility - feedback requested

2007-08-14 Thread Glen Daniels
Hi Axis2 developers and users! There has been a bunch of discussion lately revolving around the question of JDK1.4 compatibility. It has been suggested that Axis2 move to JDK 1.5, in order to gain the benefits of things like generics, built-in concurrency (no backport lib), and annotations.

Re: [RAMPART] Which is the official rampart home page?

2007-08-14 Thread Alberto Patino
Thanks for your answer Now it's clear for me where is the main page for the rampart project: http://ws.apache.org/rampart 2 weeks ago I tried to find the address of the mail list for the rampart project but I was looking in the wrong place: the axis2 project main page, so I couldn't find it

Re: [axis2] [IMPORTANT] JDK 1.4 compatibility - feedback requested

2007-08-14 Thread Alberto Patino
In our project, I strongly recommended the use of axis2, fortunately, this projects is totally new, the only concern I had was considering the use of WebSphere, corporative rules demand the use of WAS as our corporate Application Server, So I was very clear asting for the 6.1 release but people