Title: RE: Why use WSDL?
Here are some reasons.
1) You might want compile-time type checking in your client code as opposed to using the dynamic invocation approach you show below.
2) You might want to invoke your web services from other programming languages that will require WSDL so that
Title: RE: Java2WSDL and WSDL2Java
Here's a link to a presentation I gave that describes how to use them.
http://www.ociweb.com/javasig/knowledgebase/2002Sep/
-Original Message-
From: Gareth Western [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 30, 2004 3:54 PM
To: [EMAIL
I'm
not sure if this is what you're after, but how about this?
Document doc = . . .
Text
text = doc.createTextNode(myBean.toString());
String
value= text.getNodeValue();
-Original Message-From: xuliujuan
[mailto:[EMAIL PROTECTED]Sent: Wednesday, February 18, 2004
7:42
Title: RE: Using the SAAJ API to send messages in AXIS
-Original Message-
From: Maria Fernandes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 25, 2003 7:07 AM
To: [EMAIL PROTECTED]
Subject: Using the SAAJ API to send messages in AXIS
Hello
Could anyone please tell me
Title: RE: UDDI support in axis!
Axis doesn't directly support UDDI. Some options to consider include UDDI4J and the reference implementation of JAXR in the JWSDP.
-Original Message-
From: Christopher Blunck [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 19, 2003 8:45 AM
Title: DII and document-style
I'm looking for an example of a web service client that uses DII to invoke a document-style operation. I'd appreciate a link to one or an example source file.
Thanks!
-
A.G.
Title: RE: Axis vs WebLogic 8.1
This is just a packaging issue. The actual web service code won't be specific to WebLogic. Assuming you use Ant to package and deploy your web services under WebLogic, switching to Axis or any other web service toolkit is just a matter of writing a new Ant
As far
as I know, Axis hasn't been modified to support the new treatment of SOAPAction
yet.
However, I think I understand how it's different in SOAP
1.2.
In
SOAP 1.1 you'd have these HTTP headers.
Content-Type: text/xml
SOAPAction: "whatever"
In
SOAP 1.2 you'd have just this HTTP
Title: interop. test results
Where can I find the SOAPBuilders interop. test results for Axis? They used to be at http://www.apache.org/~rubys/ApacheClientInterop.html, but aren't there now.
--
A.G.
Title: RE: Axis on Java Web Services Developer pack
I don't know what the specific problem is (obviously a classpath issue), but I can confirm that you can run Axis using the the version of Tomcat that ships with the JWSDP. I do that all the time.
-Original Message-
From: Yves
Title: RE: Returning XML document from Service call
I've attached a zip containing an example. Feedback on this is welcomed!
-Original Message-
From: Cathal O' Riordan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 24, 2003 10:20 AM
To: [EMAIL PROTECTED]
Subject: Returning
Title: RE: Returning XML document from Service call
I think you could return Document objects using RPC, but I don't think you want to. I imagine that would serialize all the fields of all the nodes into XML. Wouldn't you end up with XML elements that describe things like ownerDocument and
to the service method) for the root element add namespace.
That may help you to remove call to setOpertionName method.
Hope this helps...
Cheers,
Ranjith
-Original Message-
From: Volkmann, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 08, 2003 2:14 PM
To: '[EMAIL PROTECTED]'
Subject
Title: RE: Where can I download latest version of axis
I think he wants a binary of the latest drop. I can't find it either, only a source zip.
-Original Message-
From: Alexander Berry,Jr. [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 07, 2003 2:30 PM
To: [EMAIL PROTECTED]
Title: message-style frustrations
I'm trying to learn how to use message-style services in Axis. The documentation says that a message-style service can have any of the following method signatures.
public Element [] method(Element [] bodies);
public SOAPBodyElement [] method (SOAPBodyElement
Title: message-style frustrations (this time in plain text)
I'm trying to learn how to use message-style services in Axis. The documentation says that a message-style service can have any of the following method signatures.
public Element [] method(Element [] bodies);
public SOAPBodyElement
Title: message-style frustrations (this time in plain text)
Thanks! That helps, but I can't say I like it. I think that Axis
should recognize that you've given it a Document and wrap it in a
SOAPBodyElement by itself if that's what it needs.
In
your code you don't use
Title: RE: message-style frustrations (this time in plain text)
Based on the suggestions I've received, I now have a working example of passing a DOM Document to a service and getting one back in return. I've included the code below (with comments and some whitespace removed) for those
I felt the same way. I'd love
to see a "simple" example of a doc/lit web service and client. Does such a thing
exist now in the samples that come with Axis?
-Original Message-From: Dimuthu Leelarathne
[mailto:[EMAIL PROTECTED]Sent: Friday, August 22,
2003 6:13 AMTo: [EMAIL
Title: JAXM vs. SAAJ clarification
Can someone clarify the current state of JAXM and SAAJ for me? Here's what I thought was going on, but I'm not positive.
JAXM predates SAAJ and includes two basic mechanisms for XML-based messaging. These are point-to-point and provider-based (like
Title: RE: need an alternative to Sun's JAX-RPC RI in JWSDP 1.2
I have worked with both Axis and JWSDP. What do you want to know?
-Original Message-
From: Mark D. Hansen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 22, 2003 8:44 PM
To: AXIS Users (E-mail 2)
Subject: need an
e-From: Volkmann, Mark
[mailto:[EMAIL PROTECTED]Sent: Wednesday, July 23,
2003 9:15 AMTo: '[EMAIL PROTECTED]'Subject: RE:
need an alternative to Sun's JAX-RPC RI in JWSDP 1.2
I have worked with both Axis and JWSDP. What do you
want to know?
-Original Message-
Title: RE: Creating message-style services
I think the reason you've only seen examples of using the signature
public Element [] method(Element[] bodies)
is that the other three supposedly supported signatures don't work.
I've tried to use them without success.
I too would like to see
perhaps mailapi.jar in your classpath during
execution.
--Tom
JordahlMacromedia Server
Development
-Original
Message-From: Volkmann,
Mark [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2003 10:18
AMTo:
'[EMAIL PROTECTED]'Subject: attachments wit
Sanjesh
-Original Message-From: Volkmann, Mark
[mailto:[EMAIL PROTECTED]Sent: Thursday, April 03,
2003 2:24 PMTo: '[EMAIL PROTECTED]'Subject: RE:
attachments with generated stubs
Thanks! I had activation.jar, but I needed
mail.jar.
It seems that there ar
Title: stubs and custom serializers
When a client is invoking an Axis web service using a stub generated by wsdl2java, is there any way it can register custom serializers/deserializers to be used when calls are made on the stub? It seems to me that the best solution would be to specify the
Title: ListSerializer
I see that there is a VectorSerializer in Axis. Is there any particular reason why there is no ListSerializer? I'm thinking about writing one. I'd love to be warned before I go down that path whether
1) it isn't needed because there is already a solution for this in
Title: WSDL2Java and custom serializers
Is there a way that I can use WSDL2Java to generate the usual files, including deploy.wsdd, and have it insert into deploy.wsdd typemapping elements that refer to serializers and deserializers that I wrote?
Title: attachments with generated stubs
There is a sample of using attachments that is bundled with Axis (in the samples/attachments directory). It uses the SAAJ API. What I'd like to do is use a generated stub (from wsdl2java) and add attachments before I invoke methods on that stub. In
Title: attachments with generated stubs
I've
written a web service that returns a Java object that has references to many
other Java objects. I get the root object back just fine. All the
primitive and String fields are set tothe correct values.
However,all it's references to other objects
Title: RE: Creating message-style services
I too would like to see this. I've been able to get the other two signatures to work, but not the two that you list. We really need an example of these to be bundled with the other Axis samples in the distribution.
-Original Message-
From:
Title: RE: Creating message-style services
The attached example only demonstrates one of the four signatures that the Axis documentation says is supported. We'd like to see all four demonstrated. I have an uneasy feeling that only two of them really work in the current version of Axis. I've
Title: RE: JWS Deployment
-Original Message-
From: Cory Wilkerson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 27, 2003 2:26 PM
To: [EMAIL PROTECTED]
Subject: JWS Deployment
I've run into a bit of a problem:
deploying package-qualified classes a JWS services. If my
Title: RE: AW: usage of java2wsdl ant task
Here are snippets of my Ant bulid file that uses the custom tasks in axis-ant.jar. Many properties referenced in these targets need to be defined in order for them to work. I hope this helps.
target name=axis.init
taskdef
Title: What is the difference between SOAP and JAX-RPC
I don't
think the distinction between JAXM and SAAJ given below is exactly
correct. The documentation that ships with the JWSDP(in
jaxm-1.1.1\docs\index.html) says this.
SOAP with Attachments API for
JavaTM (SAAJ) 1.1This specification
Title: What is the difference between SOAP and JAX-RPC
I'm using java2wsdl and getting WSDL that contains things like
this.
element
name="optionsByInstrumentId" nillable="true"
type="tns5:Options"/
Options is a class referenced by one of my parameter types. The
problem is that the
Title: referenced types not defined
I'm getting the following with wsdl2java.
java.io.IOException: Type Exception is referenced but not defined.
The WSDL was generated using java2wsdl.
Shouldn't java2wsdl have described the Exception class in the WSDL if it was referenced from a method
Title: RE: AW: SOAPMonitor
I haven't
found any documentation in the Axis 1.1 RC 2 distribution that explains how to
setup the SOAPMonitorApplet. It doesn't seem to be ready for use out of
the box. Can someone tell me what I have to do to use it or point me to
documentation?
Title: AxisClient uses?
What are some examples of why one would want to use an Axis engine on the client-side. I'm referring to the class AxisClient and the whole handler framework it supports. It makes perfect sense to me why I'd want this on the server-side supported by AxisServer. I just
Title: RE: training for axis
I've created a web services course that covers Axis in a fair amount of detail and uses it for all the SOAP and WSDL-related lab exercises. You can find information on it at http://www.ociweb.com/education/course_description.cgi?courseCode=ESXM03-01. Travelling to
Title: RE: WSDL of java.* types
-Original Message-
From: Steve Loughran [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 2:13 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL of java.* types
- Original Message -
From: Karsten Düsterloh [EMAIL PROTECTED]
To: [EMAIL
Title: RE: Interface Types?
I'm stuck on that same problem right now!
I sure hope someone can shed some light on this.
-Original Message-
From: James Carman [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 06, 2003 10:15 AM
To: [EMAIL PROTECTED]
Subject: Interface Types?
=org.apache.axis.encoding.ser.BeanDeserializerFactory
encodingStyle=
/
Please note that you can also specify information in wsdd
about the input and output params, See
http://marc.theaimsgroup.com/?l=axis-dev=103911138503393=2
for an example
Thanks,
dims
--- Volkmann, Mark [EMAIL PROTECTED] wrote:
Can we take
java.lang.StringBuffer has existed since JDK 1.0.
-Original Message-From: Chris Forbis
[mailto:[EMAIL PROTECTED]]Sent: Monday, November 18, 2002
8:45 AMTo: '[EMAIL PROTECTED]'Subject: RE:
NoSuchMethodError in Client
What JDK are you
using? If not 1.4.1 you need to
the java.lang.StringBuffer.append(java.lang.StringBuffer)
was added in 1.4.0. I'll download the 1.4.1 JDK and let you know if
works. Thanks for the quick
feedback!
"Volkmann, Mark"
[EMAIL PROTECTED]
11/18/2002 07:55 AM Please respond to
Title: What happened with nightly drops?
I hope this is fixed soon. This was my only way to get the latest
code. I can't pull it from CVS due to firewall problems where I'm working
... won't tunnel http.
-Original Message-From: Tom Jordahl
[mailto:[EMAIL PROTECTED]]Sent:
Title: nightly drops missing
I'm using Java2WSDL and WSDL2Java. The generated
WSDL contains the following.
wsdl:types schema
targetNamespace="http://schemas.xmlsoap.org/soap/encoding/"
xmlns="http://www.w3.org/2001/XMLSchema"
import namespace="http://schemas.xmlsoap.org/soap/encoding/"/
lass following it.
Anyone?
---
bhw
-----Original Message-From: Volkmann, Mark
[mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 06,
2002 3:58 PMTo: '[EMAIL PROTECTED]'Subject:
type referenced but not defined in generated WSDL
I'm using Java2WSDL and WSDL2Java. Th
Title: RE: Best Practices w/n Using Axis?
I don't personally like this approach. I prefer to implement my services in a normal Java class, not an EJB or a web service. Then I write a web service and a session bean that are essentially pass-throughs to the real service implementation.
You can
Title: RE: Axis and JAXM...
-Original Message-
From: David Orriss Jr [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 11:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Axis and JAXM...
On Thursday, October 17, 2002 5:04 PM,
Prabhakar Chaganti [EMAIL PROTECTED] wrote:
Title: RE: Ant task documentation
I believe Peter was asking for documentation on the custom Ant tasks in axis-ant.jar, not documentation on standard Ant tasks. I haven't found it either.
-Original Message-
From: Matt Seibert [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September
Title: RE: Chicken-Egg problem with Java2WSDL/WSDL2Java
Here's how I get around the problem. I use Ant to run WSDL2Java. The target that does that tells WSDL2Java to send the files it generates to a directory called gen. After that, Ant copies the files I want into my src directory.
Message -
From:
Volkmann, Mark
To: '[EMAIL PROTECTED]'
Cc: Pop Lucian Marius
Sent: Monday, September 16, 2002 1:42
PM
Subject: RE: (de)serialization of an
object which contains an array of another custom object without building
custom (de)serializer
Title: RE: Axis vs. Systinet WASP?
Here's one obvious evaluation criteria ... you have to pay for WASP.
-Original Message-
From: Doug [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 11:15 PM
To: axis
Subject: Axis vs. Systinet WASP?
just ran across WASP
Title: provider=java:EJB
Can someone please send me an example of WSDD that deploys a service using the EJBProvider? Opinions seem to vary on what parameters are required. Currently I have the following in my deploy.wsdd file and it's not working. I've deployed Axis in WebLogic 7.
deployment
When you're using generated client stubs to invoke a service, the only
thing you want is the location of the service. You can extract the location of
the WSDL description from the UDDI registry, parse that, and extract the value
of the location attribute on the soap:address element that is
Title: RE: UDDIUtil and WSDLUtil
This time I remembered to attach the zip file. Sorry about that.
-Original Message-
From: Volkmann, Mark
Sent: Monday, July 01, 2002 4:56 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; 'Suresh
Marella'; 'Christian Gründemann'; 'Jean-Marc
SOAP
implementations?
(2)
Any idea when it will be out of beta?
-Original Message-From: Volkmann, Mark
[mailto:[EMAIL PROTECTED]]Sent: Monday, June 10, 2002
2:18 PMTo: '[EMAIL PROTECTED]'Subject: RE:
Apache SOAP 2.3 vs. AXIS
Here are a few reasons. I'm sure
straightforward.
I haven't tried to develop a more complex class structure and
that might be
more difficult.
Volkmann, Mark
[EMAIL PROTECTED] To:
'[EMAIL PROTECTED]' [EMAIL PROTECTED],
Sascha Kulawikom[EMAIL PROTECTED]
cc:
23.04.2002 17:25 Subject: RE:
BEA 7.0 Beta and Apache AXIS
Title: RE: Questions
-Original Message-
From: Patricia Doyle [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 11:37 AM
To: [EMAIL PROTECTED]
Subject: Questions
Is it required in axis to name implementation class to be:
MyServiceSoapBindingImpl.java ?
Title: RE: What is the Relationship between JAXM and AXIS?
I'm not one of the decision makers on this, but I can certainly tell you my preference.
I'd prefer to see the related Axis classes become implementations of the JAXM interfaces.
-Original Message-
From: L Rutker
Title: RE: Deploying Services
-Original Message-
From: Vidula Pant [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 1:33 PM
To: [EMAIL PROTECTED]
Subject: Deploying Services
I have succesfully set up Tomcat and Axis, and all the
examples work as
well.
I want to
Title: RE: HTTP servlet response
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 6:49 AM
To: [EMAIL PROTECTED]
Subject: HTTP servlet response
Hi there,
I have a strange question, it smells like a hack
to me. I must
Title: RE: HTTP servlet response
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 9:29 AM
To: [EMAIL PROTECTED]
Subject: RE: HTTP servlet response
I've never done this, but it seems that you should be able to write
a
Title: RE: Namespaces and beans
-Original Message-
From: Kolodziej, Erik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 10, 2002 5:50 AM
To: '[EMAIL PROTECTED]'
Subject: Namespaces and beans
Hi,
I´m using a simple bean representing an user. The
BeanSerializer
Title: requests sent with HTTP/1.0
Looking at HTTPSender.java, it seems that Axis is only setup to use HTTP 1.0 when sending HTTP requests. I don't see a way, other than writing my own Sender, to get it to use HTTP 1.1. Is this true?
Title: RE: Handling of headers
I think you have to get the header from the MessageContext and call setProcessed(true) on it. I believe that is how Axis determines whether you understood the header.
-Original Message-
From: Ramon Turnes [mailto:[EMAIL PROTECTED]]
Sent: Monday,
You
should put .class files under $TOMCAT_HOME/webapps/axis/WEB-INF/classes, in the
correct package hierarchy of folders of course. Put JAR files your service uses
in $TOMCAT_HOME/webapps/axis/WEB-INF/lib.
-Original Message-From: Walden Mathews
[mailto:[EMAIL PROTECTED]]Sent:
YEah, that's what I thought, and that where they are by default when
you install Axis
according to the
installation guide. BUT... tomcat didnt' find the class for example3
there,
and I can't seem
to figure out why. Clues?
Walden
-Original Message-From: Volkmann
I
don't believe the statement "As you are talking with axis, not tomcat wheni
nvoking a service, axis can´t load classes the same as tomcat" is correct. I
don't put anything related to Axis in my classpath before starting Tomcat.T
omcat gets everything it needs to run Axis from the axis
/SOAP-ENV:Fault/SOAP-ENV:Body/SOAP-ENV:Envelope
Walden
-Original
Message-From: Volkmann, Mark
[mailto:[EMAIL PROTECTED]]Sent: Thursday, April 04, 2002
12:27 PMTo: '[EMAIL PROTECTED]'Subject: RE:
Service deployment location
I
don't believe the statement &q
Title: RE: Problem of AddressBook sample
Did you deploy the service by running AdminClient on deploy.wsdd?
-Original Message-
From: Liu, C.C [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 3:31 PM
To: '[EMAIL PROTECTED]'
Subject: Problem of AddressBook sample
Hi,
Title: RE: XSD from XML instance Any ideas???
You can do this from the XML Spy GUI ... a commercial product.
This won't help though if you're looking for a way to generate the schema in batch mode.
-Original Message-
From: seidhi Help [mailto:[EMAIL PROTECTED]]
Sent:
Title: RE: deployment descriptor
Download the source for Axis and look in the java/wsdd directory.
You'll find both a DTD and an XML Schema there.
-Original Message-
From: Ramzy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 9:20 AM
To: [EMAIL PROTECTED]
Subject:
PROTECTED]'Subject: RE: deployment
descriptor
Both
of which are, alas, way out of date. Sigh. This is on my list, but
keeps getting bumped due to higher-priority stuff.
--G
-Original Message-From: Volkmann, Mark
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 02, 2002
Title: reasking questions - WSDL2Java
I asked some questions on the mailing list this weekend that didn't get answered. In retrospect, I should have waited until today to ask them. Due to the holiday, many of you were probably too busy to answer. Also, I think I understand Axis a little
Title: RE: UDDI examples
I believe James wanted a list of services that could be located in a public UDDI registry, not just a list of WSDL URLs as is found at xmethods. I'm not aware of such a list and would like to see one too ... just for experiementing with UDDI4J. Of course, I could just
://www.xmethods.net/sd/2001/TemperatureService.wsdl.
--- Volkmann, Mark [EMAIL PROTECTED]
wrote:
I believe James wanted a list of services that could
be located in a public
UDDI registry, not just a list of WSDL URLs as is
found at xmethods. I'm not
aware of such a list and would like
Putting xerces.jar in your classpath should be enough.
It contains org.w3c.dom.Node.
-Original Message-From: Walden Mathews
[mailto:[EMAIL PROTECTED]]Sent: Monday, April 01, 2002 3:26
PMTo: '[EMAIL PROTECTED]'Subject: Two jars if
using Xerces
Hi,
I was about to
.
Thanks.
-Chengmin
-Original Message-
From: Volkmann, Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 4:39 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Two jars if using Xerces
Putting xerces.jar in your classpath should be enough. It contains
org.w3c.dom.Node
Title: serializer attribute value in typeMapping element of WSDD
Is the value of the serializer attribute in a typeMapping element within a .wsdd file supposed to be a class that implements Serializer or SerializerFactory?
Title: using both Java2WSDL and WSDL2Java
I'm looking for guidance in using Java2WSDL and WSDL2Java together.
This seems like a common scenario. I've got a normal Java class that implements a service called CarQuote. It has a getQuote method that accepts a Car parameter. I've also got the
Title: RE: Can deploy from command line, but not from Ant
You need a JAXP-compliant XML parser such as Xerces or Crimson in your CLASSPATH.
-Original Message-
From: Robert Evans [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 12:27 PM
To: [EMAIL PROTECTED]
Subject:
83 matches
Mail list logo