Re: ArraySerializer question ['Watchdog': Virus checked] ['Watchdog': checked]

2004-04-20 Thread jagannath
Dear Kannan, I have declared the typeMapping for the Customer object but still the wsdl generated using Axis Servlet does not contain the ArrayOfCustomer complexType. Let me know if you need more info on this. Thanks, Jagannath [EMAIL PROTECTED] wrote: hey Jagannath, I saw ur declarations,

RE: SimpleDeserializer encountered a child element

2004-04-20 Thread Anne Thomas Manes
It is fine to use name="parameters" for the message part definition. (I think this is a required convention for the .NET "wrapped" style; the name of the element is not significant in Axis.) At this point you're defining a number of elements twice, which might be what's causing your problem. Also

RE: SimpleDeserializer encountered a child element

2004-04-20 Thread Anne Thomas Manes
This WSDL is invalid according to the WS-I Basic Profile. The SOAP and WSDL specs are under-specified in regards to how to handle multiple parts in Document/Literal messages, and this was a source of severe interoperability issues. The WS-I Basic Profile clarifies this and many other points. When

RE: Asking again: Can I do a web service as pure xml (no RPC stuff at all)?

2004-04-20 Thread Anne Thomas Manes
Use the messaging API. It transforms the SOAP body contents into a DOM. You can then process it as you like.   From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Asking again: Can I do a web service as pure xml (no

help with catching errors

2004-04-20 Thread Baruah Montoo-CMB035
Hi, I am trying to write an application which uses apache axis and wsdl. I need to catch errors returned and map it to application specific errors to pass to the client/ upper layer. How do i catch the http errors, soap errors, rpc errors, etc using java catch block. Does axis provide method

Re: Axis1.2beta (alpha too) logger error message

2004-04-20 Thread Nelson Minar
>log4j:WARN Please initialize the log4j system properly. Please see http://marc.theaimsgroup.com/?l=axis-user&m=108173495708344&w=2

RE: Axis1.2beta (alpha too) logger error message

2004-04-20 Thread Yakulis, Ross (Ross)
copy the log4j.properties into your classpath. I also a more detailed post on this in the past few weeks. Search the archive for more info. http://nagoya.apache.org/eyebrowse/SummarizeList?listId=209 Ross -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tue

need help: an AXIS client needs to use different certis

2004-04-20 Thread jzhang
We have an AXIS client that needs to access a AXIS server. This AXIS client has different ID that are reprsented by different certificates. While the server connects to multiple databases at the back end. The client has to use a specific certificate represents itself and to indicate which database

Axis1.2beta (alpha too) logger error message

2004-04-20 Thread Joe_Rattz
When upgrading my Axis from 1.1 to 1.2 (alpha and beta), I now get the following messages while trying to deploy my web service: log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle). log4j:WARN Please initialize the log4j system properly. I also notic

RE: SimpleDeserializer encountered a child element

2004-04-20 Thread Joe_Rattz
Ok, this is complicated. It is more complicated than it looks because the MS support guy is telling me similar but different things. I am including him on this message. Perhaps with you and him able to swap info, this will be easier? Here is the WSDL he and I are working with: http://schema

RE: Asking again: Document/literal client app (from WSDL2Java) doesn't work

