Re: Possible classloader issue - help needed

2007-10-25 Thread Brennan Spies
Oh yes, there is also the /lib folder in the root of the Axis2 install (rather than in the .aar). - Original Message - From: "Brennan Spies" <[EMAIL PROTECTED]> To: Sent: Thursday, October 25, 2007 11:46 PM Subject: Re: Possible classloader issue - help needed Well, here the excepti

Re: Possible classloader issue - help needed

2007-10-25 Thread Brennan Spies
Well, here the exception is a bit more informative. Looking at the source, the exception is coming from this line(s) in ConfigCatalogRule.begin(): Class clazz = digester.getClassLoader().loadClass(catalogClass); //ClassNotFoundException catalog = (Catalog) clazz.newInstan

Exception after upgrading Axis 1.1 to 1.4

2007-10-25 Thread Kishore Reddy Vaddipalle
Hi All, I am getting the following error in my application. org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.] AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseE

RE: [Axis2] Problem with C# client accessing a Web Service

2007-10-25 Thread Sudhir Sharma
Hi Raghu, Can u put your code (java and C#) here so that we can check and compare them to find out the loop holes. Thanks & Best Regards, Sudhir Sharma _ From: Raghu Upadhyayula [mailto:[EMAIL PROTECTED] Sent: Friday, October 26, 2007 4:09 AM To: axis-user@ws.apache.org Subject

RE: [Axis2] XmlSchema choice element not supported, other problems

2007-10-25 Thread Pantvaidya, Vishwajit
Thanks Ajith. By the way - a surprising revelation was that, after enclosing the choice and inner sequence elements in complextypes, there is no code now generated for those data elements inside them. - Vish. >-Original Message- >From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] >Sent: We

Re: Possible classloader issue - help needed

2007-10-25 Thread João Luís Pinto
Hello, Here are the results: Code in the MessageReceiver: log1.debug("Loading " + url); //$NON-NLS-1$ log1.debug("AgentPlatformServiceMessageReceiverInOut: " //$NON-NLS-1$ + getClass().getClassLoader().toString()); log1.debug("Digester: " //$NON-NLS-1$ + new Digester().getClass().getC

Re: SV: [Axis2] Upload .aar

2007-10-25 Thread Charitha Kankanamge
Peter, Please have a look at the "Deploying the Service Programmatically" section of http://wso2.org/library/2546 regards Charitha Peter A. Kirk wrote: Yes, sorry, I meant programmatically. I want to have a program which automatically uploads .aar files for me. Is that possible? Thanks, Pete

[ANN]VTD-XML 2.2

2007-10-25 Thread jimmy Zhang
XimpleWare is proud to announce the the release of version 2.2 of VTD-XML, the next generation XML parsers/indexer/slicer/editor. This release significantly expands VTD-XML's ability to slice, split, edit and incrementally update the XML documents. To this end, we introduce the concept of names

Re: Possible classloader issue - help needed

