Deloy a web service

2002-07-22 Thread Th Templ

Hello,

I read this user guide on the Axis web site, but I have questions
about how to deploy a webservice and its mechanism.
I use to deploy the following command:
java org.apache.axis.client.AdminClient
-lhttp://localhost/axis/services/AdminService deploy.wsdd
It works fine and I can successfully test it with a client of
samples...

However I don't understand how the axis servlet finds the class of
the webservice. And what happens if I want to use several classes in
a jar?
Thanks for your help
Templ


_
Chat with friends online, try MSN Messenger: http://messenger.msn.com




Deloy a web service

2002-07-22 Thread Th Templ

Hello,

I read this user guide on the Axis web site, but I have questions about how 
to deploy a webservice and its mechanism.
I use to deploy the following command:
java org.apache.axis.client.AdminClient 
-lhttp://localhost/axis/services/AdminService deploy.wsdd
It works fine and I can successfully test it with a client of samples...

However I don't understand how the axis servlet finds the class of the 
webservice. And what happens if I want to use several classes in a jar?
Thanks for your help
Templ


_
Send and receive Hotmail on your mobile device: http://mobile.msn.com




AW: Deloy a web service

2002-07-22 Thread Stocker, Walter

Hello,

if you deploy a service, a entry is added to the WEB-INF/server-config.wsdd file in
the axis webapp directory. The informations for the entry are from the deploy.wsdd
file. With the entry in the WEB-INF/server-config.wsdd file a fully qualified
classname is bound to the urn of the SOAP-Service. While invoking a method of a
service the Axis-Servlet loads the class with the specified classname in 
WEB-INF/server-config.wsdd.

If you put your classes in a jar file, you have to put the jar file in the classpath
of tomcat (what a bad english ;-)). The WEB-INF/lib directory of the webapp is a
good place. About classpath, axis and tomcat see the very good posting 'Classloaders,
jaxrpc, axis, log4j Re: log4j' of Brian Ewins from Tuesday, 16th of July in the
mailing list.

cu

 
 Dipl. Inform. (FH) Walter Stocker
 T-Systems International GmbH
 Software Developer
 System Integration
 Address: Memmelsdorfer Str. 209a, 96052 Bamberg
 Phone: +49 (09 51) 40 97 - 1 46
 Fax: +49 (09 51) 40 97 - 2 00
 E-Mail: mailto:[EMAIL PROTECTED]
 Internet: http://www.t-systems.com
 


> -Ursprüngliche Nachricht-
> Von: Th Templ [mailto:[EMAIL PROTECTED]]
> Gesendet am: Montag, 22. Juli 2002 13:36
> An: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Betreff: Deloy a web service
> 
> Hello,
> 
> I read this user guide on the Axis web site, but I have 
> questions about how 
> to deploy a webservice and its mechanism.
> I use to deploy the following command:
> java org.apache.axis.client.AdminClient 
> -lhttp://localhost/axis/services/AdminService deploy.wsdd
> It works fine and I can successfully test it with a client of 
> samples...
> 
> However I don't understand how the axis servlet finds the 
> class of the 
> webservice. And what happens if I want to use several classes 
> in a jar?
> Thanks for your help
> Templ
> 
> 
> _
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
> 



RE: NS_URI_LITERAL_XML in AXIS

2002-07-22 Thread Boris_Paskalev





Hi everyone,
I'm getting the following error when I try to use the new Axis' beta 3
release, encoding to send dom.Element as parameter to a service.
I've did the following thing and I still get No Deserializer found.

No Deserializer found to deserialize a
'http://schemas.xmlsoap.org/soap/envelope/:Parameter' using encoding style
'http://xml.apache.org/xml-soap'.
at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135)
at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:904)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1528)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:213)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:457)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:362)
at org.apache.axis.client.Call.invokeEngine(Call.java:2046)
at org.apache.axis.client.Call.invoke(Call.java:2016)
at org.apache.axis.client.Call.invoke(Call.java:1786)
at org.apache.axis.client.Call.invoke(Call.java:1711)
at org.apache.axis.client.Call.invoke(Call.java:1251)
at
com.putnaminv.common.paas.profile.RpcrouterSoapBindingStub.retriveProfile(RpcrouterSoapBindingStub.java:150)

To set up the call I use the wsdl2Java generate Stub here is a piece of it:

