Re: Library linking problem

2006-07-12 Thread Chintana Wilamuna
On 7/12/06, Sahan Gamage [EMAIL PROTECTED] wrote: I assume that the problem is coming when you're trying to build the Ruby wrapper - not the Axis2C Your assumption is correct. I'm not building the wrapper as building per se, I'm just loading the C library from a Ruby program after building

[Axis2]Re: Library linking problem

2006-07-12 Thread Sahan Gamage
Hi, I see. I was thinking that you are writing a Ruby wrapper in C and I was mentioning the Makefile.am of that component. Seems like I have mistaken :) What library (or more specifically the .so file) you're trying to load ? Axis2 libraries have a dependency hierachy. For example : axis2_unix =

Re: [Axis2]Re: Library linking problem

2006-07-12 Thread Chintana Wilamuna
On 7/12/06, Sahan Gamage [EMAIL PROTECTED] wrote: I see. I was thinking that you are writing a Ruby wrapper in C and I was mentioning the Makefile.am of that component. Seems like I have mistaken :) :-) What library (or more specifically the .so file) you're trying to load ? Axis2

Re: [Axis2]Re: Library linking problem

2006-07-12 Thread Chintana Wilamuna
On 7/12/06, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Here is the correct order: libaxis2_minizip.so libaxis2_util.so libaxis2_parser.so libaxis2_libxml2.so libaxis2_axiom.so libaxis2_engine.so libaxis2_http_sender.so libaxis2_http_receiver.so libaxis2_wom.so libaxis2_wsdl.so No luck, still

Re: [Axis2]Re: Library linking problem

2006-07-12 Thread Sahan Gamage
Chintana Wilamuna wrote: On 7/12/06, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Here is the correct order: libaxis2_minizip.so libaxis2_util.so Load libxml2 library here. in my machine it is located at /usr/lib/libxml2.so. Since this is located in LD_LIBRARY_PATH just loading libxml2.so

Re: [Axis2]Re: Library linking problem

2006-07-12 Thread Chintana Wilamuna
On 7/12/06, Sahan Gamage [EMAIL PROTECTED] wrote: Load libxml2 library here. in my machine it is located at /usr/lib/libxml2.so. Since this is located in LD_LIBRARY_PATH just loading libxml2.so (without the full path) will be fine. That worked ok, except now it stops in libaxis2_engine.so

AXIS Exception in thread main java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory

2006-07-12 Thread Qasim Ijaz
Hi, I am installing AXIS and am getting the following error: Exception in thread main java.lang.NoClassDefFoundError: org.apache.commons.logging.LogFactory My AXISCLASSPATH looks like this:

Re: [Axis2]Re: Library linking problem

2006-07-12 Thread Samisa Abeysinghe
Chintana Wilamuna wrote: On 7/12/06, Sahan Gamage [EMAIL PROTECTED] wrote: Load libxml2 library here. in my machine it is located at /usr/lib/libxml2.so. Since this is located in LD_LIBRARY_PATH just loading libxml2.so (without the full path) will be fine. That worked ok, except now it

Re: [Axis2]Re: Library linking problem

2006-07-12 Thread Samisa Abeysinghe
Samisa Abeysinghe wrote: Chintana Wilamuna wrote: On 7/12/06, Sahan Gamage [EMAIL PROTECTED] wrote: Load libxml2 library here. in my machine it is located at /usr/lib/libxml2.so. Since this is located in LD_LIBRARY_PATH just loading libxml2.so (without the full path) will be fine. That

Re: [Axis2]Re: Library linking problem

2006-07-12 Thread Chintana Wilamuna
On 7/12/06, Samisa Abeysinghe [EMAIL PROTECTED] wrote: Please try with the latest svn. There were some linking problems in relation to lib loading and were fixed in makefiles. Indeed. Now I don't see any problems. All the libraries load fine! Thanks, Bye, -Chintana --

Question about operator delete

2006-07-12 Thread Glenn Lin
Hi everybody, I amGlenn. As a freshman, all suggestionswill bewarm welcome. ^_^Now I am in charge of a part of project which based on axis-c and I am confronted with some problems when deleting object in the program.Could you please help read the codes below first and give me some

RE: problem to invoke the webservice using RESTt Style

