Hi,
This tells you about using the client
- http://ws.apache.org/axis/cpp/clientuser-guide.html
And this about how to use trace -http://ws.apache.org/axis/cpp/TraceGuide.html
iamnxm [EMAIL PROTECTED]
04/07/2006 04:19
Please respond to
Apache AXIS C User List axis-c-user@ws.apache.org
thanks, John
I have readed the instruction and follow it but it does not work properly. I
guess if i miss some steps. :-
--
View this message in context:
http://www.nabble.com/trouble-about-c%2B%2B-client-using-vc6-tf1883003.html#a5164598
Sent from the Axis - C++ - User forum at Nabble.com.
Hi all,Im Chanaka Wijesena, level 3 student of university of moratuwa.. I am going to do a project, Perl Axis 2/C extention.The objective of this project is to develop an extention for Perl, based on
Axis2/C, to provide Web Services support. By using this
extentionperl clientcan easily access
Hello Ralph,
Sorry for the very very late reply. I suppose you have solved your
problem already, but if you haven't:
[EMAIL PROTECTED] wrote:
Follow the example in the URL:
1. your impl class implements javax.xml.rpc.server.ServiceLifecycle
2. implement init(Object ctx) and destroy()
My
Hi,I have already checked them. Since I couldn't find any relevant option, I have made this post.Could someone help me please?cheers- Original Message From: Davanum Srinivas [EMAIL PROTECTED]To: axis-user@ws.apache.org; Nicolas Urien [EMAIL PROTECTED]Sent: Monday, July 3, 2006 11:14:02
latest nightly?
-- dims
On 7/4/06, Nicolas Urien [EMAIL PROTECTED] wrote:
Hi,
I have already checked them. Since I couldn't find any relevant option, I
have made this post.
Could someone help me please?
cheers
- Original Message
From: Davanum Srinivas [EMAIL PROTECTED]
To:
Dear All,
I am trying to deploy security module(rampart) and testing with the
security sample provided with axis2. When i tried running build.xml i got
the following error
[java] org.apache.axis2.AxisFault: WSDoAllReceiver: Error in converting to
Document; nested exception is:
[java]
Sorry that I have to say that, but your suggestion doesn't solve my problem.
Even if I set the Thread to sleep for much more than the 100ms, the problem
still exists: setting the WSA-RelatesTo, makes the fireAndForget not to send
the SOAP-Envelope; using the same scenario without setting
Hi everybody!!
I'd like to understand how the Ws-Addressing module
works. That's why, I'd like to know how to use it? Indeed, how can I build a
SOAP message using this protocol? How can I include the namespace "wsa" and also
add all the parameters I want?
Thanks for your help!
Fabien
This
Hi,
We are massively using Axis 1.2.1 in a production system. Weve
noticed that the process consumes huge amount of memory until finally it
reaches the heaps total allocated size and stalls. Ive noticed that the
archives are full of messages regarding this problem.
Has this problem been
yes , ServiceClient has a constructor for doing that.
amine MOKHTARI wrote:
Hello,My question is simple. is it axis2 allow dynamic
invocation of web services ???
___
Yahoo! Mail réinvente le
Sure, Axis2 has dynamic support. You need to create the XML body of
the message and pass it as an OMElement. You can also use STAX and
then use a STAXOMBuilder to create the OMElement.
Once you have the OMElement you can use ServiceClient or
OperationClient to invoke the service.
Paul
On
Hi Sathita,
On 7/1/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
thank you,
i think i have done that, i dropped the .mar file into modules directory and
also added the line about module in axis2.xml file.
can any other thing cause the problem?
If you follow all the steps in the
This is what i got right now.
[EMAIL PROTECTED]:~/axis2-std-1.0-bin/samples/security ant securitySample
Buildfile: build.xml
securitySample:
[java] log4j:WARN No appenders could be found for logger
(org.apache.axiom.om.impl.builder.StAXOMBuilder).
[java] log4j:WARN Please initialize
Hello,
I need to deploy a the rampart security Module programmly. I 've bin
wandering what to do. I can try put the .mar files in my classpath and
try deploying the with DeployEngine or a can add the sources of the
Rampart module to my project and try invoking the
public void
Did you configure the service in axis2 within Tomcat as mentioned in
the README.txt?
Thanks,
Ruchith
On 7/4/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
This is what i got right now.
[EMAIL PROTECTED]:~/axis2-std-1.0-bin/samples/security ant securitySample
Buildfile: build.xml
I did put
module ref=rampart/ in axis2.xml in my Jetty server.
Anything else, that can cause the problem?
Thanks,
Sathita
From: Ruchith Fernando [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: axis2 v1.0 security sample
Date: Tue, 4 Jul 2006
How about step 4:
4.) Copy all jars other than the secUtil.jar in the
samples/security/lib directory to axis2/WEB-INF/lib/
Did u copy the jars into the the main lib directory?
Thanks,
Ruchith
On 7/4/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
I did put
module ref=rampart/ in axis2.xml
Plese makesure you have axiom-dom-1.0.jar [1] in the classpath.
Thanks,
Ruchith
[1] http://people.apache.org/repository/ws-commons/jars/axiom-dom-1.0.jar
On 7/4/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
Dear All,
I am trying to deploy security module(rampart) and testing with the
Hi Jansen,
Ideally you should be able to create a custom chain and deploy it in
your client-config.wsdd as an actual chain. Unfortunately, Axis WSDD
syntax does not allow to deploy custom chains. When you put a chain
tag, it always creates a SimpleChain instance.
I would create a JIRA
main lib directory, in this case is it the lib under axis2 or the lib under
jetty?
i did copied all jars other than secUtil.jar and put in the lib folder
Jetty/webapps/axis2/WEB-INF/lib/. Do i need to put them in jetty/lib/ as
well?
Sathita
From: Ruchith Fernando [EMAIL PROTECTED]
MyInter Interface:---package org.x;import java.text.DateFormat;public interface MyInter { DateFormat getDateFormat();
void setDateFormat(DateFormat f);}---I get WSDL by run$
I'm trying to implement a client using
WS-Addressing butthe command "sender.engageModule(new
QName(Constants.MODULE_ADDRESSING));"raises an exception like
this:
org.apache.axis2.AxisFault: Module not found
at
org.apache.axis2.description.AxisService.engageModule(AxisService.java:395)
at
Hi,When I generate my stub with WSDL2java, I got an Unreachable code compilation errors in it.Compilation error is here in my WebServiceAncreStub.java:// create message context with that soap envelopeorg.apache.axis2.context.MessageContext _messageContext = new
Good morning Dies,
thanks for your help! I tried what you wrote and couldn't get it
working.
This is my code (service is an instance of
org.apache.axis.client.Service, Loghandler is
org.apache.axis.handlers.LogHandler, the rest is like you wrote it):
private static void registerHandlers(Service
Hello!
I am trying to embed Axis in a jetty powered application ( with Jetty
imbedded in a j2se application). Has anybody tried this successfully ? I
have read the Advanced Installation section of
http://ws.apache.org/axis/java/install.html Is there anything more to
be aware of?
Thank
Hi Rodrigo,
is it really that complicated to include a handler? Within server-config.wsdd,
it's just a single line to include the (example) LogHandler, why is it so
complicated to inject it via API?
As a resumee, this is what I want to do:
- add a Handler to Message Processing. Nothing
Hi Ranga,
If you unzip the binary distributions of Axis and Jetty, put the jar
files on your classpath and write a class like this:
public class Test {
public static void main(String[] args) throws Exception {
Server server = new Server();
hi Fabien;
do you have addressing.mar inside the repository ?
C:/Documents and Settings/fcouble/Bureau/axis2-std-1.0-bin/modules
Fabien Couble wrote:
I'm trying to implement a client using WS-Addressing but the command
sender.engageModule(new QName(Constants.MODULE_ADDRESSING)); raises
an
Hi Chamikara,
I chekout Sandesha2 and run maven.
I take the sandesha2-SNAPSHOT.mar, sandesha2-client-SNAPSHOT.jar et
sandesha2-SNAPSHOT.jar. I put them on catalina and on the client. Now I
have an error when I launch catalina. The problem to the
sandesha2-SNAPSHOT.mar.
- Deploying module :
Hi all,
I've posted this problem a few days ago, but it has not been fixed yet
(I've tried with the yesterday's nightly build).
I've got a ServiceClient into a handler which submits a request to a
service (running into another server): the request is received, as
expected, however the result is
Elodie
It is in Neethi (WS-Policy).
Paul
On 7/4/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:
Hi Chamikara,
I chekout Sandesha2 and run maven.
I take the sandesha2-SNAPSHOT.mar, sandesha2-client-SNAPSHOT.jar et
sandesha2-SNAPSHOT.jar. I put them on catalina and on the client. Now I
have an
Michele
I'm not quite clear which endpoint is set to that?
Do you mean the replyTo of the outgoing request?
Paul
On 7/4/06, Michele Mazzucco [EMAIL PROTECTED] wrote:
Hi all,
I've posted this problem a few days ago, but it has not been fixed yet
(I've tried with the yesterday's nightly
Hi Elliod,
This is because u hv the old Neethi jar in you tomcat lib directory. Remove this and add the latest Neethi-SNAPSHOT.jar from
http://people.apache.org/repository/ws-commons/jars/
Chamikara
On 7/4/06, Mancinelli Elodie [EMAIL PROTECTED] wrote:
Hi Chamikara,I chekout Sandesha2 and run
Just to narrow the problem a bit more :There are plenty of " //Unsupported style!! No code is generated throw new java.lang.UnsupportedOperationException("Unsupported Style");" generated instructions inside the stub code !These instructions are always generated after SOAP processing like ://
Yes it work! :-)
I want to thank all person which have help me.
Regards
Elodie
Chamikara Jayalath wrote:
Hi Elliod,
This is because u hv the old Neethi jar in you tomcat lib directory.
Remove this and add the latest Neethi-SNAPSHOT.jar from
Hi,
I have query regarding Products and Components Web Service.
I have developed a Wrapped/Literal style J2EE Web Service which retrieves Products and Components. I am accessing this web service form .NET C# Client.
This Web Service details are as follows
getProductAndComponentList(String
Ok, what I described you allows you to configure your chain in a
per-call basis. If you just need it per-execution, it becomes simpler :-)
But... why do you want to do this programmatically? Is it for usability
reasons?
If you want to select the set of handlers to use before starting your
yes plz.
On 7/3/06, Michele Mazzucco [EMAIL PROTECTED] wrote:
Deepal,
the problem is still present (I'm running the nightly build of July 3):
DEBUG CodestoreService:download Returning file
[D:\repository\MyService.aar] to
[http://null:8080/axis2/services/annonService8254986/annonOutInOp]
Hi,
This is a typical error that happens when the WSDL is having
unresolvable references. Can you please post the WSDL ?
Ajith
On 7/3/06, Atanas Ianev [EMAIL PROTECTED] wrote:
Hi,
I need to implement a WS client and want to use strong types defined in a
XSD, but I came to the following
I created a class for a web service and have it throw an exception and
java2wsdl does not add in the fault definition, is this something I
will have to maually add into my wsdls or am i doing something wrong?
I tried it two ways, just throwing a normal Exception and also nesting
my own class that
Hi,
You can just create an OMElement out of the string and attach that to
a default SOAP envelope.
1. use the staxOMBuilder to parse the file and generate an OMElement out of it.
see [1]
2. Use the SOAPxxFactory.getDefaultEnvelope() to get an envelope
object. Use the getBody().addChild(xxx)
Upgrade to Axis 1.4.
On 7/4/06, Amit Andhale [EMAIL PROTECTED] wrote:
Hi,
I have query regarding Products and Components Web Service.
I have developed a Wrapped/Literal style J2EE Web Service which retrieves
Products and Components. I am accessing this web service form .NET C#
Client.
Hi,
trying to start my running web service application using ant from out of my
eclipse, the application is no longer able to find the module (but it is at
first in axis2 library directory and second in the class path I set up in this
script). Can someone give me a hint how to solve this
Hi Artur,
can you tell me what kind of operation on the firewall you did?
Thank you
Marco
Artur Kraft wrote:
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
therefore, axis2 gives the mechanisms to define parameters and their
types for invoking an operation belonging has web services ???
Paul Fremantle a écrit :
Sure, Axis2 has dynamic support. You need to create the XML body of
the message and pass it as an OMElement. You can also use STAX and
Hi, I solved the problem by myself. Just adding a fork to ants java-task makes
the application to run properly in a new VM.
Greetings Ted.
- Ursprüngliche Mail
Von: [EMAIL PROTECTED]
An: AXIS2 Mailinglist axis-user@ws.apache.org
Gesendet: Dienstag, den 4. Juli 2006, 16:34:24 Uhr
Hello,
we are using Axis 1.3 in connection with a Macromedia Flash client.
Unfortunately the Flash-client is not able to parse the SOAP-XML when
the server sends back a SOAP-Fault, because there is a HTTP/1.1 500
Internal Server Error in the HTTP-Header.
Is there a possibility to send back a
Could you also post the XSD file?
There are some mistakes in the WSDL, though. A couple of your
exception messages are defined wrong -- they reference types rather
than elements.
- objectNotFoundException
- duplicateObjectException
- paymentServiceException
Anne
On 7/4/06, Atanas Ianev [EMAIL
Title: Message
Currently using
Axis 1.3 and was wondering if moving to Axis 2 would result in better
performace?
~James
-
THE INFORMATION IN THIS E-MAIL AND IN ANY ATTACHMENTS IS CONFIDENTIAL
AND MAY BE PRIVILEGED OR OTHERWISE PROTECTED
Per the spec, if you return a SOAP Fault, you must do so using HTTP 500.
If you want to return an HTTP 200 message, you must catch the
exception and return your own error mesage in the SOAP Body rather
than a SOAP Fault. To do so, you must your document/literal, and you
must define your reposnse
Your WSDL has errors. I assume you generated the WSDL using Java2WSDL.
If you do so, make sure you use the latest build. Or you could use the
Java2WSDL tool from Axis1 (assuming that you want just a SOAP 1.1
binding).
Anne
On 7/4/06, Nicolas Urien [EMAIL PROTECTED] wrote:
Hi,
Just in case
Hi Anne,I didn't use Java2WSDL but instead let the axis2 webapp (release 1.0 as war distribution) on my container generate it automatically.Indeed, I could fix the problem by using Java2WSDL tool from Axis1.I still have those 2 questions though:- do I still benefit of all axis2 features,
Sorry there were mistypes in my previous post.I didn't use Java2WSDL but instead let the axis2 webapp
(release 1.0 as war distribution) on my container generate it
automatically.Indeed, I could fix the problem by using WSDL2Java tool from Axis1.I still have those 2 questions though:- do I
Here's some test we're done - bottom line, axis2 has 4x to 6x better
performance than axis 1.x :
http://www.wso2.net/2006/05/axis2_performance_testing_round_1
HTH,
Robert
http://www.braziloutsource.com
On 7/4/06, James Clinton [EMAIL PROTECTED] wrote:
Currently using Axis 1.3 and was
Hello (my english is bad, sorry)
I need publish a class with axis. This class is:
public class MessageDelegate {
public String getMessage() throws MessageFault {
throw new MessageFault(99,"Mule error");
}
}
The MessageFault exception is:
public class MessageFault {
private int
Are you using Axis1? If so, then you want to define your exception to
extend AxisFault.
See:
http://ws.apache.org/axis/java/apiDocs/org/apache/axis/AxisFault.html
http://www.stylusstudio.com/api/axis-1_1/org/apache/axis/class-use/AxisFault.htm
http://www.devx.com/ibm/Article/20250
It may work in Axis 1, but that doesn't mean it is correct. Axis1 is
pretty lax about enforcing certain rules. e.g.,
1- Fault messages must always be defined with a document/literal binding
2- A document/literal message must always reference an element, not a type.
You must define elements for
I can;t believe that this WSDL actually works in Axis 1.
You have a fundamental error.
The binding references a portType called TestServiceSoap, which does
not exist. Your portType is called PaymentServiceSoap.
Anne
On 7/4/06, Anne Thomas Manes [EMAIL PROTECTED] wrote:
It may work in Axis 1,
Do you know if I'll have to perform any major re-work of my service?
I have built the service from the WSDL (wrapped) using wsdl2java if that
makes any difference.
Thanks for your response.
James
-Original Message-
From: robert lazarski [mailto:[EMAIL PROTECTED]
Sent: 04 July 2006
I'm trying to generate a wsdl from a class that throws a AxisFault and
the fault tag is not generated in the wsdl, do I have to add the fault
definition myself? I'm using Axis2 right now
Thanks,
John
On 7/4/06, Anne Thomas Manes [EMAIL PROTECTED] wrote:
Are you using Axis1? If so, then you
Hello
Thanks for your previous answer.
AxisFault is used for Soap Faults (AxisFault is a RemoteException).
I have an checked exception, (GenericExceptionFault extends
java.lang.Exception), I want catch GenericExceptionFault, but I dont think
how to do in Axis 1.0.
Please, I need your help.
Title: [Axis2] 1.0 Addressing issues when access ASP.NET2.0
Hi,
I have a urgent question.
I tried to use Axis2 client with WS-Security to call APS.NET2.0 WSE3.0 Web Service.
I noticed that Axis2 addressing module created addressing block using wsa=http://www.w3.org/2005/08/addressing,
Aha
Well no. Maybe. Yes. Maybe. No.
Actually Axis2 does NOT have the mapping registry (types -
namespace) that Axis1 has, because Axis2 is loosely coupled with the
XML data binding. ADB has a generic mapper, but you have to provide
the namespace, and it won't map to more than one namespace
Hi All,
Im interested in using Apache Axis for a new
project. Id like anyones opinion on how feasible
it would be to have a SOAP server using Axis interoperate
with SOAP clients using
small embedded libraries in pure C, such as
CSOAP (http://csoap.sourceforge.net/)?
In practice
Hello Werner,
The way I described to register handlers on the client side is the
JAX-RPC 1.1 compliant way. It works on Axis 1.x and any other JAX-RPC
1.1 compliant SOAP engine.
However, it requires you to use the interfaces in javax.xml.rpc. I do
not know what would happen if you mix it with
Hi, dear allAfter installing AXIS war in Websphere Application Server, I can visit Version service by inputting its address in the address bar of browser. But I'm wondering if I can input parameters while visiting follow service created by me.
public class MyService1 { public void ping(int
Sean,
Here is a list of known SOAP toolkits:
http://wiki.apache.org/ws/WebServiceStacks
Good luck,
Rick
From: Sean Machin
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 04, 2006 7:58
PM
To: axis-user@ws.apache.org
Subject: interop. with
C libraries?
Hi All,
We do have a Axis2/C version - http://ws.apache.org/axis2/c/
-- dims
On 7/4/06, Sean Machin [EMAIL PROTECTED] wrote:
Hi All,
I'm interested in using Apache Axis for a new project. I'd like anyone's
opinion on how feasible
it would be to have a SOAP server using Axis interoperate with
Hi, James.
Yes you can put parameters like you mentioned.
Your http://localhost:9080/axis2/rest/MyService1/echo?element=15
will work fine.
This error is caused because of NULL response SOAP body, I think.
I'm not sure though, Axis2 does NOT permit NULL response SOAP body.
Regards,
kinichiro
Hi,
Now, I'm trying to connect Axis2 and .NET with using
RPCMessageReceiver.
But, .NET client gets Nothing response.
Service class is very simple, just receiving String and return String.
.NET could produce proxy code from WSDL generated by Axis2
successfully.
Axis2 received request from .NET
Hi James;
I did the following and got the correct result
- create a service archive file using your service impl class;
- services.xml look like follows;
service name=axisversion
messageReceivers
messageReceiver mep=http://www.w3.org/2004/08/wsdl/in-only;
Hi,
I'm wrong, let me correct.
This error is caused because of NULL response SOAP body, I think.
I'm not sure though, Axis2 does NOT permit NULL response SOAP body.
With RPCInOnlyMessageReceiver, Axis2 is able to support NULL SOAP body
response.
I noticed by Deepal's reply.
I verified with
73 matches
Mail list logo