problem with 'nil'

2006-11-28 Thread [EMAIL PROTECTED]
Hello. I am using Axis C++ to build a client in order to access a web service. I have managed to do it, and now I am in the test phase. But I have found a problem. In the web service response, the SOAP sent by the server includes one element with xsi:nil='1' I think this is syntactically

Getting endpoints from WSDL for dynamic client

2006-11-28 Thread White, Darran
Hi, I`m trying to use the dynamic client to access the Amazon AWSECommerceService and I`m just trying to work out how the endpoints get set. I`m successfully parsing the Amazon wsdl and getting a dynamic client back. However it doesn`t appear to have any endpoints set though there is definitely an

Re: problem with 'nil'

2006-11-28 Thread Nadir Amra
This should be fixed in the next couple of weeks. I will post when it is. I do not think there is an alternative. Nadir K. Amra [EMAIL PROTECTED] [EMAIL PROTECTED] wrote on 11/28/2006 06:40:58 AM: Hello.I am using Axis C++ to build a client in order to access a web service. I have

Re: axis 1.4 performance tuning

2006-11-28 Thread Clarence Dahlin
Are those 3,4 transactions initiated from one client only, synchronized? If the XML (SOAP) that you send is very large, maybe that would limit performance. XML Parsing is expensive. /Clarence On 11/27/06, Frederick N. Brier [EMAIL PROTECTED] wrote: Xucai, Are you running Axis within Tomcat,

Re: How to deploy webservices on weblogic using axis2-1.1

2006-11-28 Thread Charitha Kankanamge
Sumeet, Eventhough I tried axis2 deployment on weblogic 9.2, it should work on 9.0 as well. It worked correctly for me with weblogic 9.2. Can you please copy your service into ../web-inf/services directory and try again? Please make sure that you set 'prefer-web-inf-classes' true in the

AW: [Axis2] Creation of SOAP Request

2006-11-28 Thread Desiree Hilbring
Hello Thilina, I created my own Web Service using Axis2. Inside the implementation of my Web Service I call another Web Service as client. The other Web Service uses Axis1. So, I try to create a SOAP request with Axis2 which is sent to an Axis 1 Web Service. Greetings Desiree

Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread Mehar SVLN
Did Anyone tried Axis2 attachments with XMlBeans as databinding??? -- Rgds Mehar

Re: Axis2 1.0: Java2WSDL ?

2006-11-28 Thread BoD
Please upgrade to Axis2 1.1 .. 1.0 is really old and out of date. I wish I could. I have conflicting jar dependencies between axis2 1.1 and my app running turbine 2.3.1. What about Axis 1? Is it recommended to use it at all? Thanks. BoD Sanjiva Weerawarana wrote : Please upgrade to Axis2

WSDL2Java in AXIS2_1.1

2006-11-28 Thread c b
Hi, I have just moved from Axis 1.4 to Axis2. In the WSDL2Java tool, we used to have an -i option in Axis 1.4, which allowed you to set the implementation class. This stopped the WSDL2Java toll from generating a blank impl class. This -i option is no longer present in Axis2. I can just drop

Re: WSDL2Java in AXIS2_1.1

2006-11-28 Thread keith chapman
If you want to expose existing Java classes as a web service then it might be better to use the Java2WSDL tool... Thanks, Keith. On 11/28/06, c b [EMAIL PROTECTED] wrote: Hi, I have just moved from Axis 1.4 to Axis2. In the WSDL2Java tool, we used to have an -i option in Axis 1.4, which

Re: How to deploy webservices on weblogic using axis2-1.1

2006-11-28 Thread sumeet gupta
Charitha, I set 'prefer-web-inf-classes' true in weblogic.xml and copied my services in web-inf/services now it is showing version service in the available service page but while accessing this serviece from browser i am getting following error. Nov 28, 2006 3:03:18 PM GMT+05:30 Error HTTP

Re: How to deploy webservices on weblogic using axis2-1.1

