Re: Axis2 1.0 RC1 Weblogic 9.1 installation problem

2006-05-03 Thread Gopal Patwa
Does anybody treid Axis2 on Weblogic 9.1 -- View this message in context: http://www.nabble.com/Axis2-1.0-RC1-Weblogic-9.1-installation-problem-t1495632.html#a4223798 Sent from the Axis - User forum at Nabble.com.

cvs repository

2006-05-03 Thread William kane
Hi all, I am unable to connect to cvs repository of axis as specfied in the apache site for axis. Can anyone please let me know the cvs repository url,userid and pwd? Regards, William

Re: Problem with .Net 1.1 client

2006-05-03 Thread Anne Thomas Manes
Use 1.4.On 5/3/06, Rich Rodriguez <[EMAIL PROTECTED]> wrote: With the Axis 1.3 BeanSerializer the array "items" seem to be named the same as the array property itself. This is fixed in the next version? On 5/3/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Edit the WSDL and change the elements

Re: [Axis2][0.95] How can my service make call to another service? (More details) - RC5

2006-05-03 Thread Latha Venkat
Hello I'mtrying to do the same in axis1.3 ie my web service invoking another web service , does anyone have any code sample     Thankyou Latha Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: Deepal,I've just tried it with axis2 war distribution (RC5) and got NPE.Here is my code snippet that us

Re: [Axis2][0.95] How can my service make call to another service? (More details) - RC5

2006-05-03 Thread Latha Venkat
Hello I'm trying to do the same in axis1.3 , ie my web service trying to call another web service , will appreciate if anyone has code sample .     Thankyou   Latha Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: Deepal,I've just tried it with axis2 war distribution (RC5) and got NPE.Here is

Re: Want Sample code for Handler

2006-05-03 Thread [EMAIL PROTECTED]
On 5/3/06, Kanojia, Jogesh (GE Cons Fin, consultant) <[EMAIL PROTECTED]> wrote: Hi, I need to add new handler in Axis . If any one have a sample code or tutorial for adding handler please send me the same. Thanks & Regards Jogesh KanojiaThe source download contains a sample Handler

Re: Problem with .Net 1.1 client

2006-05-03 Thread Rich Rodriguez
With the Axis 1.3 BeanSerializer the array "items" seem to be named the same as the array property itself. This is fixed in the next version?On 5/3/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Edit the WSDL and change the elements named "item" in your two arrays to unique names. You need to be

Re: Help with .Net and Axis

2006-05-03 Thread Jeff Greif
The colon in the line below makes the XML ill-formed according to the Namespaces spec. You cannot have prefix:local-name where local-name is empty, because the empty string is not an NCName. Jeff On 5/3/06, Briseno, David <[EMAIL PROTECTED]> wrote: A SOAP request is built in a java api wh

Want Sample code for Handler

2006-05-03 Thread Kanojia, Jogesh \(GE Cons Fin, consultant\)
Title: Want Sample code for Handler Hi, I need to add new handler in Axis . If any one have a sample code or tutorial for adding handler please send me the same. Thanks & Regards Jogesh Kanojia

RE: Help with .Net and Axis

2006-05-03 Thread Briseno, David
A SOAP request is built in a java api which contains this information prior to the Send method being called   Wed May 03 15:28:23 CDT 2006 Tag: xmlns Wed May 03 15:28:23 CDT 2006 Name: xmlns Wed May 03 15:28:23 CDT 2006 NS URI: Wed May 03 15:28:23 CDT 2006 Prefix: Wed May 03 15:28:2

RE: the basics...

2006-05-03 Thread James Armstrong
Thanks Anne – that works   Unfortunately when I run it – my class file is overwritten?? Any suggestions? james From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 1:30 PM To: axis-user@ws.apache.org Subject: Re: the basics...   Generate the WSDL

Problem deploying Webservice on Unix (Please help very urgent)

2006-05-03 Thread suveni
Hi, I am trying to deploy a Java webservice using axis1.3 on Tomcat 5.0.28 on Unix. I have packaged my webservice in a jar file which I have succesfuly deployed and tested on windows. When I try to deploy my webservice using the AdminClient on Unix, the deploy.wsdd is processed successfully nad

Re: the basics...

2006-05-03 Thread Anne Thomas Manes
Generate the WSDL from the class (rather than the interface) compiled with debugging on (-g option).AnneOn 5/3/06, James Armstrong < [EMAIL PROTECTED]> wrote: Hi, Can someone point me to an example of how I would use the Java2WSDL tool and MAINTAIN the parameter names, ie.   Public S

