Hi,
When using the axis2 code generator, the generated code contains the
errors:
1)
for java.lang.Object object = fromOM(getElement(_returnEnv, "document"),
the method getElement is uundefined in AreaServiceStub (which actually
extends ..*.clinet.Stub which has the method defined.
2) for
org.
Is that really true, Sanjiva? I thought DIME was the only attachment
support on all versions of .Net prior to the recently-released 3.0.
- Dennis
Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-619
Thanks Rainer, the JIRA you have opened (AXIS2-1596) captures issues I
am seeing w.r.t the hotupdate.
Gul
-Original Message-
From: Rainer Menzner [mailto:[EMAIL PROTECTED]
Sent: Friday, November 17, 2006 1:43 AM
To: axis-user@ws.apache.org
Subject: Re: Is hotupdate working ?
Gul Onural
Gul Onural schrieb:
I have Axis2 deployed with hotupdate property set to true in the
axis2.xml :
true
If I add a simple log to my service and re-deploy the service, I don't
see this new log displayed.
The only way to see the new log is to restart tomcat.
With the hotupdate=true, I am not
Hello.
I need to invoke methods of a standalone java program from a webservice.
Is it possible to embed to in Axis2?
Is it better way than using RMI to communicate with the standalone java program?
Thanks in advance!
-
To unsu
Hi Rishi,
See my comments below.
George
From: Rishi krish [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 16, 2006 8:46 PM
To: axis-user@ws.apache.org
Cc: [EMAIL PROTECTED]
Subject: Re: single sign on with axis2
Hi George
thanks for ur reply. Lets for
As a first step, you need to click the Ask service link to see whether you
can get the WSDL.
Have you ever tried to deploy the "Axis2-1.1" as "axis2" into tomcat?
Regards,
Xinjun
On 11/17/06, Yang Zhonghua (Dr) <[EMAIL PROTECTED]> wrote:
Thanks, Sanjiva.
But I deployed on tomcat/axis2-1.1
hi,
I want to I want to encrypt SOAP Body of the message in the handler.
After encryption , message is as below. .i.e. Inside Envelope, only tag
is EncryptedData.
When I try to send message, I get this org.xml.sax.SAXException: No
custom elements allowed at top level until after the tag
I
Hi Kedar;
Can you please post me your client code then I can have a look at that.
Thanks
Deepal
> Hi Deepal,
>
> Your solution solved my first problem, but not the second one. This
> means that after the change I still got the following error:
>
> Two services can not have same name, a service w
I want to encrypt SOAP Body of the message in the handler.
Tech Mahindra, formerly Mahindra-British Telecom.
Disclaimer:
This message and the information contained h
Thanks, Sanjiva.
But I deployed on tomcat/axis2-1.1 which appeared on service list (see
the attached). When I clicked on "AskService" it shows the wsdl.
(The tomcat console:
Nov 17, 2006 11:01:38 AM org.apache.axis2.deployment.DeploymentEngine
doDeploy
INFO: Deploying Web service AskService.aa
Hi George
thanks for ur reply. Lets for simplicity sake take the simple password based
LDAP authentication [I know most of our customers use this - but some use
x509 certificates].
I have googled and kind of come to this conclusion that for Web service SSO
- SAML is the best solution. But my pro
On Thu, 2006-11-16 at 19:02 -0500, Martin Gainty wrote:
> Good Evening Gentlemen-
>
> making sure DIME is supported is an important for interoperability
> with the folks in redmond..
Not at all .. the folks in Redmond totally abandoned DIME a long time
ago. (At least 3 years ago!)
Sanjiva.
-
On Fri, 2006-11-17 at 11:26 +0800, Yang Zhonghua (Dr) wrote:
>
> The run time error msg:
>
> org.apache.axis2.AxisFault: HTTP Transport error : '404' -
> '/axis2/services/AskService'; nested exception is:
> org.apache.axis2.AxisFault: HTTP Transport error : '404' -
> '/axis2/services/AskS
Thanks for your quick response.
I followed the steps to create a simple web service, ask (based on
example from ibm web site): (The same was done under axis2 1.0, and
works fine).
Your advise is appreciated on where went wrong.
1)
cd D:\Axis2Workspace\Ask
wsdl2java.bat -uri D:\Axis2Workspace\
Hi,
At the last page of the Code generator plugin either you can add the
generated code to a existing project in current eclipse workspace or
you can select to save them to a prefered location on file system.
So after finishing the wizard sucessfully then, by refreshing the
workspace/importing the
Hi,
After trying a few simple examples, I found Axis2 Code Generator Eclipse
plug-in very handy and useful. I'd like to know where is the (src) codes
generated. I assume that the codes generated are deployed within Eclipse
Axis, and they should be deployable outside Eclipse platform (e.g. in
to
Hi Rishi,
How is your user authenticating against the LDAP? Simple password based
authentication
or some kind of certificate based authentication?
You will need to establish trust between your Server A and Server B
somehow.
You can use an X509 certificate or simple public/private key pair which
I guess a better question is ... how do I enable / plugin JAXB2 with Axis2,
since I already have all the Java generated code from JAXB xjc compiler from
DTD.
On Friday 2006 November 17 07:12, Jesus Salvo (Communicator) wrote:
> There is a specific XML format that I need to follow ( based on Mo
Good Evening Gentlemen-
making sure DIME is supported is an important for interoperability with the
folks in redmond..
in your Axis-2_1 folder..
comment out ALL OF the entries in /src/axis/xmls/taskdefs_post_compile.xml
sub in full path of axis-ant.jar for C:/AXIS/Axis-1_4/axis-1_4/lib/axis-a
Hello All,
I have deployed a web service on Tomcat 5.5.17. The service is
throwing some exception, which I can see through the TCPMon tool.(
element under SOAP response). I want to check the service
side log file. Does anybody know where exactly the log is created?
I modified the log4j.prop
Yes, sorry. Servlet filter.
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 16, 2006 1:37 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 in a filter
ServletFilter?
-- dims
On 11/16/06, George Stanchev <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
Thanks Dims! I'll try if I can do that.
- Sridhar.
On 11/16/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
There is a DimeDelimitedInputStream in Axis1.X that can be ported to
Axis2...
-- dims
On 11/16/06, sridhar vudutha <[EMAIL PROTECTED]> wrote:
> Axis Gurus,
>I'm trying to con
Hi
I am new to axis2 and am trying to figure out whats the best approach for
this scenario:
The user logs in to a j2ee application running in a j2ee server [say
Weblogic/Websphere]. The user is validated using a LDAP server [the j2ee
server handles that part] and after the authentication we have
There is a DimeDelimitedInputStream in Axis1.X that can be ported to Axis2...
-- dims
On 11/16/06, sridhar vudutha <[EMAIL PROTECTED]> wrote:
Axis Gurus,
I'm trying to consume a .NET web service. The SOAP response is
attached with DIME content which I need to ignore. The service provide
ServletFilter?
-- dims
On 11/16/06, George Stanchev <[EMAIL PROTECTED]> wrote:
Hi,
What would be the best way to use axis2 in a filter? Basically I need
Rampart to process the message and do security processing in a filter.
Is this possible and whats the best approach to tackle the problem?
JIRA bug with a sample to recreate the problem please.
-- dims
On 11/16/06, javaDev <[EMAIL PROTECTED]> wrote:
There is an problem in org.apache.axis2.databinding.utils.BeanUtil in method :
220: deserialize(Class beanClass,
OMElement beanElement,
ObjectSupplier
There is a specific XML format that I need to follow ( based on Mobile Location
Protocol / MLP from www.3gpp.org ). The XML is defined by DTD only, no XSD.
Now what I have done is generated Java classes from the XSD via JAXB 2.0.1 xjc
compiler. How do I go about creating a webservice that is on
There is an problem in org.apache.axis2.databinding.utils.BeanUtil in method :
220: deserialize(Class beanClass,
OMElement beanElement,
ObjectSupplier objectSupplier,
String arrayLocalName)
During deserialization of :
http://services.my/xsd";>
Hi,
What would be the best way to use axis2 in a filter? Basically I need
Rampart to process the message and do security processing in a filter.
Is this possible and whats the best approach to tackle the problem?
George Stanchev
***
Axis Gurus,
I'm trying to consume a .NET web service. The SOAP response is
attached with DIME content which I need to ignore. The service provider is
using DIME content for their internal purpose and they cannot stop sending
it. I don't have to do anything with the attachment. I just need a
Hi. I have written a WSDL description of a web service, generated the
stub and skeleton code using WSDL2Java, and written the SOAP binding
implementation code for the server side. I'd like to be able to
convert some of datatypes I manpulate in the program (whose classes
were generated from WSDL us
Bug in JIRA please.
-- dims
On 11/16/06, javaDev <[EMAIL PROTECTED]> wrote:
Hi
Imho there is a error-prone point in the
org.apache.axis2.databinding.utils.BeanUtil:
275: PropertyDescriptor prty = ...;
..
294: prty.getWriteMethod().invoke(beanObj, parms);
Sin
Log anything you think is a bug :)
-- dims
On 11/16/06, javaDev <[EMAIL PROTECTED]> wrote:
I've added it today. Should I log this issue as well? :
http://marc.theaimsgroup.com/?l=axis-user&m=116366940923496&w=2
-Original Message-
From: "Davanum Srinivas" <[EMAIL PROTECTED]>
To: axis-u
I've added it today. Should I log this issue as well? :
http://marc.theaimsgroup.com/?l=axis-user&m=116366940923496&w=2
-Original Message-
From: "Davanum Srinivas" <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Date: Thu, 16 Nov 2006 11:57:46 -0500
Subject: Re: Re: NullPointerException
It's been working a while for me (since before 1.1), but my case is pretty
straightforward. I can't really vouch for anyone who is using Rampart, MTOM,
etc. I would like to see more "out-of-the-box" robust support for JMS (i.e.,
from the codegen module)...yes, it's not WS-I, but in the enterprise i
I agree. However, security risk is always there regardless you show your
wsdl or not.
Authentication and other security measures such as SSL/HTTPS need to be
put in place to
prevent malicious attacks to your web services.
This is my opinion anyways.
Gul
From:
Hi
Imho there is a error-prone point in the
org.apache.axis2.databinding.utils.BeanUtil:
275: PropertyDescriptor prty = ...;
..
294: prty.getWriteMethod().invoke(beanObj, parms);
Since java bean convention allows existence of just one of the pair
(considering t
I have Axis2 deployed with hotupdate property set to true in the
axis2.xml :
true
If I add a simple log to my service and re-deploy the service, I don't
see this new log displayed.
The only way to see the new log is to restart tomcat.
With the hotupdate=true, I am not supposed to restart t
Well, I had a JIRA opened for this (or very very similar) problem
http://issues.apache.org/jira/browse/AXIS2-1625?page=all, but it has
been closed with the explanation which didn't make to much sense to me.
Take a look if you are interested in.
Gul
From: V
Please log a bug, so that we can fix it.
thanks,
-- dims
On 11/16/06, Kinichiro Inoguchi <[EMAIL PROTECTED]> wrote:
Hi, Alex.
To share info with the list, I'll forward your reply.
---
Hi
10x for the answer!
A checked the issue a bi
Hi all,
I have a simple call to getAttribute and I can't seem to call it
properly. I can use getAllAttributes() to get all of the attributes and
then go through them to find the one I'm looking for but it's not
efficient, and so any help is appreciated. I think I just miss something
very simple
The mtom guide databinding section was one of the last things to get tested
... the adb section should be working but the code / documentation freeze
happened before xmlbeans / mtom got tested, and I suspect there is some work
needed to be done as issue AXIS2-1031 suggests.
You could help us with
I ran sample code from http://ws.apache.org/axis2/1_1/mtom-guide.html#252
but a soap message sent to server was as following:
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
http://myMtomNS/types";>
dGVzdG93eSB0ZWtzdA==
Sample with AD
Yes it's the contract.
But showing the contact to everybody means there is a security risk...
Do you agree?
On 11/16/06, Gul Onural <[EMAIL PROTECTED]> wrote:
Why would you want to hide the wsdl ? The wsdl is the foundation of the
web services. It is your contract.
Gul
-
Hi,
Does anybody when rampart 1.1 is scheduled to be released or where I can find
out about the release date.
Thanks,
Dal
Hi Deepal,
Your solution solved my first problem, but not the second one. This
means that after the change I still got the following error:
Two services can not have same name, a service with
ItemsGroupService already exists in the system.
To solve this problem I'm using a H
You could try using the AxisHTTPSessionListener or
javax.servlet.http.HttpSessionListener.
It has a sessionDestroyed(), where you should be able to tell your other
objects that the session is destroyed.
I do it something like this:
public void sessionDestroyed(HttpSessionEvent httpSessionEvent)
Mathias
I think you need to use the latest rampart nightly build.
There will be a rampart 1.1 to match axis2 1.1 soon.
In the meantime look at:
http://ws.zones.apache.org/dist/rampart/nightly/
Paul
On 11/16/06, "Mathias Lösche" <[EMAIL PROTECTED]> wrote:
Hello,
I've a problem during enable
Hello,
I've a problem during enable Rampart 1.0 in axis2 1.1
I use the axis2.war in an Apache Tomcat 5.5.17 downloaded from
http://apache.imsam.info/ws/axis2/1_1/axis2.war
and Rampart downloaded from
http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/modules/rampart/1_0/rampart-1.0.mar
As de
Title: Attachments using axis 1.4
Hi all,
I am trying to send attachments using WSIF or soapUI to axis.
The scenario is I have web service called testAttachment with single paramter.The WSDL defintion does not say anything
that this method requires attachments.I am currently using the cod
Why would you want to hide the wsdl ? The wsdl is the foundation of the
web services. It is your contract.
Gul
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 16, 2006 5:09 AM
To: axis-user@ws.apache.org
Subject: Re: [AXIS2] how to st
Hi all.
I'm using Axis 1.2.1 JV 1.4.2_08, JBoss 3.2.6.
I need to store a session cookie that another web application on another server
sends to me when i invole a web service.
I have seen in the org.apache.axis.client.Call javadoc the property
SESSION_MAINTAIN_PROPERTY; does it mean that if i d
I'm using Axis 1.4 and I wanna use SunJSSESocketFactory (or the IBM
version in Unix environment) (up to now I used the fake version) for
server and client certificate utilization.
I couldn't understand how to add in its attributes Hashtable the
parameters needed (keystore, keypass, etc.).
The appl
The Axis 1.x docs seem to indicate that I can use a
WSDL2Java command line option to override the endpoint
URL which is specified in the WSDL file and thereby
specify a different endpoint URL.
But I can't find any more information about which
command line option to use.
any ideas?
Thanks
Mike
Sen
Thilina
Thanks a lot :)
It worked
Mehar
On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
Oh thats great news
let me try with my application
Thanks
On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED] > wrote:
>
> Nice to hear that...
>
> BTW AFAIK XmlBeans works well with ws-tx-asl+stax- a
Try to use the following;
ServiceClient client = *new* ServiceClient(null,*new*
URL(procedure.getExternalWsServiceWsdlUrl()),*new*
QName(procedure.getExternalWebServiceNamespace(),
procedure.getExternalWsServiceName()),
procedure.getExternalWsServicePortName());
Thanks
Deepal
Kedar, Shahar wrote
Thanks!
But in these case,It just returns the wsdl file that I put into the META-INF
folder of the .aar service file. I tried and I'm not able to empty the wsdl
file because it will analyse the wsdl file when the servcie is deployed.
What I really want it to hide the wsdl or just return nothing to
Hi Michele ;
>Hi Deepal,
>
>please correct me if I'm wrong, but this is what happens for "normal"
>modules.
>
Yes it is.
>Do you mean "standard" modules come with lifecycle management
>for free :)?
>
>
I didnt mean that , but that interface has two methods one will be
called at the system star
Update: I now understand the problem. Instead of passing an empty
configuration context, I should have passed null.
Now I am facing a different problem. I'm receiving the following error
when trying to invoke a web service more than once:
org.apache.axis2.AxisFault: Two services can not have s
Hi Deepal,
please correct me if I'm wrong, but this is what happens for "normal"
modules. Do you mean "standard" modules come with lifecycle management
for free :)?
What I want is
public class MyModule implements Module {
// engage, canSupportAssertion, engageNotify()
private MyClass
Hi all,
In my app I need to pass a Soap request message as a parameter. I tried to
naively retrieve the Message object from MessageContext, but the retrieved
Message is always null. So either this simple approach is completely wrong
or I'm missing a step..
My code is like this..:
Service serv
Hi,
I tried to invoke a web service using my Axis2 ServiceClient API, and I
kept getting a null pointer.
So I decided to debug the source code and I found out that the
transportsOut HashMap in the AxisConfiguration class is empty. This
means that Axis2 could not really infer the transport out
Hi
You agreed that (2) is a problematic behaviour but did not say anything about
(1). Do you mean that it is the way it should be done - or I just missed some
command-line or configuration flag? To be more specific - I'll try to explain
it a bit in more details though briefly:
say, there are da
Hi,
I'm using the Castor serializer with Axis.
I first use java2wsdl from my interface, then wsdl2java (in command line)
to generate the code.
I was wondering if there was some way to specify which serializer to use?
At the moment I have to modify manually the *SoapBindingStub.java and the
deploy.
Hi,
> - Is Axis2 1.1 working for you?
It's fine for me.
I checked these items with axis2.war distribution.
- Validation page
- Admin page (just looked around)
- Services page
- POJO service test by RPCMessageReciver with REST(GET)
- SOAPMonitor
Also I checked with axis2-std distribution.
- POJO
Oh thats great news
let me try with my application
Thanks
On 11/16/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
Nice to hear that...
BTW AFAIK XmlBeans works well with ws-tx-asl+stax-api-1.01.
jars(shipped with axis2-bin distro) ... I used them for a code
generation just a while ago and
Nice to hear that...
BTW AFAIK XmlBeans works well with ws-tx-asl+stax-api-1.01.
jars(shipped with axis2-bin distro) ... I used them for a code
generation just a while ago and worked fine...
~Thilina
On 11/16/06, Mehar SVLN <[EMAIL PROTECTED]> wrote:
Hai Thilina,
I got the culprit its jsr173-
Hi Adrian,
I just tried code generating for the WSDL accoridng to the commands
given in the user guide.. It did not generate any classes belonging to
a package named org.apache.axis2.userguide.axis2sampledoclit.
What is the full command (options given to the code generator) you are
using for code
Hai Thilina,
I got the culprit its jsr173-api1.0.jar
but this is a compulsary jar with xmlbeans, i am using axis2.1.1 in
conjunction with xmlbeans(Even 2.2 version of xmlbeans using the sam jsr*
jar)...
How can i resolve this
Any clues
Thanks in advance
Mehar
On 11/16/06, Mehar SVLN <[EM
70 matches
Mail list logo