org.apache.axis.client.Call call = createCall();
call.setEncodingStyle(org.apache.axis.Constants.NS_URI_XMLSOAP);
javax.xml.namespace.QName p0QName = new javax.xml.namespace.QName
("", "sessionCookie");
call.addParameter(p0QName, new javax.xml.namespace.QName("
http://www.w3.org/2001/XMLSchema";, "string"), java.lang.String.class,
javax.xml.rpc.ParameterMode.IN);
javax.xml.namespace.QName p1QName = new javax.xml.namespace.QName
("", "profileParameters");
call.addParameter(p1QName, new javax.xml.namespace.QName("
http://xml.apache.org/xml-soap";, "Element"), org.w3c.dom.Element.class,
javax.xml.rpc.ParameterMode.IN);
call.setReturnType(new javax.xml.namespace.QName("
http://xml.apache.org/xml-soap";, "Element"));
call.setUseSOAPAction(true);
call.setSOAPActionURI("");
call.setOperationStyle("rpc");
call.setOperationName(new javax.xml.namespace.QName
("urn:ProfileManager", "retriveProfile"));

Object resp = call.invoke(new Object[] {sessionCookie,
profileParameters});


I would really appreciate if you can help with this.
Thanks
Boris Paskalev



Boris -

"http://xml.apache.org/xml-soap":"Element"; is the
QName for org.w3c.dom.Element when using Apache Axis


--
Source Code References:

Org/apache/axis/Constants.java

public static final String NS_URI_XMLSOAP =
"http://xml.apache.org/xml-soap";;

public static final QName SOAP_ELEMENT = new QName(NS_URI_XMLSOAP,
"Element");


Org/apache/axis/encoding/DefaultTypeMappingImpl.java

// Use the Element Serializeration for elements
myRegister(Constants.SOAP_ELEMENT,   org.w3c.dom.Element.class,
   new ElementSerializerFactory(),
   new ElementDeserializerFactory(), false);
myRegister(Constants.SOAP_VECTOR,java.util.Vector.class,
   new VectorSerializerFactory(java.util.Vector.class,
   Constants.SOAP_VECTOR),
   new VectorDeserializerFactory(java.util.Vector.class,
 Constants.SOAP_VECTOR),
   false);



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 8:57 AM
To: [EMAIL PROTECTED]
Subject: NS_URI_LITERAL_XML in AXIS

Hi I guess this is the right list to ask my question.
I have  a client that receives a dom.Element as a string (this did not
required any serializes or tricks) using pure SOAP 2.2.
But then I tried to do the same call to the service using AXIS and I was
left with the problem that AXIS does not have the
Constants.NS_URI_LITERAL_XML
encoding, which allows me to send dom.Elements over SOAP (the Element is
send as  arguments to the service). So I received the error that there
is
no serilizer.

Did anyone knows what is an equivalent encoding of NS_URI_LITERAL_XML in
AXIS

Thanks Boris








basic authorization

2002-07-22 Thread Volkmann, Mark
Title: basic authorization





I've learned how to use basic authentication and authorization from the Wrox Axis book. However, one thing I find confusing is specifying which users are authorized to use a given service. It seems that this must be specified in two places.

1) in the perms.lst file with username servicename pairs
2) in the deployment WSDD using the allowedRoles parameter of service elements


Why isn't it sufficient to only specify this mapping in perms.lst?
Why is the value of allowedRoles supposed to be usernames instead of role names?
If it were role names, how would you associate users with roles?




***
WARNING:  All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.




Re: AW: Deloy a web service

2002-07-22 Thread Th Templ

Thanks for your answer. I don't see that axis.war contains all the classes 
of samples...
Templ


>From: "Stocker, Walter" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: AW: Deloy a web service
>Date: Mon, 22 Jul 2002 14:16:30 +0200
>
>Hello,
>
>if you deploy a service, a entry is added to the WEB-INF/server-config.wsdd 
>file in
>the axis webapp directory. The informations for the entry are from the 
>deploy.wsdd
>file. With the entry in the WEB-INF/server-config.wsdd file a fully 
>qualified
>classname is bound to the urn of the SOAP-Service. While invoking a method 
>of a
>service the Axis-Servlet loads the class with the specified classname in
>WEB-INF/server-config.wsdd.
>
>If you put your classes in a jar file, you have to put the jar file in the 
>classpath
>of tomcat (what a bad english ;-)). The WEB-INF/lib directory of the webapp 
>is a
>good place. About classpath, axis and tomcat see the very good posting 
>'Classloaders,
>jaxrpc, axis, log4j Re: log4j' of Brian Ewins from Tuesday, 16th of July in 
>the
>mailing list.
>
>cu
>
>
>  Dipl. Inform. (FH) Walter Stocker
>  T-Systems International GmbH
>  Software Developer
>  System Integration
>  Address: Memmelsdorfer Str. 209a, 96052 Bamberg
>  Phone: +49 (09 51) 40 97 - 1 46
>  Fax: +49 (09 51) 40 97 - 2 00
>  E-Mail: mailto:[EMAIL PROTECTED]
>  Internet: http://www.t-systems.com
>
>
>
> > -Ursprüngliche Nachricht-
> > Von: Th Templ [mailto:[EMAIL PROTECTED]]
> > Gesendet am: Montag, 22. Juli 2002 13:36
> > An: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Betreff: Deloy a web service
> >
> > Hello,
> >
> > I read this user guide on the Axis web site, but I have
> > questions about how
> > to deploy a webservice and its mechanism.
> > I use to deploy the following command:
> > java org.apache.axis.client.AdminClient
> > -lhttp://localhost/axis/services/AdminService deploy.wsdd
> > It works fine and I can successfully test it with a client of
> > samples...
> >
> > However I don't understand how the axis servlet finds the
> > class of the
> > webservice. And what happens if I want to use several classes
> > in a jar?
> > Thanks for your help
> > Templ
> >
> >
> > _
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >




_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




Supported Collection Types

2002-07-22 Thread Rathert Jonas (Platinion)

Hi there,

I'm new to this list, so at first a "Thank you!" to all the 
developers of axis.  I just started with WebServices, and I 
appreciate to have an implementation that I can use to learn 
how to do it "the right jaxrpc way", without having to use the 
\HUGE Sun WSDP.

One thing I miss in axis is a complete list of supported types.  
I went through the axis website and the jaxrpc specs, and found that 
the primitive types and a few others are supported by jaxrpc, and 
everything else is up to the implementor. 

So far I tried with Vector, ArrayList and HashMap, and from these, 
ArrayList does not seem to work (using it in an interface and then
doing a java2wsdl and then wsdl2java resulted in a mapping to 
java.lang.Object[]) - but I am too new to this to decide whether
I did something wrong or just miss some docs? 

And if there are (collection) types that are not supported:  Is there 
any _technical_ reason for this?

Thanks in advance

  Jonas










Problem creating simple Web Service using JBuilder - IndexOutOfBoundsException

2002-07-22 Thread Charlesworth, Chico








 

Hi,

 

I'm trying to create a simple Web Service using JBuilder (which in
turns uses Axis) and I get the following fault response. Appended are my xsd
and wsdl files. 

 

Can anyone see what I am doing wrong?

 





 

  

   ns1:Server.userException

   java.lang.IndexOutOfBoundsException: Index: 1, Size:
0

   

    java.lang.IndexOutOfBoundsException:
Index: 1, Size: 0

  at
java.util.ArrayList.RangeCheck(ArrayList.java:491)

  at
java.util.ArrayList.get(ArrayList.java:307)

  at
org.apache.axis.description.OperationDesc.getParameter(OperationDesc.java:172)

  at
org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:126)

  at
org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:263)

  at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)

  at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154)

  at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:121)

  at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:288)

  at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:547)

  at
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

  at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

  at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

  at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

  at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)

  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

  at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)

  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

  at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

  at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

  at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)

  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

  at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

  at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)

  at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)

  at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)

  at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)

  at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)

  at
java.lang.Thread.run(Thread.java:484)



   

  

 



 

Cheers,

Chico.








-- 

The content of this e-mail is confidential, may contain privileged material and is intended solely for the recipient(s) named above. If you receive this in error, please notify Software AG immediately and delete this e-mail.


Software AG (UK) Limited

Registered in England & Wales 1310740

Registered Office: Hudson House, Hudson Way,

Pride Park, Derby DE24 8HS




Verso-Experian.xsd
Description: Binary data


Experian.wsdl
Description: Binary data


RE: Supported Collection Types

2002-07-22 Thread Hurst, Cyrus

 Hi Jonas,
   Axis supports the data types specified in JAX-RPC 1.0 with the addition
of:
 Bean
 Enumeration
 Map
 Vector
 Collection
 ArrayList
 and List 
 
 Regards,
-Cyrus 

