- Original Message -
From: "Mike Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 5:06 PM
Subject: RE: As soon as I read...the next step should be simple...
> I wasn't worried and I will provide input when I see the need...so you
> fixed Step 3/5?
>
Barry,
I usually put all the jars in the WEB-INF/lib directory under whatever
directory my web service is in. I think there was some discussion at one
point about what to do when multiple web services share the same
libraries, but I don't remember what the consensus was (if any).
Steven Goller
Dave.
Would it work to do this:
msg.getSOAPPart().getMessage().getMessageContext().setSOAPActionURI(
"/ftr/xml/submit");
Steven Gollery
David Orriss Jr wrote:
I'm trying the following code to set a SOAPAction:
MessageFactory msgFactory = MessageFactory.newInstance();
// Create a mes
Ruslan,
Would something like this be workable for you:
Don't expose your existing class as a web service. Instead, create
another class as a wrapper. In that class, each operation would call a
method in your existing class, something like:
public returntype WebVersion( parameters ) {
try {
I wasn't worried and I will provide input when I see the need...so you
fixed Step 3/5?
Michael Oliver
AppsAsPeers LLC
7391 S. Bullrider Ave.
Tucson, AZ 85747
Phone:(520)574-1150
Fax:(520)844-1036
-Original Message-
From: Steve Loughran [mailto:steve_l@;iseran.com]
Sent: Tuesday, Novembe
Title: Message
Hi,
I have a WSDL file
that I would like to generate Java stubs from, using the WSDL2Java tool.
With no options set, it used to time out giving the "emitter timed out"
error.
Once I disable the
timeout it took almost ~12 hours to give me an output. After all that it gave me
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 1:42 PM
Subject: RE: (Chained) Exceptions and beanMapping
>Can anyone explain clearly WHY developers are forced
>to inherit from AxisFault class?
>It is a huge problem with the AXIS p
- Original Message -
From: "Mike Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'Thomas Hicks'" <[EMAIL PROTECTED]>; "John Lauer" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 1:47 PM
Subject: RE: As soon as I read...the next step should be simple...
> Steve,
>
> I hope
- Original Message -
From: "Mike Oliver" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'Thomas Hicks'" <[EMAIL PROTECTED]>; "John Lauer" <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 2:13 PM
Subject: Another thing about /samples/
> Once I got the first \sample\deploy.wsdd to de
Once I got the first \sample\deploy.wsdd to deploy with the AdminClient,
I liked it so much I decided to deploy all of the samples so I did.
Now the AxisServlet (View link on the /axis/index.html)
shows JUST the ProxyService.
So I deployed \samples\echo\ and restarted Tomcat
And
and another thing about the axis samples.
There seems that the addressbook sample does not have the deploy.wsdd file.
So the testit.sh does no work. ;( Sorry if I am wrong.
And it seems this is not the only service that does not have the wsdd files.
:o(
Hope you are not mad because I say thi
just saw a sign-off that is pretty funny:
10q
This correspondence is for the named person's use only. It may contain confidential
or legally privileged information, or both.
No confidentiality or privilege is waived or lost by any mistransmission. If you
receive this correspondence in error,
But the question remains. (never answered)
When I run a client (or the admin class), should I have the HttpServlet class
in my classpath or not?
and again, wich is the sample for Session management (tracking).
10q
dovle
> Steve tells me it's a bug that is fixed in last nights build.
>
>
Steve tells me it's a bug that is fixed in last nights build.
Michael Oliver
AppsAsPeers LLC
7391 S. Bullrider Ave.
Tucson, AZ 85747
Phone:(520)574-1150
Fax:(520)844-1036
-Original Message-
From: Alex Dovlecel [mailto:dovle@;ford.kbs.twi.tudelft.nl] On Behalf Of
Alex Dovlecel
Sent: Tuesd
Steve,
I hope you noted my tongue in cheek approach. I was in the process of
documenting the steps for one of my people and thought it might be
useful for others trying to do what "should be simple" ;-)
I hoped you would notice my Ant commentas one of the Acknowledged
Reviewer's of your book
Can anyone explain clearly WHY developers are forced
to inherit from AxisFault class?
It is a huge problem with the AXIS product. The reality is that
lots of developers adding WEB Services to EXISTING applications.
And there is no way to change existing exceptions nor register custom
serializer/d
Hello there!
When doing bean mapping is there a way to force the creation of the source objects´s
methods on the mapped object.
Ex If a have a validate method that checks the values of the object´s properties, is
there a way to migrate that method to the mapped object.
Best Regards
Ramon
I also have some strange problems. It seems to be a little bit related.
I am using tomcat 1.4.1 and axis 1.0.
If I don't place the servlet.jar in my path, I cannot run the deploy tool. It
gives me an NoClassDefFoundError: javaxHttpServlet.
If I place the HttpServlet in the CP then no prob
> service approach altogether and just do a file download. Or you can read
> the file into a String and return that, avoiding the overhead of
Performance question: it will be faster (or at least not so memory consuming)
to use BYTE_ARRAY (BASE64) encoding insteand of using String ?
At least with
> Axis is ok, the Installation Guide sucks, but that's ok, I won't be
> reading that again...;-)>
I rewrote a fair bit of the doc last weekend, so I am disappointed that you
find how I spent my friday evening unsatisfactory. Perhaps you would like to
contribute some of your spare time to the ta
Amit,
In the samples/message directory, there is an example of how to send and
return XML. The example operation uses a Vector and an array of Element
objects, but you can send and receive Document objects just as easily.
Be sure to notice in the deploy.wsdd file that provider is "java:MSG",
n
I've also had similar problems with compiling JSPs under TOMCAT. I think
what's happening is that, since a JSP has to be compiled, TOMCAT runs
javac. But javac obviously doesn't use the same custom class loader that
Axis uses, so in order to make those jars visible to the compiler, they
have to
Exceptions are special, as they go back over the wire as soapfaults, the
intent being better interop.
1. look at what the JAX-RPC spec has to say
2. look at AxisFault and how exceptions are handled.
You will probably have to sublcass AxisFault or java.rmi.RemoteException for
anything to work
---
What is the best way to pass an initialization parameter to a webservice?
Can this be done from the wsdd?
Can a webservice access the servlet context to get parameters?
Ideally, I'd like to do this in a way that doesn't require that the service be
re-deployed if the parameters need to be changed.
I knew I was in trouble.
Axis Installation
Step 0 Through Step 4 All ok. Happy Axis had all it "needed" only
"missing" was the security, xmlsec.jar...no problem.
Version and EchoHeaders both worked peachy.
Step 3...;-)
Very funny...the next step should be simple...and it should be Step
5
I am using Axis 1.0, Is this how to go about what I need to do ?
//My service, EchoService, returns whatever I send in MyBean.
// With a simple Bean structure, it works just fine.
public class MyBean {
private String name = null;
private float price = 0.0f;
// Get & Set Methods
}
The .wsdd h
Hi Oliver
For 3 check out this
http://marc.theaimsgroup.com/?l=axis-user&m=103670473018220&w=2 and
follow the thread for pro's and con's
Vidyanand.
-Original Message-
From: Olivier Fauchon [mailto:olivier@;labocom.com]
Sent: Tuesday, November 12, 2002 2:06 AM
To: [EMAIL PROTECTED]
Subjec
I agree that providing a wrapper would be the easiest way if I only had a
few methods that needed to be wrapped. However, I would prefer to not do
that because the requirements of the project are to automatically expose the
methods as webservices without a lot of extra development work. We did
so
I've created a custom exception in WSDL with some extra fields in it,
generated the Java and deployed it all successfully (including setting up a
beanMapping), but the extra fields don't seem to be serialized and
deserialized to XML. The generated exception class has all the right
constructors an
Looks like axis will generate this "bad"
code as well, but will not read it...
For example
0pid>
xsi:type="xsd:string">Test
desc
xsi:type="xsd:long">12345
beanStruct>
is what my "bad" client is doing. Axis will also generate
the EXAC
Axis
should (and does, I believe) do the right thing with this.
You
need to make sure you have the correct typeMapping registered for the Qualified
Name (QName) "{namespace}beanStruct".
The
namespace would be defined in the XML, in your case as "xmlns="my-namespace" in
an element above
Hi all,
I am trying to create abstract defination
of WSDL file from a Java interface. That is, I don't want to have service
and ports elements in my WSDL file. So, I use the Java2WSDL command as follows
on the ServersPortType interface.
>java org.apache.axis.wsdl.Java2WSDL -o
ServicePort
Title: Message
I looked at this setting, but is seems
this is for when axis responds what it should do. The issue I have is I need to make it support
taking in soap messages that do not have this data.
-Original Message-
From: Jesper Söderlund
[mailto:[EMAIL PROTECTED]]
Se
Title: Message
You
can set a property in the config-file whether to use xsi-types or
not.
I
haven't personally run axis with the setting to "false" so I couldn't tell you
how it works...
http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
You
should try it without the types, but with the namespaces. I believe Axis
looks up fields using a qualified name (look at the client stub code in the
constructor for an example of field descriptor metadata). I've had
issues with Axis and some complex types, but I don't put them in for
Why are xsd:type
and xmlns: required for BeanDeserializer
for complex types? The reason I ask
this is many soap servers seem to not care about these fields being provided
but axis will fault without them.
(Gets a SAX Exception in BeanDeserializer)
An example below shows part of a soap
Hi.
Does it take 3 seconds the first time, or each time you create a proxy.
I had the same headbang with SSL, and it came out to be that the first
time I created the SSL connection it loaded many classes, initialized them,
created the static objects, fields etc. That took about 10-15 secs on
Hello there!
I have been doing some testing and I happen to notice the it takes about 3 seconds to
instantiate a proxy object. I cant think of much work happening there. Does anybody
know why it takes that long.
Best Regards
Ramon
Hello,
I am trying to have my /axis/services/MyService?wsdl command emit a more complicated wsdl file that is created by default. I generated my Skeleton and Implemenation files from WSDL2Java off a WSDL file created by someone else. I am trying to implement the same services on Axis.
Emma Johansson wrote:
> I would like to send different parameters to the server. These
> parameters should be able to have several values.
> I mean, my program should modify a register that contains name, phone
> number, email, address etc. As some people have more than one email
> address they sh
Hi,
It seems this M.L. is the best source of informations over the net ..
I'm new to SOAP/AXIS/this ML, so please excuse me for the following
stupid questions :-)
1. Resources
I'm looking for detailed case study of services using custom
types/javabean , from AXIS server to MS SOAP Toolkit cli
Mattia dongili wrote:
You are suggesting a "dangerous" approach where you generate WSDL
from existing Java classes. Although most popular examples most
but that's exactely what tha Java2WSDL utility does. And I'm expecting it
will use my original Java class as a service instead of the gene
I would like to send different parameters to the server. These parameters
should be able to have several values.
I mean, my program should modify a register that contains name, phone
number, email, address etc. As some people have more than one email address
they should be able to fill them in, b
> At 11:20 AM 11/11/2002 +0100, niksa_os wrote:
>
>> 1) For what reason skeleton classes exist, I mean the ability to generate
this
>> classes? If I have java class I use axis and make wsdl and client stub.
Why
>> skeleton classes?
>
> You are suggesting a "dangerous" approach where you generate WS
44 matches
Mail list logo