Hello,
I've got problem getting right response from server. Webservice on server is
written in .NET. I invoke a Login service with right parameters (it works in
a browser). The service use cookies on client side, so I guess that could be
my problem. I've found macro in axis2/c
axis2_rest_sender_get_param_string is declared and called in
rest_sender.c, but there is no method supplied.
Generating Code...
Creating library ..\deploy\lib\axis2_http_sender.lib and object
..\deploy\lib\axis2_http_sender.exp
rest_sender.obj : error LNK2019: unresolved external symbol
Hi Simon,
Simon Elbaz [EMAIL PROTECTED] writes:
Hi,
I would like to transmit an axiom_node_t or axiom_element_t
(axis2c-src-0.96) to a Xerces parser (xerces-2.7.0) through for
example a stringbuffer message.
Is it possible to do it and how ?
If you need a node as a string there is a
Hi,
I am trying to add the filter for isapi_redirect.dll in IIS for
mod_axis2_IIS.dll using IIS management console as per the documents
points
Using the IIS management console, add isapi_redirect.dll as a filter in
your IIS/PWS web site.
The name of the filter should reflect its task
this is fixed now. try with the latest svn.
Dushshantha
On 3/2/07, Dave Meier [EMAIL PROTECTED] wrote:
axis2_rest_sender_get_param_string is declared and called in
rest_sender.c, but there is no method supplied.
Generating Code...
Creating library ..\deploy\lib\axis2_http_sender.lib
Hi Viji,
I followed the directions in the iis text file and the filter shows
green in the IIS console. Are you using IIS 6.0 or 5.1? The filter
appears to be for 5.x only, so maybe that's the problem.
I did all the steps in:
How to configure IIS module for Axis2C
Use the Axis2C vc project
Hi,
i have a problem... I have a org.apache.axis2.context.MessageContext and
to work on attachments i should use the SAAJ api, but how can i obtain
an org.apache.axis2.saaj.SOAPMessageImpl from a MessageContext?
Thx!
-
To
Hi Lorenzo;
Go through the example located @ axis2-home/samples/soapwithattachments
It demonstrates how to use SwA to send attachments.
/sumedha
Lorenzo wrote:
Hi,
i have a problem... I have a org.apache.axis2.context.MessageContext and
to work on attachments i should use the SAAJ api, but
Hi all,
I'm a newbie in web services and after lots of reading I'm trying to
evaluate Apache Axis and Apache XML-RPC api.
The following questions come to my mind:
1- does Axis make any use of xml-rpc internally?
2- does an Apache XML-RPC based web service peform better than a
I just saw that sample, but it didn't help me...
I'm at server side, and i have a service using Axis1.4.
Now i have to rewrite it in Axis2, but there is nomore the getMessage()
in MessageContext class to retrive a SOAPMessage object.
Maybe i can do the same things without using saaj (starting
Hello,
due to memory efficiency I work with SwA to send messages based on java
streams. Is there a possibility to secure such messages with Rampart? Is
there any support for SwA in Rampart planned for future releases?
Regards,
Sebastian
signature.asc
Description: OpenPGP digital signature
Hi,
OMElement result = servClient.sendReceive(method);
System.out.println(result);
I get this body:
soap:Body/soap:Envelope
PassExcelBinaryResponse
hi,
is there a possibility to set the charset of the axis fault from utf-8 to
iso-8859-1
thanks, peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rampart has the capability to secure attachments send using MTOM..
I'm not sure whether is there or planned support for SwA..
Thanks,
Thilina
On 3/1/07, Sebastian Roschke [EMAIL PROTECTED] wrote:
Hello,
due to memory efficiency I work with SwA to send messages based on java
streams. Is there
Hi,
I'm trying to pass the Authorization header via HTTP.
Im using axis2 1.1.1 and trying to set the options like that
HttpTransportProperties.Authenticator auth = *new*
HttpTransportProperties.Authenticator();
auth.setUsername(username);
auth.setPassword(password);
You can get this done by putting a custom written handler in to the
outflow.. This guide[1] will help you out..
Thilina
[1] http://ws.apache.org/axis2/1_1_1/modules.html
On 2/28/07, keith chapman [EMAIL PROTECTED] wrote:
If you try getCurrentMessageContext() from the skeleton what you get is
Still stuck... i still need to retrive a SOAPMessage from the
MessageContext..
for example:
java.util.Iterator it =
msg.getMessage().getAttachmentsImpl().getAttachments().iterator();
where msg is a MessageContext...
How do i rewrite it in AXIS2??
If i find a way to obtain a
Hi Thilina,
thanks for the answer. I know that Rampart is able to secure MTOM
messages. But utilizing MTOM is not usable for large messages. The
amount of required memory is that high it is not usable for our
project... I don't know the excact reasons for that, but in our
performance tests the
I am testing some interoperability between a Java Client using Axis and
a .NET ASMX Webservice and am experiencing a problem and was wondering
if anyone has an idea of what is going on.
If I have a class that contains a data member that is abstract and try to pass
a
derived class type into
Hi all,
I have implemented messageformatters and messageBuilders for REST. The
following message formatters have been set in the default axis2.xml.
messageFormatter contentType=application/x-www-form-urlencoded
class=
I have done some investigating in the Rampart module and one reason it uses
a lot of memory is that in the RampartEngine it creates a RampartMessageData
which appears to convert the entire message to a DOM and then back to OM.
Bypassing this processing by modifying the Rampart module.xml allows us
Hello,
I'm pretty new in web services and axis...
Here is the simplified class file IDataCenter.java
package com.cnes.sitools.amda;
import java.util.Date;
import javax.activation.DataHandler ;
public interface IDataCenter {
public DataHandler getParameter(String mission, String
Haha, ok. I was looking at the code in AxisEngine.java and the Phase
code as well, and maybe there is a way to do this without code changes.
If I declare a Post-Dispatch phase, without specifying the class
attribute, it will be a default Phase that does nothing. Then if I
implement my own CleanUp
Sorry to keep bringing this up, but how do I get access to the
OutMessageContext. I'm assuming that the
MessageContext.getCurrentContext() will only bring back the
InMessageContext?
Roshan Punnoose
Phone: 301-497-6039
-Original Message-
From: Punnoose, Roshan [mailto:[EMAIL PROTECTED]
Hi Keith/Depal
I had read that article and I beleive still I have few questions on this:
Whats an in-only operation - is it mapping to an operation like void
test(OMElement om) on the Service? I tried that operation type with
sendReceive and it worked [the service was also deployed in axis2 with
Hi ,
i have defined a bean using beanMapping in Wsdd file.
do i need to use arrayMapping if i am using the array of beans in method
signatures?
what difference it makes by using arrayMapping tag?
-chandra
Hi,
I'm having a problem with session using a Service Client. I have two methods
calling two different operations of a web service. The webservice is not
implemented in axis2.
I need to use a session so the web service can identify the axis2 client by
each call.
My class defines a single
Hi,
I would like to find out if there is a way I could get the content of
server-config.wsdd programmatically.
I understand that server-config.wsdd is created when I call the Axis
AdminClient with the Axis servlet URL and a deploy.wsdd file. The
server-config.wsdd file is generated into the
Hi!
I am relatively new to axis. I was able to install axis and the happyaxis
part shows fine. Every thing except the
the list action works. When called, it returns the following error:
And now... Some Services
AXIS error
Sorry, something seems to have gone wrong... here are the details:
Thank you for the very fast response.
If possible please post us some numbers of the time comparison. Make
sure to avoid the System.out part when doing the comparison (this
encoding takes time :( )...
First let me explain the setup. The two machines are identical
hardware...Pentium 4 2.8GHz
Hi,
Apologies for the newbie question. I need to use Saxon in my service,
and I'm struggling to figure out where to set the system property needed
to achieve this. I've tried making calls to System.setProperty() in my
service implementation class, but this results in class not found
exceptions
If you have overloaded operations in WSDL, you cannot use doc/literal
wrapped style. In the wrapped pattern, you require an element to have the
same name as the operation, and you cannot have two elements with the same
name in XML. Other than that, doc/lit wrapped has the nice advantage that it
is
You can probably pass them into Tomcat as command line options in the Tomcat
startup .sh file... (e.g. add -Dsome.property=foo to the java command).
Sometimes you can set an environment variable that will automatically be
read and included as part of the startup script (e.g. weblogic has
Anyone ever see this error before:
Unable to find corresponding context for the serviceGroupId: some
large ID
I'm using the nightly build
Roshan Punnoose
Phone: 301-497-6039
BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
Derek,
Could you please log a JIRA bug and upload the sample code? Let's try
to create the scenario on our boxes...
thanks,
dims
On 3/1/07, Derek Clayton [EMAIL PROTECTED] wrote:
Thank you for the very fast response.
If possible please post us some numbers of the time comparison. Make
sure
All,
Is there anyway to set a requests read timeout programmatically? I know
it can be set within the axis2.xml file; however, the value there is
fine for most requests. I need to extend this value for only one or two
request types.
Regards,
Larry Johnson
There is a setTimeOutInMilliSeconds method on the Options class if you are
using the ServiceClient.
_
From: Johnson, Larry D (LJOHNSON) [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 12:08 PM
To: axis-user@ws.apache.org
Subject: Set Read Timeout Programatically
All,
I have a two enet addresses on a server. When I request the wsdl file from my
browser:
http://gcnss2.atsdev.sensis.com/DBRI/services/AssetInfoService?wsdl
this is an excerpt of what I see:
….
wsdl:output name=getAllAssetsResponse
wsdlsoap:body
Brennan,
Thanks for the reply. I understand the value of the doc/literal wrapped
style. I was hoping to go one step further though. Axis 1.X supports RPC,
Document, Wrapped, and Message style services. I was hoping to determine
the benefits of using Messsage style services over doc/literal
Also, some research I did indicated (if I understood it correctly) that in
Axis1.1.1 MTOM doesn't really work as an attachment - it ALWAYS will get
encoded as Base64 embedded in the message - there was a config option
previously (in Axis1.0) that allowed some sort of parameter to define binary
The Message style, as defined in Axis 1.x, is really just raw XML (no
databinding). You would, of course, use this if you did not want Java - XML
databinding. E.g., you want to do a transformation with XSL or XQuery, or do
your own XML parsing, etc., etc.
-Original Message-
From:
If I understand the question correctly, then applying:
-d databinding none
To wsdl2java would be the way to do this in axis2. See:
http://ws.apache.org/axis2/tools/1_1/CodegenToolReference.html
HTH,
Robert
On 3/1/07, Spies, Brennan [EMAIL PROTECTED] wrote:
The Message style, as defined
Hi Sebastian,
thanks for the answer. I know that Rampart is able to secure MTOM
messages. But utilizing MTOM is not usable for large messages. The
amount of required memory is that high it is not usable for our
project...
There can't be any difference between the memory consumption of SwA
MTOM
Exactly. I am trying to determine if there is any benefit of creating a
service this way. Are you still able to specify a schema for both your
input/output arguments in the wsdl file if you send messages this way?
-Josh
On 3/1/07, Spies, Brennan [EMAIL PROTECTED] wrote:
The Message
Yes. This is independent of your databinding choice.
-Original Message-
From: Joshua White [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 01, 2007 12:46 PM
To: axis-user@ws.apache.org
Subject: Re: Benefits of using Message style WS
Exactly. I am trying to determine if there
The Axis 1.x user's guide is using style in this context to refer to both
the WSDL style and the databinding choice. The only difference then b/n
Document and Message is that Message has no databinding.
-Original Message-
From: Spies, Brennan
Sent: Thursday, March 01, 2007 12:49 PM
Hello,
I have a Java client running through Java 5.0 that is utilizing Axis to connect
to an https endpoint.
It appears that the Call object I am using builds up a direct socket connection
(socket:// PROXY=DIRECT) to do this, even if I have specified an HTTP proxy
that it should be using.
I am using Axis 1.3 and would like to know if the issue related to
wrapArrays has been resolved in later versions of Axis.
Currently we see null pointer exceptions as a result of this ambiguity. In
the following example we are not using the undocumented option of
wraparrays and probably using
You can use the org.apache.axis.utils.Admin instead of the AdminClient.
See usages here:
http://www.google.com/search?hl=enq=org.apache.axis.utils.AdminbtnG=Google+Search
-- dims
On 3/1/07, Kathy Chan [EMAIL PROTECTED] wrote:
Hi,
I would like to find out if there is a way I could get the
[EMAIL PROTECTED] please subscribe first using rampart-dev-subscribe@
On 3/1/07, Thilina Gunarathne [EMAIL PROTECTED] wrote:
Hi Sebastian,
thanks for the answer. I know that Rampart is able to secure MTOM
messages. But utilizing MTOM is not usable for large messages. The
amount of required
Ok..a couple of additional questions and some interesting behavior.
The first items is that I was trying to convert my endpoint into a URI, and
when I did a super.cachedEndpoint.toURI() from within the Stub class, it
actually fired a correct network connection, with https://host and proxy=HTTP
Hi, I need this too.
Because Axis 1.4 seems can't generate wsdl in which an element has
minOccurs=0 attribute automatically
-Original Message-
From: John Eapen [mailto:[EMAIL PROTECTED]
Sent: Friday, March 02, 2007 2:27 AM ?
To: axis-user
Subject: How can I set wsdlFile attribute
Hi all,
I need to generate wsdl from a java interface in which an element has attribute
minOccurs=0, can axis 1.4 generate this? thank you very much
Best Regards,
WANG Chi
Wang-
java -classpath %CLASSPATH%;. org.apache.axis.wsdl.Java2WSDL %1
-location=http://localhost:8080/axis/services/%1 -o %1.wsdl
replace %1 with the name of the Java class
Martin--
---
This e-mail message (including
In http://ws.apache.org/axis/java/user-guide.html
you can find all the info, expecially in
http://ws.apache.org/axis/java/user-guide.html#Java2WSDLBuildingWSDLFromJava
you can read how to produce a wsdl from a java interface
This guide is about Axis1.2 but I use that with Axis1.4
Regards
P.
Hi Eapen,
I've found this. In wsdd in service element you can add a subelement wsdlFile
to specify the handcoded wsdl, for example
wsdlFileinvocationmanager.wsdl/wsdlFile
I put this wsdl in WEB-INF/classes, so it is in classpath
Regards,
WANG Chi
-Original Message-
From: WANG
Hi Martin,
Thank you. But this seems doesnot work. I use the ant task to do this,
axis-java2wsdl typemappingversion=1.2 style=WRAPPED use=LITERAL
classname=com.aaa.InvocationManager location=${invocation-url}
bindingname=InvocationManagerSoapBinding
namespace=urn:card.soap.ota.gemplus.com
yes , you are sending an invalid service group id to the server.
One issue might me session has timeout.
Thanks
Deepal
Punnoose, Roshan wrote:
Anyone ever see this error before:
Unable to find corresponding context for the serviceGroupId: some
large ID
I’m using the nightly build
Hi Thomas;
Please create a JIRA , seems like we need to support different session
ids , at the moment we support JSSION but not ssnid.
Thanks
Deepal
Hi,
I'm having a problem with session using a Service Client. I have two
methods calling two different operations of a web service. The
Hi,
I am trying to enable my webservice to handle both REST and SOAP. I am
currently using ADB for databinding. Also I changed the '
'enableRESTInAxis2MainServlet' flag to true in axis2.xml file. Please
see the file snippet below:
!--parameters help to tweak the message handling
Hi Nalini ;
As I can see you are using Axis2 1.1 release , any possibility of
checking with nightly builds ?
Even in current code base we are no loner use that parameter as well ,
only one parameter to control the REST support.
Thanks
Deepal
Hi,
I am trying to enable my webservice to
61 matches
Mail list logo