Maybe we don't have the same problem. I am assuming you used the WSDL2Java
command to generate your beans. I have done the same on my code and
reviewed the new beans. My parent bean (Catalog) seems to have the inner
bean (Product) as an array for the getter and setter methods:
public class Cata
Title: Clarification on Service Styles - RPC, Document, Wrapped and Message
Hi
I cant
answer all your questions but for some i have answers.
The
"rpc" style maps to "rpc". The "document" style maps to "message".
The
Document of axis is achieved ny means of Java Objects so its essentiall
David,
I edited the metadata in the generated bean (the bean that contains the
array of other beans). In the XML type metadata, it had the type mentioned
as Cow (where Cow was the nested bean), rather than ArrayOfCow, so I changed
it to ArrayOfCow, and all was well.
Sorry I can't send the actual co
Here is the wsdl:
- http://schemas.xmlsoap.org/wsdl/";
xmlns:apachesoap="http://xml.apache.org/xml-soap";
xmlns:impl="urn:ProductDbHelper" xmlns:intf="urn:ProductDbHelper"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:tns1="http://util.regisproject";
xmlns:wsdl="http://schema
that I can't answer. Can anyone from Axis address this?
And what's your wsdl look like: can you copy it and post it?
Marc
-Original Message-
From: David Gilbert [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 10:02 PM
To: [EMAIL PROTECTED]
Subject: RE: deserializing a bean wra
It certainly could - I am using the 1.1 beta also. Can you please explain
how you got your service to work in more detail? Specifically, which meta
data did you change - .wsdd or code? Can you send an example?
Thanks.
-Original Message-
From: Navneet Joneja [mailto:[EMAIL PROTECTED]]
The array is coming back from the service - the call is getCatalog() and
returns a Catalog object that has an array of Product objects as its data.
I have deployed the service with multiple methods. I can getCatalog2() that
returns arrays of strings and an array of doubles and I can getProduct(id
Hi. I have a problem with Axis, this code:
public Element sendSOAPRequest(Document request) {
Element result = null;
try {
Object[] input = new Object[1];
input[0] = request.getDocumentElement();
result = (Element) call.invoke("
Could this be related to the bug I just described?
= Navnett
-Original Message-
From: Marc Esher [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 4:46 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: deserializing a bean wrapped array of beans
David,
Is this array
Supposing I replaced the line
QName xmlType = elemType.getQName()
with
QName xmlType = elem.getType().getQName()?
I
think that should fix the bug, correct?
-
Navneet
-Original Message-From: Navneet Joneja
Sent: Monday, February 10, 2003 4:29 PMTo: Axis-User
(E-mail); '[E
David,
Is this array coming from your client-side code that's callling the
service? And can you successfully deploy the server-side code, get the
service to appear in axis's list of service, and successfully view the wsdl?
Marc
-Original Message-
From: David Gilbert [mailto:[EMAIL PROTE
Hi,
I'm using AXIS 1.1
beta to consume a published webservice that returns a structure that contains an
array of beans.
I ran Java2WSDL on
the WSDL and the service would not work (Something about a SAXException -
unexpected "item"). So I looked at the Bean generated for the parent structur
iS THERE ANY "STANDARD" WAY TO CHANGE THE "ENCODING" OF A XML DOCUMENT
with axis?
B.E. INPUT WITH ONE "LATIN" ENCODING AND OUTPUT WITH "utf-8" ENCODING WITHOUT
DO THE WORK "MANUALLY"
i´M TRYING TO BUILD ONE "GOOGLE" CLIENT BUt I MUST SEND THE MESSAGE IN "UTF-8"
AND I BUILD
tHANK YOU
bRUNO
---
Marc,
I have done as instructed below, but still have the same problem with a new
namespace. Conceptually I don't understand how Axis would know how to
deserialize the Products within the Catalog without a namespace being
provided for the Product object to assist in mapping to a deserializer.
Whe
Title: Clarification on Service Styles - RPC, Document, Wrapped and Message
Hi,
I have some questions about the 4 service styles supported by Axis, i.e. RPC, Document, Wrapped and Message. I hope someone can answer these for me.
1) WSDL 1.1 talks about two SOAP binding styles: "rpc" and "d
Thanks for the info. Rpc/lit style service does invoke the method by name. But the
message format still doesn't meet our requirements: it creates a second wrapper around
all the arguments in the message. In the request, it uses the parameter name. In the
response, it uses the qname.
For example
Did you look before you whined?
http://ws.apache.org/wsif/mail.html
Mark Galbreath
Principal Consultant
Workflow Process Engineering and Systems Integration
http://www.QAT.com
410-703-367 / 800-799-8545
"Never attribute to malice that which can be adequately explained by
stupidity." ~Hanlon's
Title: Message
Dude,
I got 7,030 hits with "EJB + Axis" on google.
Mark
Mark
Galbreath
Principal
Consultant
Workflow Process
Engineering and Systems Integration
http://www.QAT.com
410-703-367 /
800-799-8545
"Never
attribute to malice that which can be adequately explained by
stupidity
Hello Jason,
There is a new WSIF user group, see
http://ws.apache.org/wsif/mail.html for subscription details.
Since we have only just moved to using
this list it is likely that most of the WSIF traffic will remain on axis-user
for the near future.
Nirmal.
"Jason Weinstein" <[EMAIL PROTEC
Jason, it is my hope too...
- Original Message -
From: "Jason Weinstein" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 8:26 PM
Subject: It is my hope that a new WSIF user group is set up.
> It is my hope that a new WSIF user group is set up.
>
> At this po
It is my hope that a new WSIF user group is set up.
At this point I have to filter out most of the axis posts (which I used
to be able to go through but has turned out to be a little too active
for me) when I would be much more interested in hearing only about WSIF.
Ideally I would like to manage
I have a question about manualy deserializing a string on the client
side.
First of all, every object I am using (serialize/deserialize) was
generated by wsdl2java
In a very special case I send back to the router a serialized object as
a string (element type = string in the soap message). This "s
Am Montag, 10. Februar 2003 16:30 schrieb Glen Daniels:
> Hi all:
>
> The Axis team would like to announce that the 1.1 release candidate 1
> version of Axis has been posted to http://ws.apache.org/axis/dist/1_1RC1/
>
> This release is primarily for bug fixes. Some highlights:
>
> - java.sql.Date
Hi,
I have a question regarding maintaining session. How do we maintain session for a Java Web Service which is consumed by a C# client? Any links would be appreciated.
Sateesh.Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
hi:
I tried the link:
http://www.ammai.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=6&page=1
But it dosen't work, so anybody can send the tutorial to my email?
[EMAIL PROTECTED]
Thanks!
Maurizio Sciglio <[EMAIL PROTECTED]> wrote:
First of all thanx for the r
hi:
I tried the link:
http://www.ammai.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=6&page=1
But it dosen't work, so anybody can send the tutorial to my email?
[EMAIL PROTECTED]
Thanks!
Maurizio Sciglio <[EMAIL PROTECTED]> wrote:
First of all thanx for the reply.I
I can't believe! It was a problem with TCPMonitor!
For some weird reason the use of tunnelling cause stream
interruption.
- Original Message -
From:
Maurizio Sciglio
To: [EMAIL PROTECTED]
Sent: Monday, February 10, 2003 6:38
PM
Subject: DIME & Axis (2)
Hi all a
First of all thanx for the reply.
I think this should be done from the client side. I need to specify in the
server code.
Bye
- Original Message -
From: "Norris Merritt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 7:07 PM
Subject: R
- Original Message -
From: "Andreas Siegers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 07:06
Subject: AxisServletBase.getEngine - startup performance
Hi all.
>The first call to the AxisServletBase.getEngine method takes about 6-7
seconds for
>me, which
Hi Maurizio, do
call.setProperty(call.ATTACHMENT_ENCAPSULATION_FORMAT,
call.ATTACHMENT_ENCAPSULATION_FORMAT_DIME);
before the call.invoke()
-Original Message-
From: Maurizio Sciglio [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 8:00 AM
To: [EMAIL PROTECTED]
Subject: DIME & Ax
Hi all again.
I've written a web service (with Axis) to receive
files sent from a C# Client. To try the service I'm using some GIF images. Often
the service call fails and the following message appears within the Tomcat
window :
java.io.IOException : End of physical stream
detected when
Hi all,
I'am trying to force Axis to create a SOAP body which
is not only well formed but valid against a xml-schema which is referenced
in the body part. Does anybody know how to force the bean-seralizer to set the
namespaces correct (I miss the correct prefix in childelements) and to add the
Generalization: A lot depends on how and what you measure. One could always
come up with measurement programs to emphasize the particular aspects of a
program. So comparing results for different measurement programs make no
sense.
On Parsing technology: I did some experiments to compare different
Take a look at the ShoppingCart test:
java/test/shop/ShoppingCartAll.wsdl
...
...
(typens and tns are mapped to the same thing in
Hope that helps ... perhaps the EJB extension page:
http://ws.apache.org/wsif/providers/wsdl_extensions/ejb_extension.html
could
Thanks. I added a classpath attribute to the Axis taskdef in my build file.
Worked. Could just as well have used a nested classpath element.
"Steve Loughran" <[EMAIL PROTECTED]> wrote:
- Original Message -
From: "Mitch Gitman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday,
It's not just advertising. I've done the benchmarks myself. The performance
differential varies depending on the length and complexity of the message.
With simple messages, the performance differential is closer to 3-5x. As the
length and complexity increases, so does the performance differential.
Both sides. (you have to parse the message on both sides) There are other
issues that affect performance and (even more so) scalability -- especially
on the server -- such as lifecycle management. But these other performance
issues are negligible next to parsing.
We had another discussion on this
Thanks. The list welcome email says that it is
"[EMAIL PROTECTED]".
Thanks again,
Greg
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Help unsubscribing
The address should be : [EMAIL PR
change xml.apache.org to ws.apache.org
I had the same problem trying TO subscribe...
- Original Message -
From: "Greg Brown" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 10, 2003 10:55 AM
Subject: Help unsubscribing
Hi all-
I hate to have to send this to the enti
The address should be : axis-user-unsubscribe@ws.apache.org
Thanks.
"Greg Brown" <[EMAIL PROTECTED]>
02/10/2003 10:55 AM
Please respond to axis-user
To: <[EMAIL PROTECTED]>
cc:
Subject: Help unsubscribing
Hi all-
I hate to have to
Hi all.
I'm trying to download a file from a Web Service written in Java. In order
to allow .NET clients to use this service I thought to use DIME for SOAP
attachment. Sam Brow has submitted to this mailing list a message writing
about this topic. Unfortunately in his example he simply sends back
Hi all-
I hate to have to send this to the entire mailing list, but I've emailed
the list admin and gotten no response. For some reason, I'm not able to
unsubscribe using the <[EMAIL PROTECTED]> email
address. I keep getting a failure notice in a return email. Can someone
please let me know how I
Hi,
Further to recent enquiries regarding training on AXIS, we have an
AXIS-based course:
"Developing Enterprise Web Services" - 3 days, for Java developers:
- http://www.escala.co.uk/webservicescourse.html
We have delivered it to some high-profile customers here in the UK.
It is a course desig
I definitely appreciate the simplicity and elegance of AXIS handler chain
model. But on the other hand, I also observe some limitations when trying
to build a more sophisticated intermediary processing model on it. I would
like to get a sense if other people hitting the same issues in their
p
Hi all:
The Axis team would like to announce that the 1.1 release candidate 1 version of Axis
has been posted to http://ws.apache.org/axis/dist/1_1RC1/
This release is primarily for bug fixes. Some highlights:
- java.sql.Date works now
- 404 errors correctly returned on bad *.jws URLs
- doubl
import org.apache.axis.MessageContext;
import org.apache.axis.transport.http.HTTPConstants;
...
MessageContext mc = MessageContext.getCurrentContext();
System.out.println(((javax.servlet.http.HttpServletRequest)mc.getProperty(HT
TPConstants.MC_HTTP_SERVLETREQUEST)).getRemoteAddr());
-O
Hi Anne!
The issues you are referring to concern mainly server side, client side
or both?
Thanks for any comments,
Luís
Anne Thomas Manes wrote:
A lot of the performance differences come from the parsing technology used.
GLUE uses Electric XML, which is a highly optimized JDOM-like parser.
Hi all.
The first call to the AxisServletBase.getEngine method takes about 6-7
seconds for
me, which is untenable.
One way of solving it seems to be to add the load-on-startup tag in the
web.xml and put the
getEngine call in AxisServlet init method.
Do we have another more acceptable way of so
Actually 10-15x faster seems to be only in the WASP advertising in actuality
it's only 2-3x.
-Original Message-
From: Luís Fraga [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 8:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Axis performance in compare with XRPC (reference
implementa
hi folks,
I'm writing a custom axis handler.
I'd like to know, from where the request
came (like getInetAddress() in the Socket class).
any ideas ?
thanks,
peter
Hello,
The EJB binding does support exceptions.
If your EJB method throws an exception, the corresponding WSDL operation
must have a fault message (one per exception). The fault message must have
one part, whose schema type is mapped to the corresponding exception class.
If your service (i.e. the
No. These are available:
serializer="org.apache.axis.encoding.ser.EnumSerializerFactory"
deserializer="org.apache.axis.encoding.ser.EnumDeserializerFactory"
Liviu
-Original Message-
From: Kolo Polo
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 09, 2003 2:09 AM
T
A lot of the performance differences come from the parsing technology used.
GLUE uses Electric XML, which is a highly optimized JDOM-like parser. WASP
uses a pull parser.
> -Original Message-
> From: Luís Fraga [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 10, 2003 7:20 AM
> To: [EMA
Olá meu.
Também tas nesta mailling list!
Lembraste de mim? Sou o miguel... entrei contigo. Tive a falar com o Luis
Carvalho (que trabalha contigo) noutro dia...
Abraço.
-Original Message-
From: Luís Fraga [mailto:[EMAIL PROTECTED]]
Sent: segunda-feira, 10 de Fevereiro de 2003 12:20
To:
10-15x faster than Axis!!??? I will have to check that!
What are your toughts regarding these performance issues?
Luís
Anne Thomas Manes wrote:
You'll find Axis performance much faster than Sun's JAX-RPC RI. It also
provides much easier tools. But the commercial implementations are much
fast
Its back up now and their stock service is working ok again
- Original Message -
From: Norris Merritt <[EMAIL PROTECTED]>
Date: Mon, 27 Jan 2003 13:44:14 -0800
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: www.webservicex.net has gone ?
> There was a major internet worm incid
Hi all,
I'm trying to invoke a DOC / LIT Service. To add different headers to the
SOAP-Message I want to use Axis handlers.
My first idea was to use the client-config.wsdd but the client wasn't able
to load the description without having a className of the implementing Java
class of this se
Hi,
the simple session handler adds the session id only if there exists the right
property in MessageContext. If this property doesn't exists the session header will
not be craeted.
Hi,
I fiddled around with session management in Axis for a few days now and I
encountered some problems,
Hi,
I fiddled around with session management in Axis for a few days now and I
encountered some problems, mainly related to the client configuration.
The following explanation is quite long but I think necessary to get the
whole background.
OK
First I tested the example test.session.TestSimpleSes
Hi,
i integrated axis into my own web-application which is packed in a
war and served by the tomcat 4.x servlet-container. The
AxisServletBase provides the methods getWebInfPath getHomeDir which
use ServletContext.getRealPath("/WEB-INF") (for eg.) to set them at
init time. But from within
a jar,
Hi,
My wsdl path is "http://localhost:8081/axis/services/ZZGWOPR?wsdl";. With WSDL2Java I
can retrieve this wsdl, but it imports another wsdl:
...
...
As you can see location refers to a relative path, not absolute. I don't know if Axis
works fine with absolute path.
I think it is a problem of
61 matches
Mail list logo