-Original Message-
From: Rathert Jonas (Platinion) [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 22, 2002 10:20 AM
To: '[EMAIL PROTECTED]'
Subject: Supported Collection Types


Hi there,

I'm new to this list, so at first a "Thank you!" to all the 
developers of axis.  I just started with WebServices, and I 
appreciate to have an implementation that I can use to learn 
how to do it "the right jaxrpc way", without having to use the 
\HUGE Sun WSDP.

One thing I miss in axis is a complete list of supported types.  
I went through the axis website and the jaxrpc specs, and found that 
the primitive types and a few others are supported by jaxrpc, and 
everything else is up to the implementor. 

So far I tried with Vector, ArrayList and HashMap, and from these, 
ArrayList does not seem to work (using it in an interface and then
doing a java2wsdl and then wsdl2java resulted in a mapping to 
java.lang.Object[]) - but I am too new to this to decide whether
I did something wrong or just miss some docs? 

And if there are (collection) types that are not supported:  Is there 
any _technical_ reason for this?

Thanks in advance

  Jonas









Re: Authentification/Authorization MS-Soap-Client -->AXIS-Soap-Service

2002-07-22 Thread Oliver Rettig

thanks for your help, 
I will try it.
> Hello Oliver,
>
> since I'm using the Visual Studio, I can only give you a hint for
> this:
>
> After generating the ClientStub, there are several properties
> accessible on the service-class. to use BasicAuthentication, you
> have to provide username, password [domain] in the following way:
>
> ...
> ICredentials credentials = new NetworkCredential("myame", "mypass");
> .Credentials = credentials;
>
> ...
> where  is the generated proxy. Hope it can help.
>
> Gerrit
>
> [EMAIL PROTECTED] schrieb am 19.07.02 10:54:03:
> > Hallo,
> >
> > I have a client that needs to use MS-Soap or PocketSoap and access our
> > Axis-SOAP service.
> >
> > I want to use Authorization Basic element in the SOAP Request. In the
> > java client I use Call.setPassword and Call.setUsername. Is there any
> > equivalent call on the Microsoft.XMLHTTP object.
> >
> > best regards
> >
> > Oliver
> > --
> > Oliver Rettig
> > Lachnerstr. 6
> > 76131 Karlsruhe
> >
> > ORAT Software-Entwicklung
> > www.orat.de
> > Steinstr. 23, 76131 Karlsruhe
> > Tel.: 0721/38489600

-- 
Oliver Rettig
Lachnerstr. 6
76131 Karlsruhe

ORAT Software-Entwicklung
www.orat.de
Steinstr. 23, 76131 Karlsruhe
Tel.: 0721/38489600



RE: Including SOAP header information in WSDL

2002-07-22 Thread St-Germain, Sylvain



I 
doubt since Axis do not yet managed SOAP header from the WSDL. 

Sylvain.

  -Original Message-From: Jerry Thomas 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, July 08, 2002 10:58 
  PMTo: Apache Axis Users GroupSubject: Including SOAP 
  header information in WSDL
  Apparently, .NET 
  will include SOAP header information in it's WSDL generation.  Does Axis 
  have similar functionality?
   
  I am using a .NET 
  client to access a JBoss/Axis server and the server uses SOAP header 
  information as a means of user authentication.  If I can get Axis to 
  generate this WSDL SOAP header information, the .NET WSDL generation of the 
  proxy client will do the right thing.
   
  Thanks, 
  Jerry
   
  Jerry Thomas
  SpotFive Consulting
  cell: 
  617-513-2578
  email:  [EMAIL PROTECTED]
   


This message may contain privileged and/or confidential information.  If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so.  Thank you.


RE: returning an array of strings

2002-07-22 Thread Manolis Floros



Hi 
all,
how 
should i declare the return type for an array of Strings, in the call object 
initialization?
The 
service is: public String[] getKeysWS(String servicename)
 
thanks
Manolis


No Deserializer found to deserialize a 'http://schemas.xmlsoap.org/soap/envelope/:Parameter

2002-07-22 Thread Boris_Paskalev


Hi I have a problem that I've been trying to tackle for a week now.
I'm trying to send a dom.Element and a String as parameters to Service. I
used java2WSDL and WSDL2java to generate stubs for the call.
If I only have Strings being passed as arguments I have no problems, but
when I try to pass the dom.Element I get No Deserializer found to
deserialize a 'http://schemas.xmlsoap.org/soap/envelope/:Parameter
I'm using the newest Axis from http://xml.apache.org/axis/  beta3

It is supposed to have a serilizer for dom.Elements but I guess I'm not
using the right encoding or something.

Could  someone knowledgeable take a look and help me please.

The SOAP call generated to the server is:

OST /soap/servlet/rpcrouter HTTP/1.0
Host: localhost
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 622


http://xml.apache.org/xml-soap";
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd
="http://www.w3.org/2001/XMLSchema"; xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance";>
 
  
   0123456789@skream@1027352733408
   http://xml.apache.org/xml-soap";>

   
  
 


And the response received is:

TTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=utf-8
Content-Length: 581
Date: Mon, 22 Jul 2002 15:45:38 GMT
Server: Apache Tomcat/4.0.4 (HTTP/1.1 Connector)
Set-Cookie: JSESSIONID=94418306CF8C4D245884CE7760977E50;Path=/soap



http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi
="http://www.w3.org/1999/XMLSchema-instance"; xmlns:xsd
="http://www.w3.org/1999/XMLSchema";>





SOAP-ENV:Client

No Deserializer found to deserialize a
'http://schemas.xmlsoap.org/soap/envelope/:Parameter' using encoding style
'http://xml.apache.org/xml-soap'.

/soap/servlet/rpcrouter








Thanks you very much in advance
Boris Paskalev





Re: Supported Collection Types

2002-07-22 Thread Rathert Jonas (Platinion)

Hi Cyrus,

thank you for the quick answer.

>Axis supports the data types specified in JAX-RPC 1.0 with 
> the addition
> of:
> [...]
>  ArrayList

Unfortunately this exactly does not work in my small example. 
Using ArrayList in my "original" interface, it becomes 
java.lang.Object[] in the interface that is generated by 
WSDL2Java.

I use axis beta-3 with jdk1.3.1_03 on Linux using tomcat-4.0.4
and the xerces it ships with.

Did I miss something?

Regards

  Jonas



Could not find deserializer for type ... string[unbounded]

2002-07-22 Thread Helen L Rehn

Hi,

I'm finally well on my way with my beta 3 upgrade.  Now I have a wrapped 
style service that appears to be working correctly except for arrays.  I 
have the following in my wsdl:







this maps to an array of strings in the return type of a method.

I used wsdl2java to generate my server side skeletons as well as stubs. 
(My wsdd file as well). Now I am getting the following error when trying 
to return from this method:

org.xml.sax.SAXException: Deserializing parameter 'assetName':  could not 
find d
eserializer for type {http://www.w3.org/2001/XMLSchema}string[unbounded]
at 
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:231)
at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:857)
at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:199)
at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:644)
at 
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:235)
at 
org.apache.axis.message.RPCElement.getParams(RPCElement.java:259)
at org.apache.axis.client.Call.invoke(Call.java:1807)
at org.apache.axis.client.Call.invoke(Call.java:1712)
at org.apache.axis.client.Call.invoke(Call.java:1252)

What do I need to do to resolve this?

Thanks,
Nell

Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]



Re: Could not find deserializer for type ... string[unbounded]

2002-07-22 Thread scheu

Try a nightly build.  Processing for  has 
been improved.

Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115  (IBM TL 678-5115)




Helen L Rehn/Durham/IBM@IBMUS
07/22/2002 11:40 AM
Please respond to axis-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:Could not find deserializer for type ... string[unbounded]

 

Hi,

I'm finally well on my way with my beta 3 upgrade.  Now I have a wrapped 
style service that appears to be working correctly except for arrays.  I 
have the following in my wsdl:







this maps to an array of strings in the return type of a method.

I used wsdl2java to generate my server side skeletons as well as stubs. 
(My wsdd file as well). Now I am getting the following error when trying 
to return from this method:

org.xml.sax.SAXException: Deserializing parameter 'assetName':  could not 
find d
eserializer for type {http://www.w3.org/2001/XMLSchema}string[unbounded]
at 
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:231)
at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:857)
at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:199)
at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:644)
at 
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:235)
at 
org.apache.axis.message.RPCElement.getParams(RPCElement.java:259)
at org.apache.axis.client.Call.invoke(Call.java:1807)
at org.apache.axis.client.Call.invoke(Call.java:1712)
at org.apache.axis.client.Call.invoke(Call.java:1252)