2007-10-25 Thread João Luís Pinto
Brennan, > (I don't see where the Xerces jar is--it's not in your AAR. Can't be the Sun > JDK 1.5 version, because all of those are prefaced with com.sun.) Yes, I'm using Sun JDK 1.5, but I updated Xerces via the "endorsed" mecanism, because the support for JAXP 1.3 and validation is broken in th

[Axis2] Problem with C# client accessing a Web Service

2007-10-25 Thread Raghu Upadhyayula
Hi, I have a webservice developed using Axis2 1.3. I wrote a Java client to access this webservice and everything is working fine. Today I started writing a C# client to access the same webservice. I've used the wsdl.exe tool th

Re: Min/Max Inclusive

2007-10-25 Thread Martin Gainty
what a GREAT question! in an xsd you know put in this custom definition.. http://www.w3.org/TR/xmlschema-2/#long"/> - Original Message - From: "Jon Horsman" <[EMAIL PROTECTED]> To: Sent: Thursday, October 25,

RE: Possible classloader issue - help needed

2007-10-25 Thread Spies, Brennan
Joao, (I don't see where the Xerces jar is--it's not in your AAR. Can't be the Sun JDK 1.5 version, because all of those are prefaced with com.sun.) You might try: 1) Run the JRE with -verbose:class option. See if your class is actually getting loaded. 2) Get a reference to a classloader the is

Why Axis 1.4 over 1.2.1?

2007-10-25 Thread Abhishek Shadangi
Hi Guys, I recently joined this community, and I wish you guys can help me find answers! 1. What are the improvements/features/functionalities added to Axis 1.4(since 1.2.1)? 2. If I am already using Axis 1.2.1 extensively, how would it affect me if I upgrade to 1.4? 3. What are the advantages wi

[Axis2] How to specify wsdl operation so that wsdl2java generates method throwing java.lang.RemoteException

2007-10-25 Thread Pantvaidya, Vishwajit
I am migrating to Axis2 1.3 from Axis1. I have existing code that relies on the webservice methods throwing java.lang.RemoteException. Is it possible to specify an operation in the wsdl, such that, wsdl2java generates methods that throw RemoteException? I know that is not the best way to do it -

RE: Axis stub response to JSP.

2007-10-25 Thread Raghu Upadhyayula
I guess, you can directly invoke your webservice from JSP using the stub (I haven't tried it though). For Ex: <% String endPointURL = http://localhost/webservices/services/MyService; MyServiceStub stub = new MyServiceStub(endPointURL); Em

Re: Axis stub response to JSP.

2007-10-25 Thread Giao
Ajay , The HappyAxis.jsp contains a call to the version.aar service. However, that's using Axiom OM to send/receive the request. You use Axiom to manually construct the xml request (as opposed to generating a stub with wsdl2java). Then you have to manually iterate through the response to get at

Re: Axis stub response to JSP.

2007-10-25 Thread Martin Gainty
JSP -> Servlet(packages WSDLToJava StubClient) including encoding SOAP Request into XML-> AxisServlet AxisServlet-> XML response back to Servlet -> Servlet parses the XML /populates beans/sends textResponse back ->JSP (AJAX Div Tag or create ResultsJsp) Im sure there is a simpler solution..Anyo

Min/Max Inclusive

2007-10-25 Thread Jon Horsman
Hey, I have some POJO classes that I use java2wsdl to generate a wsdl file for me. I'm curious if there is any syntax that can be used in those java classes that will automatically add min/max inclusive to the generated WSDL? Lets say i have a simple class like public class TestClass { privat

Axis stub response to JSP.

2007-10-25 Thread Ajay Joshi
Hi, How Axis stub (generated thru WSDL2Java) can return response to JSP? I can see response in XML format.. response can be print to browser using servlet in text/html format. . But I am not sure how to convert response to Java object than be displayed to JSP. Regards Ajay

Re: [Axis2] Upload .aar

2007-10-25 Thread Anas Mughal
Do you mean something like FTP or mput? - Anas On 10/25/07, Peter A. Kirk <[EMAIL PROTECTED]> wrote: > > Yes, sorry, I meant programmatically. I want to have a program which > automatically uploads .aar files for me. Is that possible? > > Thanks, > Peter > > -Oprindelig meddelelse- > Fr

SV: [Axis2] Upload .aar

2007-10-25 Thread Peter A. Kirk
Yes, sorry, I meant programmatically. I want to have a program which automatically uploads .aar files for me. Is that possible? Thanks, Peter -Oprindelig meddelelse- Fra: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sendt: 25. oktober 2007 20:53 Til: axis-user@ws.apache.org Emne: Re: [Axi

Re: [Axis2] Upload .aar

2007-10-25 Thread Deepal Jayasinghe
Hi Peter , Go to localhost:8080/axis2 then you will see link call "Administrator" click on that, then it will ask for user name and password give "admin" as user name and "axis2" as the pass word. Once you login to it in the left hand side you will see a link call upload a service . Click on that a

[Axis2] Upload .aar

2007-10-25 Thread Peter A. Kirk
Hi How do I upload a .aar file (webservice) to Axis2 under Tomcat? I have a webservice which I want to deploy. I can manually copy the .aar file to the Axis2 directory under Tomcat, but that only works if I have access to the filesystem of the machine Tomcat is running on. Otherwise I think there

test asynchronous functions

2007-10-25 Thread Huitang Li
Hi, I chose to use asynchronous calls in Axis2 client to transmit soap messages. The test class is generated by wsdl2java. When I tested it, the test did not fail even if the handler is set to fail() in the receiveErrorXXX() which in turn indeed got called. This problem does not happen in sy

Possible classloader issue - help needed

2007-10-25 Thread João Luís Pinto
Hi Deepal, Attached (as links) I send the aar file as requested and the source of the MessageReceiver class. Comments: The service uses rampart configured through policy, so that info is available in the WSDL and service.xml files to ilustrate the situation (you can just delete the info or comme

Axis and Glassfish

2007-10-25 Thread Łabno, Bernard
Hello, I have application running on glassfish application server. One EJB package contains bean that uses stub to connect to a webservice. I have nothing about that webservice in deployment descriptors. Now when I start the server and deploy the application it runs smoothly, but if i u

ArrayOfString gives a java.lang.ClassCastException

2007-10-25 Thread Archibald Moepi
Hi, I've got a .Net webservice and calling it using a java axis client. I've got a method that takes an int as a parameter and returns a String array and when I generated the classes using wsdl2java it created a class called ArrayOfString. When I call this method it executes fine for the first c

axis2 1.3 wsa:To header usage

2007-10-25 Thread Erwin Reinhoud
Hello all, Don't know if this is the correct location to post this, so please let me know if not. I create a client and want to make a call with WS-Addressing headers. What i noticed is that often there is a strong relation between the wsa:To value and the actual http uri being used to send th

Re: Examples of Java2WSDL with methods that throw exceptions?

2007-10-25 Thread Mauro Molinari
Deepal jayasinghe ha scritto: Mauro Molinari wrote: Deepal Jayasinghe ha scritto: Can you please post your java class ? or create a JIRA attaching the java class Thanks Deepal Dear Deepal, do you have some news for this problem? Should I create a new JIRA issue for this, too? Please create

Re: What's the goal of the changeImportAndIncludeLocations in AxisService ?

2007-10-25 Thread Deepal Jayasinghe
Hi Amila, Will you be able to have a look at this issue ? Thanks Deepal Vincent Brabant wrote: > Hello the list. > We are using Axis2 1.3 and the wsdl2java under JDK 1.4 > Near everything is working like a charm except the following. > > We put in the services.xml the parameter useOriginalwsdl

What's the goal of the changeImportAndIncludeLocations in AxisService ?

2007-10-25 Thread Vincent Brabant
Hello the list. We are using Axis2 1.3 and the wsdl2java under JDK 1.4 Near everything is working like a charm except the following. We put in the services.xml the parameter useOriginalwsdl to true. It means that NORMALLY, the original wsdl should be returned like it, without any modification. B

Re: Examples of Java2WSDL with methods that throw exceptions?

2007-10-25 Thread Deepal jayasinghe
Mauro Molinari wrote: > Deepal Jayasinghe ha scritto: >> Can you please post your java class ? or create a JIRA attaching the >> java class >> >> Thanks >> Deepal > > Dear Deepal, > do you have some news for this problem? Should I create a new JIRA > issue for this, too? Please create a jira , I w

RE: datetime handling in Axis!

2007-10-25 Thread Mohana Sundaram
Even i am also using the dateTime in my Axis Webservice call, but i am not getting any error. Instead the the date value is getting changed over a webservice call. Example: i am sending 2007-10-25T00:17:30+00:00Z, but in the server i am getting the value for same field as 2007-06-24T00:18:13+00:00

RE: WSDL2Java not working for HTTPS URL

2007-10-25 Thread Saket Raizada
Thanks for the response Keith but I don't get to the stage where it complains about a security certificate It simply spews this error org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL and works if I just take the https off , is it an AXIS 2 1.3 bug ? Is there a flag that

Re: Examples of Java2WSDL with methods that throw exceptions?

2007-10-25 Thread Mauro Molinari
Deepal Jayasinghe ha scritto: Can you please post your java class ? or create a JIRA attaching the java class Thanks Deepal Dear Deepal, do you have some news for this problem? Should I create a new JIRA issue for this, too? Thanks in advance! -- Mauro Molinari Software Developer [EMAIL PR

Re: minOccurs="0" attribute and .NET

2007-10-25 Thread Mauro Molinari
Deepal jayasinghe ha scritto: Hmm , then that is something we need to fix , thx for finding this. If you can please create a JIRA. Thanks Deepal Done: https://issues.apache.org/jira/browse/AXIS2-3300 Thank you! -- Mauro Molinari Software Developer [EMAIL PROTECTED] -

RE: Remove me from the list please - thanks

2007-10-25 Thread Saket Raizada
Send an empty mail from your id to [EMAIL PROTECTED] regards -Saket Raizada 309-763-5492 Automation (Maintenance) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 7:22 PM To: axis-user@ws.apache.org Subject: Remove me from the list

wsdl2java complexType element

2007-10-25 Thread axelspin
I have this kind of schema

Re: Possible classloader issue - help needed

2007-10-25 Thread Deepal jayasinghe
Hi João, Will you be able to send me your service aar file , then I can debug and see what actually happening. Thanks Deepal > Hello, > > I'm trying to load a commons-chain catalog (from a file inside the > service folder) and invoke a chain inside the invokeBusinessLogic > method of the MessageRe

Re: minOccurs="0" attribute and .NET

2007-10-25 Thread Deepal jayasinghe
Mauro Molinari wrote: > Deepal Jayasinghe ha scritto: >>> Does Axis2 specify minOccurs="0" with the meaning of: "it may be >>> null"? Or are there other specific reasons? >> yes , it assume that value can be null for the object. > > Hi Deepal, > I just remembered another thing. There already is nil

RE: Remove me from the list please - thanks

2007-10-25 Thread Walker, Jeff
To unsubscibe, Send an empty email to [EMAIL PROTECTED] -jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 24, 2007 8:22 PM To: axis-user@ws.apache.org Subject: Remove me from the list please - thanks

RE: [AXIS2] SOAP Header problem

2007-10-25 Thread morten.frank
Thanks for the answer. In my case I have no problem in reaching the correct service deployed. The problem is, that the server-side will validate the incomming XML document (SOAP message) and this validation fails because my generated SOAP Header Block is not correct according to the XSD defining t

Re: minOccurs="0" attribute and .NET

2007-10-25 Thread Maxim Geraskyn
On 10/25/07, Mauro Molinari <[EMAIL PROTECTED]> wrote: > Hi Deepal, > I just remembered another thing. There already is nillable="true" > attribute for parameters that can be null, so what is minOccurs="0" > useful for? Microsoft uses minOccurs to generate schema for "reference" class members Co

Re: minOccurs="0" attribute and .NET

2007-10-25 Thread Mauro Molinari
Deepal Jayasinghe ha scritto: Does Axis2 specify minOccurs="0" with the meaning of: "it may be null"? Or are there other specific reasons? yes , it assume that value can be null for the object. Hi Deepal, I just remembered another thing. There already is nillable="true" attribute for paramete

String array as parameter. Null is not passed

2007-10-25 Thread Maxim Geraskyn
Hi all, I got the following problem: --- AXIS Version: Axis 1.4 Apr 22, 2006 --- Code: public java.lang.String[] getStrings(java.lang.String[] arg) throws java.rmi.RemoteException; --- Schema ( docum

Test Mail

2007-10-25 Thread Ajeet Phansalkar
http://www.patni.com World-Wide Partnerships. World-Class Solutions. _ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message w

Possible classloader issue - help needed

2007-10-25 Thread João Luís Pinto
Hello, I'm trying to load a commons-chain catalog (from a file inside the service folder) and invoke a chain inside the invokeBusinessLogic method of the MessageReceiver (AbstractInOutMessageReceiver subclass). I'm using the latest release of Axis2 and of Commons-Chain. The service is deployed in

[Axis2] out of memory

2007-10-25 Thread Peter A. Kirk
Hi I am trying to track down a "java.lang.OutOfMemoryError: Java heap space" exception in my application. I am not sure exactly where the problem lies, but possibly something to do with CodeGenerationEngine. My program generates web-services on the fly, and I use Axis2 to help me along. The out

[Axis2]Unsupported type http://www.w3.org/2001/XMLSchema string

2007-10-25 Thread 卢宾
Hi, all, there is a problem when axis2 parsing the returned soap message, what's the problem here ? Thanks a lot! Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Unsupported type http://www.w3.org/2001/XMLSchema string at localhost.echoserver.EchoServerStub.from

Null pointer Exception thrown by Axis client

2007-10-25 Thread Sandy san
Can someone help with the Null pointer Exception thrown by Axis client Error seems to be thrown by Axis class Following is the exception thrown while invoking Call.invoke() AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java

Re: Exception not mapped correctly in POJO first development

2007-10-25 Thread Mauro Molinari
Edward Peng ha scritto: Any ideas on how I can get around this or what I'm doing wrong? Hi Edwards, unfortunately I can't be of help, but I too have problems with Java methods that throw custom exceptions: the WSDL generated by Java2WSDL seems not to be valid... I was wondering if there's a

Re: Exception not mapped correctly in POJO first development

2007-10-25 Thread Mauro Molinari
Edward Peng ha scritto: Any ideas on how I can get around this or what I'm doing wrong? Hi -- Mauro Molinari Software Developer [EMAIL PROTECTED] ___ CARDINIS Solutions SpA Your Governance Solutions via San Crispino, 46I-35129 Padova - Italy tel.

Re: minOccurs="0" attribute and .NET

2007-10-25 Thread Mauro Molinari
Martin Gainty ha scritto: yuo must be compling with -Eosv Hi Martin, sorry, I can't understand what you mean: I'm quite new to Axis2... Is your a suggestion to deal with my problem? -- Mauro Molinari Software Developer [EMAIL PROTECTED] ___ CARDINIS

Re: minOccurs="0" attribute and .NET

2007-10-25 Thread Mauro Molinari
Deepal Jayasinghe ha scritto: yes , it assume that value can be null for the object. Ok, but why does Axis2 generates minOccurs="0" even if I specify a parameter as int, instead of Integer? In this case, it cannot be nullable... Does anyone encountered such a problem integrating with .NET Fr