How to handle the wildcard problems

2004-03-22 Thread jiadao
Hi, all: I want to implement a web services which has to handle the wildcard problems, because some of the terms can be arbitrarily added or deleted. I don't know how to handle it, just use the soap with attachments(I still think this is not very flexible enough to handle the flexible

Multiple server responses?

2004-03-22 Thread Gareth Western
Hi, How can I write an axis client capable of handling multiple server response messages from a single request? Is it even possible at this point? Thanks, Gareth

Re: Multiple server responses?

2004-03-22 Thread Harald Pollak
What do you like to do? A Webservice Request is like an Method-Call - so a response is like a Return value. More serverresponse is like asynchron Communication ( like subscribe and listen ). Asynchron Communication is as far as i know not valid with webservices at this moment, but you can do

RE: Attachment from Axis service causing .NET to Error

2004-03-22 Thread Abhinav Maheshwari
Hi Sergeant, Do you have the Web Service Enhancements 1.0 with Service Pack 1 installed on your Visual Studio ? This is necessary to handle attachments on the .NET client. In my opinion, the problem is not due to charset but the content type 'application/dime'. In case, this does not resolve your

Application Framework :: Webservice ?? ['Watchdog': checked]

2004-03-22 Thread KKanagaraj
hey friends, In my application I will get a series of SOAP requests. All I need to know is: 1. How do I write a general Soap request handler (like a controller), All the reqest should be handled here like a centralized controller. 2. The controller should scan through the request types,

How to get Enumerations in WSDL?