Axis client logging from web applet causes security error

2006-05-03 Thread ANTHONY ZIOLKOWSKI
I have written my first web service. It works fine in all the ways I want except one - running from an applet in a web browser. As far as I can tell from the trace below this is caused by the Axis code accessing the file system to do logging which, of course, isn't allowed cause it's outside

RE: the basics...

2006-05-03 Thread James Armstrong
Hi, Can someone point me to an example of how I would use the Java2WSDL tool and MAINTAIN the parameter names, ie.   Public SimpleMethod {     Public simpleMethod(int intname) {     …     }     }   I want the wsdl to preserve intName as the par

Re: [Axis2] specifying username and password

2006-05-03 Thread [EMAIL PROTECTED]
On 5/3/06, Kees de Kooter <[EMAIL PROTECTED]> wrote: In Axis 1 I specified username/password like this:call.setUserName();call.setPassword();What is the equivalent in Axis 2?--Cheers,Kees de Kooter http://www.boplicity.netI have used the following successfully:    call.setProperty(Call.USER

Re: WSDL2Java difference between v0.94 and v1RC4

2006-05-03 Thread robert lazarski
You might try validating the wsdl - I'm showing a "no message" warning around cacheDumpRequest. The may explain the java.lang.VerifyError . HTH, Robert http://www.braziloutsource.com/On 5/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi all,   I have a WSDL file which when fed into t

RE: [Axis2] How to get MessageContext

2006-05-03 Thread Ali Sadik Kumlali
Hi Michael, Depends. It works with 0.95 and does not work with RC1 and later releases. I'm sure, Axis2 Team is going to update the document with the announcement of 1.0 release (if it's not updated for RCx releases yet). Regards, Ali Sadik Kumlali --- Michael Robinson <[EMAIL PROTECTED]> wrote

RE: [Axis2] How to get MessageContext

2006-05-03 Thread Michael Robinson
Does this mean that the example at http://ws.apache.org/axis2/0_95/mtom-guide.html does not work? The section titled "SOAP with Attachments (SwA) with Axis2" has a code fragment that seems to use an init method to set the MessageContext instead of a setter method. Is this incorrect? -Original

Re: Problem with .Net 1.1 client

2006-05-03 Thread Anne Thomas Manes
Edit the WSDL and change the elements named "item" in your two arrays to unique names. You need to be using Axis 1.4 to get it to generate the appropriate SOAP messages, though. On 5/3/06, Santunu Podder <[EMAIL PROTECTED]> wrote: Hi All,I am having a problem invoking a java web service from a .Net

Problem with .Net 1.1 client

2006-05-03 Thread Santunu Podder
Hi All, I am having a problem invoking a java web service from a .Net 1.1 client. The apache axis generated wsdl specifies a class member of type array which incidently results in exception while invocation. The error I am getting is as below : Unhandled Exception: System.InvalidOperationExcep

RE: SOAP namespacing conventions

