Deploying stock quote test causes nullPointerException

2002-03-19 Thread Phil Hunt
  I am attempting to deploy the stock quote application on Tomcat 4.0.3.  I get the following error.  Any ideas?   Many thanks!   Phil Hunt OctetString, Inc   C:\opt\xml-axis-beta1-rc2\samples\stock>java org.apache.axis.client.AdminClient -lhttp://192.168.0.2:8080/axis/services/Adm

RE: Array deserialization problem

2002-03-19 Thread Russell Butek
Ah! I misunderstood your issue (your WSDL isn't in the notes, anymore and I was too lazy to look for it). We've discussed generating derived types a short while ago (on axis-dev, maybe?), but I don't think anyone implemented it. Now you've shown us another facet of the problem. It's not good

RE: .NET/AXIS Interoperability Issue

2002-03-19 Thread Zelidrag Hornung
yes, beta 1 does the job, thanks! -Original Message- From: Russell Butek [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 12:56 PM To: [EMAIL PROTECTED] Subject: RE: .NET/AXIS Interoperability Issue There have been a number of fixes since then. The final AXIS beta 1 will be ava

deployment

2002-03-19 Thread Baldree, Matthew
Is there a way for the axis server to automatically load web service upon boot? Right now I have to invoke the AdminClient to deploy wsdd files. -Matt

RE: real AXIS beta 1 problem (samples/message)

2002-03-19 Thread Parimi Srinivas
If you have changed the style to document and encoding to literal manually in wsdl, this example seems to work. I face the same problems which you mentioned. Is the signature for document services can be any of the following: 1. Elements[] someMethod(MessageContext ctx, Elements[] elements); 2.

Remote administrator access is not allowed

2002-03-19 Thread jerry dumblauskas
I'm trying to run the testclient example and am generating the below fault.  Is there something I should change on my end?   thx   Jerry   HTTP/1.1 401 Unauthorized   Content-Type: text/xml; charset=utf-8   Content-Length: 3279   Date: Tue, 19 Mar 2002 20:21:15 GMT   Server: Apache Tomcat/4.1-

Please help/wont start - ERROR reading java.io.ByteArrayInputStream@587c94

2002-03-19 Thread Michael Joyner
(Tomcat 4.0.3/Axis Beta 3) Tomcat trips on /axis/WEB-INF/web.xml statement:   I get this error on Tomcat startup:       java.lang.IllegalArgumentException: Invalid servlet/AdminServlet in servlet mapping   From web.xml parsing on this statement:       servlet/AdminServlet   Am I missing so

Need help with the stock app.

2002-03-19 Thread Ashish Bajpai
HI! I am trying to run the example webservices under ATG Dynamo, I can deploy the web service but when i try to access the service from the client in the samples/stock directory I get the following error java samples.stock.GetQuote -lhttp://lear:21001/axis/services/AdminService -uuser1 -wpass

NullPointerException in SOAPPart.getAsSOAPEnvelope()

2002-03-19 Thread Anastasia Arkhipova
Hello, The following code produces a NullPointerException on the soapPart.getAsSOAPEnvelope() line although the previous line shows that the soapPart object is not null. LimitedInputStream input = (LimitedInputStream) inputStream; int length = Integer.parseInt(numberOfBytes); input.setM

EJB services problem.

2002-03-19 Thread Narasimha Reddy
Hi, When deploying an EJB as web service, i am getting the following exception. Can anyone please help me to get rid of this error. I am using JBoss with tomcat. The following is the wsdd file that i am using. http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/provid

Re: EJB services problem.

2002-03-19 Thread Daryl Wilding-McBride
Narsi, What's the exception? Daryl. - Original Message - From: "Narasimha Reddy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 19, 2002 8:27 PM Subject: EJB services problem. > Hi, > > When deploying an EJB as web service, i am getting the following exception. > Can

RE: Axis & Helloworld

2002-03-19 Thread Robert Herold
Samples & docs are included in the distribution: http://xml.apache.org/axis/dist/beta1-rc2/ -- bob -Original Message- From: Manuel Reyes [mailto:[EMAIL PROTECTED]] Sent: Friday, March 15, 2002 6:53 AM To: [EMAIL PROTECTED] Subject: Axis & Helloworld I am looking for a basic HelloWorld

real AXIS beta 1 problem (samples/attachments)

2002-03-19 Thread Stan Jordan
When I run this example, I get the exception pasted below. Has anyone else had success with this example? Thanks. Stan I used beta1 dated 3/19/02 --- java.lang.NullPointerException java.lang.NullPointerException at org.apache.axis.AxisFault.makeFault(Unknown Sour

real AXIS beta 1 problem (samples/message)

2002-03-19 Thread Stan Jordan
The sample works fine with the client provided. But if you generate a wsdl file with a browser, and create stubs via WSDL2Java... 1. The wsdl file says style="rpc" (wrong) 2. The stub says call.setOperationStyle("rpc");(wrong) 3. A client using the stub will fail (exception paste

RE: How to return error from handler

2002-03-19 Thread Tewari, Vijay
I am attempting to install Axis Beta 1 with Tomcat 3.2.4. TC is working fine, but when I hit the page for Admin I get the following error 2002-03-19 15:32:45 - Ctx( /axis ): Exception in: R( /axis + servlet/AxisServlet + null) - java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFacto

How to return error from handler

2002-03-19 Thread Till Woerner
Hi, I have a little problem with my own written handler which intercepts the incoming request on an Axis web service.I could not find any hints in the docs. What if I want to check some conditions before the actual service gets called and if some conditions are not met, I want to send back an err

real AXIS beta 1

2002-03-19 Thread Russell Butek
The real AXIS beta 1 is now available - http://xml.apache.org/axis/dist/beta1/. The beta1 released Friday was really release candidate 3 - we found a couple serious problems with it - documentation and code - that warranted a respin of the beta. Today's, however, is the FINAL Beta 1 (really! I

Re: SAXException : SimpleDeser cannot handle structured data

2002-03-19 Thread Russell Butek
What do the results look like? Pull it from your log or, better yet, run tcpmon. Russell Butek [EMAIL PROTECTED] "Vemuri, Vijay " <[EMAIL PROTECTED]> on 03/19/2002 03:54:49 PM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:SAXException : SimpleDeser cannot handl

SAXException : SimpleDeser cannot handle structured data

2002-03-19 Thread Vemuri, Vijay
Hi, I am getting the following exception when I run an Axis client to execute a function in a Web service on a remote server (services written using ASPs and DLLs). The request reaches the server, the server interprets the call and even generates the resultant SOAP document. I see the resu

RE: .NET/AXIS Interoperability Issue

2002-03-19 Thread Russell Butek
There have been a number of fixes since then. The final AXIS beta 1 will be available today and I believe a new version of WSTK (that will use this beta) will be available early April. Russell Butek [EMAIL PROTECTED] Zelidrag Hornung <[EMAIL PROTECTED]> on 03/19/2002 02:36:50 PM Please respon

RE: .NET/AXIS Interoperability Issue

2002-03-19 Thread Zelidrag Hornung
Russell, I use the version that comes with WebServices Toolkit 3.0 from IBM's Alphaworks website (Linux version) (AXIS is Alpha 3 release), I've downloaded from there few days ago: http://alphaworks.ibm.com/tech/webservicestoolkit -Original Message- From: Russell Butek [mailto:[EMAIL P

RE: .NET/AXIS Interoperability Issue

2002-03-19 Thread Russell Butek
What version of AXIS are you using? Your generated ArrayOfCompStruct3 looks quite a bit different than mine. Russell Butek [EMAIL PROTECTED] Zelidrag Hornung <[EMAIL PROTECTED]> on 03/19/2002 12:19:23 PM Please respond to [EMAIL PROTECTED] To:"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc:

RE: .NET/AXIS Interoperability Issue

2002-03-19 Thread R J Scheuerle Jr
The Java classes generated from your wsdl is correct and compliant with JSR 101. WSDL2Java only generates classes for the xml constructs that are referenced, which may be your "missing classes" problem. Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115)

Re: Type http://www.w3.org/2001/XMLSchema:nonNegativeInteger is referencedbut not defined

2002-03-19 Thread R J Scheuerle Jr
xsd:nonNegativeInteger is not supported yet. Rich Scheuerle XML & Web Services Development 512-838-5115 (IBM TL 678-5115) Alex Krotov

RE: .NET/AXIS Interoperability Issue

2002-03-19 Thread Zelidrag Hornung
Russell, Thanks for answering my question. So first, WSDL2Java generates only some of the classes for me. If I want to compile the whole fileset generated from my WSDL, I get bunch of errors regarding missing classes - you can see from their names that these classes were supposed to be created fr

RE: Array deserialization problem

2002-03-19 Thread St-Germain, Sylvain
This means to me that I cannot used the extended types. My API is defined with arround a base type but what I am carrying on the wire is the extended types. Without the mapping implemented in the Stub I cannot use them. (Am I missing something here??) It look to me that generating the t

any way for session to notify service object?

2002-03-19 Thread Maciek Kaminski
Is there any way for session to notify service object that it has expired and is about to be reaped? Maciek Kaminski [EMAIL PROTECTED]

How to register custom provider?

2002-03-19 Thread Maciek Kaminski
How to register custom provider(subclass of RPCProvider)? Maciek Kaminski [EMAIL PROTECTED]

Type http://www.w3.org/2001/XMLSchema:nonNegativeInteger is referenced but not defined

2002-03-19 Thread Alex Krotov
Hello again, In my wsdl file I have reference to xml schema type nonNegativeInteger When I call WSDL2Java on this file, I obtain: Parsing XML file: C:\Projects\DiscoveryContractServiceFlatImpl.wsdl Retrieving document at 'DiscoveryContractServiceFlat.wsdl', relative to 'C:\Projects\DiscoveryCo

RE: Array deserialization problem

2002-03-19 Thread Russell Butek
The --all option GENERATES all mappings, but since all mappings aren't USED, we don't force anything (ie., the stub) to use them. Russell Butek [EMAIL PROTECTED] "St-Germain, Sylvain" <[EMAIL PROTECTED]> on 03/19/2002 09:37:52 AM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc

RE: Array deserialization problem

2002-03-19 Thread St-Germain, Sylvain
I found it, the Stub constructor is not defining all the mapping for the types I need. I am currently calling WSDL2Java with -stav, when you guys implemented the -all option to generate the classes for all types defined, is it possible that was forgotten or left aside the change to the Stub th

Re: signature-signing-and-verification test failed (...This DOM documentdoes not support Traversal)

2002-03-19 Thread Russell Butek
The funtional-tests start the SimpleAxisServer on port 8080. If something has already opened that port, the functional-tests won't work. You can tell the functional-tests to use a different port: ant functional-tests -Dtest.functional.SimpleAxisPort= Russell Butek [EMAIL PROTECTED] Alex Krot

Re: signature-signing-and-verification test failed (...This DOM document does not support Traversal)

2002-03-19 Thread Alex Krotov
> Hello all, > When I do functional test, I catch several exceptions: > junit-functional-prepare: > start-signature-signing-and-verification: > [java] - Exception: > [java] java.net.BindException: Address already in use: JVM_Bind > [java] at java.net.PlainSocketImpl.socketBin

RE: Null Pointer Exception when using Weblogic 6.1 SP2

2002-03-19 Thread Erie Ed
Title: RE: Null Pointer Exception when using Weblogic 6.1 SP2 Thanks Glyn,  I think your right!!! -Original Message- From: Glyn Normington [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 7:04 AM To: undisclosed-recipients; [EMAIL PROTECTED] Subject: Re: Null Pointer Exceptio

signature-signing-and-verification test failed (...This DOM document does not support Traversal)

2002-03-19 Thread Alex Krotov
Hello all, When I do functional test, I catch several exceptions: junit-functional-prepare: start-signature-signing-and-verification: [java] - Exception: [java] java.net.BindException: Address already in use: JVM_Bind [java] at java.net.PlainSocketImpl.socketBind(Native Metho

Re: .NET/AXIS Interoperability Issue

2002-03-19 Thread Russell Butek
I just ran WSDL2Java on this WSDL and it appears to generate the proper classes. Could you tell us explicitly what you think is a problem? Russell Butek [EMAIL PROTECTED] Zelidrag Hornung <[EMAIL PROTECTED]> on 03/18/2002 05:03:23 PM Please respond to [EMAIL PROTECTED] To:"'[EMAIL PROTEC

RE: LinkageError

2002-03-19 Thread zze-You And Co balc005 FTRD/DMI/CAE
Title: RE: LinkageError this is what I've got java.lang.LinkageError: loader constraints violated when linking org/xml/sax/InputSource class i'm using the axis-beta1-rc2 version -Message d'origine- De : Russell Butek [mailto:[EMAIL PROTECTED]] Envoye : mardi 19 mars 2002 14:22 A : [E

WSDL2Java error

2002-03-19 Thread Olivier Lamy
I have the error with the wsdl file joined at org.apache.axis.wsdl.toJava.SymbolTable.populateBindings(Unknown Source) at org.apache.axis.wsdl.toJava.SymbolTable.populate(Unknown Source) at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source) at org.apach

Re: Connecting to stateless Session EJB, Lookup error.

2002-03-19 Thread Eddie
Hellu, Thanks for all the response. I tried the correct URL syntax (three ///) but still get the naming exception. If I, however put the following line in the orion-web.xml: - Which I already had, withou the location attribute, Orion doesn't give naming exception, but an internal serv

java.lang.IllegalArgumentException: Invalid servlet/AdminServlet in servlet mapping

2002-03-19 Thread mj
(Tomcat4.0.3-Axis B3) . xerces is in [TOMCAT_HOME]/common   This is the line that is the source of the problem:     servlet/AdminServlet This is the dump:   Starting service Tomcat-Standalone: Apache Tomcat/4.0.3WebappLoader[/axis]: Deploying class repositories to work directory /usr/l

NullPointerException in SOAPPart.getAsSOAPEnvelope()

2002-03-19 Thread Anastasia Arkhipova
Hello, The following code produces a NullPointerException on the soapPart.getAsSOAPEnvelope() line although the previous line shows that the soapPart object is not null: LimitedInputStream input = (LimitedInputStream) inputStream; int length = Integer.parseInt(numberOfBytes); input.setMaxLengt

Re: WSDL4J

2002-03-19 Thread Russell Butek
AXIS uses WSDL4J, particularly Java2WSDL and WSDL2Java. Take a look at the source in org/apache/axis/wsdl/toJava and .../fromJava and see if that helps. If you have any particular questions, I can try to answer them. Russell Butek [EMAIL PROTECTED] Li Bing <[EMAIL PROTECTED]> on 03/19/2002 02

Re: LinkageError

2002-03-19 Thread Russell Butek
Could you show us your stack trace? Which version of AXIS are you using? Russell Butek [EMAIL PROTECTED] zze-You And Co balc005 FTRD/DMI/CAE <[EMAIL PROTECTED]> on 03/19/2002 03:30:24 AM Please respond to [EMAIL PROTECTED] To:"'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> cc: Subject:Link

Re: Null Pointer Exception when using Weblogic 6.1 SP2

2002-03-19 Thread Glyn Normington
You may find something useful by searching the axis-user archives [1] for 'weblogic'. I think those kind of problems are to do with accessing the file server-config.wsdd when WebLogic supplies a path of 'null'. Glyn [1] http://marc.theaimsgroup.com/?l=axis-user&r=1&w=2

Re: Null Pointer Exception when using Weblogic 6.1 SP2

2002-03-19 Thread Glyn Normington
You may find something useful by searching the axis-user archives [1] for 'weblogic'. I think those kind of problems are to do with accessing the file server-config.wsdd when WebLogic supplies a path of 'null'. Glyn [1] http://marc.theaimsgroup.com/?l=axis-user&r=1&w=2

Bug? Warnings while processing in web.xml in Axis-beta

2002-03-19 Thread Michel Bergijk
Hello, When I started my Tomcat, I got the following warnings: 2002-03-19 10:39:29 - SimpleMapper1: WARNING: Correcting error in web.xml for context "/axis". Mapping for path "servlet/AxisServlet" is missing a leading '/'. 2002-03-19 10:39:29 - SimpleMapper1: WARNING: Correcting error in web.xml

LinkageError

2002-03-19 Thread zze-You And Co balc005 FTRD/DMI/CAE
Title: LinkageError Hi I'm trying to use the WSDL2Java class, but till now I have a LinkageError problem I'm using the XercesJ2.0.1 version. I thought it was the problem, so I used the 1.4.4 version and it still doesn't work can someone help me on this please Ramzi