2006-11-28 Thread Charitha Kankanamge
Hi Sumeet, Seems to be a conflict with RegistryDocumentBuilderFactory. I did not face this issue with weblogic 9.2. Can some one please help Sumeet to resolve this issue if you are familiar with weblogic9.0/axis2 deployment. regards Charitha sumeet gupta wrote: Charitha, I set

Re: Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread Philipp Perner
No, because I'm just trying to do it with adb - and it's harder than i thought Are there any significant reasons why to use xmlbeans? Did you try SwA with other bindings than xmlbeans? kr Mehar SVLN schrieb: Did Anyone tried Axis2 attachments with XMlBeans as databinding???

[axis2] InvocationResponse how to

2006-11-28 Thread Michele Mazzucco
Hi all, what happens if a dispatcher returns InvocationResponse.ABORT or SUSPEND instead of CONTINUE? And what about if the dispatcher is on a remote node? I mean, if node A sends a message to node B and a dispatcher on node B returns ABORT, is node A notified (exception or whatever)?

Re: Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread Mehar SVLN
No i dint try... Actually my entire appln is based on XMLBeans so i need to check with XMLBeans The problem what i ve observerd wherever i have an element of type xsd:base64Binary it should be sent as an attachment(MTOM is enabled) But this is not happening in XMLBeans case, its being sent as a

Re: Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread robert lazarski
There is a jira for this: http://issues.apache.org/jira/browse/AXIS2-1031 Your welcome to try and help us implement it ... the adb / mtom code would be a good start. Robert On 11/28/06, Mehar SVLN [EMAIL PROTECTED] wrote: No i dint try... Actually my entire appln is based on XMLBeans so i

[Axis2] Deploying webservice with difficult wsdl-file

2006-11-28 Thread Brecht Yperman
Hi, When deploying the following service using Axis2 1.1 http://www.invenso.com/downloads/XbiService.aar I get an exception in the logging, when starting up the server.\2006-11-28 13:17:48,568 [main] INFO org.apache.axis2.deployment.resolver.AARFileBasedURIResolver -

AW: [Axis2] Trouble with WS routing through proxy server

2006-11-28 Thread Peter Neu
Hello, didn't knew I would need this. So I looked here: http://ws.apache.org/axis2/1_1/http-transport.html#auth If I get this right, I use the original server and port address (not the one of the proxy) in stub and paste this code into the stub, right? But where does this code go? Options

Help to throw an Exception

2006-11-28 Thread Augusto Arcoverde da Rocha
I have created a service class (bellow), defined the services.xml (bellow) and generated a jar into axis2/services folder. The wsdl was automagic generated. But when I try use this web service from a client, it got only java.io.IOException: Server returned HTTP response code: 500 for URL:

Re: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-28 Thread Michele Mazzucco
Hi Pete, please see my comments inline. Peter Neu wrote: Hello, didn't knew I would need this. So I looked here: http://ws.apache.org/axis2/1_1/http-transport.html#auth If I get this right, I use the original server and port address (not the one of the proxy) in stub and paste this

AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-28 Thread Peter Neu
Hm, I tried the runtime approach but my IDE tells me that there is no method setProxyHostName in the HttpTransportProperties.ProxyProperties object. Neither is there the constant PROXY in HttpConstants. How can I do this then? Cheers, Pete -Ursprüngliche Nachricht- Von: Michele

RE: [Axis2] HappyAxis fails: getRequestURL() not found

