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
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
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.
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
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
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 {
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
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:
..
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
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?
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
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
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
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
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
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.
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
-
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
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
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
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
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 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.
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
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
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
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:
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
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
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
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
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
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
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
-
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
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
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,
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">
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
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
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
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
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
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
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
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";
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:
--
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 :
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
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
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
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
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
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
54 matches
Mail list logo