Hi Diego,
In insertMappingAnnotations() you set the action two times and the latter one
seems like a copy-paste-and-forget issue:
...
_operationClient.getOptions().setAction("insertMappingAnnotations");
...
_operationClient.getOptions().setAction("urn:echo");
Might that be the p
Hi,
What is the Axis2 version we are talking about here ? BTW
OMPolicyReader is in the Neethi.**.jar AFAIR.
Ajith
On 6/22/06, Ron Turner <[EMAIL PROTECTED]> wrote:
Thanks, Kinichiro. In axiom-api-1.0.jar I can see
org.apache.axiom.om.OMContainer
but the version of OMPolicyReader I have is lo
Hi Deepal
Have you made any changes in the WS-Addressing module.
Can we have example for the same.
Thanks
Dharmendra
-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 21, 2006 9:45 PM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2] WS-Addressing
Hi Andrew;
http://www.wso2.net/kb/98
Andrew B wrote:
> Hi,
>
> I need to access files (property files and such) within the .aar, in a
> deployed Axis2 service. (in a subdirectory of the .aar file root).
>
> I have tried this so far:
>
> String path = incomingContext.getConfigurationContext().get
All,
I am using Axis1.4. When doing attachment, I found it seems no elegant
way to pass the file name attached. Below is my source code fragment:
String sourceDir = "C:\\temp\\example.doc";
//Get the file from the filesystem
FileDataSource fileDS = new File
Hi Everybody,
I really need to get this code working. I've posted 5 times regarding
this subject and had no reply at all. I would like to know if someone
knows how I could modify the code generated by the wsdl2java in order to
have a blocking dual client behaviour.
The code and the excepti
hi XingShan and Davanum,
Thank you very much for your help !
Now I can get the client IP, thanks again !
Regards,
- sukie
- Original Message -
From: "蘇 軼(CEC)" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 22, 2006 11:24 AM
Subject: Could I get the client IP address in service or Handl
Hi, folks:
While perusing the code generated by WSDL2Java (using the XMLBeans
constructor), I noticed that the skeleton interface for one of my services
was as follows. It seems very strange to me that the method throws an
exception of a type which is defined within an inner class of its subclass.
Hi all,
I am trying to call a comercial partner webservice thats return a string
and do not need input parameters.
Based on User guide ( Client for echoVoid Operation)
I am doing the followig:
- generating java code based on wsdl, using ecplise plugin.
- did a very simple client whit
Hello all,
I
get a strange error while trying to use axis2.0 (using JDK1.4.2) to access
a webservice that has an 'https' url. I have set the keystore etc. related
system properties and get this when I run the client. I did see just one
mail on this error and it turns out that the user had
Hi,I need to access files (property files and such) within the .aar, in a deployed Axis2 service. (in a subdirectory of the .aar file root).I have tried this so far:String path = incomingContext.getConfigurationContext().getRealPath( ... ).getAbsolutePath();but it gives an erronous path back. Any i
Joshua-
AXIS has supported all WSDL Datatypes simple or complex from the projects's
inception
note message references XSD schema datatype TradePriceRequest
TradePriceRequest contains ComplexType element
element TickerSymbol which contains 1 element of type xsd:string
But you can construct Com
you need to bump up the timeout. For which you need to use latest
nightly builds.
thanks,
dims
On 6/22/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote:
Dear All Axis2 users
I am working on Axis2 1.0 version. I am now trying to send large
attachment file the size is about 10 MB. Bu
Ali,
Yep. It was posted from Axis1. Only way to know is try some stuff out
:) Unfortunately the guy who did the port (me!) does not know much
about JMS :)
thanks,
-- dims
On 6/22/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote:
Hi all,
Does anyone know whether JMS URL syntax
proposal(http://
please try tweaking the jvm parameters for jrockit. Try the examples
in the following sites [1]
[1]
http://www.google.com/search?hl=en&lr=&safe=off&q=specjappserver+jrockit+site%3Aspec.org&btnG=Search
On 6/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi All,
I'm not sure if this qu
Hello all:
I'm sure this has been asked before, but i searched the archives on among other terms"ServiceContext" and "clearly defined" but could n't find anything. The javadocs for the ServiceContext class in Axis2
1.0 include a comment: "Well this is never clearly defined, what it does or the lif
Title: Message
It is
possible in Axis2 (not tried it myself)
google 'axis2 inheritance'
-Original Message-From: Joshua Fox
[mailto:[EMAIL PROTECTED] Sent: 22 June 2006
15:05To: axis-user@ws.apache.orgSubject: passing objects
of subtypes
My WSDL has type
information,
http://wiki.apache.org/ws/FrontPage/Axis/ClientIP
On 6/22/06, Peter Feng <[EMAIL PROTECTED]> wrote:
Perhaps you can check the Soap Envelope headers or Set
Soap Headers with this in your client code.
On the client side to set them if they don't exist in
your soap envelope already...
with automat
Try this:
MessageContext messageContext = MessageContext.getCurrentContext();
String ipAddress =
MessageContext.getStrProp(org.apache.axis.Constants.MC_REMOTE_ADDR);
-Original Message-
From: Peter Feng [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 10:58 AM
To: axis-user@ws.
Perhaps you can check the Soap Envelope headers or Set
Soap Headers with this in your client code.
On the client side to set them if they don't exist in
your soap envelope already...
with automatically generated stubs:
ServiceWS port = service.getServiceWS();
org.apache.axi
Hi all,
I have an handler that manipulates the message header (and eventually
redirects the request to another node). On the second node I have
another handler that updates the message context. The problem is that
while the target endpoint is correct, the message doesn't hit the target
service.
W
Thanks, Kinichiro. In axiom-api-1.0.jar I can see
org.apache.axiom.om.OMContainer
but the version of OMPolicyReader I have is looking for
org.apache.ws.commons.om.OMContainer
when it's instantiated. Just for curiosity's sake, where in your Axis2
distribution is OMPolicyReader located?
Best
AND See my URL for how to parse the info back into strings :)
-- dims
On 6/22/06, Keith Hatton <[EMAIL PROTECTED]> wrote:
This is Basic HTTP authentication, it's base 64 encoded - see for example
section 11.1 of
http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html
HTH
Keith
-
I tried that at first with commons-logging 1.0.4 and it didn't work,
so I asked around. I tried the same thing: debug --> classpath --> add
external jars and put in commons-logging 1.1 and it worked. One
helluva problem. I'll try and open a jira soon - brazil is playing in
the world cup today and
Hi,
It's axiom-api-1.0.jar.
But org.apache.axiom.om.OMContainer seems right.
package is slightly different.
Regrds,
kinichiro
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
It's axiom-api-1.0.jar.
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
In what jar file would I find the class
org.apache.ws.commons.om.OMContainer ?
I'm attempting to embed Axis2 in a server and am finding that the
initialization of the AxisServlet is failing at the time the OMPolicyReader is
instantiated because OMContainer cannot be found. Any help would
Title: Message
This
is Basic HTTP authentication, it's base 64 encoded - see for example
section 11.1 of
http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html
HTH
Keith
-Original Message-From: Andrew B
[mailto:[EMAIL PROTECTED] Sent: 22 June 2006
16:00To: axi
Hi muthana, you must be sure that the tomcat server is runing and the
url it's ok. Try the ulr in your browser for view the wsdl descrption.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
Hi All,
I just installed axis-1_4 axis on apache-tomcat-5.5.17 and now when I am
trying to access the list of services by accessing the following link :
http://localhost:8080/axis/servlet/AxisServlet
then instead of getting the list of services,I am getting the blank page saying
A
Davanum,I set the username and password on the SOAPBindingStub on the client side (with Axis 1) like this:clientStub.setUsername( );I thought this was HTTP Basic authentication. But, when I do the following, per your suggestion: HttpServletRequest request = (HttpServletRequest)incomingC
Deepal,
I've investigated in more detail what happens:
1 - separatate client:
a - options ANON_ROBUST_OUT_ONLY_OP + mepClient.execute(false): the
message is not received
b - options ANON_ROBUST_OUT_ONLY_OP + mepClient.execute(true): the
message is received, but on the client side I get an AxisF
Hi all,
I am using Axis for 3 years and I am falling down a very specific case.
I am trying to call a WS having a particular complexType as an output
part type :
wsdl:arrayType="tns:GeocoderResult[]"/>
When I
Thank you, Anne,
I will try to fix it with
CapeClear.
--Maxim
From: Anne Thomas Manes
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 21, 2006 4:05
PMTo: axis-user@ws.apache.orgSubject: Re: something is
wrong with my deployment or Axis ?
Also, the namespace attribute can ca
My WSDL has type information, but to handle subtype objects (document-literal), I need runtime type information in the serialization of objects. .NET has the possibility of adding this; is it possible in Axis?
For example, I want to return an object of a subtype of the declared return type.E.
Hi all,
Does anyone know whether JMS URL syntax
proposal(http://marc.theaimsgroup.com/?l=axis-dev&m=103617964921940&q=p3) is
well supported by Axis2? If yes, is that proposal up-to-date and does Axis2
supports all the properties listed in?
Thanks.
Ali Sadik Kumlali
P.S: I do know that the pr
Hi,
I'm not sure but maybe it's called "byte order mark" (BOM).
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-
To unsub
Hi Betsy, German,
When you say FTP is faster than HTTP do you mean in equality conditions,
or do you mean "a native FTP server is faster than a Java HTTP server"?
AFAIK, both protocols introduce a little overhead for the connection
establishment, and after that, just the raw data is sent over
Hi,
I can see that this has been discussed earlier on this list but yet I
have not found an answer.
Using Axis 1.4.
I'm trying to call a service which is expecting custom soap:headers. I'm
generating code with wsdl2java from the attached wsdl. If I use the -a
option with wsdl2java I get the
Hi Deepal
I will try the nightly build and let you know - do I need to set the
hotupdate to true for this [dont think so] - pls let me know.
thanks
Anamitra
Deepal Jayasinghe
Thanks for the reply Martin.
I am trying to avoid generating stubs (not an option for
me). I want to execute dynamically at runtime for a given wsdl. Is this possible
with Axis2? I know you can do it with Systinet.
Thanks,
Ted
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Wednesda
Hello list,I've developed my first axis-based service, which methods give back complex types. It works fine until i call a method, which gives back an array of a complex type. The data is correct, but the response contains a number before and after the soapmessage. This causes parser errors on the
Hi German,
I have not tried sending attachments with Axis2.
Betsy
-Original Message-
From: German Sakaryan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 22, 2006 4:43 AM
To: axis-user@ws.apache.org
Subject: Re: Is SOAP appropriate for large data transmission
Hi,Betsey
have tried to s
Hi,Betsey
have tried to send large files with axis2 ?
I get fast always broken pipe exception.
German Sakaryan
Betsy Frey schrieb:
SOAP without an attachment is inappropriate for sending large amounts of binary
data, because the XML requires it to be converted to Base64, which is
inefficient.
SOAP without an attachment is inappropriate for sending large amounts of binary
data, because the XML requires it to be converted to Base64, which is
inefficient.
With an attachment, SOAP over http has the overhead of the protocol, which is
not as fast as ftp, for instance.
I have used DIME at
Hi all,
I've got an handler intercepting messages. This handler sometimes has to
submit an IN-OUT request to a web service (before allowing the message
to pass through). The problem seems to be that the response is not
received (the result message contains a file, MTOM "encoding").
Any help would
Hi Everybody,
I would like to modify the code generated by wsdl2java in order to have
a dual blocking client because the web service operation that I'm
calling is particularly time consuming. I had a look at the
EchoBlockingDualClient.java example and have come up with the following
code. B
Thank you very much Deepal,
but coud you please, tell me how to do?
---
Riadh
- Original Message -
From: "Deepal Jayasinghe" <[EMAIL PROTECTED]>
To:
Sent: Thursday, June 22, 2006 1:28 PM
Subject: Re: Redirect SOAP Message using Handler?
With Axis2 you can
-ip vp
Can you check the following
links...The code is not that complex. The configuration is a little confusing
(or complex).
Please read the following links so
that it helps you.
[1] http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html
[2] http://blogs.missiondata.com/?p@
[
Hi all,
I need to write a web service that works with a 3rd party tool I am using. All
I have is a WSDL file describing what the 3rd party tool expects the web
service to contain. I used Eclipse & AXIS to create a web service from this
WSDL. Everything is working fine when I enter URL's manually.
With Axis2 you can
That is what actually happening in Synapse
Riadh BEN HALIMA wrote:
> Hello,
> Can I redirect SOAP Message form Server1 to Server2 using Handler?
> Could you please, help me to answer this question?
> Thanks in advance.
> ---
> Riadh
>
Title: Java.net.SocketException: Connection Reset
Hi All,
I'm not sure if this question has been posted before. There is an "java.net.SocketException: Connection Reset" when tried to call a web service.
I googled for the solution and found that disabling the -server option on the JVM would
Deepal,
The main problem is that when I run Java2WSDL on the interface that
has an import of a class with variables and use that as the argument
to the method, the generated WSDL is rejected by WSDL2Java, unless I
edit the file and remove the duplicate complex type definition. After
that, I am am
Hello,
Can I redirect SOAP Message form Server1 to Server2 using Handler?
Could you please, help me to answer this question?
Thanks in advance.
---
Riadh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Yes, it does since the message is delivered to the target service (which
is running on another tomcat server).
Michele
Deepal Jayasinghe wrote:
> can u pls check whether
>
> BootstrapHelper.register(factory, omNs);
>
> work alone ? I mean as a client
>
>
>
> Michele Mazzucco wrote:
>
>> Hi
Hi all,
I usually read in this forum that web services and SOAP are not
appropriate for large data transmission, but I have never read about any
good technical reasons behind these sentences.
Most of the issues I have seen in this matter are related to the SOAP
stack implementation, rather t
can u pls check whether
BootstrapHelper.register(factory, omNs);
work alone ? I mean as a client
Michele Mazzucco wrote:
>Hi Deepal,
>
>I don't know how can this happen.
>My handler extends AbstractDispatcher and replaces
>RequestURIBasedDispatcher and it's globally engaged. Please find
>atta
Andrew,
Are u talking about HTTP Basic authentication? You can access the
HttpServletRequest as follows:
HttpServletRequest request = (HttpServletRequest)
msgContext.getProperty(Constants.HTTP_SERVLET_REQUEST)
Then use:
String auth = (String) request.getHeader(HTTPConstants.HEADER_AUTHORIZATION
Hi Deepal,
I don't know how can this happen.
My handler extends AbstractDispatcher and replaces
RequestURIBasedDispatcher and it's globally engaged. Please find
attached axis2.xml and module.xml.
In the default public constructor I have:
public NodeDispatcher() {
this.fac
Hi,at the company where I worked before, we used the following pattern to do this :- client prepares large file and puts in on its filesystem in a place accessible by FTP- client sends SOAP message informing the web service about the file, and about how to access it through FTP
- a server-side JAX-
Dear All
We have tried so many way to configure how to send the large file
via the webservice. Unfortunately we still got the same error about broken
pipe and problem with outputstream. Eventhough we also configure the
axis2.xml file for SO_TIMEOUT and CONNECTION_TIMEOUT. But the resul
Hi,
I am trying to call
a Web Service from a Message Listener (from within it's onMessage() method)
class.
The Message Listener
(the class is attached with this mail) keeps listening to a queue and once a JMS
message is received in the queue, it gets the JMS message and extracts the SOAP
Hi thanks a lot Ben !
I will try your tip right way.
BR.
shuaibin
- Original Message -
From:
Ben
Ethridge
To: axis-user@ws.apache.org
Sent: Wednesday, June 21, 2006 7:17
PM
Subject: RE: https <---> web
service
This is quite
involved, and was a
Hi,
If you want to use WS-Security UsernameToken via Rampart module this
[1] explains how to do it.
Thanks,
Ruchith
[1] http://www.wso2.net/kb/169
On 6/22/06, Andrew B <[EMAIL PROTECTED]> wrote:
Hi,
Does anyone know how to get the username and password that were set on the
client stub, in th
64 matches
Mail list logo