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
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
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
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
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
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
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:
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
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
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
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
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 (){
};
}
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
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
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
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
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
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
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);
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;
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
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
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,
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
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
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.
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:
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
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:
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:
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
--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
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
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
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
35 matches
Mail list logo