RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ken Campbell
Hi Ameet, Perhaps your problem is here : ... mailto:[EMAIL PROTECTED] Sent: 29 March 2006 16:57 To: axis-user@ws.apache.org Subject: RE: [axis2] - 0.95 - WSDL2Java Ok, here it is.

WS client using HttpURLConnection

2006-03-29 Thread [EMAIL PROTECTED]
Hi!I need to develope a WS client that's capable of sending/receiving a SOAP message with a file attached to it. I was thinking about sending it within a MIME message but I can't use the Mail API or similar. I can only use the HttpURLConnection.Do you know where can I find an example peace of code?

Re: TCP mon (Axis1 and Axis2)

2006-03-29 Thread Franz Fehringer
Eran Chinthaka schrieb: Franz Fehringer wrote: And, by the way, what happened to the project of factoring out tcpmon into WS commons? Its now in ws-commons. -- Chinthaka I cannot see it in http://ws.apache.org/commons/ ?! regards Franz begin:vcard fn:Dr. Fran

Re: [Axis2] Converting 1.x RPC to 2.0 Document style

2006-03-29 Thread SOA Work
Is it possible to write custom serializers or deserializers for axis2? Like in axis? So that I can use all classes, even those which aren't javabeans. > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 30.03.06 06:59:00 > An: axis-user@ws.apache.org > Betreff: Re:

Re: [Axis2] 0.95 - CodeGenerationEngine not interpretting package option correctly

2006-03-29 Thread Michael Mogley
So how do I specify the package for the databound beans? - Original Message - From: "Ajith Ranabahu" <[EMAIL PROTECTED]> To: Sent: Wednesday, March 29, 2006 9:28 PM Subject: Re: [Axis2] 0.95 - CodeGenerationEngine not interpretting package option correctly Hi, Actually the -p optio

Re: TCP mon (Axis1 and Axis2)

2006-03-29 Thread Franz Fehringer
Eran Chinthaka schrieb: Franz Fehringer wrote: And, by the way, what happened to the project of factoring out tcpmon into WS commons? Its now in ws-commons. -- Chinthaka Thanks Franz P.S. Is AXIS-2373 (resend does not work) resolved in this version? begin:vca

Re: Problems getting user exceptions to work

2006-03-29 Thread Dies Koper
Hello Jack, I'm afraid I've always used stubs and am not sure how things work in the case of DII. I naively assumed one would still use generated classes (except for the stubs). I reread the section in the JAX-RPC spec and javadoc about it, and this is what I'd expect to happen. DII is for w

Re:[Axis2] Transport level information does not match with SOAP Message namespace URI

2006-03-29 Thread Dalys Sebastian
Thanks for your inputs. I use SOAP 1.1 at both ends (I use OMAbstractFactory.getSOAP11Factory() to create OMFactory at both ends, client and server). The exception mentioned is the one that is thrown by Axis at the client side. The 'invalid content type ' in the response was reported only throug

How to prevent WSDL2Java from overwriting my interface file?

2006-03-29 Thread Rhimbo
Sigh, Sorry for posting so many problems in one day... How do I prevent WSDL2Java from overwriting my interface file? Problem: interface : Family.java implementation : FamilyImpl.java $ java org.apache.axis.wsdl.Java2WSDL -o family.wsdl \ -l"http://10.196.130.245:8080/axis/services/fa

Re: How to generate WSDL with my formal parameter names

2006-03-29 Thread Rhimbo
Dies, Ah, sorry to be bothersome... I tried --implClass and it doesn't work. I also tried -i and it didn't work. I then tried using all "--" long arg names or all "-" short arg names. Nothing worked. Maybe I should sleep on it and tackle it tomorrow morning. Past experience tells me I never

Re: How to generate WSDL with my formal parameter names

2006-03-29 Thread Dies Koper
Try: $ java org.apache.axis.wsdl.Java2WSDL -o family.wsdl \ --implClass FamilyImpl \ -l"http://10.196.130.245:8080/axis/services/familyAccounts"; \ -n urn:familyAccounts \ -p"disney.dis.family" urn:familyAccounts \ disney.dis.family.Family When you use the long option names, u