2004-03-22 Thread BLIS Webmaster (Patrick Houbaux)
Dear all, I have the following design for my object datatype model I want to expose from my web service: public class MyClass { MyClassTypeEnum myClassType; public MyClassTypeEnum getMyClassType(){ return myClassType; } public void

Axis problems

2004-03-22 Thread Abhinav Maheshwari
I would appreciate it very much if every one who asks for a solution would provide his code and deployment descriptor. It takes more time if anyone tries to recreate the problem from scratch. Best regards, Abhinav Maheshwari

session, handler problem

2004-03-22 Thread Pathuru, Kiran
I have a webservice which works based on sessions. The user first need to login and then onwards can make the calls. In one of my request handlers, now I am checking what method the user is requesting and then see whether the user has already logged in successfully, otherwise I will raise an Axis

Re: Return 2D array

2004-03-22 Thread James Black
Alok Pandey, Noida wrote: Hi, My .NET web service returns a 2D array, which I want to call from axis client. I am using wsdl2java to invoke the .NET client. It works fine with 1D array, but with 2D array it throws exception saying array is not one dimensional. Can anybody help me resolve this

Re: Can someone help a newbie help with attachments?

2004-03-22 Thread James CE Johnson
Have you had a look at the Slide project? No, I haven't heard of it. Googling for axis +slide turns up some interesting things but not, I think, what you're talking about. Do you have a URL handy? Regards Jim. Thanks! James

RE: Attachment from Axis service causing .NET to Error

2004-03-22 Thread sergeant
Yes, I'm using WSE10SP1. Uploading an attachment works fine, downloading from Axis on tomcat 4.1.29 fails with the message indicated below. Here I'm talking about the HTTP Content-Type header. This must be 'application/dime' when sending attachments to a .NET client, rather than

Which style for synchronous web services

2004-03-22 Thread Dario Di Minno
Hi axis users, I know that document style is better than rpc style for many reasons, but if a want to write a web service where the client waits for the response from the server, and so I have a synchronous scenario, is rpc style ever the best choice? Thanks. Dario

Exception

2004-03-22 Thread Vivek Nagulapati
Hello All, I have handcrafted a SOAP-request message and tried sending the message over the wire. But once my Axis web service receives the request it is throwing the following error. org.xml.sax.SAXParseException: Content is not allowed in prolog. Did anyone encounter similar problem before?

Re: Can AXIS 1.1 Web Services have operations sharing same Requests/Responses?

2004-03-22 Thread Anne Thomas Manes
Ruchi, Please send questions like this to the distribution list rather than to individuals. I'm an expert on the WS specifications, but not on the Axis implementation. Axis should invoke the operation based on the qname of the child element of the soap:Body. If you are using RPC style or

newbie question - document/literal service which would work with InfoPath

2004-03-22 Thread Paul Krasucki
I am trying to create a service which would be compatible with MS InfoPath (which requires document/literal style). I have created a test class with signature public class AxisTest{ public int getId(String first, String last) { // . } } And I have generated wsdl using WRAPPED

newbie question - document/literal service which would work with InfoPath

2004-03-22 Thread Paul Krasucki
I am trying to create a service which would be compatible with MS InfoPath (which requires document/literal style). I have created a test class with signature public class AxisTest{ public int getId(String first, String last) { // . } } And I have generated wsdl using WRAPPED

Re: Which style for synchronous web services

2004-03-22 Thread Anne Thomas Manes
Document style supports everything that RPC supports, plus lots more. Document is always the better choice. Anne At 06:49 AM 3/22/2004, you wrote: Hi axis users, I know that document style is better than rpc style for many reasons, but if a want to write a web service where the client waits for

Re: Multiple server responses?

2004-03-22 Thread Anne Thomas Manes
Web services certainly do support asynchronous communications. In the WSDL definition, you define an asynchronous Web service by defining an operation that has an input message but no output message. The more challenging question is whether Axis supports asynchronous communications. Async

Value of integrating Castor with Axis

2004-03-22 Thread Wei Hsu
Hi all, I have been using exclusively AXIS' WSDL2Java for data binding. I recently came upon the article "Create Web service using Apache Axis and Castor" (http://www-106.ibm.com/developerworks/webservices/library/ws-castor/) which talked about decoupling the data binding process from

Integrating JAXB with Axis

2004-03-22 Thread Wei Hsu
Hi all, Going through the mail archive, it seems like Axis isn't quite ready to be integrated with JAXB. But I wasn't very clear on what specific difficulties there were when trying to integrate the data binding power of JAXB with the web service capabilities of AXIS. Can someone with

Re: Can someone help a newbie help with attachments?

2004-03-22 Thread Jim Collins
Here is the URL for the Slide project: http://jakarta.apache.org/slide/index.html Regards Jim. - Original Message - From: James CE Johnson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 22, 2004 2:26 PM Subject: Re: Can someone help a newbie help with attachments? Have

Re: session, handler problem

2004-03-22 Thread Chris Haddad
Kiran - have you considered embedding the custom message inside the SOAP fault as a detail element or as a custom exception? /Chris -- Original Message -- From: Pathuru, Kiran [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Mon, 22 Mar 2004

Re: about performance between ws security https

2004-03-22 Thread Anne Thomas Manes
I expect that https will give you better performance than ws-security, but even if you're only using http, the functionality is not the same. https gives you point-to-point message security, but it does not effectively support end-to-end security, e.g., strong authentication, authorization, or

RE: Integrating JAXB with Axis

2004-03-22 Thread Keith Bohnenberger
Do you think the JAXB spec is mature enough? What implementations of JAXB do you think are useful? -Original Message- From: Wei Hsu [mailto:[EMAIL PROTECTED]] Sent: Monday, March 22, 2004 2:41 PM To: [EMAIL PROTECTED] Subject: Integrating JAXB with Axis Hi all, Going

java2wsdl include wsd file

2004-03-22 Thread Oleg Lebedev
Title: Message Hi. I asked a similar question a couple of days ago, but haven't received an answer. I've made some progress on fixing the problem, so now I got a different question. I have a method in my Java class, which returns java.util.Set. When I run Ant task java2wsdl, I get the

java.sql.date as a parameter

2004-03-22 Thread Garr, Jacob
To those of you that have used java.sql.Date: I am having problems sending in parameters that are defined in Java as java.sql.Date. Please forgive me if this is a question that has been answered before. I have searched the mailing list and the newsgroups to no avail. Hopefully someone will be

Lost in Schema loading

2004-03-22 Thread Nitin Mulimani
I have problems referring to the schema. I think I am not refering the schema properly. Any pointers ?? Thanks for your time. -- Nitin ?xml version=1.0? definitions name=StockQuote targetNamespace=http://localhost:8080/jboost/wsdl/stockquote.wsdl;

Newbie - tutorial using axis/web services w/ java

2004-03-22 Thread Kawthar Bt M Sulaiman
Hello, I'm trying to user axis and I'm also in the process of learning web services with java. I've read the info on axis website but still don't have a good grasp on what exactly I need to do to implement a web service using axis. Do you have any recommended tutorial web site on how to

Type {http://www.w3.org/2001/XMLSchema}simpleRestrictionModel is referenced but not defined.

2004-03-22 Thread Dominic Battre
Hi. I have a problem concerning xsd:simpleRestrictionModel. WSDL2Java CVS (1.1 and 1.2alpha seem to work) raises this exception: java.io.IOException: Type {http://www.w3.org/2001/XMLSchema}simpleRestrictionModel is referenced but not defined. at

RES: Newbie - tutorial using axis/web services w/ java

2004-03-22 Thread Fabricio B. Teixeira
Hi, Try some of the links below. They helped me a lot. **deploy web services*** part 1: http://ammai.com/modules.php?op=modloadname=Sectionsfile=indexreq=viewart icleartid=4page=1 part 2: http://ammai.com/modules.php?op=modloadname=Sectionsfile=indexreq=viewart icleartid=5page=1

basic questions before start using Axis...

2004-03-22 Thread Omprakash . Bachu
Hi all, I'm new to Axis 1.1 and if any type of document or samples or any pointers will be appreciated if you can help me understanding the below problems with Axis... Assumption: Service is of Document Style and uses java binding classes 1. I understand if we use wsdl2java, we get the Java

Re: Newbie - axis directory structure

2004-03-22 Thread Kawthar Bt M Sulaiman
Fabricio, Thanks for the tutorial link... slowly I have the bits and pieces come together After going through the basic tutorial, I'm a bit confused on the directory structure. I'm using tomcat 4.1.30 for my app server with Windows2K as my OS, and the directory structure is as follows:

Axis - Castor Issues

2004-03-22 Thread Nandakumar, Manoj
Title: Axis - Castor Issues Hi, In my project, we intend to use Axis 1.1 with Castor to develop and deploy web services. We were doing some prototyping with Axis Castor, but ran into a few issues which we need to solve before we can go ahead. Kindly find the details below and let me know

Axis - Castor Issues

2004-03-22 Thread Nandakumar, Manoj
Title: Axis - Castor Issues Hi, In my project, we intend to use Axis 1.1 with Castor to develop and deploy web services. We were doing some prototyping with Axis Castor, but ran into a few issues which we need to solve before we can go ahead. Kindly find the details below and let me know

Re: java2wsdl include wsd file

2004-03-22 Thread jagannath
Dear Oleg, I am also facing the same problem as mentioned by you below. As I am new to SOAP can you provide me details on how you created the wsd file which provides xml mapping for tns3:Set and the way you imported it to the wdsl file. Greatly appreciating your time. Regards. Jagannath

Need help signing a SOAP Request with a Digital Signature

2004-03-22 Thread peter anthony cowan
Can anyone recommend to me or point me somewhere that describes a simple, straightforward way to sign a SOAP request with a Digital Signature within the Axis framework? I am aware of the XMLSecurity library, but there doesn't seem to be a complete example for a Client. I am trying to transition