2006-11-28 Thread John, Anil
Greg, Don't know the answer to that one. I've deployed Axis2 only on the Tomcat 5.5 + JDK 1.5 combo. Regards, - Anil From: Greg Wilson [mailto:[EMAIL PROTECTED] Sent: Monday, November 27, 2006 8:48 PM To: axis-user@ws.apache.org Subject: Re:

Re: axis to spring

2006-11-28 Thread Martin Gainty
Good Morning Matt- in other words make sure your spring jars are located in $CATALINA_HOME/YourWebapp/web-inf/lib and not in bootstrap ($JAVA_HOME/jre/lib/ext) system ($CATALINA_HOME/bin) common ($CATALINA_HOME/lib) Earlier versions of tomcat also had server classes located in

dumb question about stubs

2006-11-28 Thread Philipp Perner
hi, I have a question. I created a file upload service, to transfer data. I used adb for databinding. But neither my client stub nor my (generated) *.service.xsd.UploadFile require input data in their methods the way i want. Now my question: Client stubs or the classes in service.xsd are

Is Axis2 compatible with Tomcat 3.3?

2006-11-28 Thread Greg Wilson
I'm able to install and run Axis2 with later versions of Tomcat, but am getting errors with Tomcat 3.3. The first errors I see are like the following: 2006-11-28 08:22:05 - Ctx(/axis2) : compile error: req=R( /axis2 + /axis2-web/index.jsp + null) - org.apache.jasper.compiler.CompileException:

Re: Is Axis 1.x (Java) still an active project?

2006-11-28 Thread Davanum Srinivas
Frederick, Please switch to Axis2. There is no plan for a Axis/Java 1.5. Am willing to help get your XSD's working with Axis2's ADB data binding if you run into trouble. thanks, dims On 11/27/06, Frederick N. Brier [EMAIL PROTECTED] wrote: Axis 1.4 (Java) shipped April 22, this year. Is the

Unable to access webservice through browser

2006-11-28 Thread sumeet gupta
Hi All, I have set 'prefer-web-inf-classes' true in weblogic.xml and copied my services in web-inf/services now it is showing version service in the available service page but while accessing this serviece from browser i am getting following error. Nov 28, 2006 7:31:29 PM GMT+05:30 Error HTTP

Re: Is Axis2 compatible with Tomcat 3.3?

2006-11-28 Thread Davanum Srinivas
Greg, Axis2 needs minimum Servlet API spec 2.3. Tomcat 3.3 is slightly older (http://tomcat.apache.org/whichversion.html). thanks, dims On 11/28/06, Greg Wilson [EMAIL PROTECTED] wrote: I'm able to install and run Axis2 with later versions of Tomcat, but am getting errors with Tomcat 3.3. The

Re: dumb question about stubs

2006-11-28 Thread Nirmit Desai
No, they are not. Only the Test and Skeleton classes are meant for elaboration. -Nirmit Philipp Perner [EMAIL PROTECTED]

Re: [axis2 1.1.1] wsdl2java generates bad code

2006-11-28 Thread Davanum Srinivas
Please log a JIRA bug with your wsdl/xsd. Since we need to figure out what caused the problem in the first place :) thanks, dims On 11/27/06, Nirmit Desai [EMAIL PROTECTED] wrote: Hi, I am using 27th Nov snapshot of axis2 1.1.1. In my wsdl I have an operation that takes no inputs (empty

Comparing endpoints

2006-11-28 Thread José Antonio Sánchez
Hello, is there any way to compare two endopoints to see if they refer to the same service? As the equals method is not overloaded, can I assure two endpoints are equals if they have the same field? I mean for every get***() method, epr1.get***().equals(epr2.get***) and going recursively with

[Axis2] AxisFault: java.lang.ExceptionInInitializerError / NoClassDefFoundError

2006-11-28 Thread Shaoguang Cong
Hi, I try to convert my axis1.3 projcet into axis2.1.1. After deployed the services on tomcat 5.0.5, I cannot get it to run due to some kind of initialization problem. Please help if you know what could cause the problem. My client calls the services at Service EPR:

Socket write error

2006-11-28 Thread Browne, Anthony A
Hello everyone, I'm getting the error: RemoteException: javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Software caused connection abort: socket write error from my client code and I can't determine why. I

Re: Socket write error

2006-11-28 Thread Jon Carmignani
Are you using TCP Monitor or some similar program to view the messages getting passed? If so, make sure they 1) support large messages and 2) if they are java applications, that they have the necessary heap space allowed. I had an issue where I was running TCP Monitor and it ran out of heap

Re: AW: AW: [Axis2] Trouble with WS routing through proxy server