What do I need to do to resolve this?

Thanks,
Nell

Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]






RE: rpc-literal and document-literal

2002-07-22 Thread Ted Neward

JAXRPC, as its name implies, seems to be intended for WebServices that can
be described (and therefore be supported by tools and code-generative
utilities) by WSDL, whereas JAXM deals much more directly with the SOAP
packets themselves. I suppose an analogy here would be "do you want to crack
the HTTP packets yourself, or let Struts do it for you?". More power may be
available by writing directly against JAXM, particularly in areas that are
not very well-defined by WSDL yet (oneway, solicit/notification,
asynchronous or non-blocking request/response calls, and so on), or for
messages that cannot be described using WSDL 1.1 (such as SOAP w/
attachments messages).

This is, as was noted earlier, just one man's opinion, but a good resource
for this kind of discussion is the Microsoft WebServices area on MSDN; some
very high-powered guys (Tim Ewald manages that portion of MSDN, Martin
Gudgin is on the W3C WSDL and SOAP committees, and of course Don Box is deep
into this stuff, too, and so on) are writing on these kinds of subjects.
Also, XMLHack seems to have some good articles on WSDL and SOAP and "what's
it all mean" and so on.

Finally, I think it's important to mention that these questions you're
asking won't have a definitive answer--the truth of it is, we don't know
yet. All of this stuff is so bleeding-edge, we haven't figured out all of
the implications and/or consequences associated with it yet. It seems to
take a few years (2 or 3) for us as an industry to figure out all the warts,
so expect some backtracking and revisiting. Much of that is already going on
with SOAP 1.2 and WSDL 1.2 already, but SOAP 1.2 *just* came out, and WSDL
1.2 is still very much on the drawing board. And even then, that doesn't
mean we'll get it right the first time.

Ted Neward
{ .NET || Java } Author, Course Author, Instructor
http://www.javageeks.com
http://www.clrgeeks.com

-Original Message-
From: Sam [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 21, 2002 23:21
To: [EMAIL PROTECTED]
Subject: Re: rpc-literal and document-literal


Thats an interesting comparison you bring up. Which leads to
my next question

Why would someone use the doc/literal style with JAX-RPC instead of 
JAXM ?
Doesnt the doc/literal seem redundant in JAX-RPC  and doesnt JAXM do 
the same thing ?

/s




Ted Neward wrote:
> 
> It's really more of a "Zen" thing--rpc/encoded is the act of replicating a
> call stack, whereas doc/literal is the act of passing messages, much in
the
> same differentiation between RMI and JMS. In many ways, one can look at
RMI
> and simply say, "Oh, that's easy, that's just passing an 'input' message
to
> an endpoint, and receiving an 'output' message back." This in turn begs
the
> question, what's the choice between RMI and JMS? Or, in short, what's the
> choice about between any messaging-based application, and an RPC-based
one?
> 
> A messaging-based app usually offers more in the way of flexibility--for
> example, a messaging-based app can do all sorts of "oneway" actions
without
> requiring a response, and can offer store-and-forward kinds of
functionality
> as a result. (Think of the difference between email--messaging--and a
phone
> call--RPC. One requires only some supporting plumbing to make sure the
> message gets there; the other requires the same plumbing, but also that
the
> recipient be there, ready to answer the incoming request and send back a
> response.) The commensurate cost that goes with a messaging application is
> the overhead of tying "request" and "response" together--identifying that
> *this* response goes with *that* request five minutes ago, and so on. (JMS
> has some headers they reserve for precisely this purpose.)
> 
> Ted Neward
> {.NET || Java} Course Author & Instructor, DevelopMentor
> (http://www.develop.com)
> http://www.javageeks.com/tneward
> http://www.clrgeeks.com/tneward
> 
> - Original Message -
> From: "Sam" <[EMAIL PROTECTED]>
> To: "axis" <[EMAIL PROTECTED]>
> Sent: Sunday, July 21, 2002 5:16 PM
> Subject: rpc-literal and document-literal
> 
> > I was trying to think of the use cases where one would prefer
> > to use document-literal over rpc encoded and drew a blank.
> >
> > Can anyone highlight why an application would choose
> > document-literal or rpc-literal as the message format ?
> >
> > What would such a use case look like ?
> >
> >
> > Thanks
> > /s
> >
> >



Re: Could not find deserializer for type ... string[unbounded]

2002-07-22 Thread Helen L Rehn

Oh, ouch.  Support for arrays was the main reason I wanted so badly to 
move up to beta-3.  At the moment, I am prevented from using the nightly 
build because I want to use wstk from IBM, and even the very latest wstk 
uses beta-3.  Are there any suggestions for how I might work around this? 
(We were using a delimited list of strings instead of the String array 
when we were using Beta-1).

Thanks,
Nell

Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]




R J Scheuerle Jr/Austin/IBM@IBMUS
07/22/2002 12:47 PM
Please respond to axis-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:Re: Could not find deserializer for type ... string[unbounded]

 

Try a nightly build.  Processing for  has 
been improved.

Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115  (IBM TL 678-5115)




Helen L Rehn/Durham/IBM@IBMUS
07/22/2002 11:40 AM
Please respond to axis-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:Could not find deserializer for type ... 
string[unbounded]

 

Hi,

I'm finally well on my way with my beta 3 upgrade.  Now I have a wrapped 
style service that appears to be working correctly except for arrays.  I 
have the following in my wsdl:







this maps to an array of strings in the return type of a method.

I used wsdl2java to generate my server side skeletons as well as stubs. 
(My wsdd file as well). Now I am getting the following error when trying 
to return from this method:

org.xml.sax.SAXException: Deserializing parameter 'assetName':  could not 
find d
eserializer for type {http://www.w3.org/2001/XMLSchema}string[unbounded]
at 
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:231)
at 
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:857)
at 
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:199)
at 
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:644)
at 
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:235)
at 
org.apache.axis.message.RPCElement.getParams(RPCElement.java:259)
at org.apache.axis.client.Call.invoke(Call.java:1807)
at org.apache.axis.client.Call.invoke(Call.java:1712)
at org.apache.axis.client.Call.invoke(Call.java:1252)

What do I need to do to resolve this?

Thanks,
Nell

Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]









RE: [Namespace] : personnalize namespace prefix

2002-07-22 Thread St-Germain, Sylvain


Pascal, 

I do not know your motivation but you seems to be taking the wrong route,
namespace prefix are irrelevant, you should not rely on them, you will get
burn when doing your interoperability testing, SOAP::Lite will do something
else, so will dotNet

Sylvain.


