Help with Datahandlers

2004-06-30 Thread Azmi
Hi, I would appreciate if anyone could help me on this. I wrote a web service and the corresponding client API that has file transfers based on the attachments example in Axis 1.1, that is I'm using the DataHandler class. In my client API, the typemapping is at follows: call.registerTypeMapping(

"Content is not allowed in prolog" exception

2004-06-30 Thread Ramya Manian
Hi I get a SAX parser exception as "Content is not allowed in prolog" while parsing the response. I have included the response that I receive from the server and the stack trace of the exception. Also there are no junk characters before or after the response. Can someone please explain what can c

RE: Use Axis to send binary Data

2004-06-30 Thread Jayaraman, Venkatesh
DIME for binary data -Venky -Original Message- From: Mayur Shetye [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 2:51 PM To: [EMAIL PROTECTED] Subject: Re: Use Axis to send binary Data you can send binary data by encoding it in base64 or you can send it using attachments (MI

Re: Use Axis to send binary Data

2004-06-30 Thread Mayur Shetye
you can send binary data by encoding it in base64 or you can send it using attachments (MIME or DIME) --- Samuel Cheung <[EMAIL PROTECTED]> wrote: > Hi, > > I am new to Axis. I would like to know if there is > an example/tutorial of > sending Binary data using Axis? > > Thank you for any pointer

RE: Axis 1.1 Release - WSDL2Java: expected classes are not generated

2004-06-30 Thread Christophe Roudet
It has to do with your encoding style. In turning use="literal" into Use="encoded" produces: public class ContractManagementServiceSOAPBindingImpl implements ContractManagementService.service._1._0.contract.bah.ContractManagementServi cePortType{ public contract.types._1._0.contract.bah.Contra

Use Axis to send binary Data

2004-06-30 Thread Samuel Cheung
Title: Use Axis to send binary Data Hi, I am new to Axis. I would like to know if there is an example/tutorial of sending Binary data using Axis? Thank you for any pointer. Sam

Re: Axis 1.1 Release - WSDL2Java: expected classes are not generated

2004-06-30 Thread Keast Ann
Thank you for your quick response :) My ant task is a bit different and I am using namespacing - that may have something to do with the underscores. I am more concerned about that the fact that incorrect code seems to be created... Why are GetContractType, GetNavigationType, ContractType classes

RE: WSDL and schema include question

2004-06-30 Thread Anne Thomas Manes
If you want to support both doc/lit and rpc/encoded, define both the type and the element as global: -Original Message- From: Shantanu Sen [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 11:49 AM To: [EMAIL PROTECTED] Subject: Re: WSDL and schema includ

Re: WSDL and schema include question

2004-06-30 Thread Shantanu Sen
In that case it means that based on the SOAP format (doc-lit/rpc-encoded), I have to change my schema? That sounds like a strange restriction. I can have a fairly complex schema spanning multiple XSD files. It may be a non-trivial task to change the schema for using a specific SOAP format. Is t

OutOfMemoryErrors in axis

2004-06-30 Thread Peter Molettiere
I've posted a bug to jira with a reproducible test case for the issue with axis hitting OutOfMemoryErrors during serialization/deserialization of large object graphs on the server. If you're running into similar problems, you may want to vote for the bug. http://nagoya.apache.org/jira/browse/AX

Axis and commons-logging config problem

2004-06-30 Thread Roy Benjamin
Hello, I'm trying to bring up a simple axis service prototype. I have axis 1.1 installed and the samples run Ok, When I try to run a test client though (for my prototype) I have what I think is a commons-logging configuration problem. Does someone recognize this and or know what properties I nee

RE: Signed SOAP messages

2004-06-30 Thread Anne Thomas Manes
Digital signature is used for authentication, message integrity, and non-repudiation. SSL supports authentication and message confidentiality.   Digital signature is an application-level security measure, which supports end-to-end security. It works regardless of the number of hops betw

RE: .NET client accessing multiple Axis WSDLs

2004-06-30 Thread Banck, Arent-Jan
Probably not going to help now, but I was just reading on MSDN: What's New in the .NET Framework 2.0 Beta Web Services Web services support SOAP 1.2 and the WS-I Basic Profile 1.0, which is documented at http://www.ws-i.org/Profiles/Basic/2003-08/BasicProfile-1.0a.ht

Re: realpath

2004-06-30 Thread Junaid . Bhatra
Refer to the following wiki on how to get access to the ServletContext object in your WS Implementation: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/ServletContext - Junaid Dorner Thomas

Re: WSDL and schema include question

2004-06-30 Thread Junaid . Bhatra
This doesn't seem like a WSDL2Java bug. In you WSDL, if you refer type="MyDataTypes:BigTicket100", then in your schema file, you **need** to defined BigTicket100 or a ( will not do). Conversely, if your WSDL declares element="MyDataTypes:BigTicket100", then you need a BigTicket100 . Keep in mi

Problem Deploying in Axis 1.2 Beta

2004-06-30 Thread NYY96
Hello All,   I would truly appreciate some help with this. As I am new to Axis 1.2 beta I am having trouble understanding why I am generating the following errors and how to fix them. The service successfully deployed into Axis 1.1.   I have run WSDL2Java successfully and compiled & copied al

RE: .NET client accessing multiple Axis WSDLs

2004-06-30 Thread Anand Natrajan
: Re: 2. (It requires me to put out two sets of interfaces), what do you : mean by interfaces? The wsdl itself? Otherwise why different interfaces? Yes, the WSDLs themselves. The existing separate WSDLs constitute one interface and the new merged WSDL is a second, parallel interface. It so happens

Re: SV: .NET client accessing multiple Axis WSDLs

2004-06-30 Thread Anand Natrajan
Goran, Thanks for the advice below. Although excellent, I'm debating whether or not to use it in production. Your solution still requires the client to do something fairly intricate - I was hoping to avoid that. Still, it's a good solution - thanks for walking me through it! Anand On Tue, 29 Ju

Re: Session timeout? (SimpleSessionHandler)

2004-06-30 Thread karim
Günter Ladwig wrote: Hi! I didn't get any response to the message below. Is there really no one who knows how to set the timeout? Or is there some other workaround? Thanks in advance. Günter Hi, look at the file web.xml contained in the axis\WEB-INF repository, there is a tag that allows you to d

Re: Session timeout? (SimpleSessionHandler)

2004-06-30 Thread Günter Ladwig
Hi! I didn't get any response to the message below. Is there really no one who knows how to set the timeout? Or is there some other workaround? Thanks in advance. Günter Günter Ladwig wrote: Hi, I'm having some problems with SOAP sessions (SimpleSessionHandler). The web service I'm trying to dev

RE: axis standalone http server (using non jws services)

2004-06-30 Thread Daniel Perry
SoapService.class is both on it's own in the app folder, and in a jar (both in classpath). I think this problem is more fundemental, as before i removed the AdminService and Version services from the wsdd, these also had the same problem. What do you mean when you say "have to mention with entire

RE: Signed SOAP messages

2004-06-30 Thread Benson Margulies
Perhaps the OP isn't familiar enough with X.509 certificates? I'm assuming that the APIs involved allow callers to see and validate the other end's cert. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 2:30 AM

RE: axis standalone http server (using non jws services)

2004-06-30 Thread Sathiyan Sivaprakasam
Hi, Is Class available in the name of SOAPService? If its packaged one, have to mention with entire path in the server-config.wsdd file. otherwise no clue from my end. rgds Sathiyan S. -Original Message- From: Daniel Perry [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 4:37 PM T

Admin servlet just telling

2004-06-30 Thread Marc Persuy
Title: Message   I can't figure out how to use the admin servlet from axis 1.1   the only message I get when trying to use it by http://myserver/axis/servlet/AdminServlet is "AxisServer is runningCurrent load = 1 "   that's short ! what should I do ?   marc persuy   --- Outgoing mail is

RE: Solution : Starting/Stoping Services on Demand

2004-06-30 Thread Brian Dillon (ext. 944)
Dims, I was just about to get around to that :). Basically by going through the AxisServlet to set up the Admin Object (which would be called by JMX) the management becomes transport specific (i.e. only for HTTP Servers, or servers deployed in a web app). I have however completed testing the Servi

axis standalone http server (using non jws services)

2004-06-30 Thread Daniel Perry
Hi, I'm trying to use the internal axis http server (java) and deploy a web service to it. If i put my service on as a jws file, it all works fine: http://localhost:3893/SoapService.jws?wsdl it gives me the expected wsdl. However if i try and use the service: http://localhost:3893/services/xfr?ws

RE: .NET client accessing multiple Axis WSDLs

2004-06-30 Thread Banck, Arent-Jan
Re: 2. (It requires me to put out two sets of interfaces), what do you mean by interfaces? The wsdl itself? Otherwise why different interfaces? We had the same problem, and decided to have the wsdl's merged into one, containing one service and several port(types). We use Java2WSDL to generate the

Re: Solution : Starting/Stoping Services on Demand

2004-06-30 Thread Davanum Srinivas
Brian, what i had in mind was that the AxisServlet when it starts up, it will start up the JMX thingy with the AxisEngine that it creates/uses. Will this not work? -- dims - Original Message - From: Brian Dillon (ext. 944) <[EMAIL PROTECTED]> Date: Wed, 30 Jun 2004 10:41:35 +0100 Subjec

Solution : Starting/Stoping Services on Demand

2004-06-30 Thread Brian Dillon (ext. 944)
Hi,   A short while ago I asked about stoping and starting Axis Services on demand. Davanum Srinivas provided a way to do this through the AdminServlet (Thanks Dims). However I was looking for a way that would make it possible to do through JMX or the like. The main issue I had was that I co

RE: Very urgent: "Read timed out" error while parsing the response

2004-06-30 Thread Ramya Manian
Hi Furthur to my earlier problem given below, I found out that the "Read timed out" error occurs when XML parser is trying to fetch the document version from the response. By default EasySOAP (which is used by our server) does not include the XML declaration in the response. Once the XML declarati

AXIS BR -1362 - Unable to Serialise List

2004-06-30 Thread Brian Dillon (ext. 944)
Hi,   Has anyone got an Idea how this bug (# Axis - 1362) is going ? Is there a workaround to get java.util.list working in Axis 1.2 (previously it worked fine in Axis 1.1 and Axis 1.0). Ther error I see now when serialising a list is;   .[ERROR] Call - -Exception: org.xml.sax.SAXException:

Re: WSDL and schema include question

2004-06-30 Thread Shantanu Sen
Actually the problem has nothing to do with including schema files. The issue is that the following type declaration causes the error (java.io.IOException:  Type {urn:BigTicket}BigTicket100 is referenced but not defined)