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 "Resul
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,
Dimuthu
you client needs to understand ISO8859_1..
in java client the property to set is file.encoding
Thanks,
Samir
WorldRes, Inc.
PlacesToStay.com
"Online hotel reservations worldwide."
-Original Message-
From: Sid Subr [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2003 2:14 PM
To: [E
To be entirely clear, what is the method signature desired for the
service method?
A message style service will pass/return DOM Element objects:
Example: Element[] echoElements(Element [] elems)
Or, you could simply pass a String containing XML which will work as
well
Example: String echo
Axis works great with recent Resin versions. There is not much to it.
Just put the jar in your classpath.
Great product, Resin.
Ben
On Fri, 2003-12-05 at 15:12, tony vieitez wrote:
> Hi
>
>
>
> Does anyone know if axis is compatible with resin web server? If so I
> would appreciate any in
so are you saying there are problems or it is not
supported in Axis 1.0 & 1.1 or
__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
so are you saying there are problems with the extended
character set?
--- Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> Yes. Use Axis 1.2 Alpha.
>
> -- dims
>
> --- Sid Subr <[EMAIL PROTECTED]> wrote:
> > how does axis support ASCII extended charcters
> like
> > accent etc..
> >
> > I know it
Yes. Use Axis 1.2 Alpha.
-- dims
--- Sid Subr <[EMAIL PROTECTED]> wrote:
> how does axis support ASCII extended charcters like
> accent etc..
>
> I know it is UTF-8 encoded etc on serialization but
> what I am seeing is that on the other size the string
> is totally different..
>
>
>
> _
how does axis support ASCII extended charcters like
accent etc..
I know it is UTF-8 encoded etc on serialization but
what I am seeing is that on the other size the string
is totally different..
__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.y
There's code at http://wss4j.sf.net/. Use anonymous cvs access to get the code. Join
the mailing
list there as well. No. Please don't roll your own handler. That's the reason for
WSS4J :) Code
exists for UserNameToken profile and X509 profile.
thanks,
dims
--- "Pascale, Peter H." <[EMAIL PROTEC
I am interested in hearing more about WS-Security support in Axis. What is
the future of WSS4J?
I've been asked to modify an existing Axis-based web service client to
access a service where WS-Security is required. I'm trying to get a sense of
what options exist now, and what might exist in the fu
Chris,
I just want to clarify. I was as clear as maybe I should of been.
My goal is to pass an XML file as a parameter to one of the public
methods of my service without AXIS interferring with it or getting upset
over it.
I will check out the message example.
Thanks,
Neil
chris wrote:
A m
Hi
Does anyone know if axis is compatible
with resin web server? If so I would appreciate any information on this subject
Thanks
Tony
A message service would be the correct approach. See samples/message
which is documented in the users guide:
http://ws.apache.org/axis/java/user-guide.html
If you look under the hood, you will also see that the AdminService is a
message style service that accepts and returns XML.
/Chris
http://cv
Hi,
I want to send XML files to my AXIS service and have it return XML files
to the client. What is the correct way of going about this?
TIA,
Neil
Obj3 represents the return value from the actual
‘service agent’ performing the work…. If you have a return
value after executing the code or component performing the real work, you
simply need to stuff the return value into the envelope as XML. There are
two approaches:
The MsgProvide
Chris, Thanks a lot for your reply, I had a look at the RPCprovider. a call is made to invokemethod which returns obj3. This obj3 is used to construct the soap msg. But in my case I dont call invokemethod and I have the return value. So how do I construct the object (obj3) ?
obj3 = invokeMethod(m
Mark - Look at the existing providers
in org.apache.axis.providers to see how they craft the response message. processMessage()
in MsgProvider.java and the code after the /* Now put the result in the result SOAPEnvelope
*/ comment in RPCProvider.java
/Chris
http://cvs.apach
Can some one pls help me with this...any help would greatly be appreciated..
Hi
I have a SOAP client which uses my own provider. In the provider I call another method - not through the method.invoke but through other means. But I want to send the reply through a SOAP msg. So is there a way for me
Hello all,
I'm currently facing the problem of having to serialize not-predefined
Java Objects(some ints, an Object, and one Object[])
which are nested in a 'MethodInvocation' Bean
(happily (de)serializable w/ the Bean(De)Serializer).
that I send to the server.
>From the current point of view,
> Hello
> I am trying to generate java stubs from the wsdl file that I have
Are you by any chance using NonStop Soap? It generated wsdl and soap messages with
syntax and parse errors.
Anyway, try prefixing the guilty fault tags with "soap:" So that they get the right
namespace.
donV
Any ideas anybody?
Thilo Frotscher wrote:
Hi!
There are two ways how you can deploy a JAX-RPC handler.
1) use in the service definition
2) wrap it using JAXRPCHandler
What's the difference?
It seems that all handlers that were deployed using handlerInfoChain
are called between the global ch
Hi
I have a SOAP client which uses my own provider. In the provider I call another method - not through the method.invoke but through other means. But I want to send the reply through a SOAP msg. So is there a way for me to add the return value into the SOAP msg and reconstruct the SOAP reply msg?
My problem was just the char serialization part. Do you know if by now
there are any available?
[]´s
Francisco Arêas Guimarães
eMacDigital (Brasil) Ltda.
Email: [EMAIL PROTECTED]
Tel. 11-3371-9515 - R. 2065
-Original Message-
From: Fernandez Martinez, Alejandro
[mailto:[EMAIL PROTECT
Does org.apache.axis.JAXRPCHandler handle SOAP faults the way that the JAX-RPC 1.0
specification intends?
My understanding is that this class should feed responses that are SOAP faults (i.e.,
SOAP messages containing element in the body) to the implementation
class's handleFault(Context) metho
How do I change a textnode in a MessageElement? I know I can get the
value of the textnode by calling the getValue() method, but how do I
change it to something else? setObjectValue(), and addTextNode() didn't
seem to work correctly. Does anyone know how to do this?
Hi folks,
Do you see any problem in the attached code? My intension is to create an
envelope with body element containing DataHandler object. I have been
consistently getting the Null pointer exception.
My set up is like this.
1) Axis - 1.1RC2
2) mail.jar 1.3
3) activation.jar - ???
And my clas
Title: invocationTargetException solved
Like some other posters to this list I got the java.lang.reflect.invocationTargetException in the client.
This issue was solved by putting all necessary project jars into the jakarta-tomcatxxx\webapps\axis\WEB-INF\lib directory and restarting the ser
In a handler we can find who will receive the request with the method
getTargetService()
But how can we get information about who is the sender of this request ?
Valerie
Title: RE: Non-RemoteException serialization
Hi Francisco,
> -Mensaje original-
> De: Francisco Areas Guimaraes [mailto:[EMAIL PROTECTED]]
> Enviado el: jueves 4 de diciembre de 2003 21:02
> Para: [EMAIL PROTECTED]
> Asunto: RE: Non-RemoteException serialization
>
>
> Hi, I stumble
Hi!
I've been experiencing some problems when sending attachments to a message
style service.
The service uses the
public Element [] method(Element [] bodies)
method signature.
Everything runs fine when sending attachments < 16k and I'm able to get them
in the service. However, when I send a
I've put together a document-style service, but I'm having some trouble
testing it. The examples/docs I've seen only explain how to send an
array of SOAPBodyElement objects as arguments to the service. I want to
send a Document. I've declared my service as accepting a Document as
it's sole a
Hello
I am trying to generate java stubs from the wsdl file that I have
http://schemas.xmlsoap.org/soap/http"/>
This is the error I get :
java.io.IOException: ERROR: Missing element inFault "outEmpAddResponse1"
in operation "outEmpAddResponse1",
in binding EmpAdd at
org.
Hi all,
I have subclassed JavaProvider to handle SOAP requests and want to have it initialized
at startup (when tomcat/axis starts up).
It should be possible to deploy an extra servlet with option load-on-startup in
web.xml, that sends a request to the JavaProvider to initialize it.
- Has anyon
Wrong mailing list (http://sourceforge.net/mail/?group_id=81168)
--- Ravindra Sharadchandra Godbole <[EMAIL PROTECTED]> wrote:
> Hi
>
>
> I was using this method and it so happened that I had 2 WS-Security
> headers for one actor.
>
> I thought this method will catch this . It is not doing it.
It's a "security agent" which can be called by every servlet or web service
handler so it needs to be in the common directory.
This agent is axis dependant because it asks security information to
specialized axis web services (authentication and autorization servers).
I have a lot of interaction b
Just out of curiosity, why did you placed axis dependent code in your
common/lib directory? Is it a tomcat extension, a valve, or something
like this?
If it is not, you should move those classes to the webapp WEB-INF/lib
directory.
Regards,
Rodrigo Ruiz
[EMAIL PROTECTED] wrote:
I've already tr
With or without the default client-config.wsdd inside the
common/lib/axis.jar, the problem is the same, this error comes from a sort
of "collision" between the two axis.jar.
Valerie
Harald Pollak <[EMAIL PROTECTED]> sur 05/12/2003 10:20:11
Veuillez répondre à [EMAIL PROTECTED]
Pour : [EMAI
does the other jar (in common/classes) contains a default client-config.wsdd?
Am Fre, den 05.12.2003 schrieb [EMAIL PROTECTED] um 10:17:
I've already tried that : If I put axis.jar both in common/lib and
TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib, it solves the problem for
client-config.wsdd
I've already tried that : If I put axis.jar both in common/lib and
TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib, it solves the problem for
client-config.wsdd because myservlet use its own axis.jar BUT it causes
another error. This error comes because from "myservlet" I call a class
located in common/
stupid question what happens if you but it twice?
in common/lib and in TOMCAT_HOME/webbaps/myservlet/WEB-INF/lib/axis.jar (without client-config.wsdd).
I don't know what happens, but in your situation i would try it.
Harry
Am Fre, den 05.12.2003 schrieb [EMAIL PROTECTED] um 10:03:
Hi all,
I've seen that for a simple type derived from another simple type WSDL2Java tool
generates a wrapped class, not according with jax-rpc specs (4.2.5).
example:
...
I think there's a big problem with this.
Because axis.jar is located in TOMCAT_HOME/common/lib, it searchs for
client-config.wsdd only in TOMCAT_HOME/common/classes !
If I try to put it anywhere else I get an error...
This would mean that we must use the same client-config.wsdd for all
clients !!!
Hi Pedro,
Pedro Salazar wrote:
On Thu, 2003-12-04 at 16:59, Rodrigo Ruiz wrote:
Here it is my little proposal (I'm not saying it is easy or fast to
implement ;-) )
For each stateful EJB, create two services:
[snip]
My two cents ;-)
Rodrigo Ruiz
Very interesting, indeed.
Since I
Hi,
I should want two services, with the same interface, but with different
implementations.
I hope it's possible to get that with server-config.wsdd, and the "service"
element. For the two services, I use the same "className" parameter : it's
the stub. But how I can say : "use this implementa
I think the tomcats classpath search at 1st in the lib dir, so the wsdd is found first in the jar and searching for the wssd will be stopped.
I don't really have a solution but a work arround:
remove the client-config.wsdd from the jar and but it everywhere you use it.
maybee it is allso possi
46 matches
Mail list logo