-Original Message-
From: Wimmer, Matthias [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 05, 2002 12:50 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [Namespace] : personnalize namespace prefix


Pascal,

how did you add this header element? You might want to try

 SOAPEnvelope.addHeader( 
 new SOAPHeaderElement( 
 String namespace, 
 String prefix ) )


If this proposal works, please send a kind response.

Matthias Wimmer




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 8:23 AM
> To: [EMAIL PROTECTED]
> Subject: [Namespace] : personnalize namespace prefix
> 
> 
> 
> 
> Hi,
> I want to develop my own SOAP Header and I want specify a 
> namespace prefix
> (wsse) for my different nodes. But Axis change this namespace 
> prefix by "ns1".
> 
> What is the solution ?
> 
> I have for my message SOAP :
> 
> 
>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>   xmlns:ns1="http://schemas.xmlsoap.org/ws/2002/04/secext";> UsernameToken>precchia rd>password
> 
> 
>  
>SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>  
> 
> 
> But I want (and I develop this XML Document) :
> 
> 
>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>   xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext";> e:UsernameToken>precchia assword>password
> 
> 
>  
>SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
>  
> 
> 
> Thanks.
> 
> 
> 
> __
> 
> 
> Devoteam Siticom Strategic Partner of the French Challenger 
> in the 2003
> America's Cup
> 
> ABOUT THE DEVOTEAM GROUP
> Devoteam is a leading European Consulting Group in networks 
> and e-business
> infrastructures.
> We help our clients build corporate results from innovative 
> information
> technology solutions.
> In 2001, pro forma revenues (including Siticom Group) 
> amounted to EUR 142 MM.
> The new group has 1,800 employees in eight European countries 
> (France, Belgium,
> Denmark, Netherlands, UK, Spain, Austria).
> Devoteam has been listed on the Nouveau Marché of Euronext 
> Paris since October
> 1999 (Euroclear 7379) and joined the NextEconomy segment of Euronext.
> 
> 

This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.



Re: Could not find deserializer for type ... string[unbounded]

2002-07-22 Thread ian_roughley


I have sucessfully returned Vectors and string arrays - the catch is that
you cannot use java2wsdl & wsdl2java to generate the deployment descriptors
or stubs.  You will need to code them by hand.

/Ian

---

Email:[EMAIL PROTECTED]
Phone:  978-399-7096
T/L:333-7096
---




   
  
  "Helen L Rehn"   
  
  <[EMAIL PROTECTED]To:   [EMAIL PROTECTED]  
  
  m>   cc:   (bcc: Ian 
Roughley/Westford/Contr/IBM)  
   Subject:  Re: Could not find 
deserializer for type ... string[unbounded]  
  07/22/2002 01:30 
  
  PM   
  
  Please respond to
  
  axis-user
  
   
  
   
  




Oh, ouch.  Support for arrays was the main reason I wanted so badly to
move up to beta-3.  At the moment, I am prevented from using the nightly
build because I want to use wstk from IBM, and even the very latest wstk
uses beta-3.  Are there any suggestions for how I might work around this?
(We were using a delimited list of strings instead of the String array
when we were using Beta-1).

Thanks,
Nell

Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]




R J Scheuerle Jr/Austin/IBM@IBMUS
07/22/2002 12:47 PM
Please respond to axis-user


To: [EMAIL PROTECTED]
cc:
Subject:Re: Could not find deserializer for type ...
string[unbounded]



Try a nightly build.  Processing for  has
been improved.

Rich Scheuerle
IBM WebSphere & Axis Web Services Development
512-838-5115  (IBM TL 678-5115)




Helen L Rehn/Durham/IBM@IBMUS
07/22/2002 11:40 AM
Please respond to axis-user


To: [EMAIL PROTECTED]
cc:
Subject:Could not find deserializer for type ...
string[unbounded]



Hi,

I'm finally well on my way with my beta 3 upgrade.  Now I have a wrapped
style service that appears to be working correctly except for arrays.  I
have the following in my wsdl:







this maps to an array of strings in the return type of a method.

I used wsdl2java to generate my server side skeletons as well as stubs.
(My wsdd file as well). Now I am getting the following error when trying
to return from this method:

org.xml.sax.SAXException: Deserializing parameter 'assetName':  could not
find d
eserializer for type {http://www.w3.org/2001/XMLSchema}string[unbounded]
at
org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:231)
at
org.apache.axis.encoding.DeserializationContextImpl.startElement(Dese
rializationContextImpl.java:857)
at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:199)
at
org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:644)
at
org.apache.axis.message.RPCElement.deserialize(RPCElement.java:235)
at
org.apache.axis.message.RPCElement.getParams(RPCElement.java:259)
at org.apache.axis.client.Call.invoke(Call.java:1807)
at org.apache.axis.client.Call.invoke(Call.java:1712)
at org.apache.axis.client.Call.invoke(Call.java:1252)

What do I need to do to resolve this?

Thanks,
Nell

Helen (Nell) L. Rehn
Extreme Blue Intern
919-254-6251 (office)
Helen L Rehn/Durham/IBM
[EMAIL PROTECTED]














Problem using AdminClient

2002-07-22 Thread Drumm, Christian

hi 
i tried to run one of the examples in user_doc.
when executing  java org.apache.axis.client.AdminClient deploy.wsdd
i get the following messages:

Jul 22, 2002 11:39:20 AM org.apache.axis.client.AdminClient process
INFO: Processing file deploy.wsdd
Jul 22, 2002 11:39:21 AM org.apache.axis.client.AdminClient main
SEVERE: Exception:
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.generalException
 faultString: Null response message!
 faultActor: null
 faultDetail:
stackTrace: AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.generalException
 faultString: Null response message!
 faultActor: null
 faultDetail:

Null response message!
at org.apache.axis.client.AdminClient.process(AdminClient.java:321)
at org.apache.axis.client.AdminClient.process(AdminClient.java:295)
at org.apache.axis.client.AdminClient.process(AdminClient.java:302)
at org.apache.axis.client.AdminClient.process(AdminClient.java:253)
at org.apache.axis.client.AdminClient.main(AdminClient.java:338)


Null response message!
at org.apache.axis.client.AdminClient.process(AdminClient.java:321)
at org.apache.axis.client.AdminClient.process(AdminClient.java:295)
at org.apache.axis.client.AdminClient.process(AdminClient.java:302)
at org.apache.axis.client.AdminClient.process(AdminClient.java:253)
at org.apache.axis.client.AdminClient.main(AdminClient.java:338)

does anyone know how to solve this problem?
i'm running tomcat 4.0.4 and axis beta 3
thanks

CU Christian




RE: rpc-literal and document-literal

2002-07-22 Thread Frank Cohen

Good reply message Ted. Your "we don't know yet" answer is my take on 
Web Services too. I've been testing Web Service based systems for the 
past two years and the variety and complexity of systems is huge. It 
brings new meaning to the old words "your results may vary." hehe

Some of the things I have come to know about RPC and Document calls 
from my tests:

1) While RPC calls are convenient for software developers they do not 
scale well.  I have seen several applications that use RPC to send 
complex objects across an HTTP connection. While testing these I 
increased the size of the object and found that the SOAP stacks 
decreased their ability to handle transactions.

2) Document-style calls provide scalability but are not well suited for 
complex data. I found examples where developers had misinterpreted the 
WSDL definition for the content of the response. I also found one case 
where a developers hand-coded XML parser method was slower than Xerces.

It seems to me that .NET got scalability right over RPC-based Web 
Services. .NET uses document-style calls.

I'm writing up my results over the next 2 weeks and will post my 
findings here.

