Hi Peter,
Are you using wss4j?
Dimuthu.
- Original Message -
From: pacow [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 29, 2004 8:00 AM
Subject: XML signature format issue in request?
I'm having trouble getting my signature verified by the host server
(who is remote
Hi Peter,
1) Can I verify that the handler has actually been deployed? When I run
the command java
org.apache.axis.utils.Admin client
samples/security/clientsecuritydeploy.wsdd, I get no feedback,
though no Exceptions either.
You can check wheather Client-Config.wsdd has been created, if it
Hi Wei,
Most probablly there will be aAxis version
that usesJAXMEXsinparsing schema in the WSDL document.It
will not completey use JAXB's features. HoweverJAXMEXs is expected to
improve WSDL2Java tool. We can only wait and see :-).
Dimuthu
- Original Message -
From:
Wei
Hi Tony,
You have to set the target endpoint address as;
call.setTargetEndpointAddress(new
java.net.URL(http://127.0.0.1:1234/axis/services/service_Name));
BTW are you the Tony Blair in Cricket ;-)?
Best Regards,
Dimuthu.
--
Lanka Software Foundation http://www.opensource.lk
There are
Hello Ben,
Following is a WSDL for a doc\literal style web service. Hope this helps.
:-).
Regards,
Dimuthu.
definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
xmlns:s=http://www.w3.org/2001/XMLSchema; xmlns:s0=urn:Notification
xmlns=http://schemas.xmlsoap.org/wsdl/;
It sounds good.
--
Lanka Software Foundation http://www.opensource.lk
Because it makes it easier to use email client features such as
sort-by-subject.
At 12:08 PM 12/15/2003, you wrote:
Why? If you need this for filters, why not just filter by the email
address? I think the [EMAIL
Yes it sounds good.
--
Lanka Software Foundation http://www.opensource.lk
Because it makes it easier to use email client features such as
sort-by-subject.
At 12:08 PM 12/15/2003, you wrote:
Why? If you need this for filters, why not just filter by the email
address? I think the [EMAIL
Hi Naresh,
Right now I don't think there is a way you can get untouched stream,
because Axis begins processing a SOAP message by parsing it using SAX and
then it stores these SAX events. Then Axis work on these stored SAX
events.
So if you really, really want to do this - you have to start
Hi Rajesh,
There are three ways to invoke a web service. Using a static client, using
a proxy or complete dynamic invocation.
It's not really clear to me whether you want to generate the SOAP message
given the wsdl or the uri of the wsdl. Of course if you have the wsdl
beforehand you can run it
Hi Rob,
I want to send a Document.
If you want to send a docuemnt to the web service, it implies that you
want to axis to step back and let you do the XML parsing
(deserialization). Therefore you should use message style service. You can
read more about this in axis user guide.
Regards,
Hi Mark,
You can do the same thing as we did, when we implemented AxisMora.
Let's call what you return from your web service as ReturnValue.
Step 1:: Register your result in the DefaultTypeMappingImpl
In org.apache.axis.encoding.DefaultTypeMappingImpl you have to register
the your ResultValue
Hi Robert,
If you go to the bottom of the page of Bug list at apache and query for
bug 23012 you'll find sample doc\literal service that doesn't use wsdl.
The sample is removed from the bug list but it is still in the database.
I am yet to find time and do it again using wsdl :-).
I have also
Hi Jorg,
I had the same problem in a different context. I had set
call.sendXsiTypes(false) in a wrap\literal client. This didn't work for
integers - i.e. client send xsi types for integers. It worked fine for
String values - i.e. it didn't send xsi types for strings.
Later I discovered the
.
call.setOperationName(new javax.xml.namespace.QName(urn:eprofile,
updateProfile));
Unfortunately its not dispatching to updateProfile service method. What
I am doing wrong here?
Any help will be really appreciated.
Thanks,
Ranjith Pillai.
-Original Message-
From: Dimuthu Leelarathne
Hi Mike,
You are correct in saying that there's no wrapper element around the
input message parts. The message part should be the immediate child
element of the SOAPBody.
You are also right in saynig that there is no way of mapping between
message part and method. Axis solve this problem using
Hi Pradeep,
Have you set the class path correct? I get this error when I have not set
the classpath correctly.
Regards,
Dimuthu.
--
Lanka Software Foundation http://www.opensource.lk
Hi Guys,
I'm trying to change the server-config.wsdd with the
deploy.wsdd by running admin
Hi Bob,
I would like to comment on the following line.
CLIENT --- INTERMEDIARY --- ENDPOINT
Are you talking about the INTERMEDIARY mentioned in the SOAP specification?
We (myself and my team mates) had a long discussion \ arguments on this
matter few months back. The question was
What is this
Hi Mike,
No it's not less sleep, or more coffee, or anything else :-).
Correct me if I am wrong, but I am under the impression that axis does not
use SOAP action at all when invoking a service.
If someone wants to use doc\literal service to have multiple operations he
has to explicity map the
Hey Kish,
The thing is org/w3c/dom package is not available in jdk1.3. You have to
install jdk1.4 or xerces.jar. mmm Congradulations :-).
Luv,
Dimuthu
--
Lanka Software Foundation http://www.opensource.lk
D:\AXIS-1_1java samples.userguide.example2.CalcClient -p8080 add 2 5
Hi Scott,
First you have to create a ServiceFactory instance. The below code will help
you.
URL currWsdlUrl = new URL(UrlString);
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service currService = serviceFactory.createService(currWsdlUrl, new
QName(nameSpaceUri,
Hi Andrew,
In order for enumerations to be deserialized at server, first they have to
be correctly serialized at the client side. Have you checked whether the
client side serialization happen correctly?
Regards,
Dimuthu.
Lanka Software Foundation
Hi Pablo,
There is a fnal String attribute in your *locator.java class. This
attribute tells the address location. You can change it manually to change
the address. Or if you are using a proxy you can call the
getPort(Class serviceEndpointInterface) in the locator.java
class.
Regards,
Subject: Re: HTTP Chunking
Dimuthu-
The year on your computer is set to 2002. You might want to change that
:)
-c
On Mon, Oct 14, 2002 at 04:35:35PM +0600, Dimuthu Leelarathne wrote:
Yes Axis supports chunking. Check out
org.apache.axis.transport.http.HTTPSender.java
=urn:DoclitOrder
/operation
You will have to fill in the returnQName and namespace to match what ever
the service will return (if anything).
Hope this helps.
--
Tom Jordahl
Macromedia Server Development
-Original Message-
From: Dimuthu Leelarathne [mailto:[EMAIL PROTECTED
Yes Axis supports chunking. Check out
org.apache.axis.transport.http.HTTPSender.java.
- Original Message -
From: Paul Harman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 14, 2003 4:16 PM
Subject: HTTP Chunking
Does AXIS accept (and is AXIS able to send) HTTP-chunked
Hi Wolfram,
I invoke a service on a server with a request message without any soap
header, der reponse message has a soap header with a spefieid element,
a
transaction id.
How do I read the header or elements in it from a response message?
You have to use handlers - just like reading a
Hi Wolfram,
It's ok to change the stub as long as you know what you are doing. Looks
like you have to access the call object to access the connection pool.
In the stub there is a method named createCall(...) . You can manually
change the code inside the - createCall method to create a call object
Hi atul,
Have a look at samples\client\DynamicInvoker.java
Regards,
Dimuthu
- Original Message -
From: atul [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 04, 2003 6:00 AM
Subject: Generic Client
How can(if at all) one write a generic client,
irrespective of the way
ComplexType ArrayTim
Check out this bug;
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15384
Regards,
Dimuthu.
- Original Message -
From: Cobble, Tim
To: [EMAIL PROTECTED]
Sent: Thursday, October 02, 2003 12:23 AM
Subject: ComplexType Array
All,
I feel I am asking a repeated
Hi Abhijat,
Try setting the SOAP Action as follows in your client/ stub.
call.setUseSOAPAction(true);
call.setSOAPActionURI(method-Name)
Cheers,
Dimuthu.
- Original Message -
From: Abhijat Thakur [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 3:53 AM
Subject:
Hi Anders,
Using TCP monitor is easy.
1)Make the TCP monitor listen to a port. For example you can specify .
2)Then specify the actual port you want to send request as the Target
Port. For example if your tomcat is listening to then specify the
target port as .
3)Then modify the
that approach is feasible? It kind of breaks the whole
independency between handlers, but I think it's the only way to re-use the
same service for two different scenarios.
Thanks,
Jose M Selman
- Original Message -
From: Dimuthu Leelarathne [EMAIL PROTECTED]
To: [EMAIL PROTECTED
Look Installation in http://ws.apache.org/axis/
- Original Message -
From: Yves Gerber
To: [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 1:03 PM
Subject: New to Axis on XP
I have Windows XP Professional installed. And I've downloaded
and installed Apache Tomcat 4.1.27 and Apache
Cathol,
Message style services would help you . They have signatures as below. Read
about it in the user guide.
public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
public Document method(Document body);
public void method(SOAPEnvelope req,
(my app
is the only client). Now everything works fine!
/Anders
On tisdag, sep 24, 2002, at 05:26 Europe/Stockholm, Dimuthu Leelarathne
wrote:
Hi Anders,
I had the exact-problem sometime back, but it was regarding doc\literal
services. Isn't this a client side deserialization problem
Hi Jose,
Since you have the WSDL file run it through WSDL2Java and just go through
the *Binding stub. Then you will see how axis sets arguments to the call
object and register serializers/deserializers. It helped me a lot.
Regards,
Dimuthu.
- Original Message -
From: Jose Soler
To:
Hi Jose,
Properties in MessageContext are mostly used to store HTTP header
information.
Yes there is one message context per request. This MessageContext is passed
through handlers and one of the biggest jobs of MessageContext is to carry
information. This design pattern is called the mediator
Hi Anders,
I had the exact-problem sometime back, but it was regarding doc\literal
services. Isn't this a client side deserialization problem? The Binding stub
was the same ( i.e. it added a elemfield to the typedesc ).
According to your stackTrace I see that the program-control-flow has not
- Original Message -
From: Dimuthu Leelarathne [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 22, 2002 9:46 AM
Subject: Re: XML Schama message validation.
Hi Marcin,
I guess you manually want to validate. I point out two ways of doing it.
1) You can write a handler
Hi Marcin,
I guess you manually want to validate. I point out two ways of doing it.
1) You can write a handler. Get the SOAPBody from the MessageContext. Then
you can parse it with xerces.
2) You can write a message style service with below signature.
public Element [] method(Element []
How to extract values from SOAP message?Hi Andrey,
Try replacing if (a_ello instanceof SOAPElement) with this
if(a_ello instanceof javax.xml.soap.SOAPFault) .
From the SOAPFault you can simply get the faultString , actor and etc ...
Dimuthu.
Hi Andrey,
I'm sorry about the last mail. It looks weird. What I wanted to say was that
use
if(a_ello instanceof javax.xml.soap. SOAPFault)
instead of this line if (a_ello instanceof SOAPElement) .
Then from the SOAPFault you can simply get the faultString , actor and etc
...
Dimuthu.
Does anybody know if Axis performs 'Remote DTD/Schema referencing' ?
Does it fetch all the XML schemas/DTD posted in a particular HTTP soap
request message?
No axis doesn't support romote XML schemas/DTD referecing yet. But if
you want reference a schema you can include it in the wsdl of the
Thanx Glen for pointing that out. I was under a wrong impression.
Hi Dimuthu, all:
Does anybody know if Axis performs 'Remote DTD/Schema referencing' ?
Does it fetch all the XML schemas/DTD posted in a
particular HTTP soap
request message?
No axis doesn't support romote XML
hello,
I think you haven't enabled the Axis Admin servlet by editing
axis\WEB-INF\web.xml. You have to uncomment the servlet mapping for
servlet/AdminServlet.
Regards,
Dimuthu.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 15, 2003 2:59 PM
It looks like a lot of discussion has been going on while I am
away.
It is news to me that this bug has been around for rpc\lit
case. So Ichecked out with wrap\lit case and it is not there,
i.e.wrap\literal does not send any xmlns="". I thought of
justmentioning it to the list.
Dimuthu.
Hi Scott,
beanMapping tag come before the service terminating
tag i.e. /service
Like this;
service
..
.
beanMapping qname="ValidateFields:User"
languageSpecificType="java:example2.User"//service
Regards,
Dimuthu.
- Original Message -
From: "scott"
Matt Hatcher,
I had the same problem once. It was caused because Axis could not find the
wsdd file. Make sure that the wsdd server-config file is in the webInf
folder.
Regards,
Dimuthu.
- Original Message -
From: Hatcher Matthew [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday,
abhijat,
Try this.
call.setUseSOAPAction(true);
call.setSOAPActionURI(methodName);
Dimuthu.
- Original Message -
From: Abhijat Thakur
To: [EMAIL PROTECTED]
Sent: Saturday, September 06, 2003 4:56 AM
Subject: settting soapaction
In my wsdl file i see the soapAction attribute set to
Hi,
Am I loosing my sense of time or does it actually take two days for my mails
to reach the mailing list?
Thank you all for your help and patience, but now I run into more problems.
The TCPMonitor shows request and response messages as below.
Request --
soapenv:Body
Hi,
I have been running into all sorts of problems regarding doc\literal
services and I still do :-). Yes I had the same problem. I am using a static
client which uses a call object. There is no involvement of WSDL. So I
checked whether axis uses setOperationName( ) to do some validation with the
Hi,
I also ran across lot of problems reagarding this doc\literal services and I
still do :-). I had the same problem.
So checked whether axis uses this setOperationName to validate the operation
name with the soap action, but it looks like it doesn't.
I am also very interested to know why it
I send this mail yesterday, but it doesn't appear in the list today. It has
got lost somehow, So I am sending it again. If there are multiple copies I
am really sorry about it.
hi,
I am hoping to write a doc/literal sample that does not use wsdl so that new
users can use it to understand
applying it. I've done all I can...
:-(
Second, you are supposed to
cast the result of the getPort(...) call to the actual interface you passed
in. I'm not sure what will happen with what you have
below...
-Original Message-From: Dimuthu
Leelarathne [mail
Juergen,
As I understand your question I think you want to dynamically
find out the informationlike name, port info of the web service from
wsdl.If you want to find these information dynamically using a client you
can find some very useful code in sample/client package.
If youwant to do
Thomas, Cory, Mike , Anne and all,
Thank you very much for your guidance and patience. Iwanted to learn wrap/lit and
doc/litweb services andlooked for samples. I found some but
Icouldn't find something simple.So I decided to write a simple
sample for myself. That is why I'm very particular
of the message body. Otherwise the SOAP
runtime has no idea how to type map it.
Anne
- Original Message -
From: mailto:[EMAIL PROTECTED]Dimuthu Leelarathne
To: mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
Sent: Monday, August 04, 2003 1:47 AM
Subject: Is this a wrapped service ?
I have a service
- Original Message -
From: Dimuthu Leelarathne
To: [EMAIL PROTECTED]
Sent: Friday, August 22, 2003 4:59 PM
Subject: Re: Introspecting on Service from within RPC implementation?
Juergen,
As I understand your question I think you want to dynamically find out the
information like name
ding="UTF-8"?soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"soapenv:Body
ns1:Add xmlns:ns1="http://math.samples/"
B4.1/B A2.2/A
/ns1:Add/soapenv:Body/soapenv:Envelope
Keep in mind that when you're using WRAPPED (or any literal
encoding), yo
Hi all,
Consider a situation where there is adoc\literal web
service which accepts two(or more) complex arguments.
1)Doesaxis enginedeserialize it into two
arguments?
2) Literal encoding means that the Body contents conform to a
specific XML Schema, and that gives you lot of freedom.
Hi all,
I'm trying to write a wrapped web service without using wsdl.
I have some simple basic questions,
1. Where should I put the xml schema ? Should it be inside
wsdd or should I put a reference to it in the wsdd ?
2. I read something like this written by
Anne ;
The main reason that
I have a service similar to math in samples. I wrote a wsdd
and a client (I'm not usnig wsdl or wsdl2java).If I run the TCP monitor shows
the followingmessages (given bellow).
My question is:::
Is it a
wrapped service?
?xml version="1.0"
encoding="UTF-8"?soapenv:Envelope
Jeff,
Axis has a problem for deserializing arrays inside custom data
types. Acutally it is listed under bug list in axis. The number of the bug is
15384.
But axis is capable of deserializing arrays. So a possible
workaround would be dynamically registering the array deserialiser for your
.
- Original Message -
From: Dimuthu Leelarathne
To: [EMAIL PROTECTED]
Sent: Friday, August 01, 2003 10:05 AM
Subject: Re: Complex Type Deserialization
Jeff,
Axis has a problem for deserializing arrays inside custom data
types. Acutally it is listed under bug list in axis. The number
Hi all,
I want to start learning document\wrapped services. Where can
I go ?
Thanx
Dimuthu
Hi,
I was going through MessageContext interface provided in
JAX-RPC. To be precise it is "javax.xml.rpc.handler.MessageContext". It contains 4 methods
as
containsProperty(String name),
getProperty(Stirng name), getPropertyNames( ), removeProperty(String
name)
Now my question is what
Harsh,
Axis user guide is a greathelp. You can also
findsome simple sample clients in samples/userguide.Good
luck.
Dimuthu.
- Original Message -
From: "Harsh Nagpal" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 5:47 PM
Subject: newbie
Hi! I'm new to axis.
Hi Tom,
I think you haven't enabled the Axis Admin servlet by editing
axis-root\webapps\axis\WEB-INF\web.xml. To do this you have to uncomment
the servlet mapping for /servlet/AdminServlet.
Dimuthu.
- Original Message -
From: Tom jun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
Hi,
For Appache Web Server and IIS Axis 1.1 surely
supports.
For Web Shphere and JBossprobablyyes ... maybe
not.
Other things I don't know.
Regards,
Dimuthu
- Original Message -
From:
Agarwal, Naresh
To: Axis
(E-mail)
Sent: Monday, June 30, 2003 1:33 PM
69 matches
Mail list logo