I have found a workaround for exception propagation (the message part):
As I have metionned earlier, the faultstring is never get passed correctly.
Here is why:
The generated exception stub using WSDL2Java is JAX-RPC compliant (the message
part name is getting mapped to a get), this is no
prob
All,
Just wondering, is there a way to call local classes through JAXP in
Axis ?? Or should we create a Local implementation of JAXP ?
This would be similar to the EJB Remote vs Local paradigm , especially
when used in a workflow environment (wsil).
Olivier
I would concentrate on JAXM and JAX-RPC and shy away from specific
implementations. Since Axis supports JAX-RPC, it would be an appropriate
implementation to use for your examples. The only other option right now
would be Sun's RI. For JAXM you should use either Sun's RI or Systinet WASP.
Anne
>
Should be used for both - they share the same code.
--
Tom Jordahl
Macromedia
-Original Message-
From: Kamlesh Anvekar [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 4:58 PM
To: '[EMAIL PROTECTED]'
Subject: writeSchema method Serializer class
Hi all
The the Method
pu
Title: Support for EJBS
You
can look at the java source file
org/apache/axis/provider/java/EJBProvider.java. I have never used it
though.
Venkat
-Original Message-From: William Young
[mailto:[EMAIL PROTECTED]]Sent: Friday, February 08, 2002 2:27
PMTo: '[EMAIL PROTECTED]'Su
Title: Support for EJBS
Hello,
Well the documentation has a bullet point that says Axis supports exposing EJB methods as a Web Service.
I didn't see any examples (documentation or code wise). Does it really support EJBs? I know Apache SOAP 2.2 did with just simple modifications to the De
Hi,
I would recommend you use AXIS. Given the lead time on
getting your book published, AXIS should be hopefully
be ready for production use when your book hits the stores.
I guess what I'm trying to say is that if I was going to the store
six months from now to buy a web services book, and I
On the SOAP 2.2 vs Axis line of thought:
I know that the server side of Apache-SOAP expects to reside in a
servlet container in order to provide SOAP-RPC or messaging services? Is
this going to be true of Axis as well?
+Melissa
Hi all
The the Method
public boolean writeSchema(Types types) throws Exception
in Serializer Class is used to write the Schema in the WSDL File of the
service ..
Is this method is used while generating WSDL file from JAVA2SWDL utility or
when wsdl is passed in the queryString of service URL
Hi,
I have used Apache SOAP a little bit and have also played around with Axis.
Personally, I like Axis a lot more. It has an elegant architecture, is
tracking ( and influencing ) JAX-RPC standard very closely, and has a very
active user group supporting interoperability efforts. It may not very
Let me think about this some more. There may be a way to fix this now in
the array deserializer.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Glen addressed a similar issue on axis-user today.
The deserialization engine always deserializes arrays into ArrayList
objects.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
> Chill!
+1 :)
>
> Jim
>
>
> Jim Brain, [EMAIL PROTECTED]
> "Researching tomorrow's decisions today."
> (319) 369-2070 (work)
> SYSTEMS ARCHITECT, ITS, AEGON FINANCIAL PARTNERS
>
> -Original Message-
> From: Chauviaux, Patrick
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday,
Bryan McLane wrote:
>
> * Axis is in Beta and will be tested on the final version is
> released; In it's current state, we cannot recommend development with Axis
> as there are too many interoperability issues
The above was found inside an otherwise excellent summary of the situation.
This las
Another typo.
java.util.Vector
Chill!
Jim
Jim Brain, [EMAIL PROTECTED]
"Researching tomorrow's decisions today."
(319) 369-2070 (work)
SYSTEMS ARCHITECT, ITS, AEGON FINANCIAL PARTNERS
-Original Message-
From: Chauviaux, Patrick [mailto:[EMAIL PROTECTED]]
Sent: Friday, February
There is no java.utils.Vector class and what I need to return is a
java.util.Vector!
And what is the type of the variable prefs??
Do you have a code that resolve my problem? A code that compile?
-Original Message-
From: R J Scheuerle Jr [mailto:[EMAIL PROTECTED]]
Sent: Friday, February
I agree Glen. But don't we need this support for any output parameter ?
Maybe we should move further discussion to axis-dev.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Simple typo. Please use:
prefs = org.apache.axis.utils.JavaUtils.convert(prefs,
java.utils.Vector.class);
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Let us know the gist of the responses
1.1.SOAP Servers
Simple Object Access Protocol (SOAP) is a lightweight protocol for exchange
of information in a decentralized, distributed environment. It is an XML
based protocol that consists of three parts: an envelope that defines a
framework for de
Hi,
Does anyone know the tentative release dates of Axis? When is next alpha,
beta1.. and final release?
Thanks,
Venkat
Venkat Dokiparthi
Staff Engineer
Peregrine Systems
650-903-5294(pH) 650-919-5676(fax)
mailto:[EMAIL PROTECTED]
http://www.peregrine.com
Hello AXIS community -
I'm writing a book on how to use SOAP, Web Services,
and Java to implement Enterprise Application
Integration (EAI).
I've been writing all code examples in the book using
the Apache SOAP 2.2 implementation. However, now I
see SOAP books coming out that use AXIS rather
The problem with the solution proposed:
>prefs = call.invoke("updatePreference", new Object[] {
> cfg.getConsumerID() } );
>
> prefs = org.apache.axis.utils.JavaUtils.convert(prefs,
> java.lang.Vector.class);
is that Vector is a java.util.Vector and not java.lang.Vector. T
I just wanted to give you a quick explanation of this behavior while we're at it.
All Java arrays and Lists (anything implementing List) will be serialized by default
as a SOAP array to maximize interoperability with other toolkits. All INCOMING SOAP
arrays are automatically deserialized to A
This seems like a job for a new API:
call.setReturnClass(Vector.class);
This would set the return type and also automatically do any conversion necessary to
return it in the correct form. This would also make it much easier for people in that
they wouldn't have to remember the XML QName for
Just to continue on the Fault problem, I have downloaded the nightly
source code and noticed that the faultstring in the AxisFault is null on
the server.
I would like to understand what classes are responsible to build the
fault, so I can take a shot at it.
The SOAPFaultBuilder seems to be neve
Whoops our notes passed.
Change your code to:
prefs = call.invoke("updatePreference", new Object[] {
cfg.getConsumerID() } );
prefs = org.apache.axis.utils.JavaUtils.convert(prefs,
java.lang.Vector.class);
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 6
Are you receiving something?
If you are, it is probably an ArrayList object.
You can convert this into your vector, or you can call:
JavaUtils.convert(returnedObject, java.util.Vector.class);
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Title: Message
All I
can say is - DOH!
Its so
crazy it just might work :) Thanks
-Original Message-From: William Young
[mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 5:08
PMTo: '[EMAIL PROTECTED]'Subject: manually
generated WSDL files
Hi
Bob,
I
Here is the client code:
String endpoint = url+"HomeScenarioServer.jws";
Service service = new Service();
Call call= (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
prefs = (Vector) c
Define "doesn't work".
Do you get an exception?
I can try a test if I have time.. but if you could provide more
information.
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Hi all,
Has anybody noticed an anonymoly occurring as follows:
I have the following 2 test classes (simplified here for brevity)
public class DataWrapper
{
private HashMap storage; //Primary object storage
private long startTime; //Used to store an arbitrary start time
private lon
Hello all,
My problem is that I have a method on the server side that returns a
java.util.Vector. When I make an AXIS SOAP call to this method it doesn't
work. I suppose I have to use the VectorDeserializer class to do that but it
is rather difficult to understand how it works. Can someone send m
I am looking at making the changes requested by Thomas...
Rich Scheuerle
XML & Web Services Development
512-838-5115 (IBM TL 678-5115)
Russe
Hi,
I´m planning a small project which is technically a peer-to-peer application
(like gnutella and so on) which should use soap and wsdl for communication.
Meanwhile, I´m familiar with soap and wsdl. But I don´t know much about
peer-to-peer communication. Does anyone know if there is some docume
I've been looking at the messages that generated clients from different
systems
produce for a WSDL file I wrote. The WSDL file (see attached file)
contains 8 different operations whose soap binding uses different
variants
of style and use, along with message parts that use type and element.
That
Title: Changes in current build vs. alpha3 in WSDL generation: New problems with .NET 1.0
Since
we checked the fix in on 2002-02-07, it would appear in today's (2002-02-08)
nightly build.
--
Tom
Jordahl
Macromedia
-Original Message-From: Thomas Börkel
[mailto:[EMAIL PROTECTED]]
Hi
!!
Does anyone
has a sample client proxy code for AXIS, that inserts a custom header into the
out going SOAP envelope.
Thanks
Sanjay
Hi all,
I provide for my service my own prodider
"MyHandler". I need to set parameters for this handler.
I succeeded in providing my provider "MyHandler" as
follow:
//
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axi
Title: Interop with .NET: Hashtable as parameter
HI!
Using the nightly build from 2002-02-06.
If I have a method with a Hashtable parameter, then Axis generates a Map type and a Dictionary type in the WSDL.
.NET then creates 2 extra proxy classes: Map and Dictionary, where Map derives f
Title: Changes in current build vs. alpha3 in WSDL generation: New problems with .NET 1.0
HI!
I
tested the latest build from 2002-02-07 and there the problem is not
fixed.
Please
let me know how Russell want to deal with the appended "Service"
problem.
Regards,
Thomas
-Original
Title: Official name of the log4j jar file?
HI!
What is the official name of the log4f jar file? In alpha3, it's log4j-core.jar and in the nightly builds, it's log4j plus the current date.
Regards,
Thomas
41 matches
Mail list logo