2006-05-03 Thread Simon Fell
they are all sematically equivilent, the actual prefix used carries no weight.   Cheers Simon From: Steve Pruitt [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 03, 2006 6:27 AMTo: axis-user@ws.apache.orgSubject: SOAP namespacing conventions Is there is a "standard" or "widely accepted"

Re: OracleAS

2006-05-03 Thread Ilias Bartolini
On Wednesday 03 May 2006 16:21, Marco Aurélio Seraphim da Silva wrote: > Hi folks, > > Have someone here use Axis with Oracle Application Server? > > It's possible to do? And how can I do it? This link http://zatoichi.homeip.net/~brain/wiki/index.php/Howto_Axis_on_Oracle_Application_Server_OC4J is

[Axis2] SoapEnvelope as method argument (primary APIs)

2006-05-03 Thread Michele Mazzucco
Hi all, is it possible to use SOAPEnvelope arguments instead of OMElements (OMelement is a super-interface of SOAPEnvelope)? If yes, how can I fill the Header and Body? Thanks in advance, Michele

Complex types as arguments

2006-05-03 Thread Bart Vanbrabant
Hello, We are developing an application which uses SOAP to communicate between server and client. We are using the RPC providor and Axis 1.3. All seems to work fine as long as we don't use any complex types in our arguments. I reduced the webservice to this example: // deployment

Axis Maven Plugins

2006-05-03 Thread cleve oss
  are there plugins for the maven and m2 for axis2?    i want axis2 as part of my maven build process, so this is essential.   regards, cleve

Re: [Axis2][0.95] How can my service make call to another service? (More details) - RC5

2006-05-03 Thread Ali Sadik Kumlali
Hi again, Sorry for this much postings :( My messages was directed to the TCP/IP Monitor's port. I changed it to the port of the actual service and there is no such error anymore. But, I turned back to my first situation :) I still does not have addressing and security headers. Thanks, Ali Sa

Re: how to specify encodingStyle ?

2006-05-03 Thread Anne Thomas Manes
See the WS-I Basic Profile section 3.1.6:http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html#SOAP_encodingStyle_Attribute 3.1.6 SOAP encodingStyle Attribute The soap:encodingStyle attribute is used to indicate the use of a particular scheme in the enco

Axis 0.95 WSDL2Java generates stubs which don't compile

2006-05-03 Thread Iwan Memruk
Hi, I use WSDL2Java to generate stubs for the attached WSDL. The options are: -s -ss -p axis2_stubs Here's the log I get when I run 'ant': Buildfile: build.xml init: pre.compile.test: [echo] Stax Availability= true [echo] Axis2 Availability= true compile.src: [javac] Compiling

Re: OracleAS

2006-05-03 Thread Daniel Destro
What´s up, Brazuca?We are also using Axis running on OracleAS. No big deal!On 5/3/06, Marco Aurélio Seraphim da Silva < [EMAIL PROTECTED]> wrote: Hi folks,   Have someone here use Axis with Oracle Application Server?   It's possible to do? And how can I do it?   Regards,  

RE: OracleAS

2006-05-03 Thread James Clinton
Title: Message Yes - it's no different to using Axis with Tomcat. -Original Message-From: Marco Aurélio Seraphim da Silva [mailto:[EMAIL PROTECTED] Sent: 03 May 2006 15:22To: axis-user@ws.apache.orgSubject: OracleAS Hi folks,   Have someone here use Axis with Oracle

RE: WSDL2Java through Proxy

2006-05-03 Thread Caron, Michael R
Title: WSDL2Java through Proxy It might just be an issue now with the Amazon AWSAlexa Web Service. I tried it on an internal web service hosted here at LM and it worked like a charm.   Thanks Axis Team!   Mike From: Caron, Michael R Sent: Wednesday, May 03, 2006 9:09 AMTo: axis-user@ws.apa

RE: WSDL2Java through Proxy

2006-05-03 Thread Caron, Michael R
Title: WSDL2Java through Proxy Werner,   That worked like a charm. Only, now I get a null pointer exception in the CodeGenerationEngine at line 185. :p I'm going to try with the out of the box 0.95 binaries instead of the 1.0RC5 build that I made.   For any who are interested, I'm trying to u

Re: [Axis2][0.95] How can my service make call to another service? (More details) - RC5

2006-05-03 Thread Ali Sadik Kumlali
Hi Deepal, I found that the cause of NPE is "unassinged parent". If the service is already registered in axisConfig it doesn't enter in the code that assings a parent to the service. Also, it doesn't uses the parent of the registered service. The code causes NPE is here: -

WSDL2Java difference between v0.94 and v1RC4

2006-05-03 Thread david.ziebol
Hi all,   I have a WSDL file which when fed into the the WSDL2Java process from v94 produces the needed files and functions appropriately.  When this same WSDL file is fed into the WSDL2Java process from v1.0 RC4 errors out with the followin issue:   C:\Downloads\Axis2\axis2-v1.4unzipped\bi

[ANN] Apache WSS4J 1.5.0 Released

2006-05-03 Thread Ruchith Fernando
The WSS4J team is happy to announce the 1.5.0 release of Apache WSS4J, the Web service security implementation. You can download the releases from: http://www.apache.org/dyn/closer.cgi/ws/wss4j/1_5_0 The distributions to the mirror(s) sites will be available in the next few days. Apart from the

Re: SOAP namespacing conventions

2006-05-03 Thread Anne Thomas Manes
The prefix string is not significant. There is no "standard" convention.On 5/3/06, Steve Pruitt <[EMAIL PROTECTED] > wrote: Is there is a "standard" or "widely accepted" convention for naming the soap namespace. I have seen:   http://schemas.xmlsoap.org/soap/envelope/"> http://schemas.xmls

SOAP namespacing conventions

2006-05-03 Thread Steve Pruitt
Is there is a "standard" or "widely accepted" convention for naming the soap namespace. I have seen:   http://schemas.xmlsoap.org/soap/envelope/"> http://schemas.xmlsoap.org/soap/envelope/"> http://schemas.xmlsoap.org/soap/envelope/">     Thanks,   -Steve Pruitt

need help with validating an xml doc against the schema

2006-05-03 Thread Mohit_Goyal
Hi,   I read your article on OTN and it was good. But I am facing some problem when i try to validate the xml document against the schema in my project.   I am working on a Web services project involving transfer of XML docs as string and validating them against the schema and then updatin

Re: Fw: [Axis2] WSS4J - Trying to engage a module which is not available : addressing

2006-05-03 Thread Rob Henley
Unfortuantely the NullPointerexception is thrown before I can get a ServiceClientInstance. In my case the exception is thrown at this line in the generated stub constructor ... _serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext,_service); Cheers Rob - Origina

Re: [Axis2] problem resolving external xsd in wsdl

2006-05-03 Thread Ajith Ranabahu
Hi Florian, We have fixed this issue by providing a custom WSDLLocator in the current SVN head. So please have a go with the current SVN head and let us know. However note that the custom aar based WSDLLocator we has been tested only to read files that are in the root location (META-INF folder). Y

Re: [Axis2] problem resolving external xsd in wsdl

2006-05-03 Thread Ali Sadik Kumlali
Hi Florian, I had similar problems with RC3 and they are fixed with RC4. I also tested it with RC5. You can try with RC4 or the later releases. Regards, Ali Sadik Kumlali --- Florian Rosenberg <[EMAIL PROTECTED]> wrote: > hi, > > I have a WSDL file in my aar file which references several sche

[Axis2] problem resolving external xsd in wsdl

2006-05-03 Thread Florian Rosenberg
hi, I have a WSDL file in my aar file which references several schemas. the schemas are located in a subdir schemas/ in the directory of the WSDL file. TestService.wsdl: - http://www.vitalab.tuwien.ac.at/VieQoS";> http://www.w3.org/2005/08/addressing"; schem

Re: [Axis2] How to get MessageContext

2006-05-03 Thread Ruchith Fernando
An example for such a service impl class is here : [1] Thanks, Ruchith [1] https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/security/interop/org/apache/axis2/oasis/ping/PingPortSkeleton.java On 5/3/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: ya , just add that method

Re: [Axis2] How to get MessageContext

2006-05-03 Thread Ajith Ranabahu
Hi, this is called dependency injection. The Axis2 runtime will call the method and pump in the correct opContext. You'll have to grab the needed message context when that happens so you better have some code that assigns the needed message context to a private variable inside that method! Note th

[Axis2] specifying username and password

2006-05-03 Thread Kees de Kooter
In Axis 1 I specified username/password like this: call.setUserName(); call.setPassword(); What is the equivalent in Axis 2? -- Cheers, Kees de Kooter http://www.boplicity.net

Re: Fw: [Axis2] WSS4J - Trying to engage a module which is not available : addressing

2006-05-03 Thread Ruchith Fernando
Hi Rob, If your client's axis2.xml (with the entry) is picked up properly _and_ if axis2 cannot pickup the proper repository where the security module is available it will throw an exception saying that the security module is missing. If you don't get this error either : - your client side secu

Re: [Axis2] Re: User manual for Axis2 v 0.95 - Problems with "Invoking a service using a mail"

2006-05-03 Thread Jack
Hi Chamil, Thanks for that... I have not yet had a chance to play with it... I expect that we will probably wait for this part of Axis2 to become a little more mature before we try to implement with it anyway. We will certainly be keeping an eye on how things progress. Cheers Jack... On 29/04/0

Re: [Axis2] How to get MessageContext

2006-05-03 Thread Deepal Jayasinghe
ya , just add that method in to service impl class and that method will be called using java reflection. So you can keep a ref to operatoionConetx in side your class instance. And when you get the actual method call you can access that. Michele Mazzucco wrote: >Hi Deepal, > >could you be more ex

JAVA2WSDL and generation of user defined RuntimeException

2006-05-03 Thread Mati David
I have my own defined RuntimeException (MyRuntimeException that extends java.lang.RuntimeException). When I’m trying to run JAVA2WSDL on it I get the following message:   - The class MyRuntimeException extends non-bean class java.lang.RuntimeException.  An xml schema anyType will be used

Re: [Axis2] How to get MessageContext

2006-05-03 Thread Michele Mazzucco
Hi Deepal, could you be more explicit please? Do you mean public void setOperationContext(OperationContext opctx) { // empty content } (and I don't need to call it)? Michele Deepal Jayasinghe wrote: > you have to add a method called > setOperationContext(OperationContext opctx) { > }

Fw: [Axis2] WSS4J - Trying to engage a module which is not available : addressing

2006-05-03 Thread Rob Henley
Hi guys I've been trying for a while now to get the security module to work (either using my own code or the security sample). I was encouraged when I was told that 0.95 had a known problem which was addressed in RC2, but I get the same problem(s) in RC2 (described below). I'm currently using:

Re: [Axis2] How to get MessageContext

2006-05-03 Thread Deepal Jayasinghe
you have to add a method called setOperationContext(OperationContext opctx) { } in to your sevrice impl class , and that method will be called whenever you get a req . Using opctx you can get the messagecontext Michele Mazzucco wrote: >Hi all, > >how can I get the MessageContext from a OMelemen

Re: [Axis2][0.95] How can my service make call to another service? (More details) - RC5

2006-05-03 Thread Ali Sadik Kumlali
Deepal, I've just tried it with axis2 war distribution (RC5) and got NPE. Here is my code snippet that uses ListenerManager: - System.out.println("ListenerManager.defaultConfigurationContext: " + ListenerManager.defaultConfigurationContext)

Re: [Axis2] How to get MessageContext

2006-05-03 Thread Michele Mazzucco
Hi Eran, please read the thread about "asynchronous messaging" between me and Deepal. Maybe I miss the point. Thanks in advance, Michele Eran Chinthaka wrote: > OMElement is just a representation of an XML fragment. There is no > connection in that to the message context. > > BTW, from where y

RE: WSDL2Java through Proxy

2006-05-03 Thread Jansen Werner
Title: WSDL2Java through Proxy Hey there :)   2 ideas:   1. your maven configuration does include your proxy? (I suppose so, otherwise you won't be able to download maven plugins)   2. Did you try to use the java system properties that specify Proxy and stuff? they can be appended to your comm

Re: [Axis2] How to get MessageContext

2006-05-03 Thread Eran Chinthaka
OMElement is just a representation of an XML fragment. There is no connection in that to the message context. BTW, from where you wanna do this ? Michele Mazzucco wrote: > Hi all, > > how can I get the MessageContext from a OMelement? > (I'm using the primary interface APIs, that is my methods h

Re: [Axis2] marshalling & hashCode/equals methods question

2006-05-03 Thread Michele Mazzucco
I made some modifications to Castor (http://www.castor.org): now it generates the hashCode() together with equals(). If interested see here http://jira.codehaus.org/browse/CASTOR-1417 Best regards, Michele Rich Rodriguez wrote: > I believe WSDL2Java does this. > > On 4/29/06, *Michele Mazzucco*

[Axis2] How to get MessageContext

2006-05-03 Thread Michele Mazzucco
Hi all, how can I get the MessageContext from a OMelement? (I'm using the primary interface APIs, that is my methods have the following signature: OMelement operation(OMElement arg1, OMElelent arg2,..., OMElement argN) { ... } ) Thanks, Michele

SimpleDeserializer encountered a child element, which is NOT expected fault

2006-05-03 Thread Recep Ayaz
Hello,i have a problem with array type.i have a java array definiton in my java class  like that. private otapax.otabase.AirTravelerType[] travelerInfo;..and my SOAP request xml like that ..                                                                     

Re: Axis Client - Connection Timeout - help please

2006-05-03 Thread Artur Kraft
Hello, thanks for your help. I tried to increase the timeout duration, but the response should be far earlier than the default timeout. Luckily I found the solution to my problem and I have to admit, it was a quite basic one: my firewall didn't let the reply through, although the configuration

Re: axis2 - asynchronous messaging

2006-05-03 Thread Michele Mazzucco
Hi Deepal, probably I don't need to modify the message itself, if it's possible to add some stuff into the header. Can I? Thanks, Michele Deepal Jayasinghe wrote: > When B gets a message he has a corresponding messageContext for that > message , and that message context will have all the requir

Re: mtom, wsdl2java and xmlbeans

2006-05-03 Thread Michael Meire
I've tried all kinds of possibilities for defining the complex type, among which the one mentioned on that URL (http://marc.theaimsgroup.com/?l=axis-user&m=114123711724485&w=2 )