Axis' Java2Wsdl generates WSDL files that contain the same information,
in the same format, as the XSD file.
babloosony wrote:
Hi All,
Are there any commercial, opensource tools out there that can convert
my java class (that use inheritance) to XSD file ?
Since I want to use such generated xsd in
I am new to web services in sun. I want to return a soap envelope from JAX-RPC web service as we return the integer in sum web service.Whether it is possible?If yes how?
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
I am new to web services in sun. I want to return a soap envelope from JAX-RPC web service as we return the integer in sum web service.Whether it is possible?If yes how?
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
Hi All,
Are there any commercial, opensource tools out there that can convert
my java class (that use inheritance) to XSD file ?
Since I want to use such generated xsd in wsdl file and make no
mistake by handcrafting xsd files based on my java files.
Thanks & Regards,
Kumar.
I can configure JAX-RPC Handlers using in
server-config.wsdd.
How can I define a similar chain for the client side in client-config.wsdd?
Apparently is only valid within a element
http://www.osmoticweb.com/axis-wsdd/handlerInfoChain.htm
but I don't know how to configure such a thing in the cli
HI all,
I am trying to send attachments through webservice , When I try to
figure out the receipt of attachment file . I am getting the data from
client, but the file is not getting
stored in the attachment.directory which i had mentioned in config file.
what could be the problem. I suppose the
I've been doing some performance comparations
simular to the ones in the below forwarded email.
Although, I'm comparing AXIS 1.1 vs AXIS 1.2RC3.
I'm seeing noticably slower perforamce with
AXIS 1.2RC3. I thought it was suppose to be
faster. My server uses AXIS 1.1 in all my
tests but this shou
I've another thread regarding this very same issue.
I'd love a "quick" snippet of code that shows me the
"basics" of a client webservice call. Is it simply put
axis.jar in the classpath and use the Service, Call
and so forth? Is this a wrapper around JAX-RPC? Or
does this tie me to Axis? I don't th
Hi,
I think using DII to invoke a web service will greatly reduce the size
of code. But if you are using custom exception handling then you might
have to think twice before going for it.
Sunil Kothari
DISCLAIMER:
Any Information contained or transmitted in this e-mail and / or
attachments
I am experimenting with Axis handlers of type JAXRPCHandler
I can successfully configure *server-side* requestFlow/responseFlow
handlers in the server-config.wsdd such that they are service specific.
But on the *client-side* it only seems to work when the handlers are
configured in the requestF
I think your encodingStyle should be
set to empty string ("").
--- Jay Glanville
<[EMAIL PROTECTED]> wrote:
> Hello all
>
> I'm trying to write my own serializer/deserializer.
> So, on that
> education path, I'm taking rather small steps. I've
> got a small bean
> (one attribute), a test s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey guys,
I am getting the exception:
"java.lang.reflect.InvocationTargetException" which I'm sure is pretty
common, and isn't a problem with axis. I've debugged this situation once
by just doing System.out.println in certain areas, and looking at
T
Title: Question on using Webservices
Hi,
I am new to webservices and axis. The product that I am working on has a J2EE based middle tier which can be accessed by .NET clients (for UI). I am planning to publish by APIs as webservices. Has anyone experienced the same scenario before. I would a
Assuming you are using RPC style, then these two operations do have
unique SOAP signatures, and therefore it is legitimate. In SOAP, the
signature of the message is defined by the QName of the child element
of the SOAP body. Since you have two different operation names, then
the signatures of these
Actually, I just realized that there might be one more layer of
wrapper in the response message. If you can give a sample SOAP
response message, that would help.
But, based on your current WSDL definition, I expect your response
message schema to look like this:
I'm with Dino. I think you should convince your card processing
service people to provide you with a decent schema. My chief concern
is in regards to future maintenance. What if these "card processing
service" people decide to change the message structure at some point
in the future. Do they have a
Well, I can contact the project manager and ask, but that would
be effective only if I rewrite the WSDL first and include
samples. The project manager is not a programmer.
ITMT, which form of the changed WSDL below will be best? The
responses which return xml documents (as strings) all seem t
Not stupid...
Your approach is reasonable, but... Can you not contact the "card
processing service" people and ask them to resolve the difference
between the doc and the WSDL ?
-Original Message-
From: Elaine Nance [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 3:45 PM
To: a
Yes -- you can generate stubs using Axis 1.1 and run on Axis 1.2, but
Sebastien was asking if he could generate stubs using Axis 1.2 and run
on Axis 1.1. The latter does not work.
Anne
On Mon, 28 Feb 2005 11:11:03 -0600, sandeep arshanapally
<[EMAIL PROTECTED]> wrote:
> May be I misunderstood thi
Thanks for the response.
Were you able to see any part of the DIME attachment with the TCP Monitor?
Did you get this working with Axis 1.1?
Something must happening server side, because when I attempt to pull the
attachments from the response, there are none. However, running the exact
same code
I used the following test code to return various size files formated
DIME from a server, and it worked (lookes like what you have). If I
remember correctly, looking at messages via TCPMonitor, the message with
DIME looks bizarro (as compared to MIME). So if you are saying that
things do not work b
Just as a follow-up:
I am running Axis 1.1. I just upgraded to Axis 1.2RC_2 and when I run the
same code I get the following fault:
[java] {http://xml.apache.org/axis/}stackTrace:java.io.IOException:
DIME header less than 12 bytes.
[java] at
org.apache.axis.attachments.DimeDelim
I have what seems to be a problem with send DIME attachments in SOAP.
Mime works just fine for me when I use the following to set the send type:
reply.getAttachmentsImpl().setSendType(Attachments.SEND_TYPE_MIME).
However, when I make the simple modification to the line above to use DIME
as the se
Title: RE: Adding a custom handler
I have the following working
=
QName portName = stub.getPortName () ;
Service service = stub._getService () ; // Axis 1.2 RC2
HandlerRegistry handlerRegistry = service.ge
I have a simple question but I couldn't find an answer on w3.org.
Can I define an operations in WSDL with same name and identical
signatures. like this:
When I generate the stubs and deploy the service , axis always c
Hello all
I'm trying to write my own serializer/deserializer. So, on that
education path, I'm taking rather small steps. I've got a small bean
(one attribute), a test service (that uses that bean), a rather simple
serializer (that extends SimpleSerializer) and a rather simple
serializer factory
Hope this is not stupid, but
Problem: the wsdl for our (supposedly) enterprise credit card
processing service shows well defined request parameters, but the
SOAP responses are all designated as string, as shown below.
I am thinking that the best way to generate the client stubs I
need in Java
I have a simple question but I couldn't find an answer on w3.org.
Can I define an operations in WSDL with same name and identical
signatures. like this:
When I generate the stubs and deploy the serv
Dino,
In my case, it is primarily the first reason you mention. Castor
has better coverage of XML schema features. Plus it also allows
validation. Another minor thing : the Axis generated code serializes
null object references using xsi:nil, whereas, wilth Castor, the XML
element itself doesn
Ranchers,
I am a newbie to Axis; I have a simple webservice
whose implementation is making use of a custom api; I
include the jar file into my build path [I'm using
eclipse as my IDE) and compile my webservice and my
client;
compilation goes through without any hassles; I
generate my WSDL file
B
Ah, no.
I believe Mariano is saying :
WSDL is the contract. The promise that is made between server and client. (I
promise, that if you send me a message that looks like X, I will send you a
reply that looks like Y).
The De-serializer falls under the "execution" of the contract. That is t
babloosony babbled:
> in the below code snippet which is a xsd representation for
java.util.Vector
...
> I think we are saying that a vector can only contain string objects
but not any other type of java objects. Am I right ?
Yes. Therefore it is not a java.util.Vector, is it?
If you wan
For AXIS 1.1, I think you need all the AXIS jars,
a xerces implementation, and a servlet.jar ?
From: Dr Leinster
[mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:22
PMTo: axis-user@ws.apache.orgSubject: java stand-alone
axis client
Hi,I
want to use a light version of axis
> I thought WSDL2Java created the client side code only, I cannot
understand the user guide, but it states that the tool creates both
client and server code? (Surely I have the server code, otherwise how
did I make the WSDL)
Permit me to grind my axe a bit ...
Your question presumes that all
We could help if you sent the WSDL and a copy of the request and
response.
If .NET does not see the namespace it expects, you'll get null. Even
the smallest namespace change in the XML response document will cause
the .NET client proxy to return null to the application. We saw this
with Pradee
What's the typical reason for using Castor with AXIS?
- AXIS is missing features that Castor has?
- Castor is already in use and the org wants to add webservices
capability
- something else?
-Dino
-Original Message-
From: Kenneth Stephen [mailto:[EMAIL PROTECTED]
Sent: Monday,
Hello,
I'm trying to connect to a service that's expecting a sequence of
string arrays for its input. The WSDL I've got for this service
includes these type configurations:
The prob
Hi,I
want to use a light version of axis to call webservices in a client
=application...Size of the final application is an important factor for
me.I am only interested in the client side of axis.Is there a way to
reduce the dependecies and axis package size to >have what I
need.thanks for
Or you can read in the jax-rpc spec 1.1 on how to write the java 1.4 enums in
such a way that the axis engine will generate an enum that anne gave an example
for...
mainly the following:
//Java
public class {
// ...
// Constructor
protected ( value) { ... }
// One for each label in the enumerat
Hi,
I am seeing a validation failure in my response (which is an
application failure that I will correct), but the associated fault
code isnt being reported back to the client. Here is the exception
that I see in the application server logs :
[2/28/05 11:19:34:782 CST] 35205df6 SystemOut
May be I misunderstood this, if the question is that you are
generating stubs using Axis1.1 and running with Axis1.2 then it should
be fine.
Dims -- Do you think we will have issues with this??
Sandeep
On Mon, 28 Feb 2005 11:53:43 -0500, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> nope
>
>
Hi all,
I have been in development or a few weeks on an axis based web service.
It has worked very well in dev. Now that I am deploying for production
though, I find that it takes upwards of an hour for the service to
become available after the tomcat server comes up. After the server is
up I c
Hi there,
I was wondering if there was any place to find explanations of each of
the debug messages logged by Axis? Or a least a number of them which
don't make much sense off of the bat? Would this be a case of just
searching the api?
Cheers,
Ian
nope
On Mon, 28 Feb 2005 10:50:02 -0600, sandeep arshanapally
<[EMAIL PROTECTED]> wrote:
> You should be able to do that.
>
> Sandeep
>
> On Mon, 28 Feb 2005 17:46:16 +0100, Sebastien Mayemba Mbokoso
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > just a question. I heard Axis 1.1 Ant Tasks don't
Hei again James,
My first implementation of retrieving header elements was by using a handler
and that worked fine. But the new one seen below is just a method in my
business code. I guess you should use a handler to intercept the message
before it ends its journey.
Tore
-Original Message---
You should be able to do that.
Sandeep
On Mon, 28 Feb 2005 17:46:16 +0100, Sebastien Mayemba Mbokoso
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> just a question. I heard Axis 1.1 Ant Tasks don't work very well cause
> of its many bugs. Does anybody know if i can use generated stubs by
> Axis 1.2RC2 w
Hi,
just a question. I heard Axis 1.1 Ant Tasks don't work very well cause
of its many bugs. Does anybody know if i can use generated stubs by
Axis 1.2RC2 with Axis 1.1 ?
---
Sebastien
Thanks Tore,
But I am unsure how to access the MessageContext in the client side - I
presume I need to implement my own Handler to do this?
Thanks
James
<[EMAIL PROTECTED]>
28/02/2005 16:31
Please respond to
axis-user@ws.apache.org
To
cc
Subject
RE: Accessing Headers From WSDL2Java Ge
Hei James,
I insert some code that I made for accessing my header elements on the server
side. The header elements requestId, username and password are placed in the
header when the client call is made and I retrieve them for use in a system
that its own authentication functionality. Here it is, m
Hi.
I'm writing a client side Axis application, in which I need to create my
own custom handler.
I'm using WSDL2Java to generate my code stubs, and I was hoping that I
could add a handler as follows:
HandlerRegistry registry =
service.getHandlerRegistry();
I am trying to get the response from a jax rpc web service as a soapmessage or soapenvelope
as we do in axis.
Also jaxm support it but as an a servlet.
But i want it as an web serivce so what should i do with jwsdp?Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
Please explain better what you're tryin
Ulrich,
First of all, WSDL does not contain any "class" descriptions. WSDL
contains element and type descriptions -- specified using XML Schema.
If you read through the archives, you will see frequent
recommendations to take a "WSDL first" or "Schema first" approach to
web services rather than a "
I'm trying to send large attachments to my service based on the example
found at http://viewcvs.globus.org/viewcvs.cgi/axis/java/samples/swa/ the
service works great for small attachments but when trying to add large
attachments I get java.lang.OutOfMemoryError exception.
when using call.addAttac
Some problems with your WSDL:
1- You need to add a definition to your section and
import the schemas into it rather than directly into the
section:
http://127.0.0.1:8080/axis/services/test";>
2- You must remove the namespace attributes from your
definitions.
If you convert your WSDL from rpc/literal to wrapped/literal, you
shouldn't need to make any changes to your code base.
If you supply the before and after WSDL file, perhaps we can help you
diagnose the problem.
Anne
On Mon, 28 Feb 2005 12:34:00 +0600, Murad <[EMAIL PROTECTED]> wrote:
> Hello A
Please explain better what you're trying to do and what problem you're having.
On Mon, 28 Feb 2005 02:25:03 -0800 (PST), Sandeep Gaikwad
<[EMAIL PROTECTED]> wrote:
> Can anyone help me for passing the SOAP message as return from a JAX-RPC web
> service.
>
>
>
> ___
I have a simple web service in WSAD.
I have also added the wss4j.jar file.Thus I will be
able to access the classes.
But how do I secure the web service using UserName
Token using the wss4j apis in websphere?
Please let me know.
I am really stuck on that.
_
Hi Kenneth, (and all)
Is there support for a war within a war? Due to a legacy cacheing system
(created long before hibernate et. al.) I need/want my app to run within
the same JVM as Axis 1.1 AND Axis 2.0. Because of this, I want BOTH the
Axis 1.1 jar AND the Axis 2.0 jars distributed with the w
Can anyone help me for passing the SOAP message as return from a JAX-RPC web service.
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
Please help me out as the problem remains the same.
On Mon, 28 Feb 2005 15:45:53 +0600, Murad <[EMAIL PROTECTED]> wrote:
> Thanks.. You showed two ways to track the problem. With number 2 I
> found no errors in deserializing my classes associated with the proxy.
> For number 1.I also prov
Thanks.. You showed two ways to track the problem. With number 2 I
found no errors in deserializing my classes associated with the proxy.
For number 1.I also provide all possible priviledges to the temp
directory.
On Mon, 28 Feb 2005 09:58:02 +0100, Gilles Devaux <[EMAIL PROTECTED]> wr
Hi,
(BI am developing SAML authority services on AXIS.
(BWhen I try to generate stub codes with the attached
(Bwsdl by WSDL2Java, I have some problems.
(B
(BOne of the problems is that some classes have
(Bduplicated attributes. For example the class
(BSubjectType has two SubjectConfirmatio
Thanx guys!
It turned out to be META-INF naming. The reason why I used meta-inf
(lowercase) was that I opened a sample jar (sample1.jar) in winzip
and saw the folder of service.xml displayed by winzip to be in lower
case. May be that's the winzip custom style.
Ajith! thanks for the explanatory not
I also had this problem:
2 things:
1) It is possible that your temporary directory is not accessible by the .NET
accounts -> your program can't create the temporary assemblies.
2) .NET can't serialize an object and the assembly is not created -> use the
XmlPreCompiler (http://weblogs.asp.net/m
65 matches
Mail list logo