Re: How to generate WSDL with my formal parameter names

2006-03-29 Thread Rhimbo
Hello Dies, Still having trouble I had already tried what you suggested. Here is what I did. $ rm *.class $ javac -g FamilyImpl.java $ java org.apache.axis.wsdl.Java2WSDL -o family.wsdl \ -l"http://10.196.130.245:8080/axis/services/familyAccounts"; \ -p"disney.dis.family" \ u

Re: How to generate WSDL with my formal parameter names

2006-03-29 Thread Dies Koper
Try: javac -g FamilyImpl.java The interface class will NEVER get the original parameter names. Regards, Dies Rhimbo wrote: Hello again all, Does anyone know how to generate a WSDL that uses the formal parameter names from the original source file... either the Java interface or the impleme

Re: Help with Java2WSDL command line arguments "-namespace" and "-PkgtoNS"

2006-03-29 Thread Dies Koper
Hello Varta, Do you mean I "should" use either the -p or -n option? No. I just would not recommend using both for more complex scenarios as their interaction is not clearly documented. In that case, does the -p option implicitly set the name space to the second argument? -p I thou

Re: Help with Java2WSDL command line arguments "-namespace" and "-PkgtoNS"

2006-03-29 Thread Rhimbo
Hello Dies, Do you mean I "should" use either the -p or -n option? In that case, does the -p option implicitly set the name space to the second argument? -p Am I understanding you to say I should not need the -n argument to specify my namespace if it's done "implicitly" by the -p option?

Re: [Axis2] 0.95 - CodeGenerationEngine not interpretting package option correctly

2006-03-29 Thread Ajith Ranabahu
Hi, Actually the -p option is just for that, i.e. the put the skeleton/stubs in the specified package. The databound beans take their own way to specify the package On 3/30/06, Michael Mogley <[EMAIL PROTECTED]> wrote: > > When I specify a package name to the CodeGenerationEngine via the > Command

How to generate WSDL with my formal parameter names

2006-03-29 Thread Rhimbo
Hello again all, Does anyone know how to generate a WSDL that uses the formal parameter names from the original source file... either the Java interface or the implement class? I've tried every combination I can think of using the -implClass command line argument to Java2WSDL, but I can't get

Re: [Axis2] Converting 1.x RPC to 2.0 Document style

2006-03-29 Thread Deepal Jayasinghe
Hi Ttrevor RPCMessgeReciver or any other messageReciver in Axis2 can not deal with org.w3c.dom.Document , so I think you have to modify your service class to return OM element , or you have to write you own message receiver to deal with this case. But I think easy way is to just return OMElement ,

Re:[Axis2] Transport level information does not match with SOAP Message namespace URI

2006-03-29 Thread Eran Chinthaka
It seems we have a small bug with MTOM. I see the same error being reported earlier as well. Thilina, Saminda, we need your expertise on this :). But why the subject of this email is "Transport level information does not match with SOAP Message namespace URI", when the exception clearly says "Inv

Re: Help with Java2WSDL command line arguments "-namespace" and "-PkgtoNS"

2006-03-29 Thread Rhimbo
Hello Dies, Well, actually, I wrote a Java client and the service end points seem to work. But my colleague gets an exception from one of the methods, called "register". I've inserted the output below: By the way, I used to use "family-accounts" in the service location URL, and also for the na

Re: Help with Java2WSDL command line arguments "-namespace" and "-PkgtoNS"

2006-03-29 Thread Dies Koper
Hello Vartan, I think one usually uses either -p or -n, I'm not sure how they work together (which mappings take priority). But as you map them to the same namespace anyway, I cannot imagine it would cause problems. What kind of problems do you see with the endpoint calls that do not work? Re

Re: Problems getting user exceptions to work

2006-03-29 Thread Jack Lund
Thanks for taking the time to answer me so thoroughly. I really, really appreciate it. Dies Koper wrote: I am not sure about meaning of "The exception is no longer a SOAP Fault" in your quote of the User's Guide, as a fault described in the WSDL is still a SOAP fault when it is included in th

