RE: No answers?

2008-05-23 Thread McCullough, Ryan
Here are a list of issues I encountered with the generated soap objects. 1) I found a bug in BeanParamWriter.java. In writeRestrictionCheckerFunction(), the opening brace '{' was not being commented out. writer.write( //)\n\t{\n); should be writer.write( //)\n); writer.write( //\t{\n);

RE: No answers?

2008-05-23 Thread McCullough, Ryan
I forgot to mention, I have fixes for the project files as well. AxisClientDLL.dsp Remove AxisConfigException.cpp, AxisEngineException.cpp, AxisGenException.cpp, AxisParseException.cpp, AxisSoapException.cpp AxisWsddException.cpp. transport\axis3\Axis3.dsp Add soap\apr_base64.cpp Remove

RE: No answers?

2008-05-23 Thread Nadir Amra
Will take a look at these...I think (1) is my fault due to a recent change I made. Should not have been included. It is now corrected. The others I will take a look at and let you know. Thanks. Nadir Amra McCullough, Ryan [EMAIL PROTECTED] wrote on 05/23/2008 11:22:37 AM: Here are a

RE: No answers?

2008-05-23 Thread McCullough, Ryan
Fyi, I am using MS VC 6.0 and I believe I have sp5 installed. -Ryan -Original Message- From: Nadir Amra [mailto:[EMAIL PROTECTED] Sent: Friday, May 23, 2008 10:41 AM To: McCullough, Ryan Cc: Apache AXIS C User List Subject: RE: No answers? Will take a look at these...I think (1) is my

Re: Newbie question: Hello client program can not working against IIS + ASP.Net

2008-05-23 Thread Zhan Xu
Shankar: Sorry for the late response and thanks a lot for your kind helps! Now I got an idea of what's wrong. Zhan Xu On 5/22/08, Uthaiyashankar [EMAIL PROTECTED] wrote: Hi, The sample was written to handle response greetResponse Hello Client! greetResponse But asp.net is

RE: No answers?

2008-05-23 Thread Nadir Amra
Ryan, For #2, can you give me a simple WSDL that recreates problem instead of having me try to recreate WSDL? I think I know what the problem is, but I need to verify against a WSDL. Nadir Amra McCullough, Ryan [EMAIL PROTECTED] wrote on 05/23/2008 11:22:37 AM: Here are a list of issues

Re: Axis2 SSL Configuration [Exception javax.crypto.Cipher.getInstance]

2008-05-23 Thread prashants b
Thanks Steve. IBM article is really helpful. I am using self signed certificate. 1) I generated server keystore. 2) Exported sever certificate from this keystore 3) Imported this server certificate to client keystore(clientTrustStore). and set these property in my Axis2 client.

Re: Design suggestion

2008-05-23 Thread Bartolomeo Nicolotti
Hi, How to Embed an Axis2 based Web Service in your Webapp? http://wso2.org/library/90 Bye! Il giorno gio, 22/05/2008 alle 17.39 -0400, Priya Agrawal ha scritto: Hello, I need some help in order to make some design. We have spring MVC based web application. That is working fine on

OutOfMemoryError - Too many rows?

2008-05-23 Thread DanielBaciarelli
Hi, I've had created a web service under axis 1.4 that accept a java object composed by a list and other fields. The List is populated with thousands of objects. When I execute the invoke method of the call object, passing him an array of one object (the one I told you before), I get an

Re: Axis2 1.4 not Thread safe (possible bug)

2008-05-23 Thread Michele Mazzucco
Please post more information (stack trace, etc.) Michele On 22 May 2008, at 23:24, sultanat wrote: People, I created a web service using Axis2 1.4 and was accessing it with multiple Threads. It appears that the SOAP xml during parsing was getting corrupt and throwing all kinds of

Re: is ServiceClient thread-safe?

2008-05-23 Thread Michele Mazzucco
ServiceClient is not thread safe. I suggest you to share the configuration context among several ServiceClient instances instead, where each ServiceClient is private to each thread. Instantiating ServiceClient objects is not very expensive -- ConfigurationContext objects are. Michele On

RE: XMLStreamException the prefix == Already exists for namespace when WS-Security Rampart is engaged for Axis 2 web-services

2008-05-23 Thread Doug Haigh
I am writing a client. I have to include a username/pwd for a request going to the server for WS-Security. Isn’t outflow on a client the part that does stuff when a request is sent from client to server in that it flows out of the client and into the server? If that is the case, I cannot

Re: XMLStreamException the prefix == Already exists for namespace when WS-Security Rampart is engaged for Axis 2 web-services

2008-05-23 Thread RICHARD FEATHERSTONE
That's right but the problems I have encountered were on the server side. The client was running unmodified, it was the rampart.mar on the server that had the modified modules.xml. Removing the outflow meant that the server would process the security on the way in but not set any security

Re: How to prevent that a handler is invoked for all services ?

2008-05-23 Thread Thilina Gunarathne
Module is the deployment package/configuration point of handlers. It can also be used to group and apply rules to a set of related handlers. I would suggest creating modules for all the handler engagements. It's just a package with a module.xml file. ~Thilina On Thu, May 22, 2008 at 5:45 AM,

axis 1 and wrapped arrays

2008-05-23 Thread Marios Moutzouris
Hello, I am using Axis1.4 and my response xml to a soap request is as follows: findResourceResponse id2000457602/id call_signplwto1/call_sign id2000327602/id call_signskagfos/call_sign /findResourceResponse

