Hi Lahiru,
sry can't see the attachment, can you send it again ?
mfg derMark
Lahiru Gunathilake schrieb:
On Tue, 2008-02-19 at 08:58 +0530, Lahiru Gunathilake wrote:
Hi Mark,
This is what i have done and i have attached the generated code and VS
project.
Simply run your script by giving one
Hi Simone,
Could you please raise a Jira for that.I'll have a look in to that.We
are doing fixes these days so haven't check with memory leaks.Hope to do
it ASAP.
Regs
lahiru
On Thu, 2008-02-21 at 17:53 +0100, Simone Bordin wrote:
Hi,
i'm using axis2c 1.2 and the axis2java nigthly build.
With
Hi All,
I have been experimenting using the AXIS2/c library. I am trying to send an XML
input and receive back an XML by making a http/soap calls as a client. I I
have followed the examples (I think) but I am still getting some errors. The
log file says something like the following:
Hi Vivian,
Vivian Zhou [EMAIL PROTECTED] writes:
phase PostDispatch
[Thu Feb 21 22:11:34 2008] [debug] ..\..\src\core\engine\phase.c(122)
axis2_handler_t *context_handler added to the index 1 of the phase
PostDispatch
[Thu Feb 21 22:11:34 2008] [debug]
So, if I understand well, your solution is to set nothing about the
repository and configuration file (xml)
For the configuration file, it works, but for the repository, axisServlet
will not find the repository WEB-INF by default??
2008/2/20, Davanum Srinivas [EMAIL PROTECTED]:
-BEGIN
This way it works:
MessageContext ctx = MessageContext.getCurrentMessageContext();
ServletContext sr = (ServletContext)
ctx.getProperty(transport.http.servletContext);
System.out.println(xsltPath: + sr.getInitParameter(xsltPath));
regards
Simon
Suriya Simsuwat wrote:
Thank Simon for
Oups, sorry, i make a mistake. axisServlet will find the WEB-INF repository
by defaut, it's right.
Thanks for your answer and thanks for your time,
Mat
2008/2/21, mathieu fabre [EMAIL PROTECTED]:
So, if I understand well, your solution is to set nothing about the
repository and configuration
Thank you very very much, Simon. It works like a charm this time. ;)
Simon Steinacker [EMAIL PROTECTED] wrote: This way it works:
MessageContext ctx = MessageContext.getCurrentMessageContext();
ServletContext sr = (ServletContext)
ctx.getProperty(transport.http.servletContext);
Yes, it is.
You can deploy each service independently in axis2 container. You only have
to divide your WSDL in N WSDL´s and generate the aar files for each.
Deploy the aar files in axis container, and you will have N web services.
Each service may have its own axis2.xml and services.xml, look at
Hi,
I used the C( character in services.xml for service:name attribute :
?xml version=1.0 encoding=UTF-8?
service name=C(Service scope=application
descriptionC(Service service/description
messageReceivers
messageReceiver
mep=http://www.w3.org/2004/08/wsdl/in-only;
Hi,
I have implemented an Axis2 web service following the Axis2 Tutorials and
using Axis Data Binding, I have implemented a client that test the SOAP over
HTTP requests/responses.
My question is what should I do to support not only SOAP but REST requests?
I have seen in my axis2.xml file some
Hi, I am new in Axis2 and I have a question.
Is there any recommended way how to use web resources (e.g. DataSource)
for web services ?
E.g. in Java EE 5 there is a nice way to inject a Data Source :
private @Resource DataSource catalogDS;
Thanks for any response.
Milan
Hi Simon,
Please take a look at samples come with the Apache Rampart
distribution. They contain policies that defines
Sample 01 - Username Token authentication
Sample 05 - SAML token
thanks,
nandana
[1] -
What is the Axis2 version you use? if you get this error with a nightly
build please log a jira.
thanks,
Amila.
2008/2/20 lucky [EMAIL PROTECTED]:
Hi,
We are developing a Axis2 Top-Down WebService and while invoking WS we are
getting following exception at client side -
Exception in
you have to specify them in service.xml file
On Mon, Feb 18, 2008 at 4:39 PM, Christian Mielke [EMAIL PROTECTED] wrote:
OK thanks for your reply, but RAMPART needs the policy in the services.xml,
or not? Or is there another way to specify the policy for RAMPART and not in
the services.xml?
Hi Moley,
If I understood your question correctly, you don't have anything to
configure in your axis2.xml or service implementation class in order to
get the REST support.
Suppose your service is Sampleservice and it has one operation called
sayHello(). Then you can invoke your service in
Axis2 by default supports both REST and SOAP unless u explicitly turn it
off. Hence the default config makes all service can be accessed via REST.
e.g the version can be accessed at
http://localhost:8080/axis2/services/version/getVersion
Thanks,
Keith.
On Thu, Feb 21, 2008 at 3:23 PM, Moley
Hi Everybody
I am getting the same problem even when the return object only has an array
of primitives
Response message from web service is;
?xml version=1.0 encoding=utf-16?
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:xsd=http://www.w3.org/2001/XMLSchema;
Thank you for your reply Martin,
I'm digging into the problem more now. The offending service is defined
by some wsdl that is complex enough to potentially obscure the problem.
I will try and recreate the problem with a simple example and forward on
the results as I get them.
Thanks again for
Is this still broken? Is there really no way for me to run the Maven aar
plugin to build an archive that
Has a WSDL with external schemas ? I try and everything builds, but I
cannot get the WSDL back from my service.
I don't believe supplying the full path to the schemas is possible (they
Hi Samir,
No we are getting into an area that I am not very
familiar with.
I saw the same behavior with the savan sample.
I turned on a whole bunch of debugging and found
out that the publication message within the
listener service was getting
through most of the phases but seemed to be
getting
Hi,
I work on a webapp and I write my own transport (transportListener and
transportSender)
I use an axisServlet configured with axis2.xml.
i need to obtain the servlet context during the configuration of my
transport (init() method)
Is it possible to obtain the servlet context by using
I am creating an API layer over the Axis generated classes - one of the
methods created off the stub is 'getAlertInterfaces' which returns
'AlertInterface[]'. When I try to pass the 'AlertInterface' array that
was returned form 'getAlertIntefaces' I get the following exception.
What I am trying
Is there a nightly rampart build available. I see the Axis2 nightlys at:
http://people.apache.org/dist/axis2/nightly/, but I haven't been able to
find anything pointing to a new rampart nightly build.
-Simon
I would like to store my policy information in a separate file and reference
it from within WSDL via wsp:PolicyReference/@URI attribute. This does not
seem to work for me.
When I embed the policy details within the WSDL and then reference the
policy internally (e.g. wsp:PolicyReference
Hi Gordon,
This type of problem has been posted before, it was quite some time ago, you
could search Axis mail list.
You could look at upgrading from Axis 1.3 to Axis 1.4.
I had no problems when upgrading from Axis 1.3 to Axis 1.4.
I use Axis 1.4 and have no problems with sending and
Hi,
I want to setup maven2 project with axis2, but I can't find any
example. What I want to achieve, is to build server-side classes from
given WSDLs, implement the skeletons and build aar archive and maybe,
deploy them to given server.
Could you someone share with me the pom.xml, how it should
Hi, I tried to deploy axis2 1.3 sample web service StockQuoteService
on SunOne app server 8.1, and I keep getting errors when trying using
http (and same error using Java client):
http://localhost:8080/axis2/services/StockQuoteService/getPrice?symbo...
Response:
soapenv:Reason
soapenv:Text
Hi Simon,
Is there a nightly rampart build available.
http://people.apache.org/repo/m2-snapshot-repository/org/apache/rampart/
regards,
/nandana
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
mathieu fabre wrote:
Hi,
I work on a webapp and I write my own transport (transportListener and
transportSender)
I use an axisServlet configured with axis2.xml.
i need to obtain the servlet context during the configuration of my
transport (init() method)
Is it possible to obtain the
I know that rahas has been integrated into rampart but I was interested at
looking at this example :
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/security/rahas/RahasScenario3Test.java
which talks about using an acquired
I started adding rpc/encoding some times ago and there are some suggestions
for that. I have to finish it.
The current status is not completed. Most probably this will available with
Axis2 1.4 release.
Please create a jira with your wsdl.
thanks,
Amila.
On Thu, Feb 21, 2008 at 6:45 PM, John
Hi all,
does anyone know of a piece of code similar to the one below that
can read/parse a local WSDL file
serialized in a string rather than a remote WSDL given by a URI?
Thanks
Sukma Agung Verdianto wrote:
Hi Demetris,
You can try to use wsdl4j
Hello from an Axis2 newbie. I joined too late to reply to the subject
thread, which addresses getting Axis2 to report the original WSDL. Here
is what Upul Godage said there on 2008-02-05:
There is another parameter. modifyUserWSDLPortAddress Try adding this
parameter also with the value
Hi Demetris,
To read a local file you could simply use file:///path/to/wsdl/file.wsdl
as readWSDL argument - reader.readWSDL(file:///path/to/your/wsdl);,
Or if you have a WSDL serialized in String, you could use reader.readWSDL(
null, new InputSource(new StringReader(wsdlString)));
Regards,
Sukma
Hey Sukma,
thanks for the response - I oringally went with the second option
but I was getting an exception
on the StringReader. I think I know what the problem is - at least you
verified for me that I am on
the right path. I appreciate it.
Many regards once again
Sukma Agung Verdianto
(crossposted on the user and dev lists)
I'm heading to Microsoft next week along with a number of other Apache
folks to meet with them about improving compatibility between Apache
projects and Windows Server 2008. I'd like to get input from the
community as far as what people would like
37 matches
Mail list logo