Help with Java2WSDL command line arguments "-namespace" and "-PkgtoNS"

2006-03-29 Thread Rhimbo
Hi all, Can you please help me clear up my confusion? I am trying to generate a WSDL for my code. I'm thoroughly confused. I issued the following command: $ java org.apache.axis.wsdl.Java2WSDL -o family.wsdl \ -l"http://localhost:8080/axis/services/familyAccounts"; \ -n urn:familyAcc

Re: Transport level information does not match with SOAP Message namespace URI

2006-03-29 Thread Anne Thomas Manes
Your input message is using SOAP 1.1 and the output message is using SOAP 1.2.On 3/29/06, Dalys Sebastian < [EMAIL PROTECTED]> wrote:I am using Axis 2 version 0.95 with Tomcat 5 with ws-security enabled. When I send a message from a secure client to a secure service, I get the following exception:o

Re: WSDL2Java question about creating files to different package, plus few others from a newbie

2006-03-29 Thread Rick Reumann
On 3/29/06, Dies Koper <[EMAIL PROTECTED]> wrote: > You wanted the method in the generated interface (and impl) to return > com.maintenance.Employee instead of com.maintenance.ws.Employee? > -> Don't map it to a different package. > > You map it to the same package and specify no separate output d

Re: Axis java2wsdl fails WebSphere validator

2006-03-29 Thread Jeff Greif
It's invalid. The first schema must the second to make it valid. Jeff Dies Koper wrote: > Have you tried running it through a validating parser? > Please try and post the result. > #I could try if you post the whole WSDL before I go home tonight. > > Regards, > Dies > > Jarmo Doc wrote: > >>

Re: Axis java2wsdl fails WebSphere validator

2006-03-29 Thread Dies Koper
Have you tried running it through a validating parser? Please try and post the result. #I could try if you post the whole WSDL before I go home tonight. Regards, Dies Jarmo Doc wrote: > My WSDL document, generated directly from Java via Axis 1.3 java2wsdl, > is structured something like this: >

Re: Problems getting user exceptions to work

2006-03-29 Thread Dies Koper
I am not sure about meaning of "The exception is no longer a SOAP Fault" in your quote of the User's Guide, as a fault described in the WSDL is still a SOAP fault when it is included in the SOAP body. I do not think I contradicted anything in the quote. It refers to the JAX-RPC 1.1 spec. I als

Re: WSDL2Java question about creating files to different package, plus few others from a newbie

2006-03-29 Thread Dies Koper
Hello Rick, Just to make sure I understand your problem, I'll start writing what I understand of your e-mails. You wrote an interface in the com.maintenance package with a method that returns a Employee POJO which you put in the same interface. You then use Java2WSDL and map the package "co

Re: Problems getting user exceptions to work

