Hi,
I'm writing a web service using Axis2 that passes back binary data on the
response. Inside my service I achieve this by creating a DataHandler
corresponding to the File I want to return, then add in some OMText to the
response by calling OMFactory.createOMText(Object, boolean).
My Service is
Got error the first time, here it is again, hoping I
am not posting again by mistake:
Will the ordering of attachment maintained when the
attachments are send/recieved. i.e. if I attached
aaa.jpg, bbb.jpg and cc.jpg in client code, will
server receive the attachments in same order?
Since there i
I'd like someone make a comment on my solution.
Thanks
Mikelantonio
ServiceGroupContext
sgc=MessageContext.getCurrentMessageContext().getServiceGroupContext();
Is this code in client side or the server side ?
HashMap map=new HashMap();
QName qn=new QName("http://ws.a
Hi,
You can put parameter/values in the module.xml
After that parameter values can be read as
HandlerDescription..getParameter(parameterName);
Or if you put in the services.xml it can be read when the following
method of the handler is invoked.
public InvocationResponse invoke(MessageContext ms
Hi,
When you engage the module to client it has to be engaged each time you
instantiate a new ServiceClient. Each time the module is engaged it will
be extracted into the temp folder to do class loading much faster.
You can avoid this by engaging the module to the
ConfigurationContext[1]. Then it
A Java sub-project of Samba called JCIFS (http://jcifs.samba.org/) has NTLM
authentication as one of its features. Never used it for NTLM, but the Windows
fileshare piece is solid.
There is also another lib, but it's a bit old:
http://www.luigidragone.com/networking/ntlm.html
Regards,
Brennan
Hi,
Please see the attached email where I tried to address your question:)
The idea with web services is that you can pass/return any type of
object as long as you define an XML schema for it. The schema
definition tells the data binding tooling (i.e. ADB, XmlBeans, etc) how
to convert your type
Hi,
You can try this out.
WSO2 WSAS (http://wso2.org/projects/wsas/java), which is based on Axis2,
supports deploying "Axis" services also. That means you can run both Axis
and Axis2 services. So you can try adding the Synapse VFS transport listener
(http://synapse.apache.org/) to WSAS axis2.xml
May be client is using StockQuoteService and the server is listening on
queue/StockQuoteService. Start jboss and the server and see whether service
is listening to the destination. You can check that from the JBoss
jmx-console, going to the relevent destination page and checking the
receiversCount
Maybe use ISAPI filter with tomcat, so you redirect requests to IIS, which
can be configured to support NTML.
On 4/3/08, Phani <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I wrote an axis2 client to sent request to a server and get the response.
>
> I have added NTLM and SOAP attachment support. I wante
Hello,
I have a problem with Axis2. It keeps complaining about
"org.apache.axis2.AxisFault: can not find read method for : inherited".
I have checked my source code to make sure I have read methods "public
boolean isInherited()" or "public boolean getInherited()", and I have
checked there are corr
Greetings Axis users,
We are accessing a web service from within a jsp/servlet webapp within a
Tomcat container, using Axis2-1.2. We also make use of the Rampart security
module.
I want to clarify how we should 'engage' module. At the moment we do this
for every request to the webservice using:
>From your post I take it you are using Axis 2 and are not using a
data-binding? E.g. XML Beans or JibX
If you use a data-binding you can convert the response in your client
code into an XML string by doing a toString() on the XML Bean (I've
done this with the XML Beans binding, am just assum
Hello, My customer wants XML as response into the XML, he sent me his
XSD file and my response have to be compliant with that. Until now I was
returning beans as response, but, is it possible return raw XML as
response ? or an Element Bean ?? what do you think ??
thanks
Rodrigo
This mess
It's easy for you, may be not for me:) Could you please show me a starting
point or example?
Thanks
Joe
On Tue, Apr 1, 2008 at 4:34 AM, Paul Fremantle <[EMAIL PROTECTED]> wrote:
> Joe
>
> I think you will need to write your own handler/module to do this.
> Its pretty easy to do.
>
> [Alternative
Hi Anne,
Now deployment Problem is solved. I have replaced the old axis jar
file from new downloaded jar files.
I have a doubt regarding Document Literal ...
1. I want to send input as a String XML. Not the Bean Object .
In WSDL we added XSD that make a lots of Bean, I want to pass inpu
Hi,
I'd like someone make a comment on my solution.
Thanks
Mikelantonio
ServiceGroupContext
sgc=MessageContext.getCurrentMessageContext().getServiceGroupContext();
HashMap map=new HashMap();
QName qn=new QName("http://ws.apache.org/namespaces/axis2";,
"ServiceGroupId");
O
Hi All,
I deploy my services in tomcat with Axis 1.2.1. Again I have to write
clients using axis 1.2.1 for the deployed services. But I am generating
the WSDL for my services using axis codegen tool which uses Axis2 1.3 as
I am unable to generate WSDL using cmd line java2WSDL which is giving
class
Hi everybody! Does any one of you know any how to on using custom serialization
and deserialization? Google could not help me this time, XD!
On the other hand, any good article on using wsdd files?
Thanks,
Pere Urbón-Bayes <[EMAIL PROTECTED]>
I+D Engineer
Tel: +34932279206
Hospital Clí
Hi all,
I have a problem with rampart 1.3 on axis2 1.3 on Tomcat 6.0.
I have this exception when i try to launch my client :
Caused by: org.apache.axis2.AxisFault: Must Understand check failed for
header http://www.w3.org/2005/08/addressing
and another now :
org.apache.axis2.AxisFault: WSDoA
I don't want to read these parameters in the invoke method each time the
handler is called.
I want to get the configuration information when the handler is initialised in
the AbstractHandler.init(HandlerDescription) method.
When I call getParameter() from here I get null, when I call
getPare
Thanks for the fast answer, Deepal.
> > Hi all,
> >
> > I have read different mailings in this list, but they did not answer
my
> > questions about soapsessions.
> >
>
> > Here is my scenario. I have two services deployed in a single
> > servicegroup. I now have setup a client which calls the serv
Hi Asankha,
I can't find out the correct full JNDI name of the queue. I get the log
message:
2008-04-03 14:23:24,659 INFO
[org.jboss.mq.server.jmx.Queue.StockQuoteService] Bound to JNDI name:
queue/StockQuoteService
But when I use queue/StockQuoteService as JNDI name it's still the same
Hi all,
I have read different mailings in this list, but they did not answer my
questions about soapsessions.
Here is my scenario. I have two services deployed in a single
servicegroup. I now have setup a client which calls the services and I
can see that the ServiceGroupContext stays the
Hi,
I'm using Axis 1.4, I have added activation.jar and mail.jar to it so as to
send and receive attachments.
It is working fine with HTTP protocol.
Now my question is can we use this Axis_1.4 + activation.jar + mail.jar
combination to send attachment over FTP or FTPS rather than HTTP?
Hi,
I'm using Axis 1.4, I have added activation.jar and mail.jar to it so as to
send and receive attachments.
It is working fine with HTTP protocol.
Now my question is can we use this Axis_1.4 + activation.jar + mail.jar
combination to send attachment over FTP or FTPS rather than HTTP?
Hi all,
I have read different mailings in this list, but they did not answer my
questions about soapsessions.
Here is my scenario. I have two services deployed in a single
servicegroup. I now have setup a client which calls the services and I
can see that the ServiceGroupContext stays the same in
RICHARD FEATHERSTONE wrote:
Hi,
I want to be able to configure a module in the services.xml for each
for each service that uses the module and obtain the parameters in the
init method of each of the handers in the module.
Hmm ,you can not do this. What you can do that is do some processing on
Hi,
I want to call a service from another service.
I make this with the creation of a new stub in the service for the service
that i want to call (I believe that it isn't the best solution, but is the
only that I have found).
So now the problem is that I want to use the same session of the service
Hi,
I want to be able to configure a module in the services.xml for each for each
service that uses the module and obtain the parameters in the init method of
each of the handers in the module.
Can anyone tell me how I can obtain the Parameters by name from the
HandlerDescription?
Thanks,
R
hi,
is there some problems in axis-1.4 java2wsdl for inner class. does anyone
meet the same problem with me.
-
雅虎邮箱,您的终生邮箱!
Hi Asankha,
Thanks for reply, i recently submitted a bug fix to Axis2 for this issue and
it has been submitted into head revision. For details see
https://issues.apache.org/jira/browse/AXIS2-3591
Thanks,
Cathal
asankha wrote:
>
> Cathal
>
> An updated version of the JMS transport is availab
Hi,
I wrote an axis2 client to sent request to a server and get the response.
I have added NTLM and SOAP attachment support. I wanted to test those but I
dint find any webservices in the internet.
Is there any website which provides these types of Webservices (like
sharepoint) ?
Tha
Hello,
Does Axis2 support 2D/2D object array as return type?
Chinmoy
Hello,
Does Axis2 support 2D/3D object array as return type of a service?
Chinmoy
35 matches
Mail list logo