Execute web services in chains (peer2peer - fire and forget?)

2002-11-26 Thread Trond Hjelmaas
Hi, this is part of another thread, but has changed focus. I actually don't need a return value from a web service, the reason is that I want several web services (ws) to execute in a chain manner. 1 - Say that a client/user calls ws1, ws1 calls ws2 which calls ws3. 2 - I don't want ws1 to hang

Re: Async web services, do they exist?

2002-11-26 Thread Trond Hjelmaas
Hi, thanks for your answers! I think I've made a mistake... I actually don't need a return value from a web service, the reason is that I want several web services (ws) to execute in a chain manner. 1 - Say that a client/user calls ws1, ws1 calls ws2 which calls ws3. 2 - I don't want ws1 to hang

Jim Jackson/SunGardEBS is out of the office.

2002-11-26 Thread Jim . Jackson
I will be out of the office starting 11/27/2002 and will not return until 12/02/2002. I will be most likely be unable to access my email while out of the office. I will respond to your message when I return.

how does axis handles restrictions

2002-11-26 Thread Ankit
Hi, Does anybody have any idea about how axis utility WSDL2JAVA handles Restrictions. suppose I have schema like I expected that generated java code will have "public class Test extends Attribute" but it does not takes restriction into

Re: Async web services, do they exist?

2002-11-26 Thread Eric Rajkovic
If you want to run asynch on the server, you have to create a separate thread or push the data from the request into some queueing mechanism. The current implementation is still sending an empty SOAP body back to the caller and block until wait10sec returns. in your stateless service class

Re: Async web services, do they exist?

