Re: Handling Large data in a method call

2009-05-12 Thread Sudhir Mongia
Hi Amila, I am waiting to hear from you. We are bound to use xmlbeans and its eating memory like anything. I thought of seeing another binding approach, tried with Jibx but that too seems very complex. Any help.pointer appreciated. Thanks, Sudhir On Fri, May 8, 2009 at 10:14 AM, Sudhir Mongia

rpc/literal webservice with multiple parameters

2009-05-12 Thread krishna.arani
Hi, I have a rpc/literal webservice with multiple parameters in its response. It is possible that one of the parameter can be null i.e. the expected soap response is prefix:name xsi:nil=1 but the ADB Wrapper generated by wsdl2java tool throws exception while serializing it. If I wrap both the

Transport out has not been set error

2009-05-12 Thread Claire Loto
Hi, I am trying to run a test client in Axis2 but i got this error: log4j:WARN No appenders could be found for logger (org.apache.axis2.util.Loader). log4j:WARN Please initialize the log4j system properly. org.apache.axis2.AxisFault: Transport out has not been set at

Re: Transport out has not been set error

2009-05-12 Thread Paul Fremantle
It looks like your sample code is wrong. Can you post it so we can see? Thanks! Paul On Tue, May 12, 2009 at 8:05 AM, Claire Loto l...@taosolutions.biz wrote: Hi, I am trying to run a test client in Axis2 but i got this error: log4j:WARN No appenders could be found for logger

Unsupported Encoding

2009-05-12 Thread M1d0
Hi, I am trying to insert into mysql, retrieve from mysql, then insert into AS400 (The code is done as a wbservice in Apache Tomcat/Axis2 1.4). I am able to insert however when I try to select in the Resultset ( columnname.getstring) is not executing and says unsupported encoding Cp1256. Any

Re: Transport out has not been set error

2009-05-12 Thread Claire Loto
Hi Paul, I have attached the files I am using. thanks a lot Regards, Claire Paul Fremantle wrote: It looks like your sample code is wrong. Can you post it so we can see? Thanks! Paul On Tue, May 12, 2009 at 8:05 AM, Claire Loto l...@taosolutions.biz wrote: Hi, I am trying to run a test

Re: Transport out has not been set error

2009-05-12 Thread Paul Fremantle
Is that your first client!? Its a little more complex than the average - have you looked at the samples? I think the problem is that you've set the InProtocol but not the out protocol. What happens if you simple comment out the line:

Re: Transport out has not been set error

2009-05-12 Thread Claire Loto
Yes, this is my first client. I got it from an Axis2 tutorial site. I got the same error after commenting out the line: options.setTransportInProtocol(Constants.TRANSPORT_HTTP); -Claire Paul Fremantle wrote: Is that your first client!? Its a little more complex than the average - have you

RE: FW: Undeliverable: RE: Getting the corect endpoints in WSDL for POJOs behind a proxy

2009-05-12 Thread Neil Youngman
Deepal jayasinghe wrote: I can not understand why that did not solve your problem, if you change the correct axis2.xml and restart the server. Anyway I will double check the code, may be someone has removed that code. Deepal I've just realised that you didn't get the details of the issue

Re: Transport out has not been set error

2009-05-12 Thread Paul Fremantle
Ok I guess you should try adding: options.setTransportOutProtocol(Constants.TRANSPORT_HTTP); It looks like our tutorial code is too complex! Paul On Tue, May 12, 2009 at 9:13 AM, Paul Fremantle pzf...@gmail.com wrote: Is that your first client!? Its a little more complex than the average

IRC Channel

2009-05-12 Thread Nir Peled
Hello everyone, Sorry for posting this again but I posted it in a very late hour on a weekend last time. I've opened a new IRC channel in which you can get live Axis2 support. I think you would all enjoy this if indeed we had a little more support in there. The channel name is: ##axis2

[AXIS2] Web service that extends an abstract class

2009-05-12 Thread Laurent Even
Hi all, Does someone managed to publish a web service in axis 2 that extends an abstract class containing the method to call. Here's an example to illustrate: package pack; import pack.MyAbstractClass; public class MyWebService extends MyAbstractClass{ public MyWebService (){ }; }

Best Practice for multi-server web service ?

2009-05-12 Thread Jacques46
Hi, I have a web service which must be deployed on multiple servers. It's the same web service, except for a few differences in the services.xml file (configuration information, such as database connection string, etc...). I'm coding this web service in Eclipse, and so what I do is I set up

RE: Web Service Calling Another Web Service

2009-05-12 Thread Mark Darnell
Deepal, I checked the third-party web service and the soap action is set to an empty string. What is most baffling by this problem is that a stand-alone JAVA application, web page, and servlet can all call the third-party web service without any error. But when we try to call the third-party web

Re: Web Service Calling Another Web Service

2009-05-12 Thread Deepal jayasinghe
Mark Darnell wrote: Deepal, I checked the third-party web service and the soap action is set to an empty string. What is most baffling by this problem is that a stand-alone JAVA application, web page, and servlet can all call the third-party web service without any error. DO you use SOAP or

[axis2-Using Existing APIs]

2009-05-12 Thread Vaibhav Arya
Thanks a lot Deepal, Caristi, Joe, Your link provided useful information for incorporating axis2 web service into my existing project. Now I have successfully embedded web service into existing project. I have a question: would I be able to call methods of existing java classes and

Synapse and axis2

2009-05-12 Thread Rajneesh Kumar
Hi Deepal, I am new to SOA. I have implemented axis-2 in my application for testing. Actually in my case, there would be multiple clients (developed in different platform ASP/ VB/ flex/ swing etc.). I have a web application developed using JSP/servlets - MVC and a DMS server). Now I have to