-Frank (http://www.pushtotest.com)


Quoting Ted Neward <[EMAIL PROTECTED]>:

> JAXRPC, as its name implies, seems to be intended for WebServices
> that can
> be described (and therefore be supported by tools and
> code-generative
> utilities) by WSDL, whereas JAXM deals much more directly with the
> SOAP
> packets themselves. I suppose an analogy here would be "do you want
> to crack
> the HTTP packets yourself, or let Struts do it for you?". More power
> may be
> available by writing directly against JAXM, particularly in areas
> that are
> not very well-defined by WSDL yet (oneway, solicit/notification,
> asynchronous or non-blocking request/response calls, and so on), or
> for
> messages that cannot be described using WSDL 1.1 (such as SOAP w/
> attachments messages).
> 
> This is, as was noted earlier, just one man's opinion, but a good
> resource
> for this kind of discussion is the Microsoft WebServices area on
> MSDN; some
> very high-powered guys (Tim Ewald manages that portion of MSDN,
> Martin
> Gudgin is on the W3C WSDL and SOAP committees, and of course Don Box
> is deep
> into this stuff, too, and so on) are writing on these kinds of
> subjects.
> Also, XMLHack seems to have some good articles on WSDL and SOAP and
> "what's
> it all mean" and so on.
> 
> Finally, I think it's important to mention that these questions
> you're
> asking won't have a definitive answer--the truth of it is, we don't
> know
> yet. All of this stuff is so bleeding-edge, we haven't figured out
> all of
> the implications and/or consequences associated with it yet. It seems
> to
> take a few years (2 or 3) for us as an industry to figure out all the
> warts,
> so expect some backtracking and revisiting. Much of that is already
> going on
> with SOAP 1.2 and WSDL 1.2 already, but SOAP 1.2 *just* came out, and
> WSDL
> 1.2 is still very much on the drawing board. And even then, that
> doesn't
> mean we'll get it right the first time.
> 
> Ted Neward
> { .NET || Java } Author, Course Author, Instructor
> http://www.javageeks.com
> http://www.clrgeeks.com
> 
> -Original Message-
> From: Sam [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 21, 2002 23:21
> To: [EMAIL PROTECTED]
> Subject: Re: rpc-literal and document-literal
> 
> 
> Thats an interesting comparison you bring up. Which leads to
> my next question
> 
> Why would someone use the doc/literal style with JAX-RPC instead of
> 
> JAXM ?
> Doesnt the doc/literal seem redundant in JAX-RPC  and doesnt JAXM do
> 
> the same thing ?
> 
> /s
> 
> 
> 
> 
> Ted Neward wrote:
> > 
> > It's really more of a "Zen" thing--rpc/encoded is the act of
> replicating a
> > call stack, whereas doc/literal is the act of passing messages,
> much in
> the
> > same differentiation between RMI and JMS. In many ways, one can
> look at
> RMI
> > and simply say, "Oh, that's easy, that's just passing an 'input'
> message
> to
> > an endpoint, and receiving an 'output' message back." This in turn
> begs
> the
> > question, what's the choice between RMI and JMS? Or, in short,
> what's the
> > choice about between any messaging-based application, and an
> RPC-based
> one?
> > 
> > A messaging-based app usually offers more in the way of
> flexibility--for
> > example, a messaging-based app can do all sorts of "oneway"
> actions
> without
> > requiring a response, and can offer store-and-forward kinds of
> functionality
> > as a result. (Think of the difference between email--messaging--and
> a
> phone
> > call--RPC. One requires only some supporting plumbing to make sure
> the
> > message gets there; the other requires the same plumbing, but also
> that
> the
> > recipient be there, ready to answer the incoming request and send
> back a
> > response.) The commensurate cost that goes with a messaging
> application is
> > the overhead of tying "req

Document Style Service

2002-07-22 Thread Sullivan, Mark E

Can anyone tell me the correct signature for a method in a message style
service? I've gotten this to work:

public Element[] PurchaseOrder(Vector elems) throws AxisFault {

but it seems like there has to be a better way.

thanks,
mark



Help needed with setting up an Axis call

2002-07-22 Thread Boris_Paskalev


Hi,
Did anyone know how an Axis call can be set up in order to add a
dom.Element to the SOAPenvelope. This could be done using SOAP call with
params.addElement(new Parameter("doc", org.w3c.dom.Element.class, doc,
Constants.NS_URI_LITERAL_XML));, but what will be the Axis way?

Thanks
Boris




AW: returning an array of strings

2002-07-22 Thread Gerrit Quast

if you are using the wsdl2java-tool, you don't have to add any
mappings, since String[] is supported by default.

Gerrit





-Ursprüngliche Nachricht-
Von: Manolis Floros [mailto:[EMAIL PROTECTED]]
Gesendet: Montag, 22. Juli 2002 17:56
An: [EMAIL PROTECTED]
Betreff: RE: returning an array of strings


Hi all,
how should i declare the return type for an array of Strings, in the call
object initialization?
The service is: public String[] getKeysWS(String servicename)

thanks
Manolis




Problem running the examples

2002-07-22 Thread Drumm, Christian

hi,
i'm new to axis and have a problem getting the examles from the
userguide running.
i installed tomcat 4.0.4 and axis beta 3. i followed the instructions
of the userguide. i guess the installation is fine because when
i use the validate jsp all required libs are found.
now i tried the calculator example. but i always get null as 
return value. when i try to access the echo service with the
testclient (example1) i also get only null as return value.
does anyone know the solution for this problem

thanks

Christian



Can the Axis-client use an HTTP Proxy Server

2002-07-22 Thread Frank Gerard

All:

When making a SOAP call (using the Axis client), can you tell Axis to route the 
request through an HTTP Proxy server instead of making a direct connection to the 
target? If so, how?

Thanks in advance!

Frank Gerard



Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at 
http://www.eudoramail.com



Install - works fine on XP, no good on Linux

2002-07-22 Thread Tom Lianza

The error message I'm getting is here:
http://fokkit.kicks-ass.org:8180/axis/happyaxis.jsp
java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException

I have the same jar files in the same places on my XP machine and my 
Debian machine (link above).  The XP machine works, and the Debian one 
doesn't.  Only real differences I can think of: XP has jdk1.4, Linux is 
on 1.3.  XP also has Tomcat 4.0.4 while the Linux box is running 4.0.3. 
 Any ideas on what might be the problem?  The jar locations are the same 
in both cases (and provided below for reference).  

Thanks,
Tom

In /common/lib I have:
jaxrpc.jar
naming-resources.jar 
tools.jar  
xmlParserAPIs.jar
naming-common.jar 
servlet.jar  
xercesImpl.jar

In /webapps/axis/WEB-INF/lib I have:
axis.jar
log4j-1.2.4.jar 
tt-bytecode.jar
commons-logging.jar 
saaj.jar   
 wsdl4j.jar






RE: Install - works fine on XP, no good on Linux

2002-07-22 Thread Robert Herold

Tomcat 4.0.3 has a bug (fixed in 4.0.4) where it will not find javax.mumble packages 
in WEB-INF/lib.  Try moving all the jars with java or javax packages into common/lib.

-- bob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Tom Lianza
Sent: Monday, July 22, 2002 1:18 PM
To: [EMAIL PROTECTED]
Subject: Install - works fine on XP, no good on Linux


The error message I'm getting is here:
http://fokkit.kicks-ass.org:8180/axis/happyaxis.jsp
java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException

I have the same jar files in the same places on my XP machine and my 
Debian machine (link above).  The XP machine works, and the Debian one 
doesn't.  Only real differences I can think of: XP has jdk1.4, Linux is 
on 1.3.  XP also has Tomcat 4.0.4 while the Linux box is running 4.0.3. 
 Any ideas on what might be the problem?  The jar locations are the same 
in both cases (and provided below for reference).  

Thanks,
Tom

In /common/lib I have:
jaxrpc.jar
naming-resources.jar 
tools.jar  
xmlParserAPIs.jar
naming-common.jar 
servlet.jar  
xercesImpl.jar

In /webapps/axis/WEB-INF/lib I have:
axis.jar
log4j-1.2.4.jar 
tt-bytecode.jar
commons-logging.jar 
saaj.jar   
 wsdl4j.jar






Using AXIS with WSAD V4.03 and WAS AEs V4.02

2002-07-22 Thread Zaremskas, Michelle M N10

I am attempting to publish the samples that are provided and described in
the user's guide.  I am deploying these to WSAD V4.03 and am not having much
success.  I originally tried this using the XERCES parser that is shipped
with WSAD and then I saw a couple of references to problems with this
specific parser.  So...I have tried using XERCES version 1.4.4, but am still
getting the same exception.  I consistently get this error when I attempt to
invoke the service using Instant Deployment (i.e., JWS Files) or when I
attempt to deploy the service using the AdminClient.  (At this point, I am
simply testing deployment of example 2 (the calculator) and I am using the
WSDD files that are provided with the samples.  The error I am getting
occurs when the WSDD is parsed...the specific exception is:  

- Mapping Exception to AxisFault
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.userException
 faultString: org.xml.sax.SAXParseException: The markup in the document
following the root element must be well-formed.
 faultActor: null
 faultDetail: 
stackTrace: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1213)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:570)
at
org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanne
r.java:624)
at
org.apache.xerces.framework.XMLDocumentScanner$TrailingMiscDispatcher.dispat
ch(XMLDocumentScanner.java:1450)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:393)
at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationCon
textImpl.java:213)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:457)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:362)
at org.apache.axis.client.Call.invokeEngine(Call.java:2046)
at org.apache.axis.client.Call.invoke(Call.java:2016)
at org.apache.axis.client.Call.invoke(Call.java:1786)
at org.apache.axis.client.Call.invoke(Call.java:1711)
at org.apache.axis.client.Call.invoke(Call.java:1251)
at samples.userguide.example2.CalcClient.main(CalcClient.java:106)

