Hello Sebastian,
(B
(B> how can stop the process of invocation with the help of a handler?
(B
(B As you may know, AXIS has two implementations of "handler"; AXIS and
(BJAX-RPC. The easiest way what you want to do is JAX-RPC imp., I think.
(B
(B Because the JAX-RPC ver 1.0 specifies the seq
hello,
i'm using the axis Call and Service objects for my web service calls.
in the method call.addParameter(paramName, xmlType, parameterMode), i wish to pass in a parameter of boolean type.
i.e.
paramName = "param1"
xmlType = org.apache.axis.Constants.XSD_BOOLEAN
parameterMode = ParameterMode
Hello Rob,
Thanks for pointing that out, we will
fix it prior to the next release.
Nirmal.
"Rob Bugh" <[EMAIL PROTECTED]>
12/18/2002 11:34 AM
Please respond to axis-user
To:
<[EMAIL PROTECTED]>
cc:
Subject:
Redundant entries in wsif-sr
Hi,
To build WSIF, you unfortnately need
j2ee.jar, since right now building WSIF involves building all the providers,
including ones you may not need to use (such as the EJB or JCA providers).
To use WSIF you need at runtime the
jars that are used by the providers you employ. The SOAP providers
David,
MyCF is an Jndi name for the Connection Facotory and I think you are
using SunOne JMS Provider so please use the Sun J2EE RI's admin tool to
create a Connection factory entry and then
Try running the sample.
Hope that helps
Thanks
Kamesh
-Original Message-
From: David payam
Hi Agnes,
Many older SOAP implementations require the types to be present, though
with others (such as .NET) the default is to not use the types. Axis
includes support for generating SOAP without the xsi types, but you have
to configure it to operate this way. As far as I know, the normal way o
Hi All,
I need to retun an array of strings as a result of a call. Any quick start ideas or pointers...??
Thanks,
KenDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Hello,
I would like to know if a service Axis can work with the property
PROP_SEND_XSI =false
If yes, I don't understand what is the advantage to use the xsi types in the
envelope?
Thanks in adavance,
Agnes
___
Do You Yahoo!? -- Une adresse
From a quick look through the code there doesn't appear to be anywhere
that even trys to check for valid characters -
XMLUtils.xmlEncodeString() just handles encoding special characters, and
SimpleSerializer.getValueAsString() just calls toString(). There should
definitely be a check for valid
Two documents [1,2] on the wsif site refer to a
dependency on j2ee.jar. #1 claims it is optional, if you have
activation.jar and javamail.jar, and do not need EJB and JCA providers. #2
claims it is required and does not mention activation.jar and
javamail.jar. Clearly, it would be require
axis-1_1beta\samples\echo\
InteropTest.wsdl
TestClient.java
InteropTestSoapBindingImpl.java
-Original Message-From: Ken Reek
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, December 18, 2002 1:14
PMTo: [EMAIL PROTECTED]Subject: Returning an
Array of Strings...quic
Hi All,
I need to retun an array of strings as a result of a call. Any quick start ideas or pointers...??
Thanks,
KenDo you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
no. Where is the data coming from? How are zero bytes getting onto the ends
of strings? Are they coming from a database or something?
Indeed a print out of the byte array version of the string before
serialization reveals:
77 111 114 99 104 101 101 98 97 0
M o r c h e e b a
A ZERO
At 9:49 AM -0800 12/18/02, Steve Loughran wrote:
> I'm guessing this is an issue in
org.apache.axis.encoding.ser.BeanSerializer
There is certainly something going awry with whatever is putting the data on
the wire.
Anybody have a clue, or seen this before?
no. Where is the data coming from? H
- Original Message -
From: "Chris Schaefer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 18, 2002 08:45
Subject: xsd:String encoded with zero at the end...
> I'm having a weird problem where my service returns strings which are
> zero terminated ( like C ), but
>
I am doing tests transmitting a big object
(bean) which was generated with WSDL2Java. I have a schema with big sequence
type.
Then, what I get in the wire is:
[...]
[...]
But what I want to get is:
hi:
When I ran the JMS sample, I got the erro code:
- Exception:javax.naming.NameNotFoundException: MyCF at com.sun.jndi.fscontext.RefFSContext.getObjectFromBindings(RefFSContext.java:400) at com.sun.jndi.fscontext.RefFSContext.lookupObject(RefFSContext.java:327) at com.su
I'm having a weird problem where my service returns strings which are
zero terminated ( like C ), but
actually _IN_ the XML. The client side parser complains of invalid
XML characters.
I created the framework for this code with the
interface -> java2WSDL -> WSDL2java -> subclass technique.
T
Ignore my specific comment/question about a registered serializer breaking
default deserializers - looks like that particular one was likely a coding
error on my part. Still wondering if it's possible to register a
default/fallback deserializer though (eg, anything you get back that's in a
names
FYI
In the 12/18 nightly build of wsif-src-2.0beta1.zip there are redundant
entries. For example:
wsif-2.0beta1\samples\complexsoap\Zip2Geo.wsdl
and
wsif-2.0beta1\samples\ComplexSOAP\Zip2Geo.wsdl
wsif-2.0beta1\samples\complexsoap\client\stub\com\cdyne\ws\Zip2GeoSoap.java
and
wsif-2.0beta1\sa
I
haven't tried this with AXIS yet, but with ApacheSOAP it just works, as it ends
up sending via UTF-8 encoding (which I believe ApacheSOAP does by default)
which handles such characters just fine, if the other side accepts UTF-8
encoding...
-Original Message-From: Rolando Pablos
Rolando Pablos Sánchez a écrit:
Where?
I am not transmitting a xml/xsl.
ok then .. but the rpc-soap message is an xml text request via http ..
so maybe axis itself just handles & and it does not handle other
character entities .. however I'm not sure ..
follow-up to axis-dev ..
I am transmi
Where?
I am not transmitting a xml/xsl.
I am transmitting a rpc-SOAP message with Axis API, but what I see in Java
is just Java objects. And I have a String object to transmit.
Or may be I don´t understand very well your answer.
thank you anyway.
- Original Message -
From: "Eriam Schaffte
You have to declare all the entities corresponding to the latin1
characters in the xml/xsl file you are transfering or with which you
translate.
]>
Probably & is declared so the parser handles it.. just declare the
other entities and it should go smoothly..
:)
cya
Eriam
Rolando Pa
No. At least just writing ñ.
I've tried ñ but I get "ñ" in the wire and "ñ" in
the destination string, so it translates & but nothing else.
Besides, actually I don´t write the string. It is passed to me. Is the
solution to write a function to translate and other to undo the translation?
-
Hi !
Just an idea.
I don't know if it works.
You can try by using the decimal ascii code for these characters.
For instance:
ä : ä
ñ : ñ
í : í
Tell me if it works I'm interested :)
Patrick.
> I am transmitting strings and it was OK until I transmitted ñ,í and
> similar characters. It is because
I am transmitting strings and it was OK until
I transmitted ñ,í and similar characters. It is because I need to transmit
spanish characters.
I get a error parsing because of that. I thought it
was automatic but it wasn´t. I have even tried the
method:String org.apache.axis.utils.XMLUtils.xm
Hi Klaus,
I use for my hole Session-handling. In hat Handler are all active Sessions
stored, the timeout is checked and so on. I did not try to the end to use
the technioque you described, so maybe they very similar. The way described
by me, was just the first I got working...
Greetings from Hamb
Hi Sebastian,
i played a little bit around with this technique but i don't
know where it is good for.
the only difference i see is the sessionid in the soap-header instead of
"cookie: jsessionid=..." in the http-header and an SimpleSession-object instead
of an AxisHttpSession-object in my service
Hi all,
(from Japan, sorry for my poor English.)
I have a problem on the following environment.
Client: VB.NET on WIN2000
Server: WIN2000 + IBM HTTP Server + IBM WebSphere4.0.4 + Axis1.0
Network: LAN 100M
I often get an error message of "Basic connection closed. HTTP Protocol
violation."(the act
Hi there,
how can stop the process of invocation with the help of a handler?
I deployed a handler in the request-flow of the server that should check,
whether a database-connection is established. If established, nothing
special should happen, but the original request is performed. If no
connectio
Hi Michael !
> Please verify that when I include -Djavax.net.ssl.trustStore=
> on the server command line it sets the system property
> javax.net.ssl.trustStore
Yes it does... You can also set this programatically from
within your code...
I think there is/was a problem with Tomcats "clientAuth=
Hi,
This problem seems really easy but I can't find a solution...
I try to use this WSDL type :
I use this Typemapping :
xmlns:ns="http://Interop/xsd";
qname="ns:Interop.Number"
type="java:Interop.Number"
serializer="org.apache.axis.encoding.ser.BeanSerializerFac
I saw experimental support using JMS in 1.1b source.,
As JAXM will not be part of J2EE 1.4, the topic might not be stable yet..
Look in the 1.1 nightly build or cvs somewhere under examples :-).
HTH
mfh
>>> [EMAIL PROTECTED] 18.12.2002 07.08 Uhr >>>
Hello Axis-users,
I'm new to this list a
34 matches
Mail list logo