NoClassDefFoundError only on Solaris

2003-12-18 Thread Rommel Sharma
Just a small update to my query: rt.jar is being explicitly specified in the CLASSPATH settings. - Original Message - From: Rommel Sharma To: [EMAIL PROTECTED] Sent: Thursday, December 18, 2003 3:39 PM Subject: NoClassDefFoundError only on Solaris On

Exception on Solaris

2003-12-18 Thread Dhanush Gopinath
Hi All, I have a webService Method already deployed and running on the Axis. When I run my client code on the Solaris an Excpetion like this comes ExcpetionProhibited package name: java.lang.reflect Any Idea what this is. I am able to compile my Client code with no problems. The Exception

Problem Solved: NoClassDefFoundError only on Solaris

2003-12-18 Thread Rommel Sharma
Thanks...the earlierproblem is solved. Now my webservices client is throwing a security exception... Anybody who has any general tips to give on configuring web-services security, please mail me, useful links will also do. - Original Message - From: Rommel Sharma To:

Re: initializing a SOAP service before it gets invoked - can it be done?

2003-12-18 Thread BLIS Webmaster (Patrick Houbaux)
The way you can do it is as follow: - write an init method in your class representing your service that you don't deploy as web service method - write a Servlet class that will call the init method of your service class - in the WEB-INF/web.xml config file add a servlet entry for the previous

Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an unknown location

2003-12-18 Thread siva kondapalli
Hi, When i run my "happyAxis.jsp" in Apache Axis1.1 after intalling it.I saw the following Package missing from the Neeede Compnents "Found JAXP implementation (javax.xml.parsers.SAXParserFactory) at an unknown location" I included the JAXP-API.jar,dom.jar,sax.jar,xalan.jar,xercesImpl.jar and

RE: JMS, TypeMapping, and the SoapBindingImpl

2003-12-18 Thread Celia Berry
Thanks Jaime, great news!! I'll get the latest/greatest. Is it stable?? I assume by JMS URL support you mean; jms://jms.destination ?? Is /samples/jms updated to represent this change?? If not, is there anywhere I can see an example of how this all works now?? Thanks very much for responding,

Too many open files

2003-12-18 Thread Sampath
Hi all, I have been using axis for client and server webservice calls. We are running into this issue of "Too many open files" after we run 1000 transactions. I have tried using the latest CommonsHTTPSender written by you but the same error appears and it looks more like a issue on the server

RE: JMS, TypeMapping, and the SoapBindingImpl

2003-12-18 Thread Jaime Meritt
I'm pretty sure we added an additional sample in to demonstrate the functionality (although the doc may not be). I would say that the JMS URL stuff is pretty stable although any bugs you find would be appreciated. Thanks, Jaime -Original Message- From: Celia Berry [mailto:[EMAIL

When is java.lang.SecurityException Thrown ??

2003-12-18 Thread Dhanush Gopinath
Hi All When I am running my client code I am getting an Exception called java.lang.Security Exception : Prohibited package name java.lang.reflect Any Idea When this is thrown ? Thanks Dhanush ** Scanned by eScan

Axis/Tomcat Servlet Problem.