2006-07-12 Thread Bansal, Vimal
Hi kinichiro, Thanks again, tried my all stuff now I have just created one method in my service Say setdata(in num) my code snippets is below just for testing purpose public void setData(int num) { System.out.println(Entry in setData);

AXIS2::Serialization of conplex type throws NPE

2006-07-12 Thread Pradeepta Bhattacharya
When trying to invoke a RPC based service, Axis throws an exception when trying to serialize a response of hierarchic bean structure to response SOAP request. I have attached the service jar deployed on JBoss 4.0.4 and I have tested the simple response sayHello but when it comes to complex

axis-java2wsdl Not working via ANT ..

2006-07-12 Thread Sushil . Agarwal
Hello, Can anyone let me know reason why following code is not getting executed and giving classnotfoundexception target name=java2wsdl depends=compile.ws axis-java2wsdl output=${build.dir} location=http://localhost:8080/axis/hello namespace=urn:ws.hello

Re: [Axis2] Invalid phases please recheck axis2.xml, handler null added

2006-07-12 Thread heikki
Hi Deepal,it's already in there, although spelt loggingPhase same as it is in modules.xml. However turned out that my problem deploying the logging module was caused by the version of the sample logging handler that is distributed with Axis2 - but if one creates it afresh following the userguide

Re: [AXIS2] Problem to engage a module at the client side

2006-07-12 Thread Fabien Couble
As I haven't any answer, I am trying again Please help me... Fabien - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Tuesday, July 11, 2006 9:59 AM Subject: Re: [AXIS2] Problem to engage a module at the client side i still have the

[Axis2 v1.0] security sample code - encryption/signature

2006-07-12 Thread Wan Kaveevivitchai
Dear all, does anyone have the sample code on how to encryption and sign message in axis2 version 1.0? The sample provide + documents given by axis website doesn'T help much with the learning. It will be really appreciated. Sathita From: iceal thaddeus lim [EMAIL

[Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread Wan Kaveevivitchai
Dear all, I would like to know how can i start axis2 as standalone application. Since i have been having problem about running soapmonitor earlier. The only difference of my environment and others is that i am using Jetty as webserver, and others are using Tomcat. So i would like to test

[axis 2] data binding

2006-07-12 Thread Brian Dillon (ext. 944)
Hi, What is the recommended way of serializing/deserializing a complex XSD structure in Axis 2. In Axis 1.3 we used our own serializers but that doesn't appear to be an option with Axis 2 ? Thanks, Brian __ The information contained in

Re: [Axis2] How to restrict user access on exposed methods

2006-07-12 Thread Deepal Jayasinghe
Hi ; Add following entry into services.xml excludeOperations operationop1/operation /excludeOperations [EMAIL PROTECTED] wrote: Hi, Currently, to control user access on exposed methods in my WebServices, I pass username/password together with the parameters of the exposed

WebService using a configuration file

2006-07-12 Thread Jean-Baptiste . Binet
Hello. I hae developped a webservice and it works well but I would like this webservice to use a configuration file. I do not know where to put it in the axis directories tree and how to load it. Can anyone help me please ? Thanks. JB

Re: [Axis2] WS soap action question

2006-07-12 Thread Brian De Pradine
Hello Wes, Why do you want to check wsa:action first? If soap action and wsa:action are both set then they must be the same, otherwise a fault should be generated. Anyway, the only way at the moment to look at the wsa:action is to engage the Addressing module. This will cause the addressing

Re: [Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread Wan Kaveevivitchai
i got this as the result 12.07.2006 11:02:38 org.apache.axis2.deployment.DeploymentEngine doDeploy INFO: Deploying module : addressing 12.07.2006 11:02:38 org.apache.axis2.deployment.DeploymentEngine doDeploy INFO: Deploying module : soapmonitor [JAM] Warning: You are running under a pre-1.5

Re: axis-java2wsdl Not working via ANT ..

2006-07-12 Thread Nilesh Ghorpade
Hi Sushil,The only reason for giving a "ClassNotFoundException" is when the JVM is not able to load the class. In the Ant code snippet which you have mentioned in the mail has a classpath element refid pointing to "axis.classpath". Please verify if the "axis.classpath" is defined correctly

Re: [Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread Saminda Abeyruwan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, You need to include, jakarta-httpcore-4.0-alpha2.jar to your classpathe, which is available in {user.home}/.maven/repository/httpcomponents-httpcore/jars, Thank you Saminda Wan Kaveevivitchai wrote: i got this as the result 12.07.2006

Re: [Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread Wan Kaveevivitchai
Hi, You need to include, jakarta-httpcore-4.0-alpha2.jar to your classpathe, which is available in {user.home}/.maven/repository/httpcomponents-httpcore/jars, Thank you Saminda i don't have /.maven/repository/ folderonly have /.maven/cache do i really need to build and host it with

Re: [Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread Deepal Jayasinghe
you can download the jar from http://people.apache.org/repository/org.apache.httpcomponents/jars/ Saminda Abeyruwan wrote: Hi, You need to include, jakarta-httpcore-4.0-alpha2.jar to your classpathe, which is available in {user.home}/.maven/repository/httpcomponents-httpcore/jars, Thank

Re: WebService using a configuration file

2006-07-12 Thread Jean-Baptiste . Binet
Hi Nile, By configuration file I mean a property file for example that would be specific to my webservice. For example, it would contain timeout=2000ms which is a configurable value for my web service. JB Nilesh Ghorpade [EMAIL PROTECTED] 12/07/2006 12:51 Please respond to axis-user

.NET 2 System.Nullable always returns null

2006-07-12 Thread Moss, Andy
We are using Axis 1.1 with a C# .NET 2 client. A snippet of the WSDL and a snippet of the generated C# proxy class is given at the end of this mail. In the WSDL the element 'type' is declared as nillable=true, which in the C# proxy class is translated to the following:

Getting xerces.jar from xercesImpl.jar and xml-apis.jar

2006-07-12 Thread Bharadwaj, Nandita \(GE Healthcare\)
I want xerces.jar and not xercesImpl.jar and xml-apis.jar. I tried ant build as recommended in http://xerces.apache.org/xerces2-j/install.html. This is what I did: Downloaded Xerces-J-src.2.8.0.zip (http://www.apache.org/dist/xml/xerces-j/Xerces-J-src.2.8.0.zip) Downloaded

Re: [Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread Wan Kaveevivitchai
Thank you, it's working. now i can run the axis2 as standalone and also can see the services provided. i have another question, can i run the soapmonitor with the axis2 standalone? i have deploy the module the same way as stated on the axis2 website about soapmonitor but when i access

[Axis2] How web-services works with external jars?

2006-07-12 Thread Smirnova, Natalya
I have such problem: I want to add external jar to build path in my web-service. I use objects of classes from this jar in method, which is described in service.xml. But my client for this method display errors, such follows: org.apache.axis2.AxisFault: unknown at

Re: Axis2 lazy init

2006-07-12 Thread Valmir Macário
Hi Deepal, I´ve try this, but the init method wasn´t called. I make deploy with application scope and put the init method on my service class but i haven´t success. You can give me more details. Thanks, Valmir On 7/12/06, Deepal Jayasinghe [EMAIL PROTECTED] wrote: When you deploy your service

Re: [Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread robert lazarski
The SOAPMonitor depends on a servlet and a applet, and therefore needs a servlet container. TCPMon can be used with axis2 stand alone. HTH, Robert http://www.braziloutsource.com On 7/12/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote: Thank you, it's working. now i can run the axis2 as

Re: RE: schema vs. xsd:schema

2006-07-12 Thread Paul Fremantle
Simon Absolutely +1 to WSDL first development. It also helps if you restrict your use of schema to a set of fairly limited constructs. As regards the looseness of the WSDL spec, its worth looking at the WS-I base profile (www.ws-i.org) which gives a much much more interoperable approach by

[Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread Rathore, Amit Singh (STSD)
Hi Everybody, Can I use a similar approach mentioned at http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAx isToYourOwnWebapp for deploying my web services with Axis2 along with my webapp deployment. I am not able to find any pointers for the same approach in Axis2 and I am

Re: [Axis2] How web-services works with external jars?

2006-07-12 Thread Martin Gainty
Have you verified your webservice is deployed?We could determine more easily what the problem is if we can we see the source for client - TestMyService.java M- *This email message and any files transmitted with it contain

Re: [Axis2 v1.0] how to run axis2 as standalone server

2006-07-12 Thread Wan Kaveevivitchai
thank you for the informaiton. greatly appreciate Wan From: robert lazarski [EMAIL PROTECTED] Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: Re: [Axis2 v1.0] how to run axis2 as standalone server Date: Wed, 12 Jul 2006 09:07:08 -0300 The SOAPMonitor depends on a

Fw: Getting xerces.jar from xercesImpl.jar and xml-apis.jar

2006-07-12 Thread Martin Gainty
I am unsure as to your need to incorporate xml-apis.jar into any other jar (e.g. orion.jarinstead ofthe webapp war)I know that xml-apis.jar needs to be on your CLASSPATH M- *This email message and any files transmitted

Re: [Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread robert lazarski
I thought this was documented but I can't seem to find it. Are you deploying via maven, ant or something else? Bottom line: You need this structure in your WAR: myWebApp.war | - - axis2-web -- WEB-INF | --

RE: Getting xerces.jar from xercesImpl.jar and xml-apis.jar

2006-07-12 Thread Bharadwaj, Nandita \(GE Healthcare\)
Hii Martin, Thanks for the reply. I want to upgrade to Xerces 2 and the parser used by Orion is xerces.jar. Even though I include the xercesImpl.jar and xml-apis.jar in the classpath. the orion was picking up from its own path and not from the clasppath. This I could find out when I ran the

Re: [Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread robert lazarski
Almost forgot, place the appropriate content from the axis2.war web.xml into your web.xml HTH, Robert http://www.braziloutsource.com/ On 7/12/06, robert lazarski [EMAIL PROTECTED] wrote: I thought this was documented but I can't seem to find it. Are you deploying via maven, ant or something

RE: [Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread Rathore, Amit Singh (STSD)
Hi Robert, I am using ant. I already have my build.xml file as per Axis1.x and I am using the approach mentioned in the hyper-link. Your approach for Axis2 looks good to me but in that case I will have to copy all the jar files also present under following directory when I expand axis.war file.

Re: File access from a .war

2006-07-12 Thread M S
Hi, Your post helped me - but in unexpected ways. :D I just added this line: private static final String PATH = c:/primes.txt; and used PATH instead getResourceAsStream() to my existing code and it worked. I guess it was a Java PATH issue. Thanks!On 7/12/06, Rodrigo Ruiz [EMAIL PROTECTED]

[Axis2]FW: How web-services works with external jars?

2006-07-12 Thread Smirnova, Natalya
My service deployed successfully. And client work correctly if I dont use objects of classes from my external jar or I dont use these objects in methods, which are described in service.xml file. Maybe problem in my service.xml? My service class: import user.str.UserString; import

Re: [Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread robert lazarski
That's true about the WEB-INF/lib part. Hot deployment could still work. Just copy your .aar into WEB-INF/services and the running server will deploy it. The only thing mandatory I believe is the structure as shown. You aar doesn't need to be there on startup. HTH, Robert

Generating soap:header info in the WSDL

2006-07-12 Thread Brian Fitzpatrick
Does Axis 1.4 support generating the WSDL for a soap header? I cant find a configuration or samples where it is done. We have a web service deployed under .NET and Axis. In .NET you can add a directive to the source code and it will create the wsdl that includes the soap header info. It

Re: [Axis2] Exception when sending with ServiceClient

2006-07-12 Thread John Ferron
Deepal, Here is my java code which performs the parse of file and formulates it to a SOAPMessage. John [EMAIL PROTECTED] 07/11/06 12:09 PM Did you use same OMelement for both the method invocations ?if not so , any possibility of seeing the client side code ?John Ferron wrote: Good Morning,

RE: [Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread Rathore, Amit Singh (STSD)
Hi Robert, But in this approach I would have to deploy whole axis as a webapp under myWebApp everytime I deploy myWebApp. I think it would be better to have axis pre-installed and should be a pre-requisite for myWebApp. Do you think there is any other approach to do it? And if not, why did apache

Re: [axis 2] data binding

2006-07-12 Thread robert lazarski
If I understand correctly: 1) For raw XML handling use the -d none flag to wsdl2java . 2) ADB is the default and works great but has limited schema support, ie, it is not intended to be an exhaustive implementation. 3) xmlbeans is well supported and has handled my schemas - that's what I use.

[Axis2] Support of ws-policy?

2006-07-12 Thread Carsten Ziegeler
Can someone please give me a hint on how to turn on ws policy validation with Axis2? I already installed the rampart module. Will the wsdl2java code generator generate the necessary bit? Thanks Carsten -- Carsten Ziegeler - Open Source Group, SN AG http://www.s-und-n.de

Re: [Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread robert lazarski
Could you give a read here and if still in doubt feel free to ask: http://ws.apache.org/axis2/1_0/installationguide.html The relevant section, if I understand you correctly, is here: Since Axis2 supports hot deployment one can drop the service jar directly through the file system to the above

RE: problem to invoke the webservice using RESTt Style

2006-07-12 Thread Kinichiro Inoguchi
Hi Bansal, You must use RPCInOnlyMessageReceiver instead of RPCMessageReceiver, because your method is void. Regards, kinichiro --- Bansal, Vimal [EMAIL PROTECTED] wrote: Hi kinichiro, Thanks again, tried my all stuff now I have just created one method in my service Say setdata(in num) my

Re: [Axis2] response element name with RPCMessageReceiver

2006-07-12 Thread Kinichiro Inoguchi
Anamitra and Deepal, Thanks, I'm clear as a blue sky. --- Deepal Jayasinghe [EMAIL PROTECTED] wrote: Hi Anamitra ; You are exactly correct , even from the java reflection you can not directly get the input parameter names . What we have done is, we read byte code and from that get the name

Re: Axis2 / Axis RPC

2006-07-12 Thread Kinichiro Inoguchi
Hi M S, Latest nightly build axis2.war, this issue was solved. Many thanks to Deepal, always ! Regards, kinichiro --- Kinichiro Inoguchi [EMAIL PROTECTED] wrote: I'm glad to hear that. I also hope this issue will be solved until next release. http://issues.apache.org/jira/browse/AXIS2-865

Axis not unloading from PermGen

2006-07-12 Thread Guus der Kinderen
Dear List, I'm hoping someone can help me with the (memory-related) problem that we're experiencing. We're using a Java-based server application that lets us create and use plugins. We've written a plugin that makes use of the Jetty Servlet engine provided by that server application. In our

How to define an interface in wsdl?

2006-07-12 Thread Bharadwaj, Nandita \(GE Healthcare\)
How to define an interface in wsdl? Java to wsdl: How to handle these warnings..when I tried to convert Java to wsdl? Jul 12, 2006 6:18:27 PM org.apache.axis.wsdl.fromJava.Types isBeanCompatibleWARNING: The classinterface class does not contain adefault constructor, which is a

Are there not nillable field checks at deserialization?

2006-07-12 Thread Juan Cervera
Hi all, We are using Axis 1.2.1 as a WebService provider and we have experienced issues when interfacing with clients that are not implemented with Axis. The problem is that when a field is marked as non nillable in the WSDL (nillable="false") Axis will always check this when working as

[axis2] Setting realtesTo() leads to Exception while sending

2006-07-12 Thread donnerdrummel2000-mailing
Hi, I already posted this problem a week ago, but cause it still exists I try it with some more detail I figured out up till now. The problem is, using fireAndForget to send some Data from one Service to an other and setting WSA relatesTo at the ServiceClients options, no xml content is send.

Re: [Axis2] Support of ws-policy?

2006-07-12 Thread Sanka Samaranayke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Carsten, Right now we do have we a limited support for WSSecurity Policies in Axis2. For instance If you attach a policy with a Username token assertion then the wsdl2java will generate a stub with two utility methods to set username and the

[Axis2] MessageContext w/o any properties

2006-07-12 Thread heikki
Hi there,I'm trying to retrieve the HttpServletRequest in a handler, through its MessageContext, like soHttpServletRequest httpServletRequest = (HttpServletRequest) msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST );However, running this, httpServletRequest was null. On further

RE: [Axis2] Advanced Installation Adding Axis2 To Your Own Webapp. Is it possible?

2006-07-12 Thread Rathore, Amit Singh (STSD)
Hi Robert, I did go through that link many times but this is not what I am expecting. I am looking out for a solution similar to given in the link below: http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAx isToYourOwnWebapp My understanding says that the approach you have

Re: [Axis2] MessageContext w/o any properties

2006-07-12 Thread Bruno Negrao
Hi, from where did you obtain the msgContext object? bruno On 7/12/06, heikki [EMAIL PROTECTED] wrote: Hi there, I'm trying to retrieve the HttpServletRequest in a handler, through its MessageContext, like so HttpServletRequest httpServletRequest = (HttpServletRequest)

Re: [Axis2] MessageContext w/o any properties

2006-07-12 Thread heikki
Hi,I do it inside a custom handler, the code of which ispackage com.xxx.handler;import java.util.Map;import java.util.Set;import javax.servlet.http.HttpServletRequest;import org.apache.axis2.AxisFault ;import org.apache.axis2.context.MessageContext;import org.apache.axis2.engine.Handler;import

Re: Urgent :Kindly verify whether the procedure is right or not

2006-07-12 Thread Kinichiro Inoguchi
Hi Could you post your Beans and service java code ? I think your process is right if you want to use generated server skelton. BTW, are you using Axis2 release 1.0 ? Regards, kinichiro --- Pradeepta Bhattacharya [EMAIL PROTECTED] wrote: Hello All, Kindly verify whether

Urgent :Kindly verify whether the procedure is right or not

2006-07-12 Thread Pradeepta Bhattacharya
Hello All, Kindly verify whether the procedure opted is right or not. I have an urgent delivery and need to get this clarified as soon as possible. I need to send a hierarchic object to a service as a parameter and get a hierarchic object as a response. The steps taken by me is:- 1)

Re: Urgent :Kindly verify whether the procedure is right or not

2006-07-12 Thread Martin Gainty
Whatis your definition of'hierarchic response' which you return in the response?M- *This email message and any files transmitted with it contain confidentialinformation intended only for the person(s) to whom this email

RE: Urgent :Kindly verify whether the procedure is right or not

2006-07-12 Thread Pradeepta Bhattacharya
We are supposed to send back an XML structure bean to the client. So the structure is hierarchic in that sense. Thanks. Pradeepta From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 12, 2006 9:05 PM To: axis-user@ws.apache.org Subject: Re: Urgent :Kindly

RE: Urgent :Kindly verify whether the procedure is right or not

2006-07-12 Thread Kinichiro Inoguchi
Hi, How about using RPCMessageReceiver instead of using skelton ? 1. Create class ShoppingEngine like this, public class ShoppingEngine { public AirAvailabilityResponse airAvailability( AirAvailabilityRequest request) { AirAvailabilityResponse resp = null; ...

RE: Urgent :Kindly verify whether the procedure is right or not

2006-07-12 Thread Pradeepta Bhattacharya
I was following the same mechanism previously but was getting an error when the response was being returned to the client. As AirAvailabilityRequest object which is sent as a request parameter contains other objects which in turn has many objects and so on, I was getting this error

Optional parameters in a service

2006-07-12 Thread Pradeepta Bhattacharya
How to define that some arguments for a service can be optional and can contain null values. Do we specify them through wsdl or there is some other mechanism to achieve that. Thanks a lot. Kind Regards Pradeepta

AXIS2-811 rampart in weblogic 9.1

2006-07-12 Thread qzhang
I have the same issue as that found by Anamitra Bhattacharyya and reported as a bug (AXIS2-811). I tried a simple web service with web service security features engaged. It works fine under JBoss 4.0.4 but the same thing does not work under Weblogic 9.1. I wonder if there is any resolution to

Re: Axis2 lazy init

2006-07-12 Thread Valmir Macário
Martin, i doesn´t no understand right. I´ve try put the init method in my service class. May you give more details. Where i put this init method, what the signature of this methot. I can call other classs from him, im my case is a Timer class. I need to do some alteration in tomcat? I put

Optimized soap content

2006-07-12 Thread Taylor, Clarence B
I am attempting to create some web services for existing legacy applications. These applications*CAN* takehundreds of parameters but usually any given invocation will only use a few. My initial approach was to create a java class, called InputParms, that have all of the parameters defined

[Axis2] Exception when instaniating QName object

2006-07-12 Thread John Ferron
Has anyone seen this error when trying to instantiate a QName object? QName q = new QName(requestElement.getNamespace().getName(),requestElement.getLocalName() , requestElement.getNamespace().getPrefix()); followed by error: javax.servlet.ServletException:

Re: Axis2 lazy init

2006-07-12 Thread Martin Gainty
public class VladimirServlet extends avax.servlet.http.HttpServlet { public void init(javax.servlet.ServletConfig servletConfig) throws ServletException { } } //end declaration ValidimirServlet HTH Martin-- *This email

[Axis2] Reliable Notification

2006-07-12 Thread Eric Winter
Reliable Notification I have a pretty simple problem I'd like to solve, but the tool I think I should use is not being cooperative. I have a client that has to deliver a message to at least one server within a reasonable time. Based on that requirement I though I should use MEP InOnly

Re: Axis2 lazy init

2006-07-12 Thread robert lazarski
I believe what deepal said was that this change was made in the latest svn. That means you either have to build from source or wait until that change appears in the nightly builds. Since that change was made today (july 13th) , you need to build from source to use that feature now. HTH, Robert

Re: Are there not nillable field checks at deserialization?

2006-07-12 Thread Anne Thomas Manes
Junaid is correct. Axis does not perform an automatic validation of incoming messages because it is a very expensive process. You have two choices: use a handler or intermediary to perform validation, or write a null exception handler in your code. Anne On 7/12/06, Bhatra, Junaid [EMAIL

Re: How to define an interface in wsdl?

2006-07-12 Thread Anne Thomas Manes
You should define beans for each of the value types that you intend to exchange via your interface. These beans must contain a default constructor. If you elect not to use beans, then you should adopt the WSDL First design approach. First define your message formats using XML Schema and import

Java2WSDL generates unwanted fields.

2006-07-12 Thread Nicolas-Viet Nguyen
Hi Everyone, I am running into the following problem and wonder if anyone has a work-around or solution for it:Instead of generating only those attributes that have accessors and mutators, it looks like Java2WSDL generates additional fields for those methods begin with get and which has no

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Anne Thomas Manes
Sorry for the silence. I took a couple of days off. True schema validation is an extremely expensive process -- especially if you put uniqueness or referential integrity constraints into the schema. Even checking for nulls can be expensive if it's a large document instance. If you have control

Axis on Websphere (Out of memory error)

2006-07-12 Thread ttrzeciak
Hello, what can we do to run Axis on Websphere 5.1. We tried Axis 1.2 and we get out of memory errors. Using Axis 2.0 is not possible because of jar file issues. How ca we solve this problem? We receive about 20 MB of XML and our server = has about 4 GB of mem. Heap was already increased.

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Doug B
Thanks, Anne. I guess I want to draw the line at what is specifiable in the published interface. So, yes, regular expressions, enumerations, etc. I'd push the decision about using those back on the Schema design phase, not on the implementation engine. I can see you don't agree :-). Where

Re: [Axis2] MessageContext w/o any properties

2006-07-12 Thread robert lazarski
When using properties in a handler, try this: messageContext.getOperationContext().getProperty( HTTPConstants.MC_HTTP_SERVLETREQUEST); The way this works is explained here: http://marc.theaimsgroup.com/?l=axis-devm=115255047000592w=2 In addition it seems that the outgoing

Re: schema vs. xsd:schema

2006-07-12 Thread Anne Thomas Manes
You might find this short explanation of XML namespaces enlightening: http://atmanes.blogspot.com/2006/07/short-explanation-of-xml-namespaces.html Anne On 7/11/06, Jarmo Doc [EMAIL PROTECTED] wrote: Axis 1.3 java2wsdl generates 'schema' tags but most WSDL that I see contains 'xsd:schema' tags.

Re: Axis on Websphere (Out of memory error)

2006-07-12 Thread Doug B
Do you get OOM on a single request? Or only eventually after handling many requests? Are you on the latest fixpacks of WebSphere? Axis should run fine under it as far as I know. Doug On 7/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, what can we do to run Axis on Websphere 5.1.

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Anne Thomas Manes
The schema describing the message structure is the published interface. And a schema can include all kinds of validation requirements (e.g., default values, fixed values, uniqueness, referential integrity, etc.) Some of these requirements are extremely expensive to validate. A databinding

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Anne Thomas Manes
I'm sure many people would appreciate it if you contributed a handler/module that allowed you to turn validation on/off using a simple configuration setting. Anne On 7/12/06, Derek [EMAIL PROTECTED] wrote: -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent:

Re: [Axis2] IWAB0399E Error in generating Java from WSDL

2006-07-12 Thread Anne Thomas Manes
Please post your WSDL. On 7/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I've already done a webservice using Eclipse 3.2. Used Dynamic Web Project then created Web Service from it. It was ok and went smooth. Now i'm trying to convert my existing codes to a webservice.

Re: Schema Validation (WAS: [axis2] Validating Messages :: WSDL :: choice)

2006-07-12 Thread Doug B
Thanks for your thoughts, Derek. It sounds like we agree a great deal about our expectations, which at least makes me feel less insane. I had even specifically considered how nice it might be to be able to enable/disable validation easily for different phases of a project. You're description of

Soap Message indentation 1.1 and 1.4

2006-07-12 Thread raul eduardo plata rico
Title: Soap Message indentation 1.1 and 1.4 Hi, i previously report a message subject Digital signatures within SOAP messages calling a method with params i thought that my problem was the sign but now without sign I have problems too. I am migrating a client from axis 1.1 to 1.4 but i

Re: Axis2 lazy init

2006-07-12 Thread Martin Gainty
My attempt was to steer clear of that swamp Someone earlier had mentioned download axis2.war and deploy to tomcat Well..There is no axis2.war from what I could see from any of the Axis2 v1 binary distros Downloading the source and attempting to build is a tail-chasing exercise as there is no pom

Re: Axis2 lazy init

2006-07-12 Thread robert lazarski
From source: maven release -Dmaven.test.skip=true Nightlies: http://people.apache.org/dist/axis2/nightly/ FAQ: http://ws.apache.org/axis2/faq.html#d3 All these options will allow you to get a hold of a current axis2.war . HTH, Robert http://www.braziloutsource.com/ On 7/12/06, Martin

Aw: Re: Axis on Websphere (Out of memory error)

2006-07-12 Thread ttrzeciak
Hi, thanks for your answers: It is an IBM JDK and the system is running on Win 2000 Prof. Most of the times this error occurs after sending only one message to Axis. Axis 1.2 works fine on Axis but Axis 2.0 doesn't work (wsdl4j conflict). Tanks in advance - Original Nachricht Von:

Re: Re: Axis on Websphere (Out of memory error)

2006-07-12 Thread Martin Gainty
Can you show us the steps you took to build the war? Martin-- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you

Aw: Re: Re: Axis on Websphere (Out of memory error)

2006-07-12 Thread ttrzeciak
Hi, I'm sorry but what should I describe? From our point of view it is similar to other web apps. - Original Nachricht Von: Martin Gainty [EMAIL PROTECTED] An: axis-user@ws.apache.org Datum: 12.07.2006 22:47 Betreff: Re: Re: Axis on Websphere (Out of memory error) Can you

Re: Re: Axis on Websphere (Out of memory error)

2006-07-12 Thread Doug B
Are you on the latest WebSphere 5.1 fixpack? Looks like it's 5.1.1.11: http://www-1.ibm.com/support/docview.wss?rs=180uid=swg24012432 Is the OOM stack trace always in the same place? Where is it? How large is your heap? I really don't know how much memory is required for Axis to process a

Re: Re: Axis on Websphere (Out of memory error)

2006-07-12 Thread Marcus Ludvigson
Using Axis 2.0 is not possible because of jar file issues. What are these issues? I'm running Axis2 on Websphere 6.0 and 6.1. /Marcus On 7/12/06, Doug B [EMAIL PROTECTED] wrote: Are you on the latest WebSphere 5.1 fixpack? Looks like it's 5.1.1.11:

Re: Axis2 lazy init

2006-07-12 Thread Martin Gainty
Yes having the war definitely helped But the src distro doesnt have a pom.xml causing this error in the build- org.apache.maven.lifecycle.LifecycleExecutionException: Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one. Thanks M-

  1   2   >