2006-03-29 Thread Jack Lund
Um, but that contradicts the section of the User's guide I quoted below. Is the User's guide wrong? That would be unfortunate, because I've wasted a couple of days on the assumption that it's correct. What I'm trying to do is this: We've got a service, which is basically a POJO (i.e. no axis-i

Re: WSDL2Java question about creating files to different package, plus few others from a newbie

2006-03-29 Thread Rick Reumann
On 3/29/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Maybe ignore the below a bit since this image hopefully helps describe > the issue more clearly: > > http://www.pastehere.com/?kndvie > > (I am managing to get this service to work as 'null' will return from > my Test class, but ultimately what

Re: Problems getting user exceptions to work

2006-03-29 Thread Dies Koper
Hello Jack, As Jarmo pointed out, all client-side (generated) exceptions extend AxisFault. Are you not using the generated exceptions? The WSDL defines the interface, including the faults. Either you let Axis do the mapping to Java using its own generated classes, or you do not. I don't think

Re: WSDL2Java question about creating files to different package, plus few others from a newbie

2006-03-29 Thread Rick Reumann
Maybe ignore the below a bit since this image hopefully helps describe the issue more clearly: http://www.pastehere.com/?kndvie (I am managing to get this service to work as 'null' will return from my Test class, but ultimately what I want Employees being returned). Thanks again for any help.

Re: Java2WSDL throws NullPointerException

2006-03-29 Thread Dies Koper
Hello Martin, Judging from your stacktrace the NPE occurs in the following line: URL[] urls = new URL[names.length]; "names" is an array of strings that should contain the path entries in your classpath. I do not know under what circumstances it could be null, but you could try tweaki

How is exception handling supposed to work in Axis???

2006-03-29 Thread Jack Lund
As a follow-up to my previous question, how exactly are you supposed to do exception handling in Axis (specifically, 1.2.1)? The user's guide says that as long as your exceptions inherit from java.lang.Exception, and are "beans", then it should just work. That hasn't been my experience, and, f

Transport level information does not match with SOAP Message namespace URI

2006-03-29 Thread Dalys Sebastian
I am using Axis 2 version 0.95 with Tomcat 5 with ws-security enabled. When I send a message from a secure client to a secure service, I get the following exception: org.apache.axis2.AxisFault: Transport level information does not match with SOAP Message namespace URI; nested exception is:

WSDL2Java question about creating files to different package, plus few others from a newbie

2006-03-29 Thread Rick Reumann
First off, pardon for this newbie-ish question. I have been googling for a long time and I'm also having difficulty finding an answer in the archives since I'm not sure how to phrase the questions (and too many search results on just WSDL2Java). Anyway, I was able to follow along with this tutoria

RE: Problems getting user exceptions to work

2006-03-29 Thread Jack Lund
Yeah, I can see that that would be easier. Unfortunately, I have no control over the exceptions being thrown - I just need the client-side to be able to catch them *as* the exceptions that are originally thrown. I also am doing dynamic proxying rather than stubs/skeletons, so it makes it that m

RE: Problems getting user exceptions to work

2006-03-29 Thread Jarmo Doc
I have an Axis client stub which was generated from WSDL. *All* of the client-side user-defined exceptions extend org.apache.axis.AxisFault. The equivalent exceptions at the server also extend org.apache.axis.AxisFault, rather than Exception. This is a decidedly dodgy area, imo, especially w

RE: Problems getting user exceptions to work

2006-03-29 Thread Jack Lund
Nope, didn't work. Wouldn't think it would - AxisFault isn't a subclass of InvalidDateException. -Jack Jarmo Doc wrote: Try doing this: catch (AxisFault ex) { if (ex instanceof InvalidDateException) { InvalidDateException myex = (InvalidDateException)ex; // deal with myex here } // deal with

WSDL2Java bug in rpc/literal ?

2006-03-29 Thread Lianghwa Jou
I am trying the echoString operation in the Axis2SampleDocLit example. According to the WSDL, it should be a rpc/literal operation but axis2 will only accept document/literal. I have to write php code to change the client request to doc/literal style to get a 200 reponse but the return type is

RE: Managing sessions - Soap Header and HTTP Session

2006-03-29 Thread Thakur, Viraj
I mentioned in my original email that I am trying to use SOAP Headers for passing the session id. On the server side the web service implementation needs to integrate with existing application architecture where HTTPSession is being used to maintain state. So in the SOAP header on the first resp

[Axis2] 0.95 - CodeGenerationEngine not interpretting package option correctly

2006-03-29 Thread Michael Mogley
When I specify a package name to the CodeGenerationEngine via the CommandLineOptionParser, Axis places the skeletons and stubs in the custom package instead of the databound beans.   Here is my sample options line:     -uri -o -p -l java -d adb -ss -g -u Is this in fact a bug, or am I

RE: Problems getting user exceptions to work

2006-03-29 Thread Jarmo Doc
Try doing this: catch (AxisFault ex) { if (ex instanceof InvalidDateException) { InvalidDateException myex = (InvalidDateException)ex; // deal with myex here } // deal with others here } From: Jack Lund <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apach

Re: Managing sessions - Soap Header and HTTP Session

2006-03-29 Thread prashanth shivakumar
why is endpoint servlet transparent to you?? How are you going to to implement the methods defined in WSDL??? i dont understand because i too use wsdl2java and implement as i mentioned in my previous mail.   Now coming to ur problem,if you dont get the same httpsession,it means that a new httpsessi

Problems getting user exceptions to work

2006-03-29 Thread Jack Lund
Hi. I'm using axis 1.2.1, and I'm trying to get the exceptions sent by my service thrown to the client. For instance, my service can throw an "InvalidDateException" exception, which is a subclass of java.lang.Exception, and I want the client code to get that exception. What little is said on th

Re: [axis2] 0.95 - NPE on invalid service request through Axis2 WAR

2006-03-29 Thread Randy Hoffman
Hi Eran, Try to point your browser to http://localhost:8080/axis2/services/NoService/NoOp  That is where i fail.  I do get redirected correctly if i specify an unknown service without an operation. Thanks, randy Eran Chinthaka wrote: Hi Randy, Randy Hoffman wrote: I moved to

Axis java2wsdl fails WebSphere validator

2006-03-29 Thread Jarmo Doc
My WSDL document, generated directly from Java via Axis 1.3 java2wsdl, is structured something like this: 01. 02. 03. 04. 05. 06. 07. 08. ... definition here ... 09. 10. 11. This WSDL appears to be quite acceptable to Axis' wsdl2java and to the gSOAP equivalent. However, WebSphere

Java2WSDL throws NullPointerException

2006-03-29 Thread Martin Atkins
I'm attempting to use Java2WSDL to create a WSDL file for a web service class that will eventually be deployed under Axis. However, Java2WSDL is just throwing a NullPointerException. I've tried tweaking the parameters to no avail. My command line is (summarized): java -cp $AXIS_CLASSPATH

Re: SOAPFaultSubCode is lost on serialization

2006-03-29 Thread Eran Chinthaka
Hi Jesse, Is this still happening with Axis2 0.95 ? Jesse Stockall wrote: > Using axis2-0.94 > > When creating a fault with a value and subcode the element added last is > lost when the fault is serialized. > > SOAPFactory sf = OMAbstractFactory.getSOAP12Factory(); > SOAPEnvelope env = sf.crea

Re: TCP mon (Axis1 and Axis2)

2006-03-29 Thread Eran Chinthaka
Franz Fehringer wrote: > And, by the way, what happened to the project of factoring out tcpmon > into WS commons? Its now in ws-commons. -- Chinthaka signature.asc Description: OpenPGP digital signature

Re: [Axis2] 0.95 installation

2006-03-29 Thread Eran Chinthaka
Hi Ken, Ken Campbell wrote: > Hi Eran, > > Thanks for your reply; I'm afraid no miracles, only a 404 error from Tomcat. :) > But then this was my point, I wasn't really expecting axis2.zip to provide > me with a web service. If I unzip it I get the axis2 folder. Put that in > webapps, restart T

RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ameet Hasmucrai Amarchande
Hi Ken,   I created WSDL by hand. Yes, I am using rpc over http.   Thanks,   Ameet   From: Ken Campbell [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 29 de Março de 2006 18:21 To: axis-user@ws.apache.org Subject: RE: [axis2] - 0.95 - WSDL2Java     Hi Ameet,   I don’t

RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ameet Hasmucrai Amarchande
Ok, here it is. -Original Message- From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 29 de Março de 2006 18:20 To: axis-user@ws.apache.org Subject: Re: [axis2] - 0.95 - WSDL2Java Hi, Can you post the WSDL, so that we can run it and see what the exact error is ? On 3/29/

Re: [axis2] 0.95 - NPE on invalid service request through Axis2 WAR

2006-03-29 Thread Eran Chinthaka
Hi Randy, Randy Hoffman wrote: > I moved to 0.95 and it fixed an issue i was having, but also created > one. I am using REST services running under Tomcat. If i hit the > server with an invalid operation request, but a valid service, i get an > Operation Not found Axis fault as i would expect,

RE: [Axis2] 0.95 installation

2006-03-29 Thread Ken Campbell
O.K; I tried that. I've stripped out my classpath to .\;%JAVA_HOME%, taken axis and axis2 out, re-deployed the war; still not happy. Strangely, the administration page worked for a while; I was able to see the Version?wsdl from there, until I deployed some more services and restarted Tomcat at whic

RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ken Campbell
  Hi Ameet,   I don’t think you can just change the type like that. How are you creating your wsdl? If you use Eclipse, for example, you can generate a new binding from the ‘graph’ tab of your wsdl. Depending on what transport type you choose, it will generate a number of elements for t

Re: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ajith Ranabahu
Hi, Can you post the WSDL, so that we can run it and see what the exact error is ? On 3/29/06, Ameet Hasmucrai Amarchande <[EMAIL PROTECTED]> wrote: > > > > But when I changed "document" to "rpc" it says: > > > > Exception in thread "main" > org.apache.axis2.wsdl.codegen.CodeGenerationException: >

Re: [Axis2] 0.95 installation

2006-03-29 Thread Ajith Ranabahu
Hmm.. Strange indeed. We've tested the war in both tomcat 5.0 and 5.5 (in JDK 1.5 for tomcat 5.5 and JDK 1.4 and 1.5 both for tomcat 5.0) and found no issue (before the release) I'm wondering that you may be having some older jars in your classpath. Please try removing any expanded directories name

RE: [Axis2] 0.95 installation

2006-03-29 Thread Ken Campbell
Hi Ajith, Yes; that's the one we are talking about. It comes down as a 'Compressed(zipped) folder'. Deploy that and we have no joy. Change its name to axis2.war and it will deploy the axis2 folder. The contents are as expected. However, browsing to http://localhost:8080/axis2 and clicking on the S

[axis2] 0.95 - NPE on invalid service request through Axis2 WAR

2006-03-29 Thread Randy Hoffman
I moved to 0.95 and it fixed an issue i was having, but also created one.  I am using REST services running under Tomcat.  If i hit the server with an invalid operation request, but a valid service, i get an Operation Not found Axis fault as i would expect, but if i hit it with a non-existent s

problem w/ JMX registration

2006-03-29 Thread Abramovich, Dan
We recently upgraded to Axis 1.2.1 (from 1.1) and are seeing error like the one shown below. We'll get from 1 to 3 of them (axis:type=server, axis:type=deploy, axis:type=query) for each of the MBeans that the AxisServlet tries to register on startup. In our configuration we have two separate we

Mode "Document/literal" vs. "Document/literal wrapped"

2006-03-29 Thread Morten Mortensen
Hi all With the 0.95 version, how come I can use WSDL2Java to generate *un-compilable* code? Apparently, when I write WSDL as "Document/literal wrapped", the generated "XXXReceiverInOut" has bad "toOM()", "fromOM()" and "toEnvelope()" (for an example, see the below "toOM()"-implementation; the pa

RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ameet Hasmucrai Amarchande
But when I changed “document” to “rpc” it says:   Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException : java.lang.NullPointerException     at org.apache.axis2.wsdl.codegen.Co

Re: [Axis2] 0.95 installation

2006-03-29 Thread Ajith Ranabahu
Hi Ken, Just to get things straight, Are we talking about the download from http://ws.apache.org/axis2/download.cgi page which says war distrubution under 0.95? true that it says "zip" in the link but what you should be getting is a axis2.war file that is instantly deployable in tomcat! On 3/29/06

RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ameet Hasmucrai Amarchande
Hi,   Yes, in my wsdl I have:     Thanks! Great answer!   Ameet   From: Ken Campbell [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 29 de Março de 2006 16:00 To: axis-user@ws.apache.org Subject: RE: [axis2] - 0.95 - WSDL2Java   Hi,   In your wsdl, perhaps your bindi

RE: [Axis2] 0.95 installation

2006-03-29 Thread Ken Campbell
Hi Eran, Thanks for your reply; I'm afraid no miracles, only a 404 error from Tomcat. But then this was my point, I wasn't really expecting axis2.zip to provide me with a web service. If I unzip it I get the axis2 folder. Put that in webapps, restart Tomcat (5.5), I get a 500 error: root cause: j

Re: [Axis2] 0.95 installation

2006-03-29 Thread Eran Chinthaka
Hi Ken, What you have downloaded is the war file itself. Just drop it (axis2.war) to $TOMCAT_HOME/webapps and start tomcat. Goto http://localhost:8080/axis2/ you will see the miracle :) (You may need to replace 8080 with the correct port tomcat is listening to). -- Chinthaka Ken Campbell wrote

RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ameet Hasmucrai Amarchande
No. I just had -ss and -sd. -Original Message- From: Ajith Ranabahu [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 29 de Março de 2006 15:54 To: axis-user@ws.apache.org Subject: Re: [axis2] - 0.95 - WSDL2Java Did you by any chance had the -d none switch ? On 3/29/06, Ameet Hasmucrai Ama

RE: Managing sessions - Soap Header and HTTP Session

2006-03-29 Thread Thakur, Viraj
I am using classes generated by WSDL2Java for implementing the web service. Therefore the servlet is transparent to me. Using a handler similar to SimpleSessionHandler on the request and response of the service, I can get to the messageContext and the HTTPServletRequest. In the SOAP Header, I a

RE: [Axis2] Converting 1.x RPC to 2.0 Document style

2006-03-29 Thread trevor paterson \(RI\)
The original method returned an instance of an XML Document: public org.w3c.dom.Document; getChromosomes(String SpeciesAccession, String SpeciesName, String SpeciesLatinName ) throws java.rmi.RemoteException If I make a service using this method by deploying with a services.xml file (below) t

RE: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ken Campbell
Hi,   In your wsdl, perhaps your binding type = “document” rather than “rpc”.   Regards, Ken   From: Ameet Hasmucrai Amarchande [mailto:[EMAIL PROTECTED] Sent: 29 March 2006 13:04 To: axis-user@ws.apache.org Subject: [axis2] - 0.95 - WSDL2Java   Hi,   After generating

Re: Module validation failed module.xml

2006-03-29 Thread Yariel Ramos Moreno
Thanks Deepal... Have try 0.95 and every thing go well ( until now :-) )...On 3/27/06, Deepal Jayasinghe < [EMAIL PROTECTED]> wrote:In the tomcat case you do not need to have .axis2 directory , we have completely solve the problem of creating .axis2 directory in 0.95 , ifyou dont mind can you pleas

Re: [axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ajith Ranabahu
Did you by any chance had the -d none switch ? On 3/29/06, Ameet Hasmucrai Amarchande <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > After generating code with WSDL2Java, when I want to assign values for an > operation I have just the option to assign OMElement type. Why does this > happen? Is it

Deserializing XML to AXIS generated classes.

2006-03-29 Thread Kahler, Jason J \(US SSA\)
I’ve written a WDSL for my service and I use axis to generate all the JAVA classes necessary. I want to populate my fooIMPL.java class with data from An XML file that satisfies foo.xsd (the shema included in my wsdl) fo testing purposes. Does axis have a way for me to programmatically popu

[axis2] - 0.95 - WSDL2Java

2006-03-29 Thread Ameet Hasmucrai Amarchande
Hi,   After generating code with WSDL2Java, when I want to assign values for an operation I have just the option to assign OMElement type. Why does this happen? Is it a 0.95 specification? With 0.94 I had not this situation. Note: the WSDL have a complex type to represent a bean.   Tha

[Axis2] 0.95 installation

2006-03-29 Thread Ken Campbell
Hi,   A basic installation question: When I download the 0.95 war distribution I get a zip file of about 6Mb. When I unzip this there is no war. Was I just supposed to rename it or do something else? The installation instructions just say to drop the war file in the Tomcat webapps directo

Re: is axis an implementation of jax-rpc?

2006-03-29 Thread ajax chelsea
Then does axis support HTTP GET/POST binding or MIME binding? 2006/3/29, Mahen Perera <[EMAIL PROTECTED]>: Dominik,   AFAIK, axis is an implementation of the SOAP spec :) not jax-rpc.   Cheers mahen  On 3/29/06, SOA Work <[EMAIL PROTECTED]> wrote: Hi,I just want to know if axis is an implemen

Re: is axis an implementation of jax-rpc?

2006-03-29 Thread Dies Koper
Hello Dominik, Axis 1.3 complies with JAX-RPC 1.1. I think that Axis (the first versions) was finished before the JAX-RPC 1.1 spec came out, so the nomenclature might be different. Regards, Dies Koper SOA Work wrote: Hi, I just want to know if axis is an implementation of jax-rpc? I read

Re[2]: [Axis2] SOAPProcessingException in mtomSample

2006-03-29 Thread Thomas Kroner
hi thilina, the environment is an apache2 server, that acts as a proxy for all requests to /axis2 and forwards these request to :8080 on the same machine, where tomcat5 is running as standalone on port 8080. this setup is an alternative for using jk2, which does basically the same using so-called

Re: [Axis2] SOAPProcessingException in mtomSample

2006-03-29 Thread Thilina Gunarathne
I had a look at the messages and couldn't find the prob at one shot..FYI last week I was able to run this sample without any problem. I'll try to reproduce the problem..Also please provide me with more details about the environment.. Frankly I don't understand what is meant by running tomcat over a

Where is Ant task "AntCodegenTask"

2006-03-29 Thread Morten Mortensen
Where can we find the "org.apache.axis2.tool.ant.AntCodegenTask" Ant task relative to the 0.95 standard release? (http://ws.apache.org/axis2/0_93/CodegenToolReference.html) It appears as if this class does not exist in any of the archives within the "lib" directory - can this be true? Where do I

MIME error

2006-03-29 Thread Thomas Kroner
hi * I captured the following messages with tcpmon. my current configuration has a apache proxy that forwards all requests to /axis2 to :8080/axis2 (tomcat) and so on I'm running jdk1.5, apache 2 wth mod_proxy, tomcat5 here the request: POST /axis2/services/mtomSample HTTP/1.1 User-Agent: Ax

Re: [Axis2] SOAPProcessingException in mtomSample

2006-03-29 Thread Eran Chinthaka
It could have been better if you sent this message directly to the list, not only to me. Anyway, the error you are getting is different to what you have initially mentioned. Its not a transport error but a MIME-error. MIME gurus, please help with this. It would be better if you can create a JIRA

Re: is axis an implementation of jax-rpc?

2006-03-29 Thread Mahen Perera
Dominik,   AFAIK, axis is an implementation of the SOAP spec :) not jax-rpc.   Cheers mahen  On 3/29/06, SOA Work <[EMAIL PROTECTED]> wrote: Hi,I just want to know if axis is an implementation of jax-rpc?I read the goals are compliance of jax-rpc 1.1.But the jax-rpc specification talks about remot

is axis an implementation of jax-rpc?

2006-03-29 Thread SOA Work
Hi, I just want to know if axis is an implementation of jax-rpc? I read the goals are compliance of jax-rpc 1.1. But the jax-rpc specification talks about remote interfaces! I'm a little confused. Thx Dominik __ Verschicken Sie roma

Re: [Axis2] How to handle multiple client certificates through WS-Security

2006-03-29 Thread Ruchith Fernando
Hi Ali, The secUtil.jar is specific to the security sample and it contains the - callback handler class - crypto properties file - key store These are used by the client and it it included with the other jars required by the client (The client class is also in the secUtil.jar for this purpose

Re: Managing sessions - Soap Header and HTTP Session

2006-03-29 Thread prashanth shivakumar
Dont know whether iam understanding your problem correctly.. JSESSIONID is nothing but a cookie used for session tracking by server.. I dont think you can ever retrieve a session based on JSESSIONID. I do session handling as mentioned below.   ===

Re[2]: [Axis2] SOAPProcessingException in mtomSample

2006-03-29 Thread Thomas Kroner
hi chintaka, I captured the messages with tcpmon. my current configuration has a apache proxy that forwards all requests to /axis2 to :8080/axis2 and so on here the request: POST /axis2/services/mtomSample HTTP/1.1 User-Agent: Axis/2.0 SOAPAction: "" Host: 127.0.0.1:8080 Transfer-Encoding: c