I cannot use document/literal style message because the operation I wrote has two parameters, and by now only rpcmessage receiver supports for this in Axis2. What should I do?
2006/8/10, Eran Chinthaka <[EMAIL PROTECTED]>:
Is your SoapClient supports document/literal style messages?zhu jiang wrote
Hi Chinthaka,
The server already started.. of course :-)
The error happen just for service without return value (void method), it
doesn't happen for service with return value. Any idea ?
Thanks for reply.
Regards,
srusda
-Original Message-
From: Eran Chinthaka [mailto:[EMAIL PROTECTED]
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Nice article on Digest Auth using HttpClient.
http://go.mappoint.net/mappointmpac/default.aspx?main=article.aspx&id=J10010
May useful in integrating Digest Auth to Axis2
Saminda
Davanum Srinivas wrote:
> see http://jakarta.apache.org/commons/
Is your SoapClient supports document/literal style messages?
zhu jiang wrote:
> Hi All,
>
> I made a webservice by Axis2 v1.0 using RPCMessageReceiver, but I
> can't use the SoapClient class in PHP to invoke the webservice. For example:
> $soapclient=new
> SoapClient("http://127.0.0.1
The subject of the mail contradicts with the content of the message.
Just to make sure, hope you started the Axis2 server before making the
call, right? Because this error typically comes out when the server can
not be contacted.
-- Chinthaka
Rusda, Sabri wrote:
>
>
> Hello there,
>
>
>
>
Hello there,
How to invoke Service without return value? What is the
correct method to use ?
I create simple Service like this :
package sample.axis;
public class HelloWorld {
public void
sayHello(String msg) throws Exception {
System.out.println("Hello : "+msg);
Hi All,
I made a webservice by Axis2 v1.0 using RPCMessageReceiver, but I can't use the SoapClient class in PHP to invoke the webservice. For example:
$soapclient=new SoapClient("http://127.0.0.1:8080/axis2/services/version?wsdl");
...
But the SoapClient could invoke webser
Hi aj,
Yes its possible to set the configuration dynamically within the
service (for the service client).
If you are using the nightly build then you can use
org.apache.rampart.handler.config.OutflowConfiguration and
org.apache.rampart.handler.config.InflowConfiguration for this. You
can create
Please disregard original post, I found the solution to my problem. It turns
out I needed to add a Soap Header to the soap request. I did this with
((Stub)service).setRequestHeader(namespace,name,object) for getting a service
from the locator.
Thanks anyway,
-tom
<>-
see http://jakarta.apache.org/commons/httpclient/authentication.html
order is NTLM, Digest, Basic.
-- dims
On 8/9/06, Vinh Tran <[EMAIL PROTECTED]> wrote:
Does this mean it will attempt to send credentials in clear text first?
Doesn't that defeat the purpose?
-Original Message-
From:
Hi everyone,I'd appreciate any insight on an issue I've encountered. A String[] is being translated into a non-array String in the WSDL. The result is an "argument type mismatch" error.More specifically, I have a bean object that contains a String[] property. During Ant build, Java2WSDL correctl
Does this mean it will attempt to send credentials in clear text first?
Doesn't that defeat the purpose?
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 09, 2006 11:02 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Client Digest Authentica
Assuming there are several services deployed to the same axis2
deployment (Tomcat) and they all need to talk to each other with secured
messages...
Each service is also a client of one or more other services. Therefore,
each service will need its own axis2.xml in order to config its keystore
alia
jaxrpc, saaj - ASL 2.0 (the sources are in Axis source tree)
wsdl4j - is CPL as u already found out.
-- dims
On 8/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
axis gurus,
axis (1.2.1) ships with the apache 2 license, which should cover many of the
libraries included with axis (axis.jar,
axis gurus,
axis (1.2.1) ships with the apache 2 license, which should cover many of the
libraries included with axis (axis.jar, log4j, commons-*). i'm trying to track
down the licenses for jaxrpc, saaj, and wsdl4j so i can ship these jars and
their licenses with a commercial product. i could
Hi, I am consuming a .NET service which requires that I call
a “setCredentials” method (to send username and password) followed
by the service method I would like to call, during a single connection. I wrote
a .net client which works correctly, however using WSDL2Java, I am told during
the
Hi all,
Here are my requirements:
- SOAP comes over JMS
- I use message-driven-bean(MDB) as delegator
- I need the MDB to invoke Axis2 service directly (not by making call
to a HTTP URL)
You may think it as AxisServlet or JMSListener. Therefore, MDB requires
Axis2's jars.
To achive this, I tri
Hi,
i am not sure if axis2 allows for the multiple handling of mtom objects in
one send request, but i just tried doing this by way of this code snippet:
fileName = fac.createOMElement("fileName", omNs);
file = fac.createOMElement("file", omNs);
Hi,
IMHO HTTP Basic/Digest authentication is independent from WS-Security
UsernameToken (Digest/Plain text) authentication.
I know we can use Axis2 ServiceClient with HTTP Basic Auth , also we
should support HTTP digest auth if its required and if its not already
there.
Thanks,
Ruchith
On 8/9/
No, you don't need WSSecurity to do HTTP DIGEST auth.
The original code you posted will work with Digest as well. Basically
the code will try basic first then digest. If it does not work with
latest nightly build. Please log a JIRA bug and we will fix it.
thanks,
dims
On 8/9/06, Vinh Tran <[EMA
Quick question Martin…
Does this mean I will no longer be using
HTTP/DIGEST and instead be using WS-Security? If so, is there a way to do HTTP
DIGEST in Axis2?
Thanks
From: Vinh Tran
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 09, 2006
9:34 AM
To: axis-user@ws.apa
i found the answer to my own question. anyway, this is the code to use if
one were to write any binary mtom object to a file:
OMText binaryNode = (OMText) _imageElement.getFirstOMChild();
DataHandler actualDH;
actualDH = (DataHandler) binaryNode.getDataHandler();
a
Are you using the URL I sent? I just found the old wsdl in META-INF
as well as the new one. Axis2 must have been picking up the old one.
This bug is now fixed. Can now do a full parse/client build from wsdl
over http.
thanks,
Alistair
On 9 Aug 2006, at 15:23, Davanum Srinivas wrote:
Clo
Nightly reports the problem correctly. So new WSDL should work.
-- dims
On 8/9/06, Alistair Young <[EMAIL PROTECTED]> wrote:
AXIS-991 is now fixed! must have been either the new wsdl or the
nightly build having a fix.
thanks,
Alistair
On 9 Aug 2006, at 15:13, Alistair Young wrote:
>> AXIS2
AXIS-991 is now fixed! must have been either the new wsdl or the
nightly build having a fix.
thanks,
Alistair
On 9 Aug 2006, at 15:13, Alistair Young wrote:
AXIS2-991
use this:
WSDL2Java.sh -uri http://sgarbh.smo.uhi.ac.uk:8080/axis2/services/
MinervaTestService?wsdl -ss -sd -d xmlbeans
Closing AXIS2-991, getting the same problem as AXIS2-992.
thanks,
dims
On 8/9/06, Alistair Young <[EMAIL PROTECTED]> wrote:
> AXIS2-991
use this:
WSDL2Java.sh -uri http://sgarbh.smo.uhi.ac.uk:8080/axis2/services/
MinervaTestService?wsdl -ss -sd -d xmlbeans -o ../client -p
org.test.client
it giv
AXIS2-991
use this:
WSDL2Java.sh -uri http://sgarbh.smo.uhi.ac.uk:8080/axis2/services/
MinervaTestService?wsdl -ss -sd -d xmlbeans -o ../client -p
org.test.client
it gives the exception in the bug report. I'm now using the new wsdl
and nightly build to parse the wsdl.
AXIS2-992
thank you
AXIS2-784 - already fixed in SVN.
AXIS2-992 - marked as Invalid (with a fixed up wsdl)
AXIS2-991 - I can't recreate this. Any help to recreate this problem
would be appreciated.
Nightly builds are available here:
http://people.apache.org/dist/axis2/nightly/
I sent the instructions for getting th
Ruchith,
I'm caching a set of lookup data in the service group context that I'd like
to use in order to avoid a database call on every passwrod callback.
I suppose I could anchor the lookup in a static variable somewhere, but it
feels like a but of a hack.
Thanks,
Dave
-Original Message-
ok, there's a bug report now, AXIS2-992. I've attached the wsdl to
the report.
The problem I have is AXIS2-784 - it won't generate a client for this
wsdl. So while I was waiting for the fix to appear (it's been fixed
in svn) I thought I'd take a look at AXIS2-991. That's why I was
trying
So I will need to use Rampart for DIGEST authentication.
Got it.
Thanks Martin.
From: Martin Gainty
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 09, 2006
9:29 AM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Client Digest
Authentication
Good Morning Tran-
If nightly build does not parse...why are u going back to 1.0
source A simple checkout is enough to get latest source:
"svn co https://svn.apache.org/repos/asf/webservices/axis2/trunk/java";
Please use 1.1-beta-2 with the nightly sources.
What's the problem anyway? with the latest nightly.
Good Morning Tran-
that example was dated
The security functionality has been split to
project WSS4J
http://ws.apache.org/wss4j/
Once you download and onstall you will see a
TestHarness that tests Digest Functionality located at
/test/wssec/TestWSSecurityNew5.java
The test Function to te
Hi, I've searched the
archives (and google) for 2 full days and still have not found the solution to
this problem. I am using JRE/JDK 1.5.0, and Axis 1.4 with SOAP client
generated from WSDL2Java. I have commonsHTTPSender enabled as the http
transport by placing the correct client-conf
maybe I'll just go back to Axis 1! I downloaded the nightly build but
it doesn't parse wsdl, just crashes so I downloaded the 1.0 source.
I'm trying to debug
org.apache.axis2.wsdl.codegen.CodeGenerationEngine but the maven
build is broken for some reason. Using maven 1.0.2 as recommended in
Martin,
I do not see the org.apache.axis.security.servlet
package nor do I see MessageContext.SECURITY_PROVIDER. Is this something that
was added recently? I am currently using a snapshot from July.
Also, by merely using SECURITY_PROVIDER
does this get me DIGEST authentication?
ok, the damn registration didn't log me in like it said it was going to!
Alistair
On 9 Aug 2006, at 13:53, Alistair Young wrote:
I did create one but I can't create a new issue
Alistair
On 9 Aug 2006, at 13:49, Davanum Srinivas wrote:
You need to create a JIRA userid first and then login.
I did create one but I can't create a new issue
Alistair
On 9 Aug 2006, at 13:49, Davanum Srinivas wrote:
You need to create a JIRA userid first and then login.
-- dims
On 8/9/06, Alistair Young <[EMAIL PROTECTED]> wrote:
Trying to Create New Issue but the only project available is
CeltiXFi
You need to create a JIRA userid first and then login.
-- dims
On 8/9/06, Alistair Young <[EMAIL PROTECTED]> wrote:
Trying to Create New Issue but the only project available is
CeltiXFire. There doesn't seem to be a way to report bugs on the Jira
for Axis2. Browsing the Axis2 project but only C
Trying to Create New Issue but the only project available is
CeltiXFire. There doesn't seem to be a way to report bugs on the Jira
for Axis2. Browsing the Axis2 project but only CeltiXFire appears in
project list when creating new issue. Is it possible to report Axis2
bugs?
Alistair
---
Are u deploying this unpacked? can you please try that. If that does
not work, then Please switch to a nightly build.
-- dims
On 8/9/06, Jim Mattson <[EMAIL PROTECTED]> wrote:
I found my problem ... stupid one. I did not have the xml declaration in my
weblogic.xml ~ doh!
Anyway, the validate
I found my problem ... stupid one. I did not have the xml declaration in my weblogic.xml ~ doh!Anyway, the validate screen still has the version error:Essential Components
Found Apache-Axis (org.apache.axis2.transport.http.AxisServlet) at
C:\bea\weblogic81\samples\domains\workshop\cgServer\.wlnotd
Title: getHeaderByName
Hi,
I nearly spent a whole day on the behaviour of the method getHeaderByName...
If i put a HeaderElement with an explicit actor (http://login_handler.ct.siemens.com) in the header by an own handler,
the invocation of the method
envelope.getHeaderByName("
Write service implementation class as you like and use
RPCMessageReceiver., so with this you can write service like
class MyService {
public int add(int a , int b){
return a + b;
}
}
zhu jiang wrote:
> Hi All,
>
> I don't find any samples about writing operations with
> multi-parameters
Is this still a problem as I'm seeing it in the latest Axis2 from the
website. This is where the wsdl and schema targetNamespace are the same.
compile.src:
[javac] Compiling 214 source files to /Users/alistair/dev/
incubator/axis2/client/build/classes
[javac] /Users/alistair/dev/incuba
ok, so the problem is WSDL2Java can't handle generating wsdl over
HTTP. Copying the wsdl locally works. Is this a bug?
Alistair
On 9 Aug 2006, at 08:56, Alistair Young wrote:
Hi there,
When I run WSDL2Java.sh some client code is generated along with
the build file but I get loads of excep
Hi
all,
Is
it possible to deploy and undeploy web services programmatically and without any
file system involvement? I looked at the deployment API currently available,
and it seems that adding a new web service should be quite simple. My code goes
as follows:
AxisService
axisServic
Hi there,
When I run WSDL2Java.sh some client code is generated along with the
build file but I get loads of exceptions and no logs and if I try to
build the client I get more errors due to the wsdl2java generation
not working. I notice there's a bug report AXIS2-804:
http://mail-archives.a
aha! what a day, I must be working too hard! My wsdl namespace for
was wrong so Axis2 was removing it. So Axis2 doesn't just
pick up the wsdl and display it. It must process it too.
Anyway, I can now get on with using this groovy new web services
toolkit.
Alistair
On 8 Aug 2006, at 20:5
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Your scenario can be achieved with RPCMessageReceiver.
Ex; Your web service
class Foo {
public String foo(String a, String b) {
return a + b ;
}
}
Create an .aar out of this with the message receiver as
RPCMessageReceiver. De
50 matches
Mail list logo