2003-12-18 Thread Jens Mittag
Hi! I have a problem running Axis 1.1 on Tomcat 4.1.29. The axis webapp directory is deployed correctly and the validation of the installation says, everything should be working, but when I try to access the list of deployed services (http://localhost:8042/XML2/servlet/AxisServlet) I get a 404

Re: When is java.lang.SecurityException Thrown ??

2003-12-18 Thread Jeff Greif
These comments are rather speculative and not reflective of much expertise in this area 1. Turn on some logging (or look in the logs that already exist) to see where the exception is thrown. 2. Most likely, to use the client code you will need to set up a security policy that permits access

WSDL2Java ignores encodingStyle

2003-12-18 Thread Arno Hütter
Hi there, I generate client stub code using WSDL2Java (Axis 1.1). One WSDL file defines the webservice's encodingStyle as follows: soap:body namespace=urn:Abc use=literal encodingStyle=http://xml.apache.org/xml-soap/literalxml/ The combination of use=literal and explicitly setting an

RE: SecureSocketFactory pluggability?

2003-12-18 Thread Stuart Miller
Gary, thanks for offering to help. Let me try to clarify my problem. As I understand it, Axis will create HTTPS (SSL) connections transparently, using the underlying JSSE. When the client connects to the server, the SSL connection will receive the server's certificate, which much be trusted in

java:Namespace in wsdd

2003-12-18 Thread Jan . Wegener
Hi everybody, Does anybody know why the xmlns:java=http://xml.apache.org/axis/wsdd/providers/java namespace is included in the wsdd file. Because the only place it is used in is the value of the provider attribute. If it is removed the Service is not deployed properly. I´m asking because I ry to

Re: No serializer found... (AXIS 1.2 alpha)

2003-12-18 Thread Airline Pedestal
Thanks for your reply, but this is not the problem. It is not an argument of the web service method. It is a component object of a larger object (which is the argument of the web service). Can anyone help? -A --- Dhanush Gopinath [EMAIL PROTECTED] wrote: Hi, I think this is bcoz u r

Re: Problems installing Axis on Solaris

2003-12-18 Thread Ken Meehan
'gtar' rather than 'tar' will probably do it. Ken M. Smart Colin wrote: After downloading axis-1_1.tar.gz onto my development environment I then used gzip -dc axis-1_1.tar.gz | tar xvf - This results in a tar: directory checksum error ! What am I doing wrong ? I've got it all working

AXIS fault

2003-12-18 Thread JAYARAMAN, JYOTHI (SBCSI)
Title: Message Hi, I have a SOAP server and a AXIS client. I get the following fault when I try to communicate with the server. - AxisFaultfaultCode:

RE: SecureSocketFactory pluggability?

2003-12-18 Thread Gary L Peskin
Hi, Stuart -- Thank you for the explanation. I think I understand what you're trying to do. It seems to me that there is a much better way to go about this. Please bear in mind, however, that I've never actually done this myself so you can take this for what it's worth but I think it bears

RE: SecureSocketFactory pluggability?

2003-12-18 Thread Gary L Peskin
I see that I forgot to mention that you need to add your provider master class into the list of providers by adding an entry in java.security of the form: security.provider.n=com.anachron.security.Provider where n is a number that is one greater than the highest one already in your

RE: When is java.lang.SecurityException Thrown ??

2003-12-18 Thread Gary L Peskin
Title: Message This is thrown when you try to include a .jar file with a java.* package in it on the regular classpath. You might want to check with Rommel Sharma since his earlier email indicated that he did exactly that. I would expect his action to cause exactly this problem, and it did.

non axis-specific way to do type mappings?

2003-12-18 Thread __matthewHawthorne
When writing a web service client, is there a way to set the type mappings using: java.xml.rpc.Call or java.xml.rpc.Service instead of using: org.apache.axis.client.Call.registerTypeMapping(Class, QName, SerializerFactory, DeserializerFactory) I've tried this: TypeMapping mapping =

RE: SecureSocketFactory pluggability?

2003-12-18 Thread Stuart Miller
Gary, thank you very much indeed for this. I will try this out, and post my findings here for others to see (likely early January). I think this is the solution I am looking for, as indeed it provides me with a per-connection customization of key usage. Interesting that in the

RE: SecureSocketFactory pluggability?

2003-12-18 Thread Gary L Peskin
The other side of the X509KeyManager interface would be the X509TrustManager interface. If you want to write your own TrustManager here, you will be called with getAcceptedIssuers() and you would return an array of issuer CA certificates that you will accept, just like you want. I assume, but

WSDL2Java error with Anonymous Complex Types

2003-12-18 Thread Shantanu Sen
I had the following in my WSDL (the complete WSDL is at the end of the mail): xsd:element name="MyComplexReq" xsd:complexType xsd:all xsd:element name="subject" type="xsd:string"/ xsd:element name="content" type="xsd:string"/ xsd:element name="card" type="typens:VCardType"/ /xsd:all

Re: When is java.lang.SecurityException Thrown ??

2003-12-18 Thread Dhanush Gopinath
Jeff Others The problem which I am facing I think is regarding to the Security policies. What happens with the Client Code is its getting an exception from the instatiation of a Service Object. But this happens only in the SOLARIS. I have put my server code and client code on Solaris v

RE: C++ Code Generation

2003-12-18 Thread Jaspreet Singh
Hello Make sure you're using the latest stable (beta) version of axis. Also, make sure you're using a correct wsdl file. i used the InteropBase.wsdl to generate client and server stubs and skels and everything is working fine. generating success instead of axis_success definitely seems to be a

Re: When is java.lang.SecurityException Thrown ??

2003-12-18 Thread Dhanush Gopinath
Hi All , The below mentioned problem is fixed. It was the conflicting of the Java Versions I was using 1.3.1 while the Solaris original version was 1.2.2. My mistake. Cheers Thanks Dhanush - Original Message - From: Dhanush Gopinath To: [EMAIL PROTECTED] Sent:

WSDL2Java and custom Serializers/Deserializers

2003-12-18 Thread Arno Huetter
Hello, is there a way to tell the WSDL2Java utility to register certain custom Serializers/Deserializers resp. Serializer-/DeserializerFactories within the client BindingStub's code? So far I have to add them manually each time the code has been generated. Thanks in advance! Kind regards, Arno

WSDL2Java does not create any output on complex XSD imports

2003-12-18 Thread Arno Huetter
Hi there, when I invoke WSDL2Java on a certain WSDL, which imports several XSD files, which then again import a net of further XSD files (about 100 of them) containing more XSD types, there is absolutely no output generated. At first this was an issue of a low default timeout value (and there was