2006-11-28 Thread Michele Mazzucco
On 28 Nov 2006, at 14:20, Peter Neu wrote: Hm, I tried the runtime approach but my IDE tells me that there is no method setProxyHostName in the HttpTransportProperties.ProxyProperties object. Neither is there the constant PROXY in HttpConstants. The HttpConstants class is the one in the

RE: Socket write error

2006-11-28 Thread Browne, Anthony A
I can, but am not monitoring the messages with TCP Monitor. I have already increased the max and min heap space, but I still get the exception. It works fine if a smaller message is sent, but breaks when larger messages are sent. Would a change from Axis 1.4 to Axis 2 fix this? -Original

Re: [Axis2] AxisFault: java.lang.ExceptionInInitializerError / NoClassDefFoundError

2006-11-28 Thread robert lazarski
Um, could you paste the entire log(s)? Its not clear from your post which class is missing from your classpath. Robert On 11/28/06, Shaoguang Cong [EMAIL PROTECTED] wrote: Hi, I try to convert my axis1.3 projcet into axis2.1.1. After deployed the services on tomcat 5.0.5, I cannot get it to

Re: [axis2] How to add custom SOAP Headers in Client Code

2006-11-28 Thread Jatinder Kaur
OK..so this way I will be able to add headers. The way this web service works is that the first time we invoke the web service, we need to pass in the username and password and the response will contain a session ID that needs to be used in the subsequent calls. So: 1. How do I add specific

[Axis2] Issues using PasswordDigest with Rampart

2006-11-28 Thread Sathija Pavuluri
Hello, I've previously used Rampart to authenticate my web service client using cleartext password as described in this article: http://www.wso2.net/2006/08/15/rampart-ut-auth I am now trying to use PasswordDigest and running into issues. In my service impl, I have a PasswordCallbackHandler

[Axis2] How to read the response received from the server side

2006-11-28 Thread Jatinder Kaur
Hi, I've been able to write the client code using Axis2. When I send my request to the server, the server returns an ID (as part of SOAP Header) that I need to extract. Can anyone please let me know how can I do that -- any pointers to the documentation or the sample code will be greatly

Re: [Axis2] How to read the response received from the server side

2006-11-28 Thread robert lazarski
Try: SOAPEnvelope envelope = messageContext.getEnvelope(); envelope.getHeaders() You probably need a server side handler to do that. You could try the static methods in MessageContext in you service but IIRC that won't work. HTH, Robert On 11/28/06, Jatinder Kaur [EMAIL PROTECTED] wrote:

Re: [Axis2] AxisFault: java.lang.ExceptionInInitializerError / NoClassDefFoundError

2006-11-28 Thread Shaoguang Cong
I've trouble with the mail server to reply to the message with Robert's response. Try again by removed original message. The default tomcat server log doesn't give much info about this exception. It only logs the exception name, without stack trace. With help from debug, my problem is

Re: [Axis2] AxisFault: java.lang.ExceptionInInitializerError / NoClassDefFoundError

2006-11-28 Thread robert lazarski
Classic error: http://ws.apache.org/axis2/tools/1_1/CodegenToolReference.html An important detail is that an XMLBean class file is also generated by WSDL2Java, TypeSystemHolder.class. That file is placed into build/classes by the above ant task and will be needed to compile the generated

Re: [Axis2] 1.1 Problem parsing AxisFault

2006-11-28 Thread Deepal Jayasinghe
Is this something to do with code gen or fault handling ? Sathija , can you please create a JIRA ? Thanks Deepal Sathija Pavuluri wrote: Hello, I have written some web services using Axis2 1.1. They've been working reasonably well. I've now enabled my web service calls to throw an AxisFault

Re: SMTP for Transport out

2006-11-28 Thread Deepal Jayasinghe
Hi korges ; Can you please create a JIRA issue attaching your client source code. Thanks Deepal hi I'm working on school project. I tried to send SoapRequests with SMTP. The goal is to setup a webservice using smtp. I followed your manual: Mail Transport Configuration, but i

Re: [axis2] 0.95-1.1 service deployment error