2002-11-26 Thread Ricky Ho
I guess the behavior you observe is "implementation dependent". The SOAP server you've used doesn't take advantage of the optimization opportunity where things can be execute in parallel. But you certainly can achieve what you want in the following ways ... public class AsyncService {

RE: Document style web services

2002-11-26 Thread pFrancis X
Let's take a standard purchase order scenario. If I send a PO message as the payload, using ebXML-TRP, I can receive tne ACK/NAK on the same socket. A subsequent message within the time to perform as defined by my orchestration will have the POA payload response. I now have a request / response

Async web services, do they exist?

2002-11-26 Thread Trond Hjelmaas
Hi, I have a problem with finding relevant info regarding asynch Web Services. For example, I've got this javaclass, all it does is wait 10 seconds public class delay{ public void wait10sec(){ /*some code for 10 sec delay*/ } } it has WSDL like: ..

How to get my Handler called on faults.

2002-11-26 Thread Alex Huang
I have a handler defined in GlobalRequestFlow. It's invoked before my service is actually invoked. However, when my service throws an exception, the OnFault() method on the Handler does not get invoked. Is this a bug? Also is there a way to specify to the Admin tool to add a chain into the depl

Re: SimpleAxisServer & ?wsdl

2002-11-26 Thread Xander van der Merwe
Title: SimpleAxisServer & ?wsdl Some things to check (I've not tried it with the Axis server, only under Orion):   1. Running http://localhost:6060/services/AxisServlet do you see the newly deployed service in the list of services? Do the other services work if you click on the hyperlinks?  

SimpleAxisServer & ?wsdl

2002-11-26 Thread Simon Fell
Title: SimpleAxisServer & ?wsdl I've managed to deploy a class via the command line org.apache.axis.client.AdminClient to a service running under the SimpleAxisServer, but any attempt to look at the wsdl using http://localhost:6060/services/echo?WSDL return a SOAP Fault message "The AXIS engin

beanMapping or typeMapping?

2002-11-26 Thread Mitch Gitman
I have a Java interface with bean-compliant classes I want to make into a web service. Running Java2WSDL, I get a bunch of complexType elements for these classes. Fine. Next, I want to produce the deploy.wsdd and then the server-config.wsdd. Running WSDL2Java generates a bunch of classes analog

RE: SOAPAction HTTP header required (again)

2002-11-26 Thread Anne Thomas Manes
In SOAP 1.1, the SOAPAction header is required, although the contents can be empty. In SOAP 1.2, the SOAPAction header is optional. Anne > -Original Message- > From: Xander van der Merwe [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 5:46 PM > To: [EMAIL PROTECTED] > Subjec

schema questions

2002-11-26 Thread Chris Williamson
I have heard rumblings of new schema functionality. What exactly is this new functionality? Where can I go to read about it? I am looking to validate a SOAPEnvelope I build up. Is this something I can do with this new functionality? Is this something I can do anyway. I got stuck trying to do

Re: SOAPAction HTTP header required (again)

2002-11-26 Thread Ken Pelletier
The trouble is that we are often writing services to be vended to clients over which we have no control - and the client tool vendors don't seem to interpret it as being required. - Ken On Tuesday, November 26, 2002, at 04:46 PM, Xander van der Merwe wrote: Ok, according to SOAP1.1 it looks l

Re: SOAPAction HTTP header required.

2002-11-26 Thread Ken Pelletier
I seem to find opposing views all over the place on this matter, and, most importantly, in client implementations. It's sometimes referred to as either 'redundant' to 'severely deprecated'. Most often it's deemed optional. From SOAP Version 1.2 Part 2 W3C Working Draft 2 Oct 2001 Section 6.

Re: SOAPAction HTTP header required (again)

2002-11-26 Thread Xander van der Merwe
Ok, according to SOAP1.1 it looks like it is required. It would not be a bad idea to put this into the Axis FAQ since it is one of the biggest gotchas for any Axis newby. It took me a while anyway, to figure out how to get the MS Soap Client to work with Axis due to this requirement. Xander -

Re: SOAPAction HTTP header required.

2002-11-26 Thread Xander van der Merwe
I don't know of a way to avoid this, other than to change the Axis code to not throw an exception when the SOAPAction is empty. This might not be a bad idea as I believe the that the usage of the SOAPAction has not been formalized yet. On the client side (using the MS SOAP toolkit) I got around thi

RE: SOAPAction HTTP header required.

2002-11-26 Thread thomas . cherel
It can be argued, I guess, but according to SOAP1.1 spec, for an RPC style web service, the SOAP Action header is required: 6.1.1 The SOAPAction HTTP Header Field The SOAPAction HTTP request header field can be used to indicate the intent of the SOAP HTTP request. The value is a URI identifying th

RE: SOAPAction HTTP header required.

2002-11-26 Thread Chris Forbis
I have seen this before, I have wondered why an action is needed. I have MANY client tools that will not allow a action to be set, and for those I had to make a proxy to get the message, then convert it and resend with the action = "" set. Am I missing a simple way to turn off this need? -Or

SOAPAction HTTP header required.

2002-11-26 Thread Ken Pelletier
I have a service which I've moved from Apache SOAP to Axis and am now testing. Apart from a couple of things, it's working quite well. I have one instance where a particular client application can no longer make calls to the service now that it's been placed under Axis, but could when it was u

Java2WSDL/WSDL2Java question

2002-11-26 Thread Derek Eichele
I am attempting to learn how to use Java2WSDL and WSDL2Java properly, but it isn't coming easily. I always get odd type names that I am forced to edit every time I generate code. I created a simple test case for demonstrative purposes, if anyone can tell me what I am doing wrong, I would apprec

Java2WSDL errors on interface

2002-11-26 Thread David . Pool
Java2WSDL reports the error "The class xyz does not contain a default constructor...". This is true, except that xyz is an interface to class abc, which is a JavaBean. Interfaces cannot have constructors. Is this a WSDL bug? I searched bugzilla, but didn't find anything matching this.

Re: anySimpleType as base type

2002-11-26 Thread Dmitri Colebatch
Jeff/Tom, Jeff's reply seems to confirm this, http://lists.w3.org/Archives/Public/xmlschema-dev/2002Jun/0145.html was the archive I checked that seemed to say what I was doing was indeed legal. Of course the spec would have also been a good place to look (o: thanks for pointing me to the relevan

RE: Document style web services

2002-11-26 Thread Ramaswamy, Muthu
Here is a good document on the IBM site that talks about the document style. http://www-106.ibm.com/developerworks/webservices/library/ws-docstyle.html?d wzone=webservices -Muthu -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 11:08

RE: Document style web services

2002-11-26 Thread Anne Thomas Manes
Document style web services are not inherently asynchronous. The synchronous nature of a Web service is determined by the message exchange pattern described in the WSDL Operation. If the service is defined as having an input and output message, then it is a request/response service (inherently sync

Same types considered incompatibles

2002-11-26 Thread Marcus Brito
Here we go, once again. I've messed a lot since my last error, and my previous error disappeared. However, I've got a new one, still related to some type strangeness. Axis seems to consider a type as incompatible with itself. This is what happens when I try to access the service: faultString:

RE: Authentication with MS Soap client

2002-11-26 Thread thomas . cherel
Title: Message Using the Connector Property means that you rely on the HTTP basic authentication mechanism, meaning that you will not be the one validating the user and password but your HTTP Server/Servlet container will do it for you. According to which HTTP Server/Servlet container you ar

RE: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Daleiden, Mike
Title: Message Brian -   I am not an expert at Axis (actually a fairly new user myself), but I would suggest changing the registerTypeMapping() call to the following:       cll.registerTypeMapping(com.fineos.ta.bo.Oid.class, new QName("http://www.fineos.com/XMLSchema/ta", "Oid"), TASerialize

RE: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Brian Dillon (ext. 944)
Title: Message Mike,   I am still having the same problem with this. Do you think, could it have something to do with the way I am calling the operation from the client, I have inluded an extract from the client (if you could take a quick look at it I would appreciate it, not I am not using

RE: Document style web services

2002-11-26 Thread Francis Ho -- Enterprise Architecture
Document style web services is inherently asynchronous. Most of modern TRP/MS's such as EDIINT and RosettaNet (RNIF) use document-style services. It was found to be more a bit more scalable and flexible in dealing with legacy systems. This is especially true as many of the legacy systems for ord

Custom types wsdl2java pb

2002-11-26 Thread Arnaud Gueguen
Hi, I try to generate JAXRPC compliant domain objects, which will be transferred over HTTP with Axis 1.0   For that I “Java2WSDL “my Java classes, and then “WSDLtoJava” the wsdl. I tried to play with a custom type (java.util.LinkedList) , I wrote the four classes ( (De)Serializer / (De

Re: anySimpleType as base type

2002-11-26 Thread Jeff Greif
Chapter and verse from http://www.w3.org/TR/xmlschema-1 2.2.1.2 Simple Type Definition A simple type definition is a set of constraints on strings and information about the values they encode, applicable to the ·normalized value· of an attribute information item or of an element information item w

RE: anySimpleType as base type

2002-11-26 Thread Tom Jordahl
Are you sure anySimpleType is a XML Schema type? Can you find it in the Schema spec? If you can point to the Schema specification, you can open an enhancement request to add support for it. Including a patch to add support increases the chances that it will get addressed. -- Tom Jordahl -

RE: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Brian Dillon (ext. 944)
Title: Message Mike,   I tried that and I get the same exception (I also tried removing the xmlns definition and got the same thing).   Any other Ideas ?   Thanks,   Brian -Original Message-From: Daleiden, Mike [mailto:[EMAIL PROTECTED]]Sent: 26 November 2002 14:43To: [EMAIL

RE: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Daleiden, Mike
Title: Message Oops...looking at this again, I think it should be     ta="http://www.fineos.com/XMLSchema/ta" -Original Message-From: Daleiden, Mike [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 26, 2002 9:43 AMTo: [EMAIL PROTECTED]Subject: RE: Problem Mapping Cu

RE: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Daleiden, Mike
Title: Message Brian -   I think the problem is a typo in your WSDD:     http://wsdlService" should be     http://wsdlService" Try that and see if it fixes the problem.   --Mike -Original Message-From: Brian Dillon (ext. 944) [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Brian Dillon (ext. 944)
Thiago,   Is this not what I am doing by using the deploy decriptor below ?       xmlns="http://xml.apache.org/axis/wsdd/"    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"    xmlns:ta="http://www.fineos.com/XMLSchema/ta">                        

Re: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Thiago Leão Moreira
    This error occurs when you try call the service, because server doesn't kown about your serializer or deserializer. You need deploy the serializer and deserializer for your custom class in the server.     Thiago Brian Dillon (ext. 944) wrote: Thiago, No the actual exception is; Ax

Usage of optional attributes

2002-11-26 Thread Matthias David
Title: Usage of optional attributes Hi, I'm not sure, if this has been discussed before (I searched for 'optional attributes'). If so, please sent me a hint for that thread. My question is: How can I make usage of optional attributes with Axis and WSDL2Java, if the type of the attribute is

RE: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Brian Dillon (ext. 944)
Thiago, No the actual exception is; AxisFault faultCode: {http://xml.apache.org/axis/}Server.userException faultString: org.xml.sax.SAXException: Deserializing parameter 'arg0': could not find deserializer for type Oid faultActor: null faultDetail: stackTrace: org.xml.sax.SAXExceptio

RE: SAX Exception while using complex types: Bad types

2002-11-26 Thread Cédric Chabanois
here is the code that throws this exception : Class xsiClass = context.getTypeMapping().getClassForQName(type); if (null != xsiClass && !JavaUtils.isConvertable(xsiClass, destClass)) { throw new SAXException("Bad

Re: Declaring complex types in wsdd file

2002-11-26 Thread Thiago Leão Moreira
if you wrote a Serializer for your complex type, you must overwrite the " public boolean writeSchema(Types types) " method on the Serializer class to have your complex type schema in WSDL. Thiago Tom Jordahl wrote: You can't put schema in to a wsdd file. The Schema for complex types ar

Re: Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Thiago Leão Moreira
This is the error??? org.apache.axis.deployment.wsdd.WSDDException: javax.xml.rpc.JAXRPCException: Null serializer factory specified.javax.xml.rpc.JAXRPCException: Null serializer factory specified. Thiago Brian Dillon (ext. 944) wrote: Hi, I have custom serializers and deserializers whic

SAX Exception while using complex types: Bad types

2002-11-26 Thread Marcus Brito
Hello again, folks. Here is the second problem I'm having while trying to access a Stateless Session Bean as a web service using JBoss and Axis. I hope your MUA can show this message in the same thread as my previous message. Here is the problem: after being able to generate the WSDL for t

Problem Mapping Custom Serializer and Deserializer in WSDD

2002-11-26 Thread Brian Dillon (ext. 944)
Hi, I have custom serializers and deserializers which I need to use to provide the mapping for our Object Types. However when I tried to deploy this mapping using;; http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";

TCP-Transport

2002-11-26 Thread Bozic, Stefan (FF)
Hi there, i wanna use soap via raw TCP. I try to run the TCP-Transport example comming up with Axis 1.0. I start the TCPListener and deploy the service (the wsdd only install a handler) When i run GetQuote (which should be the client) i will only got a SOAP-FAULT: --

RE: Error generating WSDL

2002-11-26 Thread Cédric Chabanois
Don't use You must add each method from the ejb to value (don't include methods from SessionBean ...) See bug 13808. I have submitted a patch that corrects this but it has still to be included. Don't know if it is the only problem though Cédric Chabanois > -Message d'origine- > De :

Error generating WSDL

2002-11-26 Thread Marcus Brito
Hello, folks. I'm trying to deploy a Stateless Session Bean as a web service using Axis and JBoss. However, to this date I've been unsuccessful. There are a couple of problems, I'll post about them here one by one. The first problem I encountered was being unable to generate WSDL for the web s

anySimpleType as base type

2002-11-26 Thread Dmitri Colebatch
hey all, ok, I'm sure this is a newbie question, but I feel that I've perservered on my own enough, and hopefully someone can now help me (o: I've attached a small sample of WSDL that I'm trying to feed into WSDL2Java. The problem is with this part: >F

SOAP header and patching problem

2002-11-26 Thread Julia Tertyshnaya
  Hello all,   Sorry I sent the message in HTML format by mistake at first, this is the text only.   I have problems with SOAP headers: I can create a SOAP header on the client side and pack it into the SOAP envelope (using SOAPHeaderElement and call.addHeader()), but my web service doesn't s

DIME and http chunked

2002-11-26 Thread Arno de Quaasteniet
Hi, I'm not at all an expert on this, but I was asking myself if it is still usefull/necessary to uses HTTP chunking when using DIME since DIME can also chunk the message? And is it possible do the chunking with DIME in Axis? Or does Axis always use HTTP chunking? The context of this is that I'm

RE: Attachments help

2002-11-26 Thread Arno de Quaasteniet
Hi Tung, I've sent and received DIME attachements of about 150KB without problems (at least not related to the size) between a MS Soap toolkit client and axis server. The only problems I had was with receiving the attachments, It only works if I use unreferenced DIME attachments. When using the re

Accessing HTTP header of a SOAP message within a handler or proxy on theclient

2002-11-26 Thread baris . harman
Hello all, I have one problem, adding a simple Accept-Encoding="gzip, deflate" information into a request's http header from an Axis client.. Unfortunately, I could not find a way to add that header within the proxy where I have access to org.apache.axis.client.Call object. Please help me.. Of cou