2004-04-20 Thread Yakulis, Ross (Ross)
are you using axis 1.2b?  I to have had problems with document / literal and java2wsdl then wsdl2java and have submitted 2 different bugs avainst axis 1.2, I have yet to hear back anything on them though. -Original Message-From: David Thielen [mailto:[EMAIL PROTECTED]Sent: Tuesd

Asking again: -A OPERATION does not carry through to service?wsdl

2004-04-20 Thread David Thielen
    From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Sunday, April 18, 2004 1:19 PM To: Axis Users Subject: -A OPERATION does not carry through to service?wsdl   Axis 1.2 beta (March 31, 2004)   Hi;   Using Java2WSDL … -A OPERATION …   It does create the soapAction=”

Asking again: Document/literal client app (from WSDL2Java) doesn't work

2004-04-20 Thread David Thielen
    From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Sunday, April 18, 2004 1:29 PM To: [EMAIL PROTECTED] Subject: RE: Document/literal client app (from WSDL2Java) doesn't work   And to follow up, I removed the “-y DOCUMENT -u LITERAL” from the Java2WSDL call and now it al

Asking again: Where does ?wsdl come from

2004-04-20 Thread David Thielen
    From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Sunday, April 18, 2004 1:38 PM To: Axis Users Subject: Where does ?wsdl come from   Hi;   When I enter http://localhost/./?wsdl – where does that information come from? Some of it is in the autogenerated files but

Asking again: WSDL2Java - set the impl file/class name?

2004-04-20 Thread David Thielen
    From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Sunday, April 18, 2004 5:24 PM To: Axis Users Subject: WSDL2Java - set the impl file/class name?   Hi;   Is there anyway in WSDL2Java to set the IMPL class/filename? I’ve looked and can’t find anything.   Thanks - da

Asking again: Can I do a web service as pure xml (no RPC stuff at all)?

2004-04-20 Thread David Thielen
    From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Sunday, April 18, 2004 5:54 PM To: Axis Users Subject: Can I do a web service as pure xml (no RPC stuff at all)?   Hi;   Is there a way (both java and C#) to do a web service so it’s pure xml. What I want is: The ws

RE: SimpleDeserializer encountered a child element

2004-04-20 Thread Anne Thomas Manes
Sorry -- I didn't have time to complete my earlier email. Here's an example of what your WSDL should look like. Focusing on your first operation, partInquiry: You need to define an element named "partInquiry". I suggest modifying your first schema definition as follows: http://www.w3.org/2001

deploy axis webservice on IIS via Tomcat.

2004-04-20 Thread abhay pimprikar
Hi, I am a newbie to Axis webservice I am trying to get the axis webservice running on Tomcat4.1. Tomcat is running on IIS webserver. I have configured tomcat to work with IIS. What are the URIproperties or worker properties that I need to set for a basic axis webserivce. Other jsp pages and ser

RE: Binary Data

2004-04-20 Thread Jerry Jalenak
Thanks to everyone who replied on this question. I have one follow on though. I've been able to return a single image file back to my client through the DataHandler object - this seems to work really well. On the client side this comes across as an AttachmentPart. I've now been asked if it is p

Content is not allowed in prolog

2004-04-20 Thread Scott Hopkins
am using Axis in combination with Xerces to connect to a .Net web service. I get a response correctly but Xerces throws a "Content is not allowed in prolog" exception when parsing. I believe this is because there is a Byte Order Mark (BOM) in the response (the ? showing up right before the New Y

RE: SimpleDeserializer encountered a child element

2004-04-20 Thread Joe_Rattz
Anne, I am really confused by all this terminology. I thought I was going to have to do nothing but provide a valid WSDL and get Axis to generate from it. Are you saying that the WSDL below is invalid? It is generated from a 3rd party tool specifically for creating web services. Is the WSDL

SOAP Element Parsing question

2004-04-20 Thread Srilekha Mudumbai
Hi all, I am finding more delays in parsing an XML document. The current parsing strategy I use is to iterate the child elements of the SOAPBodyElement. The XML document is really big (around 1300 contacts for an address book with so many attributes for each contact).When I get the SOAPBodyElem

Re: ArraySerializer question ['Watchdog': Virus checked] ['Watchdog': checked]

2004-04-20 Thread KKanagaraj
hey Jagannath, I saw ur declarations, it seems to be fine. Iam also tried out same stuff it works very well. Have u definied the beanMapping or typeMapping tag for ur Customer object. You have defined the typeMapping for array of customer objects, but have u registered customer object ? If yo

ArraySerializer question

2004-04-20 Thread jagannath
Guys, This is just a reminder. If anyone knows the reply for my below question please help. Thanks, Jagannath Guys, Any comment on this? Please help as this results in generation of incomplete WSDL file while accessing from Axis Servlet. I am using Axis 1.1. Let me know incase more inf

RE: SOAP specific questions ....

2004-04-20 Thread Anne Thomas Manes
The most significant difference between SOAP 1.1 and SOAP 1.2 is the SOAP envelope namespace. That's how you tell the difference between the two. Chapter 6 of the SOAP 1.2 primer specification [1] outlines the differences between SOAP 1.1 and SOAP 1.2. [1] http://www.w3.org/TR/2003/REC-soap12-pa

RE: SimpleDeserializer encountered a child element

2004-04-20 Thread Anne Thomas Manes
Joe, When using Document style, your message definition should include only one definition for your SOAP Body. To use "Wrapped" style, you must define a wrapper element in the section which has the same name as the operation name. This element contains the parameter elements (defined using a

RE: DIME Example requested

2004-04-20 Thread Paulo Soares
I always use DIME outside the soap message itself. It's not automatic but on the other hand it works well with gsoap and .NET too. Some example code: On the server side... package validar; import org.apache.axis.MessageContext; import org.apache.axis.AxisFault; import org.apache.axis.Message; im

SimpleDeserializer encountered a child element

2004-04-20 Thread Joe_Rattz
I am having incredible problems trying to call an Axis web service from .NET. I am working with MS support, but it is not going well. I am now using Axis 1.2b. There seems to be a lot of miscommunication between Axis and .NET in terms of interpretting WSDL. The standard must leave a LOT to

RE: Can the same Axis Web Service have both rpc/encoded and doc/literal methods? ['Watchdog': Virus checked] ['Watchdog': checked]

2004-04-20 Thread KKanagaraj
I dont think there is a way to configure at deployment descriptors. I just tried WSDL2Java server side code, it generated the deploy.wsdd file as well. In that, it clearly defines whether the service is document oriented or rpc oriented. Now I have decided to start the design work from WSDL in

RE: SOAP :: WSDL :: Versions ? ['Watchdog': checked] ['Watchdog': Virus checked]

2004-04-20 Thread Anne Thomas Manes
Axis supports SOAP 1.1 and SOAP 1.2, and it support WSDL 1.1. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 20, 2004 2:04 AM To: [EMAIL PROTECTED] Subject: SOAP :: WSDL :: Versions ? ['Watchdog': checked] ['Watchdog': Virus checked] Hi All

RE: Can the same Axis Web Service have both rpc/encoded and doc/literal methods? ['Watchdog': Virus checked] ['Watchdog': checked]

2004-04-20 Thread Anne Thomas Manes
Axis "Document" and "Wrapped" styles use the RPC provider. It's only "Message" style that uses the MSG provider. Isn't there a way to configure individual operations? If not, then you should log it as a bug. Anne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent

RE: How to unsubscribe

2004-04-20 Thread Anne Thomas Manes
Instructions for the mailing lists are here: http://ws.apache.org/axis/mail.html Make sure that you send your unsubscription email request from the same email account that you subscribed with. Also make sure that you confirm your unsubscription. Anne -Original Message- From: abdul hakee

Re: DIME Example requested

2004-04-20 Thread Gareth Western
Hi Ken, If you find a good DIME example then could you forward it to me please! Many thanks, Gareth Kenneth Lee wrote: Can anyone provide a few clues on what is required to add DIME functionality to a web service. Specifically, if I return a simple string, how do I get the message to break

Timeout is not working.

2004-04-20 Thread Shailesh Khare
Hi All, It seems that timeout is not working on Axis client. I have generated stubs using WSDL2Java tool. Then set the Timeout on org.apache.axis.client.Stub as following . MyServiceLocator locator = new MyServiceLocator(); org.apache.axis.client.Stub stub = (Stub) locator.getMyService(); stub.

RE: Can the same Axis Web Service have both rpc/encoded and doc/literal methods? ['Watchdog': Virus checked] ['Watchdog': checked]

2004-04-20 Thread abdul hakeem
Hi, Does anyone know how I can unsubscribe ? Cheers, AH From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Can the same Axis Web Service have both rpc/encoded and doc/literal methods? ['Watchdog': Virus checked] ['Watchdog': checked] Date: Tue, 20 Apr 2004 11:27

DIME Example requested

2004-04-20 Thread Kenneth Lee
Can anyone provide a few clues on what is required to add DIME functionality to a web service. Specifically, if I return a simple string, how do I get the message to break into chunks using dime. If there is a good HOWTO with samples link, that would be wonderful! SimpleWS { String sDocu

How to generate an deploy.wsdd file

2004-04-20 Thread Martijn de Bruijn
Hi, I want to generate my deploy.wsdd file from the source code. I tried XDoclet to generate the deployment files but I did not succeed. XDoclet generates deployment files for EJB's but I am using POJO's to be hosted as WebServices in the WebContainer. Does someone know how to generate the deploy

RE: Can the same Axis Web Service have both rpc/encoded and doc/literal methods? ['Watchdog': Virus checked] ['Watchdog': checked]

2004-04-20 Thread KKanagaraj
Anne I accept what u say... But in the deployment descriptor we specify the service with who is the provider, what style it uses and what it type uses (encoding/literal). So, if that is the case, how can a single service can have both document style and rpc style. Even I need to use this,

Constructing SOAPBody from Document

2004-04-20 Thread Kumar Raj Moorthy
Hi, I'm trying to embed a document in to the SOAPBody. I'm using the following code DOMSource src = new DOMSource(doc); // Document doc MessageFactory mf = MessageFactory.newInstance(); SOAPMessage soapMsg = mf.createMessage(); soapMsg.getSOAPPart().setContent(src); return soa

RE: JMS problem

2004-04-20 Thread Krishnendu Kunti
Hi Seba You have to use transportation handlers for carrying the SOAP message over JMS and a create listener class to get the JMS message and take care of the invocation. I am including link form the net, download the code snippet provided along with it. You have to make some small changes to fit

RE: Binary Data

2004-04-20 Thread Paulo Soares
I found out that the two reliable ways to exchange binary data between axis and .NET is to use a byte[] or DIME. Both work well but DIME is more memory efficient. Best Regards, Paulo Soares > -Original Message- > From: Jerry Jalenak [mailto:[EMAIL PROTECTED] > Sent: Monday, April 19, 200

SOAP :: WSDL :: Versions ? ['Watchdog': checked] ['Watchdog': Virus checked]

2004-04-20 Thread KKanagaraj
Hi All, Iam using Axis 1.1, Can anyone tell me which version of SOAP and WSDL does Axis 1.1 supports ? thanks, -kannan This email and any attachments to it may contain confidential information intended for the addressee only. If you are not the intended addressee, you are strictly prohibite

SOAP specific questions ....

2004-04-20 Thread Denero Watz
Hello, I am involved in migrating a web service server implementation to our new project version. I need a few clarifications: (1) Looking at the spec I see that in place of faultcode and faultstring, we should return 'Code' and 'Reason' in soap 1.2. Is that right? (2) By looking at a wsdl file,