Re: Axis2 1.4 not Thread safe (possible bug)

2008-05-23 Thread sultanat
Please see one of the errors we got during multiple threaded processing: The requests sent were valid SOAP xmls sent via AXIS client. org.apache.axis2.AxisFault at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at

Another one for org.apache.axis2.databinding.ADBException: Unexpected subelement

2008-05-23 Thread Carsten Sierks
Hi all, I just try to get a JavaScript-Client (run from the Browser, based on http://riait.co.uk/2008/05/19/calling-web-services-from-javascript/) to connect to an Axis2 deployed WebService. The connection works fine, but I always get the error: org.apache.axis2.databinding.ADBException:

Re: is ServiceClient thread-safe?

2008-05-23 Thread Alexis Midon
Thanks for the clarification! On Fri, May 23, 2008 at 1:32 AM, Michele Mazzucco [EMAIL PROTECTED] wrote: ServiceClient is not thread safe. I suggest you to share the configuration context among several ServiceClient instances instead, where each ServiceClient is private to each thread.

Deserialization problems

2008-05-23 Thread Pablo Melchi
Hi everybody. I have included some more details of the problem First... this is a rpc/encoded service so I'm using Axis (1) The problem is that I have this SOAP message (I've attached both messages): The only difference in the messages is the position of the element return href=#1/ When axis

Re: is ServiceClient thread-safe?

2008-05-23 Thread sultanat
Can you send a sample of your SeriviceClient please Alexis Midon-2 wrote: Thanks for the clarification! On Fri, May 23, 2008 at 1:32 AM, Michele Mazzucco [EMAIL PROTECTED] wrote: ServiceClient is not thread safe. I suggest you to share the configuration context among several

Re: Another one for org.apache.axis2.databinding.ADBException: Unexpected subelement

2008-05-23 Thread Ajith Ranabahu
Hi, Haven't gone through the messages in detail but I can tell you why this occurs (its not due to headers) This happens when the xml instance is not compliant with the schema, most probably elements out of sequence. It can be that there is a mismatch in the namespaces also . Ajith On Fri, May

Re: is ServiceClient thread-safe?

2008-05-23 Thread Alexis Midon
I don't know what you mean exactly. Nevertheless: client = new ServiceClient(new ConfigurationContext(_axisConfig), null); http://ws.apache.org/axis2/1_3/api/org/apache/axis2/client/ServiceClient.html On Fri, May 23, 2008 at 8:30 AM, sultanat [EMAIL PROTECTED] wrote: Can you send a sample

[Axis2] valid SOAP operations

2008-05-23 Thread Jack Sprat
I have a service that invokes a handler at the InFlow phase. Is there a way to programatically determine the valid SOAP operations at this point? I'd like to compare the value from getSOAPAction() to ensure a valid operation was requested. I'm open to a better way of doing this. Thanks, T.

Re: Axis2 1.4 not Thread safe (possible bug)

2008-05-23 Thread Michele Mazzucco
I can only see a NullPointerException. Michele On 23 May 2008, at 14:31, sultanat wrote: Please see one of the errors we got during multiple threaded processing: The requests sent were valid SOAP xmls sent via AXIS client. org.apache.axis2.AxisFault at

ClassNotFoundException But the Classpath is Correct?

2008-05-23 Thread Michael Davidson
I'm trying to use the Java2WSDL command like so: java -classpath C:\WMP\UL\QuoteQueueWorkspace\QuoteQueue\build\classes\app\quotequeue\webservices -cp %AXISCLASSPATH% org.apache.axis.wsdl.Java2WSDL -o QuoteQueue.wsdl -l http://localhost:/QuoteQueue/services/QuoteQueueWebService; -n

Re: ClassNotFoundException But the Classpath is Correct?

2008-05-23 Thread Davanum Srinivas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -classpath C:\WMP\UL\QuoteQueueWorkspace\QuoteQueue\build\classes\ Michael Davidson wrote: | I'm trying to use the Java2WSDL command like so: | | java -classpath | C:\WMP\UL\QuoteQueueWorkspace\QuoteQueue\build\classes\app\quotequeue\webservices

RE: Axis2 1.4 not Thread safe (possible bug)

2008-05-23 Thread Chuck Brinkman
Michele, In my opinion Axis2 is not thread safe. We are seeing responses of one type that have the body of another type. For example say we have serviceA that returns a serviceAresponse and serviceB that returns a serviceBresponse. We have captured the network packet and see things like

RE: SOAP Attachment Questions

2008-05-23 Thread Enaganti M Naidu
I have a sample eclipse POC project that I put together on Axis2 1.3 that will send a binary file from server to client using MTOM. Let me know if you want it.at that time, i did not find a sample but the new documentation for 1.4 also seems to cover both client and server Madhav

Re: Axis2 SSL Configuration [Exception javax.crypto.Cipher.getInstance]

2008-05-23 Thread SGruverman
Prash,-"prashants b" [EMAIL PROTECTED] wrote: -Stillitsgivingerroratclient Exceptioninthread"main"java.lang.NoClassDefFoundError atjavax.crypto.Cipher.getInstance(DashoA12275) Sorry if this stating the obvious, but something (I'm guessing the jarfor your security provider implementation)

RE: SOAP Attachment Questions

2008-05-23 Thread Enaganti M Naidu
Attached is a simple MTOM service - eclipse project. Import this as a java project and run the build script each step at a time so that you can follow whats happening. Change the hardcoded axis2 library folder name in the build.xml file before running the steps. Eclipse may still show compile