Hello,
I'm using WebService with JBoss and Axis 1.0.
My EJBs throw RemoteException, as usual, but alse custom exceptions, extending java.lang.Exception.
This exception appears in the .wsdd file like this :
wsdl:message name=RemoteFonctionnelException
wsdl:part name=silo type=xsd:int/
Hello,
I'm using WebService with JBoss and Axis 1.0.
My EJBs throw RemoteException, as usual, but alse custom exceptions,
extending java.lang.Exception.
This exception appears in the .wsdd file like this :
wsdl:message name=RemoteFonctionnelException
wsdl:part name=silo type=xsd:int/
On Thu, 22 Jan 2004, jerome moliere wrote:
Hi damien,
I guess that your custom exceptions may be child from remote exceptions
because they must serialized
However I cannot encourage you to use such practices because you must not
forget that SOAP messages could be used in environements
Hi
I find that the C++ experts are rather silent. i speak in context to my
previous mails too.
i guess you're just too busy :(
Regards
Jaspreet
-Original Message-
From: Jaspreet Singh [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 7:18 PM
To: [EMAIL PROTECTED]
jerome moliere [EMAIL PROTECTED]
22/01/2004 12:00
Veuillez répondre à axis-user
Pour :[EMAIL PROTECTED]
cc :
Objet :Re: How to send custom exception through SOAP message ?
Hi damien,
I guess that your custom exceptions may be child from remote exceptions
That's my experience - Java2WSDL would tend to generate a file
without most of the types section, which was a pain, but
work-around-able. In my case these objects tended to be read-only,
without a default constructor, and with getX methods but no
corresponding setX methods.
This is very
snip
Is there a good reference you can point me to for hand-creation of WSDL
and WSDD that would include use of non-bean objects? I think that lack
of knowledge is part of my stumbling.
/snip
My knowledge is based mainly on Building Web Services with Java by Steve Graham et
al, published by
Title: RE: How can I get a Date object from a xsd:dateTime
Hi, just posting the solution to my problem. It was very simple, but as someone pointed out, the documentation for the mapping was a little confusing (the wsdd reference says classname instead of type or languageSpecificType).
This
Hi Bill and anybody intrrested,
I found the solution, and it's quite simple!
It is based on the observation that the file server-config.wsdd
contains all the elements from deploy.wsdd as-is, so the only task is to
copy the content from the deploy.wsdd to an existing server-config.wsdd
or to a
I use Java2WSDL (AXIS) to generate WDSLs from a Java Interface. And
WSDL2Java to generate the Java code for my Web Service (Stub, skeleton,
client,
locator, service...). Thats a really nice thing for SOAP-Bindings in the
WSDL. But
whats up, if i need a WSDL that describe both, a SOAP-Service and
Thanks Petr, this is very useful!
-Original Message-
From: Petr Kozelka [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:52 AM
To: [EMAIL PROTECTED]
Subject: Re: How to create the server-config.wsdd file in a script
(without any running server) - SOLVED!
Hi Bill and anybody
1. Which WS-I testing tools can be used toensure that the WSDL/XSDare clean?
2. What kinds of test coverage does the WS-I testing tools have for checking
SOAP request and response messages?
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]Sent: Wednesday, January 21,
I'm a newbie to the Axis group, so forgive me if this is a rehash, but I searched the
archives for
the answer to this question and couldn't find it.
I've been given a WSDL file and would like to generate the client classes for it. The
WSDL file
was generated by Axis (apparently) and I have no
David
Not sure if this information is helpful for tasking you've already
accomplished . . .
JAB
-Original Message-
From: Peter Mount [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 5:17 AM
To: [EMAIL PROTECTED]
Subject: Re: Integrating Axis into an existing web application
How far can I follow the BP1.0a guidelines with Axis 1.1?
You will need at least 1.2 Alpha if not the latest CVS.
Thank you for the reply. I'm not sure if I'm ready to be on the
bleeding edge of Axis, but I understand your need for bug reports and
users.
Does Axis 1.1 support use=literal? Mitch
http://www.ws-i.org/implementation.aspx
--- Tony Opatha [EMAIL PROTECTED] wrote:
1. Which WS-I testing tools can be used to ensure that the WSDL/XSD are clean?
2. What kinds of test coverage does the WS-I testing tools have for checking
SOAP request and response messages?
Ransel,
Did you get this figured out? I have a solution where I am now mapping a
standard exception to a fault using Doc Literal. I am hand writing my WSDL file and
the corresponding schema, but it does work. Below is the wsdl, the associated schema,
and the wsdd. I have generated a
A really great WS-I WSDL/XSD testing tool is Mindreef SOAPScope
(www.mindreef.com). We successfully used their 2.0 release to ensure that
our doc/lit WSDL/XSD was WS-I compliant before running Axis 1.2 alpha
wsdl2java against it. Their current release, 3.0, touts further WS-I
testing
I use Axis embeded in Tomcat
in 2 different configurations:
1) For development I start
Tomcat (and Axis) in Eclipse (a Java DIE with a special Eclipse-Plugin).
2) For other cases, I start
standalone-tomcat from the start-menu.
My webservice needs a while.
It conntects to a database,
Hi:
I am trying to work with an elaborate XML schema which uses type
derivation, attributeGroup etc in the XML schema language...
I am using Axis with my WSDL spec to define operations using the
schema types...I find the following problems:
a) Axis seems to be ignoring valid XML
I have had good luck with operations built using a wsdl and a schema, but I've never
been able to get attributegroup to work. I think it's an Axis bug. I haven't spent a
huge amount of time on it, since I didn't really need it. From what I can tell Axis
doesn't generate the java datatypes
Does anyone know why there is not a WSDD DTD or Schema in the 1.1 or 1.2
distributions?
Thanks,
James
The approach we have been trying has been to use Apache Axis 1.1. The
way we are currently attempting this is as follows:
a) Define an initial WSDL document for web service operations
using the XML schema
b) Use Apache Axis to generate service interface and bean classes
c)
I wouldn't say this is the recommended way to do it, but it's a perfectly valid
approach. You can either start from the wsdl and schema as you are (which is what I'm
doing) or you can start from the java side and generate the wsdl and schema. Both are
valid approaches. I have found that
Hi there,
I have joined this user group today and I am sure
that we all will be having a good time while sharing and discussing our
ideas...
I am having a warning while validating the local
installation's configuration...
Warning: could not find class org.apache.xml.security.Init from
Have you tried restarting Tomcat (or any other application server) you
are using?
Hi there,
I have joined this user group today and I am sure that we all will be
having a good time while sharing and discussing our ideas...
I am having a warning while validating the local installation's
yes.. I am using Tomcat server 4.1.29 and tried it manay a times after
restarting... but didn' work :(
- Original Message -
From: G.MADHUSUDAN [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:53 PM
Subject: Re: Warning on Happyness page
Have you tried
hey
thats just a warning if you didn install the security jar seperately it
doesnt
find it.
Greetz
Leo
- Original Message -
From: Safdar Ali [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 4:56 PM
Subject: Re: Warning on Happyness page
yes..
1 You don't need this jar under normal circumstances - it is just a
warning
2 classpath will not work - try putting the jar in common\lib under your
tomcat home directory and restart tomcat
-Original Message-
From: Safdar Ali [mailto:[EMAIL PROTECTED]
Sent: 22 January 2004 15:57
To:
Title: Message
I put
a timeout parameter on the client side.
there
is setTimeout method in org.apache.axis.client.Call object.
Soniya
-Original Message-From: Daniel Humberg
[mailto:[EMAIL PROTECTED] Sent: , 22 2004 10:08
To: [EMAIL PROTECTED]Subject: AXIS: tomcat
Yes... I know that this is just a warning.
I have tried by putting this jar file in %CATALINA_HOME%/common/lib and
CATALINA_HOME%/common/endorsed directories...
but didn't work...
- Original Message -
From: Leo de Blaauw [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January
hi,
Could anyone point me to a solution for the following problem:
A .NET client (C#) returns the following exception while calling an Axis
web service:
An unhandled exception of type 'System.InvalidOperationException'
occurred in System.Web.Services.dll
Additional information: Cannot
Hello everybody,
I am having some problems in returning more than one string to my SOAP
request. The SOAP response should be something like the following:
serviceResponse xsi:type=ns2:Element xmlns:ns2=
http://xml.apache.org/xml-soap;
return
returnCode
Try server\lib
-Original Message-
From: Safdar Ali [mailto:[EMAIL PROTECTED]
Sent: 22 January 2004 16:08
To: [EMAIL PROTECTED]
Subject: Re: Warning on Happyness page
Yes... I know that this is just a warning.
I have tried by putting this jar file in %CATALINA_HOME%/common/lib and
I am also a newbie for Axis and just installed (yesterday) 1.2-alpha on
Tomcat 5.0.16 and failed the validation test. I found that meticulously
following the advice on classpath issues at
http://ws.apache.org/axis/java/install.html
http://ws.apache.org/axis/java/install.html solved the classpath
and...you did restart Tomcat, right?
-Original Message-
From: Safdar Ali [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:06 AM
To: [EMAIL PROTECTED]
Subject: Re: Warning on Happyness page
Yes... I know that this is just a warning.
I have tried by putting this jar file
no way...:(
- Original Message -
From: Saunders, Roger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 5:10 PM
Subject: RE: Warning on Happyness page
Try server\lib
-Original Message-
From: Safdar Ali [mailto:[EMAIL PROTECTED]
Sent: 22 January 2004
I've added it to %AXISCLASSPATH% as well and my %AXISCLASSPATH% contains
\webapps\axis\web-inf\lib\xmlsec.jar... but it still doesn't work :(
- Original Message -
From: Galbreath, Mark A [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 5:10 PM
Subject: RE: Warning
yes.. I always restart Tomcat when I change the classpath or put jar file to
anyother folder...
- Original Message -
From: Galbreath, Mark A [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 5:13 PM
Subject: RE: Warning on Happyness page
and...you did restart
Title: Message
If I
understand correctly, your client side is timing out for server to send response
so I dont think you could do anything on the server side to prevent
this.
Soniya
-Original
Message-From: Daniel Humberg [mailto:[EMAIL PROTECTED]
Sent: , 22 2004 11:17 To:
bummer...wish I could give you more help, but I am working my way through
the Axis mini-tutorial and User's Guide even as we type
Mark
-Original Message-
From: Safdar Ali [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 11:19 AM
To: [EMAIL PROTECTED]
Subject: Re: Warning on
Hi all,
We are currently have migrated to Axis 1.1 supporting some old
Apache SOAP RPC Calls. We are in the process of redesigning the public
access parts of the system. I am wondering what people recommend for the
style and type of Web Services we should utilize to support Microsoft
.Net
ru kidding? Apache software is a helluvalot more reliable than Micro$oft
software! I just joined a team to overhaul the technology of the entire
U.S. Department of State (moving legacy mainframe COBOL to Java web
services) and we have decided to use Apache web services tools as well as
the
Title: Message
Thanks
so much for the reply. I totally agree with you. I am going to forward this to
my management.
Soniya
-Original Message-From: Galbreath, Mark
A [mailto:[EMAIL PROTECTED] Sent: , 22 2004
12:14 To: '[EMAIL PROTECTED]'Subject: RE: apache
software
Can i use JNDI to invoke a web service published in Axis, without using the
standard client API provided by Axis?
_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
Can i use JNDI to invoke a web service published in Axis, without using the
standard client API provided by Axis?
Mahen
_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
Hi:
In my WSDL - I need to import a .xsd file which needs to
import another .xsd file
What is the correct way (per WS-I) checks to make Axis
import these files?
Any e.g.s. would be most appreciated
regards
Somesh Marepalli
Software Engineer, CleverPath Analytics Dev
tel: +1 216
This
is how I've done it. It works fine with Axis:
?xml version="1.0" encoding="UTF-8"
?
- definitions targetNamespace="https://webservices.sabre.com/websvc"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:bill="http://webservices.sabre.com/BillWebService"
I am writing an Axis client to interface with a VB.NET soap service and
I am having an issue with the axis client (vb client apparently works)
where the soap service is not getting the string being passed through
the only function and argument the service takes. Below are the two
envelopes.
Anybody know why I'm getting a ClassDefNotFound exception when I try to run
the TestClient example under Basics - Getting Started at
http://ws.apache.org/axis/java/user-guide.html? I've even tried
c:\[axis] java -cp %AXISCLASSPATH% samples\userguide\example1\TestClient
and the JVM keeps whining
Please address class name correctly (using . notation)
-Original Message-
From: Galbreath, Mark A [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:19 PM
To: Axis (E-mail)
Subject: Newbie: TestClient example does not work
Anybody know why I'm getting a ClassDefNotFound
I don't see it setting the default namespace to 'http://ar.masstech-pts.org/' for the body anywhere
in the Axis snip you sent.
Thomas Bolioli wrote:
soapenv:Body
testpostdata
soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/;
xmldata xsi:type=xsd:stringString Here...
/xmldata
my mistake in the post - I did use dot notation.
-Original Message-
From: Marepalli, Somesh [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 3:25 PM
To: [EMAIL PROTECTED]
Subject: RE: Newbie: TestClient example does not work
Please address class name correctly (using .
Thanks, how do I do that? I don't see anything through Call that is
obvious.
Tom
Dan Christopherson wrote:
I don't see it setting the default namespace to
'http://ar.masstech-pts.org/' for the body anywhere in the Axis snip
you sent.
Thomas Bolioli wrote:
soapenv:Body
testpostdata
Safdar
Have you tried with the new Tomcat 5.0.18?
regards,
Roger
At 11:24 AM 1/22/2004 -0500, Galbreath, Mark A wrote:
bummer...wish I could give you more help, but I am working my way through
the Axis mini-tutorial and User's Guide even as we type
Mark
-Original Message-
From: Safdar
Hi Thomas,
Messages that form the request/response for web services invoked through
HTTP GET/POST bindings are devoid of SOAP (they're dirty!). Hence, input
parameters are sent through a GET or POST in the usual HTML-form fashion and
method responses are simply what would otherwise appear as a
Hi Somesh,
Here is the sample for your scenario.
WSDL excerpts
---
?xml version=1.0
encoding=UTF-8?
definitions targetNamespace=http://wstesting.com
xmlns=http://schemas.xmlsoap.org/wsdl/
xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/
Hi Roger,
No.. I've not tried it on the new Tomcat 5.0.18 bcoz it is not mature
a the moment...
---
Safdar
Have you tried with the new Tomcat 5.0.18?
regards,
Roger
At 11:24 AM 1/22/2004 -0500, Galbreath, Mark A wrote:
bummer...wish I could give you more help, but I am working my
Hi Kiran,
Is your service RPC-Encoded?
Can you send me the message definition for the response and web service
interface declaration.
Looks like your service returns the bean, which has two string elements?
So when you invoke the service. Get the return object, cast it to proper
type and you
Hi All,
I have a question, I think not related to Axis; but in the area of .NET and web
services. Any help in this matter would be greatly appreciated. If you have an idea on
different newsgroup/mailing list, I can use to get answer to this question, please
send it to me also.
Problem
Title: Message
Hello Soniya,
If you are not using the SOAPHeader or
attachments or nested structures then there should not be any issues.
But if you are planning to use SOAPHeader
or attachments then sometimes it get trickier.
If your web services use SOAP Headers or
attachments
Hi,
If you use the array of user defined complex types in your web service
then you will have to specify the type mapping for the complex type as
well as for array of the complex type.
The sample type mapping for using array of user defined types can be as
shoen below.
typeMapping
Hi All,
I have a question, I think not related to Axis; but in the area of .NET and web
services. Any help in this matter would be greatly appreciated. If you have an idea on
different newsgroup/mailing list, I can use to get answer to this question, please
send it to me also.
Problem
Shah, Soniya M. [RA] wrote:
I have been using Apache software for a long time and am very happy with
it.
But my management has strong concern's about this. Their main question
is if we run into a really critical problem on client side, how do we
support it?.
I have not seen anything in the
Looks like the .NET service is doc/lit and the axis client is sending an
rpc/encoded request. Notice the
encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; attribute on
the Body child element.
Jim
Mindreef, Inc.
Toolkit Independent Web Services Debugging
http://www.mindreef.com
Unfortunately the WS-I doesn't like that very much. :) The WS-I BP 1.0
says WSDL imports can only import other WSDL documents. You can put a
dummy wsdl:type/xsd:schema section that imports these directly.
Though I'm not sure what axis will do in either case.
Jim
Heitzeg, Bill wrote:
This
Dear Axis Team,
I'm looking for a way to access
a Mysql database through soap. Right now, I'm accessing it through apache with
mod_perl. Is there any programs that allow me---not an expert programmer--to
access my database through soap? Even if I have to pay for one or for
development,
Jim,
I had that issue of WSI compliance and importing schemas. The way I did
is as follows:
types
schema targetNamespace=http://wstesting.com/eProfileService;
xmlns=http://www.w3.org/2001/XMLSchema;
import namespace=http://wstesting.com/CreateProfile;
That is the way I made it work also..
And I ran WS-I testing tool - it was ok - my WSDL passed test assertions
...
-Original Message-
From: Wagh, Shrikant [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 6:08 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Regarding
I don't see any requirement inWS-I BP 1.0a that specifies that imported XSDs
can not import additional XSDs. However, it is reasonable to allow WSDL
to import other .wsdl's.
BTW, I believe .NET 1.1 Framework/VS.NET 2003 WSDL processor
does not resolve multiple imported XSDs, hence you have to
Hello Tony,
If you are interested in validating your WSDL and checking it for WS-I
Basic profile compliance, then WS-I test tool is really good.
I'll prefer that than MindReef SOAPscope. SOAPscope does not generate
the compliance report but WSI tool does generate a detailed HTML report
which is
Hi all. First time caller, so please pardon any gaffes. Tried to find some wisdom
on my topic in the archives, but no luck.
In Axis 1.1, the jaxrpc.jar includes implementations for some classes in
javax.xml.transform (such as Source and stream.StreamSource). Is there any known
fallout if
Hi Tony,
WSI BP does allow import of one WSDL into another
WSDL, But schema cannot be imported in definition, it has to be in
schema. WS-I does not care if your imported schema imports other schema
in turn. Here are the IMPORT assertions specified in WS-I BP specs.
R2001 A
Probably the more important issue here is that Axis is generating the
testpostdata element (and child element) without a namespace, while
judging from the VB client request these need to be in the
http://ar.masstech-pts.org/ namespace. If the element's in the wrong (or
no) namespace, it's
Thanks but I have no idea how to add the namespace declaration using the
axis api (no obvious answer in the Call API) so any help there would be
greatly appreciated. Is this a bug that needs to be fixed??? If so I can
look into it if someone can point me to the correct class to start
editing.
Hello all,
Thanks to all of you for making such a great product!
I am building a standalone client to connect to a non-axis server (gSOAP based), but
with WS-Security info required. I have actually done this, but I would like some
help in doing this the proper AXIS way.
Is there any plans to
check the package declaration of the Test Client class. If it is
package samples.userguide.example1
then u must add to the classpath variable axis/1.1/
or whatever the directory under which the samples directory is placed. Not
the
samples\userguide\example1\TestClient path,
and then run using
77 matches
Mail list logo