JAXWSRIWSDLGenerator error

2009-05-12 Thread javier
Hi, I'm facing some data binding problems when I try to deploy a JAXWS service under servicejars directory. When I try to see the generated WSDL from the list of services I obtain an error. The following code is the signature of the method I tried to expose as WS but the problem occurs using

RE: Transport out has not been set error

2009-05-12 Thread Aneel.Murari
I faced the exact same issue. The way I resolved was by adding the following code ... TransportOutDescription transOut = new TransportOutDescription(http); TransportSender sender = (TransportSender) new CommonsHTTPTransportSender(); transOut.setSender(sender);

Re: axis 2 unexpected Subelement

2009-05-12 Thread Trenton D. Adams
Oops, I was wrong, it wasn't the code below failing, it was the second attempt using the wsdl2java classes that failed... final APASQueueServiceStub service; service = new APASQueueServiceStub(); APASQueueServiceStub.GetHostInstitution hostInst;

RE: Web Service Calling Another Web Service

2009-05-12 Thread Mark Darnell
Deepal, We are using SOAP for all the applications. I'll try setting the URL. Thanks. Mark Darnell BIT Systems, Inc. (703) 742-7660 x110 -Original Message- From: Deepal jayasinghe [mailto:deep...@gmail.com] Sent: Tuesday, May 12, 2009 9:44 AM To: axis-user@ws.apache.org Subject: Re: Web

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Trenton D. Adams
Okay, I figured out what is happening. Is this an axis bug? It is putting the incorrect schema into the stub code... if (reader.isStartElement() new

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Andreas Veithen
It is not. The fact that GetHostInstitutionResult is of type tns1:RegisteredEducationalInstitution doesn't tell anything about the namespace of GetHostInstitutionResult. This depends on the targetNamespace and elementFormDefault of the schema, which you don't show in your post. Andreas On Tue,

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Trenton D. Adams
Okay, thanks Andreas. I'm not sure I understand completely. The GetHostInstitutionResult is supposed to be of the schema type http://APASProxy.DataTypes/2007/04;, no??? Anyhow, here's the items you mentioned... wsdl:types schema elementFormDefault=qualified

unsubscribe

2009-05-12 Thread Ramesh Vishwanatham
DTCC DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify us immediately

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Andreas Veithen
The namespace of GetHostInstitutionResult doesn't depend on its type. Since it appears in a sequence and elementFormDefault=qualified, it must have the namespace of the schema in which it is declared, i.e. http://APASProxy.ServiceContracts/2007/04;, exactly as the generated code expects it.

Installing axis on jboss

2009-05-12 Thread hordine
Hi everyone, I'm trying to install axis on JBoss 5 and all I did was download axis-bin-1_4.zip, unzipped it and coppied the axis directory from webapps into JBOSS_HOME/server/default/deploy When I try to start the server from eclipse, I get the following error:

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Trenton D. Adams
Hi Andrea, This is really confusing. How can GetHostInstitutionResult not depend on it's type? If it doesn't depend on it's type, then why have a type? As far as I can tell, elementFormDefault=qualified doesn't imply anything about having the same namespace af the parent. All it tells

RE: Installing axis on jboss

2009-05-12 Thread Zouhdi Haffar
Make sure the name of the unzipped file is 'axis2.war'. You may then run into classpath issuessome jars may need to be moved to jboss' lib folder. -Original Message- From: hordine [mailto:hord...@gmail.com] Sent: Tuesday, May 12, 2009 4:40 PM To: axis-user@ws.apache.org Subject:

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Trenton D. Adams
By the way, just a reminder, I am a beginner in schemas and such. So I very well might not have a clue. hehe Trenton D. Adams Systems Analyst/Web Software Engineer Navy Penguins at your service! Athabasca University (780) 675-6195 :wq! - Trenton D. Adams tre...@athabascau.ca wrote: From:

[AXIS2] Exception: org.apache.axis2.AxisFault: null

2009-05-12 Thread Lampert, Kevin C (N-Beacon Professional Svs)
I have developed a working web service client on windows configured with axis2 v1.4.1 and rampart 1.4. On the windows platform, this works great. I ported everything over to Solaris. Ran wsdl2java on solaris and followed the same procedure as on my windows platform, (of course making adjustments

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Andreas Veithen
--QUOTE-- This fragment: elementFormDefault=qualified indicates that any elements used by the XML instance document which were declared in this schema must be namespace qualified. --QUOTE-- ... and the namespace is the targetNamespace of the schema where the element has been declared

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Trenton D. Adams
Thanks Andreas, I think I get it now. Right, element b is in fact the same namespace of a, just the contents are of a different namespace. Right? Trenton D. Adams Systems Analyst/Web Software Engineer Navy Penguins at your service! Athabasca University (780) 675-6195 :wq! - Andreas

Re: axis 2 unexpected Subelement (BUG???)

2009-05-12 Thread Trenton D. Adams
Thanks again Andreas. Based on what you said, I was able to find that the wsdd was incorrect for that particular service. It is not spitting out the correct XML, and axis2 is happy with it. Trenton D. Adams Systems Analyst/Web Software Engineer Navy Penguins at your service! Athabasca

handling null part Response

2009-05-12 Thread krishna.arani
Hi, I have a webservice operation response (rpc/lit) with multiple parts, But the second part of the response can be null. The wsld2java generates wrapper class with XXXResponse where XXX is the operation name. But the generated Wrapper throws exception when any message part is null while