--
CONFIDENTIALITY NOTICE: If you have received this e-mail in error, please immediately 
notify the sender by e-mail at the address shown.  This e-mail transmission may 
contain confidential information.  This information is intended only for the use of 
the individual(s) or entity to whom it is intended even if addressed incorrectly.  
Please delete it from your files if you are not the intended recipient.  Thank you for 
your compliance. Copyright (c) 2002 CIGNA






RE: rpc-literal and document-literal

2002-07-22 Thread [EMAIL PROTECTED]

Are you talking about the newgroups on or the soap list on the develop.com
server ?

http://msdn.microsoft.com/webservices/

/s


This is, as was noted earlier, just one man's opinion, but a good resource
for this kind of discussion is the Microsoft WebServices area on MSDN; some
very high-powered guys (Tim Ewald manages that portion of MSDN, Martin
Gudgin is on the W3C WSDL and SOAP committees, and of course Don Box is deep
into this stuff, too, and so on) are writing on these kinds of subjects.
Also, XMLHack seems to have some good articles on WSDL and SOAP and "what's
it all mean" and so on.




mail2web - Check your email from the web at
http://mail2web.com/ .





Can a Service discover the Namespace with which it was deployed?

2002-07-22 Thread doug

since the WSDD file specifies the service's namespace, it would be nice
if the namespace could change without having to also change the code.
however QNames (e.g. for AxisFault) need to know the namespace.  is
there any way to discover the "deployed" namespace at runtime?  does
this even make sense?  or could AxisFault pick up the deployed NS when 
the constructor is used that doesn't specify one?





Serializing composite objects

2002-07-22 Thread gautham chitupolu


Hi
   I have a sitaution in which I need to send an Context Object as 
parameter. The problem is this Context object has another object called 
TransactionManager. How can pass Context object as parameter. Can we 
implement transactions in soap calls. Is that possible?

Thanks for help.
-gautam

_
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx




Re: AdminClient throwing NullPointerException

2002-07-22 Thread Les Gerads

I believe it is a bug that is being triggered by having the debug logging
setup. I had a log4j.properties in my classpath that I was using.  I removed
the file and it works OK now.

The msgContext.getOperation() in the AxisServer is getting called in the
invoke method when the tlog.isDebugEnabled() is true, which is what was
happening in my case.  The msgContext.getOperation() is returning null which
is causing the rucus.

Les

- Original Message -
From: "Doug Breaux" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 19, 2002 8:12 AM
Subject: Re: AdminClient throwing NullPointerException


> ok.  since nobody else has responded here, and i don't find an existing
> bug in bugzilla, i'm going to open one.
>
> Les Gerads wrote:
> > I've received the samer error for the past few days under Tomcat 4.0.1
and
> > have not been able to track it down.
> >
> > - Original Message -
> > From: "doug" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, July 16, 2002 3:59 PM
> > Subject: AdminClient throwing NullPointerException
> >
> >
> >
> >>this has happened to me several times now.  running Axis-beta-3 under
> >>Tomcat 4.04, when i try to run:
> >>
> >>java org.apache.axis.client.AdminClient list
> >>
> >>i get the following Exception:
> >>
> >>- Exception:
> >>AxisFault
> >>  faultCode: {http://xml.apache.org/axis/}Server.userException
> >>  faultString: java.lang.NullPointerException
> >>  faultActor: null
> >>  faultDetail:
> >> stackTrace: java.lang.NullPointerException
> >> at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:333)
> >> at
> >>org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:577)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >> at
> >>
> >
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:247)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:193)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> > va:243)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > 66)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >
> >> at
> >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> > va:190)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > 66)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >
> >> at
> >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >>
> >> at
>
>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> > )
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > 66)
> >
> >> at
> >>
> >
> >
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> > java:170)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > 64)
> >
> >> at
> >>
> >
> >
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> > )
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > 64)
> >
> >> at
>
>>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > 64)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >
> >> at
> >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > :174)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > 66)
> >
> >> at
> >>
> >
> >
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> >
> >> at
> >>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> >>
> >> at
> >>
> >
> >
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:
> > 1027)
> >
> >> at
> >>
> >
> >
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125
> > )
> >
> >> at java.lang.Thread.run(Unknown Source)
> >>
> >>
> >>java.lang.NullPointerExce

Axis and applets

2002-07-22 Thread Michael Kent

