Hi Ronald ;
Can you please attach other relevant code as well the client code .
Thanks
Deepal
Absolutely, thanks for the quick reply!
This is my service operation:
public ListContactDatabaseInfo getDatabases(AuthInfo authInfo)
{
ClientDomain client =
Here's my services.xml too :-)
/serviceGroup
service name=DialogueService
descriptionPrototype of the dialogue service/description
messageReceivers
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-only;
I just sent my services.xml and here's my client code. That's all. It's
the most basic way of creating a webservice, right?
Just to make clear: everything works fine apart from returning an Array
or List. So the Spring connection and returning a string works good.
...
Hi,
I am relatively new to web services. I am using Axis 1.2.
I am implementing a web service for which the consumer is InfoPath 2003
(part of Office 2003 professional pack) which should be a .Net client.
The requirement for web service is:
the web service should return 'n' number of
Hi ,
I am using saaj for invoking webservice deployed on axis2-1.1.1 . I
am getting a invalid character err . the soap message is wellformed .
below is the soap message and the stacktrace .
?xml version=1.0 encoding=utf-8?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
Hi all,
I try to deploy our own webservice created with Axis2 to JBoss 4.03SP1.
Therefore I created an own axis2.war containing the new webservice
TestWebserviceService.aar in the services directory of the axis2.war.
The webservice uses an EJB which is contained in a jar-file.
The webservice
thx, but which context i should use?
this:
opContext.getMessageContext( WSDLConstants.MESSAGE_LABEL_IN_VALUE )
and this:
getCurrentMessageContext()
return the incoming MessageContext;
this one:
opContext.getMessageContext( WSDLConstants.MESSAGE_LABEL_OUT_VALUE );
returns the outgoing
After some more research I discovered that it does have to do with the
spring involvement; I get the *java.lang.IllegalArgumentException: null
rcl* when I try to return a custom object array like an arry of
ContactDatabaseInfo objects.
Only then does it fail. When I try to return an array of
If you try getCurrentMessageContext() from the skeleton what you get is the
incoming messageContext. In order to add custom headers to the response you
should be adding it to the outgoing messageContext. The envelop is added to
the outgoing messageContext inside the messageReceiver, which means
Hi.
I'm trying to send a file through SOAP, i use Zend Studio to create my
wsdl, according with annotations in the code, usually like this.
/**
* @param string $param
* @return string Response
*/
What annotation should i use to make WSDL2Java generate the right
stubs for sending files through
Hi,
I am new to web services. I was looking at the 'userguide' provided with
axis2 distribution. The sample has used AXIOM data binding mechanism.
Can we use any other mechanism in it's place for the same example.
Regards,
Nalini
***The information transmitted is intended only for the
I am using axis 1.4 on a Linux server with multiple Ethernet ports.
I would like to have my web-service available on either inet address
but it seem to only be working for the first address.
I have two ports - eth1 inet addr:192.168.110.84 and eth3 inet
addr:192.168.220.84
Is there a way
Hi,
i'm migrating from axis to axis2.
In Axis starting from the MessageContext i did:
org.apache.axis.Message requestMessage = msgContext.getMessage();
requestMessage.countAttachment();
Now in Axis2 how can i do this?
Method countAttachment can be found in
Hi.
I guess this might not be a very Axis related question, but I got some great
help before, so maybe some might be able to help me.
I have some webservices running on Axis on Weblogic. I use basic authentication
to send and retrieve username/password, and then I create an InitialContext
I need to pass a variable number of different objs...
I also tried to pass a Vector of Integer (for an example) but axis2
doesn't know how resolve it and it gives me a xs:any ...
I tried also to pass one my class, called Vettore (with an array of
Object or a Vector) but when I generate the stub,
Hi,
There is a utility tool in the AXIS 2 API's namely the BeanUtil I believe. This
class has some static methods which would enable you to convert from an Object
to an OMElement and vice versa.
Hope that helps.
Regards
Nilesh
- Original Message
From: Kay* [EMAIL PROTECTED]
To:
Hallo,
I'm using axis2 1.1.1 with the rampart module to sign and encrypt the soap
messages.
I have used the sample 6 from rampart and have done a little change to the
example. The service handles a file which is send with swa.
To check, if the messages are signed and encrypted I take look to
You can try something like following..
requestMessage.getAllContentIDs().size();
~Thilina
On 2/28/07, Lorenzo [EMAIL PROTECTED] wrote:
Hi,
i'm migrating from axis to axis2.
In Axis starting from the MessageContext i did:
org.apache.axis.Message requestMessage = msgContext.getMessage();
http://ws.apache.org/axis2/1_1_1/userguide-creatingclients.html#createclients
http://ws.apache.org/axis2/1_1_1/userguide-creatingclients-xmlbeans.html
http://ws.apache.org/axis2/1_1_1/userguide-creatingclients-jibx.html
Hope the above docs will help you..
~Thilina
On 2/28/07, Nalini Srivastava
AFAIK this is not possible...
~Thilina
On 2/22/07, Punnoose, Roshan [EMAIL PROTECTED] wrote:
Well from looking at the code, I don't think it is implemented.
After the AxisEngine.send function there is no call to invoke any
post-dispatch handlers. Though, it would be pretty easy to
Hi Jeff,
That is my problem, in the generated code, there is a class that is the one
that represents the exception in the server, but never takes the exception,
if it does not go away to a AxisFault. All exception that sends to me in the
generated code, is a AxisFault, and that I do not like, as
Thank you for your answer! I suppose that BeanUtil's method goes only
with javabean obj, but I'll try to apply to my project ! (sorry for my
English)
Thank you, thank you very much
Kay*
2007/2/28, Nilesh Ghorpade [EMAIL PROTECTED]:
Hi,
There is a utility tool in the AXIS 2 API's
I need to dynamically register (and map to my EJBs) some services and
(reading some old posts in the list) the only way to do that, is to
create and deploy the aar files on the appserver. If there is another
way (implementing some interface and registering as a listener or
something else,
This is fixed in the SVN head... If possible please try to use a
nightly build of Axiom..
Thanks,
Thilina
On 2/26/07, Punnoose, Roshan [EMAIL PROTECTED] wrote:
Ok, I'm not sure why, but after a little debugging, I am beginning to find
that the MIMEOutputUtils.java does not flush the
Hi Jorge,
You can take a look at:
https://issues.apache.org/jira/browse/AXIS2-2212
Moreover, you must make sure that in the AxisServlet, the deployer
instance is stored in the SERVLET_CONTEXT, so it can be used later on,
and, most importantly, to have the repoListener synchronized (so that
the
Thanks Angel. I'm sure your help will avoid a lot of head aches in the
near future, but i need a starting point.
I guess Remote Deployment API is implemented by packages under
org.apache.axis2.deployment, but classes in the java-doc are not very
well documented. ¿Is there any other
Amila,
I finally got some time to test the java.util.Data issue. The SNAPSHOT
that I downloaded seems to take care of the TimeZone issue I originally
reported; however, I have found one additional issue. The generated
WSDL for the Date object is as follows:
xs:element name=flightTime
Hi Larry,
I had the same problem. And I was asked to open a JIRA few days ago: AXIS2-2239
regards,
Jorge Fernandez
Johnson, Larry D (LJOHNSON) [EMAIL PROTECTED] escribió:v\:*
{behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:*
{behavior:url(#default#VML);} .shape
Jorge,
Thanks, I'll watch that JIRA... :-)
Regards,
Larry Johnson
From: Jorge Fernandez [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 28, 2007 9:47 AM
To: axis-user@ws.apache.org
Subject: RE: TimeZone Not Handled Properly In java.util.Date
I am having the same problem when trying to run the codegen plugin.
I don't have the given ECLIPSE_WORKSPACE/.metadata/.log
directory structure under my current Eclipse
install (which is 3.2.0).
Tom Preston
-
To
Thanks for the reply. I was able to override the
CommonsHttpTransportSender to perform my logic after the response had
been sent. The only problem is, I had to make sure that I could tell
when it was an actual response to a request. But nothing to check in.
Also, why is it not possible? Wouldn't
Thanks! Will check it out
Roshan Punnoose
Phone: 301-497-6039
-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 28, 2007 9:26 AM
To: axis-user@ws.apache.org
Subject: Re: Error returning MTOM document
This is fixed in the SVN head... If
Roshan,
Looks like you have a case for a enhancement bug in JIRA :)
-- dims
On 2/28/07, Punnoose, Roshan [EMAIL PROTECTED] wrote:
Thanks for the reply. I was able to override the
CommonsHttpTransportSender to perform my logic after the response had
been sent. The only problem is, I had to
Hi,
I am having a hard time using Axis with xml schema generated datatypes.
Here is my problem:
I start with an xml schema that contains some custom datatypes:
complexType name=Sequence
sequence
element name=id type=string /
element name=description
Hi guys, I have a Axis2 webservice deployed on a Websphere App Server 6,
and my client web app is deployed on Websphere App Server 5, whenever I
try to invoke in the webservice in my web app client, it gives me
ClassDefNotFound exception for various class which ARE included in the
axis jars that I
Larry,
You *probably* have a classloader issue. If you look at the MBean (here for
the embedded version of WAS 5 in RAD, you'll have to find the correct MBean
for WAS 6...)
WebSphere:name=UTC.war,process=server1,Application=IBMUTC,platform=common,
It's not possible. The Goggle API uses SOAP Encoding, and Axis2 does
not support SOAP Encoding. Try Axis 1.4 instead.
Anne
On 2/27/07, VinceK [EMAIL PROTECTED] wrote:
What would be the best way to use http://api.google.com/GoogleSearch.wsdl
with Axis2?
--
View this message in context:
I'm a new user in AXIS2 and I've some difficult to deploy a ws.
I must build a ws to exchange attachments with MTOM, but I don't know how
deploy a simple example (ee a WS calculator with a service sum)
Before Axis2 I've used AXIS 1.4, with Axis 1.4 I use Eclipse + WTP to create a
WS or
Hope you have already looked at [1] [2].. Then you can have a look
at [3] [4]..
~Thilina
[1]http://ws.apache.org/axis2/1_1_1/quickstartguide.html
[2]http://ws.apache.org/axis2/1_1_1/userguide.html
[3]http://ws.apache.org/axis2/1_1_1/mtom-guide.html
Hello all,
I have written a SOAP client using Axis2 which receives a binary file in the
response. The binary file is attached using MOTM XOP. When I use an http
sniffer to look at the response everything looks good...the response
contains an XOP:Include reference to the attached content.
I think deepal may help you on this.
Please attache your java class as well to that jira.
--
Amila Suriarachchi,
WSO2 Inc.
Hi Pierpaolo,
Here is my favorite simplest sample. It is a Hello World sample.
http://wso2.org/library/95
Cheers,
Dimuthu.
--
http://wso2.org
On 3/1/07, Pierpaolo Pagnoni [EMAIL PROTECTED] wrote:
I'm a new user in AXIS2 and I've some difficult to deploy a ws.
I must build a ws
Hi,
I have a axis based webservice which has 2 methods, load(int id) and
save(User user).
These methods are implemented in java.
The User class (object of which goes as argument in save method) has 4
attributes, their corresponding getters and setters. Additionality, when I
generated webservice
43 matches
Mail list logo