Hi folks,
*Please* spend some time reading this fully. I am tired of trying to solve
this problem for more than a week now.
I have to write a webservice client using Axis 1.4. The webservice is very
old, written using servlets and apache-soap. I do not even have the WSDL for
it. So I wrote WSDL
This is the minimum set of dependencies you want to , write a and invoke
a service ;-)
activation-1.1.jar
annogen-0.1.0.jar
backport-util-concurrent-2.2.jar
commons-codec-1.3.jar
commons-fileupload-1.1.1.jar
commons-httpclient-3.0.1.jar
httpcore-4.0-alpha5.jar
httpcore-nio-4.0-alpha5.jar
httpcore
> Kevin, Thanks for your response. My client is Axis 1.4. When I try to
> hit the Axis2 service, I get the following exception
>
>
>
> The endpoint reference (EPR) for the Operation not found is
> http://localhost:9082/axis2/services/AcordWinsRateService and the WSA
> Action =
>
>
>
> Where my
> Hi all,
>
> I have a service exposed in an war which has aar inside. This service
> is failing when it is called even if calling just the business from
> POJO in eclipse is working.So I feel it is a deployment issue/class
> path etc. How can I enable/see all the logging on the Apache Axis2
> jav
Hi Michele ,
Will you be able to contribute that test case to Axis2 , may be you
could create a JIRA and attach the test case :)
-Deepal
> Hi all,
>
> I'm unit testing some code and I see a NPE in the HTTPCoreNIOSender.
> The stack trace is the following:
>
> Exception in thread "HttpCoreNIOSender
Hello all,
I've been creating web services based on WSDL files, using Eclipse's "Web
Service" wizard and deploying on Axis2 without much difficulty.
At first, I tested my services by using the Web Services Explorer within
Eclipse.
Now, I'd like to build my own client to access the web s
So, does this means that i have to programmatically register the handler in
Websphere and can't use the Axis standard way of configuring it in the
axis2.xml configuration file.
I will try to find out if websphere provides some native api's to get the axis
configuration at runtime.
Thanks for y
I have a problem trying to use the BeanDeserializer outside of the
standard SOAP message processing. I wonder if this is possible.
I have an object that is normally transmitted via Web Services that I
want to persist as an XML file, and then re-use it at a later date as an
Object. This Objec
Hi,
are you trying to create an ebRIM CSW server, that is interesting -
sorry I missed your earlier emails - I have already run wsdl2java on
the ebrim wsdl files, I also tried doing this with Apache Tuscany -
works with Axis, not with Tuscany.
I don't think this is right forum for a discussion so
Hi Amila,
Your solution was correct; I replaced the Axis2 v1.3 libs with the nightly
build (snapshot) libs and everything works fine. The Eclipse plugins don't
work, but if I use the WSDL2Java in the nightly build it works as I expected
it to.
Amila Suriarachchi wrote:
>
> can you please try
Hi ,
The client Im using is Axis 1.4 in java. The wsdl defines both SOAPAction
and wsaw:action settings. In the client if I add the line
call.setSOAPActionURI(" operation name") then I am able to hit the service.
Is there a way to avoid making this change??
Anjana
-Original Message-
Fr
Hi Andreas,
Thanks for help. I am generating jaxb2 code with XJC ant task. This is
generating ObjectFactory.java but not jaxb.index file. Is this file from jaxb2
or it is from old jaxb1? If I am googling for this file I get so few references
and no clear documentation for jaxb.index.
I put
Andreas,
it's very odd indeed -- the exception does not occur every time (it
suggests me that is a concurrency problem).
I'm not testing a deployed service, so I really don't know what
getMessageReceiver() should return.
Michele
On 10 Jan 2008, at 19:32, Andreas Veithen wrote:
Michele,
Andreas,
it's very odd indeed -- the exception does not occur every time (it
suggests me that is a concurrency problem).
I'm not testing a deployed service, so I really don't know what
getMessageReceiver() should return.
Michele
On 10 Jan 2008, at 19:32, Andreas Veithen wrote:
Michele,
Hi,
I have a web service that uses SimpleSessionHandler to maintain
sessions. I had the following lines in my service description in
server-config.wsdd.
I also created the client-wsdd like following lines in it.
Michele,
This would mean that mc.getAxisOperation().getMessageReceiver()
returns null. I don't know the code very well, but this seems indeed
strange. Can you also post your unit test?
Andreas
On 10 Jan 2008, at 19:14, Michele Mazzucco wrote:
mr.receive(nioFaultMessageContext);
On 10
Virgil,
Both the ObjectFactory class and the jaxb.index file are generated by
JAXB 2. They are required by JAXB to load the generated classes at
runtime. So, the message basically tells you that the generated
classes are not available in the classpath.
Andreas
On 10 Jan 2008, at 19:33, T
Hello,
I have a service which is exposing some classes which are mapped to an
external xml file with jaxb2. I want to use jaxb2 for getting/writting values
to my xml but when I send data on http for webservice I want to use the axis2
adb binding. My method that is exposing xml with jaxb2 i
Hi,
I am facing a problem while receiving the SOAP message from a .net
sender/client. Client is sending a sample SOAP message with Attachments.
Sample message :
POST /soap/services/myTestService HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 1.1.
mr.receive(nioFaultMessageContext);
On 10 Jan 2008, at 16:45, Andreas Veithen wrote:
Michele,
Can you post the code at line 442 in HttpCoreNIOSender.java that
triggers the error?
Andreas
Quoting Michele Mazzucco <[EMAIL PROTECTED]>:
Andreas,
it must be a concurrency-related problem b
Anjana
I'm not clear changing the WSDL file is the right solution here, but
you can do it. You save the WSDL, add it into the service archive, and
then set a flag called useOriginalWSDL.
However
Does the WSDL define SOAPAction or wsa:action settings? And what
client are you using.
Basically
So is there no way I can change the wsdl file??I am unable to hit the
service because it complains that WSA action is nullI have not specified
the SOAP action in my clientIs there a way out???
Anjana Kandalam
Private Client Group - AIG
Work: 908-679-2608
Cell: 908-596-0424
-Origina
The WSDL is generated on-demand... it isn't stored. If you want to
store it you can use a browser (Save As...) or wget to grab it.
Paul
On Jan 10, 2008 4:47 PM, Kandalam, Anjana <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> I have my services in Axis2 and I am using RawXMLINOutMessageReceiver as the
>
I have some previous advice on using MQ. In fact this was done with
Synapse, but the advice might help:
Websphere MQ 6 on Windows XP
QM_upul = default queue manager
MQ_HOME\bin\runmqsc.bat QM_upul
(Enter commands in sub-shell.)
define qlocal(Q1)
end
Using the file system b
Hi,
I don't have any specific suggestions, but I am aware that someone has
worked on this before. I suggest searching the Axis2 user and dev
archives for the following JIRA (which is the context in which is was
discussed previously):
https://issues.apache.org/jira/browse/AXIS2-2816
Cheers,
David
O
I have my services in Axis2 and I am using RawXMLINOutMessageReceiver as the
message receiver class. Axis2 is auto generating the wsdl. Can I know where
I can find the physical location of the file on my file system??
Hi,
We are currently using axis2 in a standalone server. I have been trying to
configure axis2 to hook up with websphereMQ. However i am unsure of how to
configure axis2 for this as all the examples i have found are for activeMQ.
Could anyone tell me how this can be done? My main area of concern
Michele,
Can you post the code at line 442 in HttpCoreNIOSender.java that
triggers the error?
Andreas
Quoting Michele Mazzucco <[EMAIL PROTECTED]>:
Andreas,
it must be a concurrency-related problem because I cannot reproduce it
when I execute instructions step-by-step with the debugger.
Hi,
By adding elementFormDefault="qualified" into my wsdl file, I eventually get
the empty namespace disappear (see compteAncre attribute) :
http://schemas.xmlsoap.org/soap/envelope/";>
http://findby.wsdocument.dao.acces.ancre.acoss.fr/1.0";>
http://datamodel.wsdocument.dao.acces.ancre.aco
Andreas,
it must be a concurrency-related problem because I cannot reproduce
it when I execute instructions step-by-step with the debugger.
Michele
On 10 Jan 2008, at 14:59, Andreas Veithen wrote:
Hi Mechele,
This issue is indeed strictly related to connection timeouts. I
remember that
On 10 Jan 2008, at 14:59, Andreas Veithen wrote:
It would be interesting to know which variable is actually null in
the handleError method. Do you think that you will be able to check
this?
-
To unsubscribe, e-mail: [EMAI
Hi Robert,
I'm using SOAP 1.1 and JAXB-RI data binding.
The correct soap envelope for the response should look like this:
http://schemas.xmlsoap.org/soap/envelope/";>
http://my.company.com";>..
But i'm not 100% sure if it does because i can't monitor the correct response
due to the Excepti
Hi, I'm trying to override the toString method in beans re-generated
by wsdl2java and it seems to be deleting this code. Is it an expected
behaviour or there is something wrong with my code?
Thanks in advance for your help!
-
To
As an addition to this discussion, if instead of trying to reference the
http://localhost/app/services/RegistryPublish.wsdl i get the following
error:
http://www.nabble.com/file/p14736457/serviceError.jpg
silver17 wrote:
>
> Hi Guys,
>
> I've searched a lot of these forum posts and haven't be
Hi Mechele,
This issue is indeed strictly related to connection timeouts. I
remember that there were other issues with NPEs in HTTPCoreNIOSender.
These were resolved in the meantime, but probably those corrections
have not yet been propagated to Axis2.
It would be interesting to know whic
I'm having the same problem also when I deserialize. The string field all
contains the same value from the first attribute.
Vasilis wrote:
>
> Anna,
>
> Thank you a lot for your help.
> I tried it and i get another error :-). The client can't deserialize
> correctly the response. I send a re
Hi,
No, the operation is Document/Literal...
Why?
> Date: Thu, 10 Jan 2008 11:13:58 +0200> From: [EMAIL PROTECTED]> To:
> axis-user@ws.apache.org> Subject: Re: [axis2] empty xmlns> > > Hello,> is the
> operation you are invoking RPC?> > Greetings, Angel> > > Henry Duc de Cagade
> de Branl
What SOAP version (1.1 or 1.2) and databinding are you using? You seem
to missing a uri in your envelope. All the soap monitor does is
convert the soap envelope to a string, and this error seems to be deep
into axiom. Seems to be failing around this code:
http://svn.apache.org/viewvc/webservices/c
To answer your first question, yes it was a typo.
I can also validate the wsdl and xsd's fine in eclipse, and when i set up
the web service I can hit it and return a response using SOAPUI.
Mauro Molinari wrote:
>
> silver17 ha scritto:
>> "http://localhost:8080/app/services'.: java.io.FileN
re-submit your inquiry using the king's english
Regards
- Original Message -
From: "westpine" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 10, 2008 7:54 AM
Subject: How to remove mustUnderstand attribute?!
>
> What a hell is mustUnderstand attribute?! I'm creating client to 3d party
Hi Amila
Thanks will try with nightly build and let you know. Just want to check
with you not sure how the nightly works should i be taking the build
which is out there with modified date 10-Jan-2008 11:50
(http://people.apache.org/dist/axis2/nightly/) or do i need to wait for
the build to
Michele
You might want to check the latest Synapse code from the QA 1.1.1
build. I know that Asankha usually prototypes his improvements in
Synapse first and then ports them over to Axis2.
Paul
On Jan 10, 2008 1:57 PM, Michele Mazzucco <[EMAIL PROTECTED]> wrote:
> Andreas,
>
> my problem looks q
You can use org.apache.axis2.dispatchers.AddressingBasedDispatcher.java as a
model
then in axis2.xml configure the handler as in
where the handler is configured into the engine as a Phase as in this example
which is then configured in phaseOrder of InFault,OutFault,InFaultFlow or
OutFaultFlo
Hi Axis2 users,
i have implemented a very simple Axis2 webservice (request-response), which
works correct as long as i don't use SOAPMonitor.
When I integrate SOAPMonitor into my Axis2 web-application, i get the following
RuntimeException (mapped to an axis2fault) at the webservice response:
"j
Andreas,
my problem looks quite similar to JIRA Synapse-205 [1], the
difference is that the second row of the stack trace is "failed" and
not "timeout".
Michele
[1] http://issues.apache.org/jira/browse/SYNAPSE-205
On 10 Jan 2008, at 13:23, Andreas Veithen wrote:
Hi Michele!
I think th
Deepak,
if you can get a reference to the configuration context you can do
something like this:
AxisService service = Utils.createSimpleService(new QName("EchoXml"),
new RawXMLINOutMessageReceiver(),
EchoXML.class.getName(),
ne
Hi Michele!
I think the NIO HTTP code in Axis2 actually comes from the Apache
Synapse project. There were several issues about NPEs reported for
Synapse. Maybe you can search the JIRA issues to see if your
particular issue has already been solved in Synapse.
Regards,
Andreas
Quoting Mic
What a hell is mustUnderstand attribute?! I'm creating client to 3d party
server and after migrating from axis1.4 to axis2 I found this strange attrib
added to the header elements of my SOAP request. How to get rid of it?
--
View this message in context:
http://www.nabble.com/How-to-remove-mustU
Hi,
I am using IBM Websphere Application Server and Web Service Feature Pack
version 6.1. I want to write a custom handler which I have to inject it in
Axis2 Soap Engine Phases. I could get some material but they were not helpful
enough since i don't want to use the module approach, i just ne
Hi all,
I'm unit testing some code and I see a NPE in the HTTPCoreNIOSender.
The stack trace is the following:
Exception in thread "HttpCoreNIOSender" java.lang.NullPointerException
at org.apache.axis2.transport.nhttp.HttpCoreNIOSender$2.handleError
(HttpCoreNIOSender.java:442)
at org.apac
Hi Bhushan,
Rampart distribution has a sample which demonstrate the secure
conversation usage. It
has a complete service and client implementation which you can run using a
ant script. Source
can be found here [1] .
And please post any questions you have in the Rampart mailing
Hello,
is the operation you are invoking RPC?
Greetings, Angel
Henry Duc de Cagade de Branlou wrote:
Hello,
Thanks for you reply.
I already have an elementFormDefault="qualified" defined at the
beginning of my xsd file.
But it still doesn't work.
Should this attribute be put somewh
Hello,
Thanks for you reply.
I already have an elementFormDefault="qualified" defined at the beginning of
my xsd file.
But it still doesn't work.
Should this attribute be put somewhere else in my xsd file ?
Thx
> Date: Wed, 9 Jan 2008 12:13:22 -0500> From: [EMAIL PROTECTED]> To:
> a
Hi.
I see this in stack trace:
org.apache.axis2.AxisFault: Please implement
org.presci.echo.service.EchoServiceSkeleton#echo_operation
This seems axis default empty skeleton message. Did you generate the service
aar with the correct code, perhaps you generated the aar with an old code...
Bye.
An
can you please try with a nighly build. Now axis2 directly use the xmlbeans
serialization.
thanks,
Amila.
On Jan 9, 2008 1:16 PM, Gaurav Lall <[EMAIL PROTECTED]> wrote:
> Hi all ,
>
> We are doing migration to axis2 from axis1, we are using xmlnbeans as data
> binding. mechanism.I am using axi
If you have a SOAP-based endpoint (i.e., either SOAP 1.1 or 1.2 binding)
then you just can't invoke the service using your browser. The service
expects a well-formed SOAP input, while your browser only sends a simple
HTTP GET request.
If you have deployed your service using Axis2 and the stand
56 matches
Mail list logo