So are you saying that these hrefs will not come in the case of document style encoding??Sanjay Krishnamurthi [EMAIL PROTECTED] wrote:
There is an element in your response (i think it isccref) which has id of ccid0. Other elements aresimply referring/pointing to it. Whenever you have aservice that
On Fri, Aug 15, 2003 at 01:26:12PM +0200, Michael Konietzka wrote:
Hi,
i am regarding problems with deserialization to a HashMap within an AXIS
Client. Server is a PHP-SOAP-Service, self developed from someone else.
[..]
What is wrong?
Maybe someone can provide some XML of a SOAP-Response,
In the AXIS TCPMonitor I am seeing...
POST /dmintserver/services/dmintsoap?wsdl HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.1
Host: testhost
Cache-Control: no-cache
Pragma: no-cache
SOAPAction:
Hi Dimuthu
,
you can set the property
SEND_TYPE_ATTR in a org.apache.axis.client.Call object to
false:
call.setProperty(
SEND_TYPE_ATTR, "false");
If you use WSDL2Java and
WSDL2Java recognizes your service as wrapped the following code is generated
automatically:
Well Im attempting the second approach. But with no success.
Would I be right in thinking that AXIS is still not able to
transport custom exceptions from the server to the client?
At present I am just getting an AxisFault exception on the client.
My exception dervives from Exception until I run
I suppose it does that because Call.invoke() only throws AxisFaults. If you
throw an exception without defining it to axis then axis wraps it in a
AxisFault. If you define application specific exceptions they seem to need
descend from AxisFault so they get serialized. If you don't want to see any
You are outside of the scope and capabilities of the
default type mapping as defined in Chapter 4 5 of
the JAX-RPC spec.
You will need to plug in your own (de)serializer.
Someone recently asked the same question. Check the
archives.
Cheers.
Steve Maring
--- [EMAIL PROTECTED] wrote:
I
Other than the effort required to configure Axis, I don't see why it would
make much difference.
If I have a Java interface that I am going to be turning into
a web service (with AXIS and the Java2WSDL and WSDL2Java tools).
Should I define a hierarchy of exception classes that could be
True enough, but if you had that much control of both ends of the wire
I'd say you don't need web services anyway. :)
To me the raison d'etre of Web Services is interop which necessarily has
lowest common denominator implications.
Jim
Jeff Greif wrote:
Also, overloaded methods are an area
Hi,
I was looking through the nightly build. I could not find the binary in
the nightly field. It contains the source only. Can I get the binary for
the nightly build?
Thanks,
Subhendu
Is axis configured to handle you custom exceptions? If you look at
samples.faults in the wsdd it defines the exceptions like below. When I
define faults in my wsdl, then wsdl2Java puts configuration code in the
stubs and skeleton classes.
operation name=getEmployee ...
...
fault
Have the server only listen to port 443. configure
it to not listen to port 80.
-Original Message-
From: Justin Avaya
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003
9:30 PM
To: [EMAIL PROTECTED]
Subject: HTTPS Server
Hi,
I am running a web service on our
Thanks for the feedback Richard. I have also been experimenting with
exceptions the last couple of days.
Im still feeling my way through AXIS. We were using GLUE and no GLUE
types were exposed in the client proxy classes. I guess that GLUE is
a little more mature.
You are right about the
[EMAIL PROTECTED] wrote:
yap i am quite agree that it better to keep away from overloaded methods ...
I have wirte overloaded methods and send them wrong requests ... e.g. send
three parameters to method expect two vise-versa ..
Some time they work ... (when they shuld fail..) depend on the
Regards,
Adrian.
Adrian Nolan
Traventec
Galway Business Park,
Newcastle,
Galway,
Ireland.
Phone: +353 (0)91 518729
Web:www.traventec.com
-Original Message-
From: Nolan Adrian
Sent: 19 August 2003 18:01
To: '[EMAIL PROTECTED]'
Subject: Multi-Threaded
All,
I need to access the HTTP headers in the response after the call.invoke().
Specifically, I need to get the JSESSIONID (cookie) that the web server
sets.
This is to code a work around for a load balancer which does not understand
SOAP Headers.
I have been through the API (and chased my tail
Some days the build fails. That is why you are not seeing a binary. Look for an
earlier date.
Rick
---Original Message---
From: Subhendu Kumar mohanty [EMAIL PROTECTED]
Sent: 08/20/03 10:25 AM
To: [EMAIL PROTECTED]
Subject: HOw to get the Binary for the nightly build
Hi,
I was
Call.getMessageContext().getProperty(cookieName);
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 5:01 PM
To: [EMAIL PROTECTED]
Subject: accessing the HTTP Headers in the Response
All,
I need to access the HTTP headers in the
Refer to xml-axis\docs\building-axis.html
You can build the binary in minutes.
-Original Message-
From: Rick Kellogg [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 2:23 PM
To: [EMAIL PROTECTED]
Subject: Re: HOw to get the Binary for the nightly build
Some days the build
Saludos
i'll be very thankful for your attention. i want to return, from one
web service, an array of array of string. How to define it in the source
code of the client.
QName QNAME_TYPE_STRING = new QName(NS_XSD, string);
call.setReturnType(QNAME_TYPE_STRING);
i know
for all who might run in the same trap:
if called the SimpleAuthorizationHandler b4 the SimpleAuthenticationHandler
correst is of course the oposite:
requestFlow name=auth
handler
type=java:org.apache.axis.handlers.SimpleAuthenticationHandler/
handler
Dimuthu,
Your current message qualifies as Document/Literal. It's always valid to
override the type information using the xsi:type attribute -- but the point
is that you aren't really overriding the defined schema, so you shouldn't
need to include the type information.
Can someone else on the
This is the global axis configuration wsdd I believe...
globalConfiguration
parameter name=sendXsiTypes value=true/
/globalConfiguration
-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 20, 2003 3:09 PM
To: [EMAIL PROTECTED]
Subject: Re:
On the server-side in server-config.wsdd:
?xml version=1.0 encoding=UTF-8?
deployment xmlns=http://xml.apache.org/axis/wsdd/;
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
globalConfiguration
parameter name=sendXsiTypes value=true/
Though I've not ever tweaked that
Can anyone point me in the right direction about how to disable server
authentication when doing a soap call over https?
I need to do this on a per-call basis (not globally). Using tomcat 4.1.27.
When doing POST over HTTPS, I just install my own TrustManager using the
HttpsURLConnection object,
Yes.(unless your message schemas defined in WSDL
itself has id/ref attributes).
Sanjay
--- Denero Watz [EMAIL PROTECTED] wrote:
So are you saying that these hrefs will not come in
the case of document style encoding??
Sanjay Krishnamurthi
[EMAIL PROTECTED] wrote:
There is an element
Hi james ..
sure you can ...you can check input in the serivice and send error..
But with overloaded method you are adding another conceran to ur lap ..
The webservices (To me at least ) is not take a class (java or C) and publish
it. you do not want everything. To me overloaded method is
hi Jhon Sanabria
first create a class that give the way to return the array of array (call
that class Array2 as a bean).
QName qn = new QName( urn:myarray2, Array2 );
then register that type
call.registerTypeMapping(Array2 .class, qn,new
org.apache.axis.encoding.ser.BeanSerializerFactory(Array2
hi Jhon Sanabria
sorry,some wrong in previous mail.
first create a class that give the way to return the array of array (call
that class Array2 as a bean).
QName qn = new QName( urn:myarray2, Array2 );
then register that type
call.registerTypeMapping(Array2 .class, qn,new
Hi all,
This is not related with this mailing list any how
I hope u people may help me a bit.
I am using jinsght2.0 for the performance analysis
for an axis project(using j2sdk1.4.0).
but jinsight gives an error
java.lang.NoClassDefFoundError:
java/security/PrivilegedAction at
30 matches
Mail list logo