2006-11-28 Thread Deepal Jayasinghe
Hi Andreas ; Can you please send me your service aar file or the wsdl file , so that I can try to re-create the problem and fix that. Thanks Deepal hi, if have just upgraded my web services from axis 0.95 to axis 1.1. now I'm getting an exception while deploying the ws. the QueryService.wsdl

Re: [Axis2]- Issue with generating source code using WSDL2Java

2006-11-28 Thread Deepal Jayasinghe
Hi kumar; Can you please send me your wsdl file, or please create a JIRA issue attaching your wsdl Thanks Deepal Hi *, I am new bie to Webservice and Axis2. Just started getting hold of Axis 2. I am facing problem when I try to generate source code from WSDL file usind

Axis2 generate client stub in wsdl with session support

2006-11-28 Thread Eric Chow
Hello, How can I add session support with my generated client stub? Bets regards, Eric - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: WSDL2Java in AXIS2_1.1

2006-11-28 Thread c b
Hi keith, I dont think you have got the question. Have got the WSDL using the Java2WSDL tool for the existing class. But wht I wanted was to apply the WSDL2Java tool to it to generate the stub,build.xml and the service.xml. So that I can directly create a aar and then deploy it. Thanks, Chinmay

Re: Help to throw an Exception

2006-11-28 Thread Deepal Jayasinghe
I created a JIRA https://issues.apache.org/jira/browse/AXIS2-1785 Augusto Arcoverde da Rocha wrote: I have created a service class (bellow), defined the services.xml (bellow) and generated a jar into axis2/services folder. The wsdl was automagic generated. But when I try use this web service

Re: Axis2 generate client stub in wsdl with session support

2006-11-28 Thread Deepal Jayasinghe
Hi Eric; you can do the following; stub._getServiceClient().getOptions().setManageSession(true); Thanks Deepal Eric Chow wrote: Hello, How can I add session support with my generated client stub? Bets regards, Eric -

Re: Did Anyone tried Axis2 attachments with XMlBeans as databinding???

2006-11-28 Thread Mehar SVLN
Robert thanx a lot for the invitation I will try my level to implement this feature Any inputs on where to start??? On 11/28/06, robert lazarski [EMAIL PROTECTED] wrote: There is a jira for this: http://issues.apache.org/jira/browse/AXIS2-1031 Your welcome to try and help us implement it

[Axis2] Problem reading own xml file inside aar archive

2006-11-28 Thread Subash Devkota
Hi, I am having problem reading my own XML file inside aar file. The structure of my archive file is as shown below: * META-INF o MANIFEST.MF o services.xml * security o XMLParser.class o serverConf.xml o .. * key.jks *

Re: http sessions and https

2006-11-28 Thread Sanka Samaranayke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexander Bunkenburg wrote: Hello people I am only starting to evaluate Axis and Axis2. I am right in thinking that both give me sessions maintained by Axis based on a http-header? In Axis2, one option would be to use Transport Session with

How to configure axis2-1.1 to support JAXB-RI

2006-11-28 Thread jim ma
Hi all , I noticed aixs2 1.1 can support JAXB-RI databinding experimentally. I have copied all the jar files related to jaxb ri under lib directory(in axis2-std kit). But wsdl2java complains JAX-B RI binding extension not in classpath. Is there something need to configure or codegen tool can

Compatibility issue between weblogic9.0 and axis2-1.1

2006-11-28 Thread sumeet gupta
Hi All, we are deploying our webservices on weblogic 9.0 but it is continously giving an error which i am mentioning below.can anybody please tell me is axis2-1.1 compatible with weblogic9.0 or not?? Nov 28, 2006 7:31:29 PM GMT+05:30 Error HTTP BEA-101017 [ weblogic.servl [EMAIL

Re: WSDL2Java in AXIS2_1.1

2006-11-28 Thread keith chapman
The -i option is not available in Axis2 Thanks, Keith On 11/29/06, c b [EMAIL PROTECTED] wrote: Hi keith, I dont think you have got the question. Have got the WSDL using the Java2WSDL tool for the existing class. But wht I wanted was to apply the WSDL2Java tool to it to generate the