Title: Axis and xsd validation
Hi
I am using axis-1_2RC2 .I want to validate my webservice against the xsd in the wsdl.But axis does not seem to support that .
Is that true?
If yes than what is the workaround for doing these validations example "NILLABLE" etc.
regds
Jyotsna
Thanks for the info.
I will give it a shot.
-Suresh
On Wed, 2 Feb 2005 14:14:25 -0600, Brown, Mike
<[EMAIL PROTECTED]> wrote:
> Currently Axis does not support vectors (that may change when they support
> JDK 1.5 which has generic-based vectors).
>
> They do accept arrays of objects but the ar
Hi All,
I am creating a web service from an existing MBean that I run under
JBoss 4.0. When JBoss starts up, it instantiates an instance of the
MBean. Following is the Axis configuration of my service:
I have the scope set to "Application" as I want only one instance of
my class create
Carsten,
you can replace xxx.enum.yyy with xxx.constants.yyyYes, Axis code
has to be compiled with 1.3/1.4. Not all production level app servers
have moved to JDK1.5 you know :)
-- dims
On Thu, 3 Feb 2005 14:10:50 +1100, Carsten Friedrich <[EMAIL PROTECTED]> wrote:
> > The main problem with
Putting the jdbc jar file in my axis\WEB-INF\lib worked - thanks Kraig!
/Stig P.
-Oprindelig meddelelse-
Fra: Kraig [mailto:[EMAIL PROTECTED]
Sendt: 2. februar 2005 14:45
Til: [EMAIL PROTECTED]
Emne: Re: [SPAM] How to deploy related classes?
Make sure to create the appropriate sub-direc
> The main problem with JRE 1.5 is that it implements DOM level 3. "enum"
> is, at this point, only a warning, as are the deprecated classes,
> methods etc - it would be best to fix them, but they can wait.
It's not quite that minor. One major problem with the enum use in Axis is
that it is part
Hello All,
I published an application scoped.service. why does the service object not keep the object's state. There is only one object created?
as
class AService{
private int lastValue=0;
public void setLastValue(int v){
lastValue=v;
}
public int getLastValue(){
return las
use the endorsed override mechanism
(http://java.sun.com/j2se/1.4.2/docs/guide/standards/)
The SAAJ 1.2 spec that is implemented by Axis is still the old dom and
not dom3.
-- dims
On Thu, 03 Feb 2005 11:29:44 +1100, John Delaney
<[EMAIL PROTECTED]> wrote:
> The main problem with JRE 1.5 is that
Hi,
I've changed to the new Axis 1.2RC2 jars (and dependencies)
and am seeing a problem with the generated SOAP request.
I did a TCPMon using 1.1 and 1.2 and it looks like the XML
declaration is now missing from the SOAP envelope. I have
shown the results below. Is there a way I can have this
ad
Hi,
I deployed my compiled classes to axis and on pointing the browser
to http://localhost:8085/axis/services/SASPort?wsdl
I am able to view the wsdl for the deployed service. I assumed that the service
has been deployed properly and tried testing it out by running my client but it
fai
Since you are doing document/literal-wrapped style, instead of an empty
message (for the getAllCustomers() operation request), shouldn't you
have a message containing the element ?
Also, shouldn't the part name for all the messages be "parameters"?
Yves Erb wrote:
Hi,
I don't think there's any
The main problem with JRE 1.5 is that it implements DOM level 3. "enum"
is, at this point, only a warning, as are the deprecated classes,
methods etc - it would be best to fix them, but they can wait. If you
want to see all of the errors and warnings just build Axis on a JRE 1.5
machine. The errors
It seems like before calling AdminClient to "deploy" a service
(B(http://ws.apache.org/axis/java/user-guide.html#CustomDeploymentIntroducingWSDD),
(BI have to copy over the class/jar files manually first. Am I missing
(Bsomething? I thought the point of AdminClient was to automate
(Beverything,
Forgot: Using 1.2RC2
On Feb 2, 2005, at 4:03 PM, Linus Kamb wrote:
Curious why when I try to send the simple XML
some text
using axis "message" style, out the other side comes:
some text
Note the empty namespace string.
Are namespaces required on all elements? And if so, why isn'
Curious why when I try to send the simple XML
some text
using axis "message" style, out the other side comes:
some text
Note the empty namespace string.
Are namespaces required on all elements? And if so, why isn't one
being put on the outer element?
The inner element is being c
Thanks, I will check it out!
-dh
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 5:22 PM
To: [EMAIL PROTECTED]
Subject: RE: How do I reset the list of deployed Web services?
Hi Dave,
Just FYI, the wsabi4axis open source project al
Hi Dave,
Just FYI, the wsabi4axis open source project allows you to manage your
server-config.wsdd using an intuitive GUI. The GUI is actually a web
application that can run standalone or be integrated within your axis
deployment.
For a demo, check out, http://demo.wsabi.org
Click on "Configur
We used WSDL2Java to generated code to access webservices.
Here is a fragment of the xml request:
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>http://www.domain.com/xmlschema/resource/metadata/oo
Worked for me too! Thanks.
-dh
-Original Message-
From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 4:19 PM
To: [EMAIL PROTECTED]
Subject: RE: How do I reset the list of deployed Web services?
I presume that you are unable to undeploy. One other thing
Title: Message
One more
thing, do I need log4j.dtd
for this also?
-dh
From: Faucher,
Christian [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005
1:45 PM
To: [EMAIL PROTECTED]
Subject: RE : RE : Install/Setup/Test
of Axis fails
Let me correct myself (I'm t
I presume that you are unable to undeploy. One other thing you can do
is to open the wsdd file and edit and delete the offending service (
take a good care and don't mess it up).
I am sure that there are other better ways, but, worked for me.
Regards
Sagar
-Original Message-
From: Dav
I don't want to delete all the services only the 'bad' one that I added.
I want to get back to the set of services that Axis started with by
default.
-dh
-Original Message-
From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 4:13 PM
To: [EMAIL PROTECTED]
S
If you want to delete all the services, the fastest way would be to
delete server-config.wsdd and start your server. Otherwise undeploy
each one of them.
Regards
Sagar
-Original Message-
From: Dave Hoffer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 1:10 PM
To: [EMAIL P
Additional info: I made an undeploy.wsdd. When I run this with the
AdminClient I get an AxisFault exception.
-dh
-Original Message-
From: Dave Hoffer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 4:06 PM
To: [EMAIL PROTECTED]
Subject: How do I reset the list of deployed W
I am learning Axis, going through the documentation. When I click on
View in the Welcome to Apache-Axis (index.html) page I used to get a
list of all the installed web services. I now just deployed my own
custom web service using WSDD; it said it was successful. However now
the web service list
Currently Axis does not support vectors (that may change when they support
JDK 1.5 which has generic-based vectors).
They do accept arrays of objects but the array has to be of a specific type.
Now you can in theory make a generic type (let's call it WSParam). Your
WSParam would have a getter/sett
FYI, http://weblogs.asp.net/smguest/archive/2005/02/01/365046.aspx
--
Davanum Srinivas - http://webservices.apache.org/~dims/
Mike Burati wrote:
i can confirm it that this is UTF8 related problem with the service
and not with AXIS.
i have run the same test with XSUL SOAP stack using SDI and it failed
in my UTF8 decoder as well.
the byte sequence is incorrect: 0xE0 0x20 ("a`" " ") - E0 indicates that
it
Hi,
I guess this is off-topic, but I guess you' re the guys that might
know the thing...
Is there an integrated web service server acting as an interface
to RIPE's, ARIN's and APNIC's whois databases?
I can't find much on the net.
Thanks.
TM
Title: Message
Let me
correct myself (I'm tired today):
IF it
is the server-side Axis that complains about "Log4J not being initialised",
then put log4j.xml in "/WEB-INF/classes" (not
/WEB-INF/classes/attachments).
IF it
is the client-side Axis that complains about "Log4J not being init
> i can confirm it that this is UTF8 related problem with the service
and not with AXIS.
> i have run the same test with XSUL SOAP stack using SDI and it failed
in my UTF8 decoder as well.
Thanks, I was hoping it was the service as I didn't have time to debug
what was going on deep down in AXIS
Title: Message
Just to clarify; is this the right
location? I tried this and it didn’t seem to find it. Do I need to
restart Tomcat?
/axis/WEB-INF/classes/attachments/log4j.xml
?
Thanks for the assistance!
-dh
From: Faucher,
Christian [mailto:[EMAIL PROTECTED]
Sen
Mike Burati wrote:
I was looking into an issue a coworker ran into calling the Xmethods Babelfish
translation service (specifically to test out non-ascii chars), and decided to
try a simple WSDL2Java based client against the service to see how it compared
to how he was using AXIS (1.2RC2), and I
Title: Message
The warning comes from log4j not being
initialised. Although it does not preven your client app to work, it is
noisy.
Put the log4j.xml in attachment in
"/WEB-INF/classes". Axis will pick it up there (as "/log4j.xml"
resource). You can put it somewhere else, but you will hav
Thanks alot. You guys really helped me out.
On Tue, 1 Feb 2005 14:31:38 -0500, Mike Burati <[EMAIL PROTECTED]> wrote:
>
>
> >>
> >> targetNamespace="http://xml.ws.pko.dia.mil";
> xmlns="http://xml.ws.pko.dia.mil";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> >>
Oops, the instructions didn't say to include wsdl4j.jar in my
AXISCLASSPATH. (This should be updated.) Now I just have the warning!
Any ideas on that?
-dh
-Original Message-
From: Dave Hoffer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 02, 2005 12:51 PM
To: [EMAIL PROTECTED]
Su
Hello,
I am following the Installation Instructions for Axis 1.2. I am
installing on XP and have already installed and have running Tomcat
4.1.31. I am also using the optional Xerces parser and xmlsec.jar.
When I validate the Axis installation with happyaxis all is well.
The problems start when
Hi All,
Environment
1. WSAD 5.1.2
2. AXIS 1.2 RC2 on both server and client
3. WebSphere Application Server 5.0
4. custom (de)serializers written replacing axis default
(de)serializers both at server side and client side
I have deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test
E
I was looking into an issue a coworker ran into calling the Xmethods Babelfish
translation service (specifically to test out non-ascii chars), and decided to
try a simple WSDL2Java based client against the service to see how it compared
to how he was using AXIS (1.2RC2), and I was able to reprod
Hello,
Create a bean with with fields as needed by the service and then:
call.registerTypeMapping(YourBean.class, ...);
As serializer /deserializer use
org.apache.axis.encoding.ser.BeanDeserializerFactory and
org.apache.axis.encoding.ser.BeanSerializerFa
$BDZLn$5$s(B
(B
$B!!LZB<$G$9!#(B
(B
$B!!JV;v$,CY$/$J$C$F$7$^$$$^$7$?$,!"%3%a%s%H$5$;$FD:$-$^$9!#(B
(B
$B!!7k6I!"DZLn$5$s$NLdBjG'<1$O!"(B1)DLL Hell$BLdBj$H(B2)SOAP Header$B$r(B
$BMxMQ$7$??6$kIq$$$NJQ99!"$H$$$&Fs$D$K<}B+$9$k$h$&$K;W$o$l$^$9!#(B
(B
$B!!(B1)$B$r2r7h$9$k$?$a$K!"J#?t
[EMAIL PROTECTED]"(B
(B
$B!!LZB<$G$9!#(B
(B
(B# $BCY$$%l%9%]%s%9$G$9$_$^$;$s(B...$B!#(B
(B
(BOn Tue, 1 Feb 2005, Shouhei Kodama wrote:
(B
(B> # $B;d$O!"$I$N%=!<%9%U%!%$%k$+$i$b(B
(B> $B!!6&DL$G;HMQ$9$k(B=$B$r(B*.properties$B$K(B
(B> $B!!5-=R$7$F$*$/$H>! $B!!$H$j$"$($:$I$N$
Hey,
I’m calling a service that has objects as its parameters, how do I
use it in the client? Do I enter each attribute as a string or do I create an
object of the required type?
(this is all in axis with a java client)
e.g.
if it was just wsdl with string parameters I d
Hi Tom and Jeff,
Thank you for your prompt response and making me realize my mistake.
It is a problem with the jndi lookup conf. in wsdd file. However I am
struck now with new error. Can you please suggest Is the error
screaming about a problem in my wsdl file ?
Connecting to service at
http
Apparently, whatever web service was invoked has returned an unexpected type
or there is an incorrect type mapping in the client deployment descriptor.
Possibly the wrong web service was invoked, or there is some problem on the
server side.The client is expecting to end up with a DCPlanListWSH
Does the class
com.ram.engine.ejb._DCSummaryWSHome_Stub
Implement the interface
com.ram.engine.ejb.DCPlanListWSHome
That is all the EJBProvider is trying to do. If not, then your
configuration isn't specifying the right class.
Disclaimer: I don't know much about EJBs. I do think I am the o
Hi All,
Environment
WSAD 5.1.2
AXIS 1.2 RC2 on both server and client
WebSphere Application Server 5.0
I have deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test
Environment and exposed it as web service using AXIS 1.2 RC2 on the
server side.
I am able to test and run the ejb usi
Make sure to create the appropriate sub-directory structure for the
package that DBManager.class is a member of under the WEB-INF\classes
subdirectory. i.e.: WEB-INF\classes\org\xyx\dao\dbmanager.class
Also put the jdbc driver jar file in the WEB-INF\lib directory.
Kraig
Stig Rasmussen wrote:
H
you can switch off multiref's. check the doc/mailing list archive.
-- dims
On Wed, 2 Feb 2005 14:11:04 +0100, Michal Malecki
<[EMAIL PROTECTED]> wrote:
> Hello,
> I'm porting application from Apache SOAP to AXIS.This is nearly done,
> however I have problem with internal SOAP structure of AXIS.
Hello,
I'm porting application from Apache SOAP to AXIS.This is nearly done,
however I have problem with internal SOAP structure of AXIS. I have
small testing utility that compares recorded response, with one
currently received. The comparison is very simple - just simple
stripping. Hoever AXIS pr
Hi,
I don't think there's any problem with your empty message. I wrote a service
using a similar declaration and it works. I may suggest you two things :
- see your application server logs, it can be more explicit than Axis
- try to rename your message : getAllCustomersRequest for example (althoug
Hi,
I'm trying out a bit with document/literal-wrapped style, but Axis gives me a
few problems.
I'm creating a WSDL file with 2 methods: createCustomer() and
getAllCustomers(). getAllCustomers() has no parameters (so no input), only a
return (output). But Axis doesn't seem to like this. I get
52 matches
Mail list logo