Hi. I checked the mailing list archives, and it looks like other people have
had the same trouble I'm having, but no real solution was posted. The problem
is that whenever I try to run an Axis client (which works fine as an application)
as an applet I get errors. They occur whenever I try to initialise a Service
(Service service = new Service()), but the Java console error output says that
it's caused by something in commons-logging. Is there a workaround to this?
Can I turn the logging off? Is something else causing the problem?

Michael.



Axis vs. Systinet WASP?

2002-07-22 Thread Doug

just ran across WASP
(http://www.systinet.com/index.php?nav=/products/overview),
which seems to be further along than Axis (e.g. SOAP
1.2).  anybody here have experience with it or
evaluate it against Axis?

__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



Re: AdminClient throwing NullPointerException

2002-07-22 Thread Doug

ahhh - i believe that's it.  i just noticed today that
the problem mysteriously quit happening.  then while
adding some log4j logging to my web service, i
remembered i had also restored the root logging
category to INFO level after having put it to DEBUG
level while trying to track down some other problems.

--- Les Gerads <[EMAIL PROTECTED]> wrote:
> I believe it is a bug that is being triggered by
> having the debug logging
> setup. I had a log4j.properties in my classpath that
> I was using.  I removed
> the file and it works OK now.
> 
> The msgContext.getOperation() in the AxisServer is
> getting called in the
> invoke method when the tlog.isDebugEnabled() is
> true, which is what was
> happening in my case.  The msgContext.getOperation()
> is returning null which
> is causing the rucus.
> 
> Les
> 
> - Original Message -
> From: "Doug Breaux" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, July 19, 2002 8:12 AM
> Subject: Re: AdminClient throwing
> NullPointerException
> 
> 
> > ok.  since nobody else has responded here, and i
> don't find an existing
> > bug in bugzilla, i'm going to open one.
> >
> > Les Gerads wrote:
> > > I've received the samer error for the past few
> days under Tomcat 4.0.1
> and
> > > have not been able to track it down.
> > >
> > > - Original Message -
> > > From: "doug" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, July 16, 2002 3:59 PM
> > > Subject: AdminClient throwing
> NullPointerException
> > >
> > >
> > >
> > >>this has happened to me several times now. 
> running Axis-beta-3 under
> > >>Tomcat 4.04, when i try to run:
> > >>
> > >>java org.apache.axis.client.AdminClient list
> > >>
> > >>i get the following Exception:
> > >>
> > >>- Exception:
> > >>AxisFault
> > >>  faultCode:
> {http://xml.apache.org/axis/}Server.userException
> > >>  faultString: java.lang.NullPointerException
> > >>  faultActor: null
> > >>  faultDetail:
> > >> stackTrace:
> java.lang.NullPointerException
> > >> at
>
org.apache.axis.server.AxisServer.invoke(AxisServer.java:333)
> > >> at
> >
>
>>org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:577)
> > >> at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> > >> at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > > FilterChain.java:247)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > > ain.java:193)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> > > va:243)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 66)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > >
> > >> at
> >
>
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> > > va:190)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 66)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > >
> > >> at
> >
>
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > >>
> > >> at
> >
>
>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
> > > )
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 66)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
> > > java:170)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 64)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170
> > > )
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 64)
> > >
> > >> at
> >
>
>>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> > > 64)
> > >
> > >> at
> > >>
> > >
> > >
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> > >
> > >> at
> >
>
>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> > >> at
> > >>
> > >

JDK 1.4 Java aint finding javax.*

2002-07-22 Thread Joe

Hi, I'm trying to set axis up. JDK 1.4, axis 1, tomcat
4.0.4.

I don't understand the NoClassDef, as it can't find
javax?? It should always find javax.* shouldn't it?
Perplexing me.

Regards,
Beri

java org.apache.axis.wsdl.WSDL2Java
http://localhost:8080/axis/CalculatorService.jws?wsdl
java.lang.NoClassDefFoundError:
javax/xml/rpc/encoding/TypeMapping
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at java.lang.ClassLoader.defineClass0(Native
Method)
at
java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at
java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at
java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at
java.security.AccessController.doPrivileged(Native
Method)
at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at
java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at
org.apache.axis.wsdl.toJava.Emitter$1.(Emitter.java:453)
at
org.apache.axis.wsdl.toJava.Emitter.setTypeMappingVersion(Emitter.java:451)
at
org.apache.axis.wsdl.toJava.Emitter.setup(Emitter.java:401)
at
org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:385)
at
org.apache.axis.wsdl.gen.WSDL2.run(WSDL2.java:283)
at
org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java:296)


__
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com



Re: JDK 1.4 Java aint finding javax.*

2002-07-22 Thread marco

packages holding javax.whatever.
must be placed in the catalina_home\common\lib
This is Tomcat 4.0 specific


- Original Message -
From: "Joe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 22, 2002 10:21 PM
Subject: JDK 1.4 Java aint finding javax.*


> Hi, I'm trying to set axis up. JDK 1.4, axis 1, tomcat
> 4.0.4.
>
> I don't understand the NoClassDef, as it can't find
> javax?? It should always find javax.* shouldn't it?
> Perplexing me.
>
> Regards,
> Beri
>
> java org.apache.axis.wsdl.WSDL2Java
> http://localhost:8080/axis/CalculatorService.jws?wsdl
> java.lang.NoClassDefFoundError:
> javax/xml/rpc/encoding/TypeMapping
> at java.lang.ClassLoader.defineClass0(Native
> Method)
> at
> java.lang.ClassLoader.defineClass(ClassLoader.java:509)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
> at
> java.net.URLClassLoader.access$100(URLClassLoader.java:54)
> at
> java.net.URLClassLoader$1.run(URLClassLoader.java:193)
> at
> java.security.AccessController.doPrivileged(Native
> Method)
> at
> java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:262)
> at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
> at java.lang.ClassLoader.defineClass0(Native
> Method)
> at
> java.lang.ClassLoader.defineClass(ClassLoader.java:509)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
> at
> java.net.URLClassLoader.access$100(URLClassLoader.java:54)
> at
> java.net.URLClassLoader$1.run(URLClassLoader.java:193)
> at
> java.security.AccessController.doPrivileged(Native
> Method)
> at
> java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:262)
> at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
> at java.lang.ClassLoader.defineClass0(Native
> Method)
> at
> java.lang.ClassLoader.defineClass(ClassLoader.java:509)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
> at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
> at
> java.net.URLClassLoader.access$100(URLClassLoader.java:54)
> at
> java.net.URLClassLoader$1.run(URLClassLoader.java:193)
> at
> java.security.AccessController.doPrivileged(Native
> Method)
> at
> java.net.URLClassLoader.findClass(URLClassLoader.java:186)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at
> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
> at
> java.lang.ClassLoader.loadClass(ClassLoader.java:262)
> at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
> at
> org.apache.axis.wsdl.toJava.Emitter$1.(Emitter.java:453)
> at
>
org.apache.axis.wsdl.toJava.Emitter.setTypeMappingVersion(Emitter.java:451)
> at
> org.apache.axis.wsdl.toJava.Emitter.setup(Emitter.java:401)
> at
> org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:385)
> at
> org.apache.axis.wsdl.gen.WSDL2.run(WSDL2.java:283)
> at
> org.apache.axis.wsdl.WSDL2Java.main(WSDL2Java.java:296)
>
>
> __
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
>