Simple axis server is meant to be used with simple tests with C++
clients. There seem to be some socket related problems there.
Please try to deploy the Apache httpd module and try with the Java client.
Thanks,
Samisa...
Arshad Ahamad wrote:
hi,
I am creating Web Service client application
Hi Samisa,
I am creating Web Service client application in Java and using
SimpleAxisServer (I am not using Apache) which is in C++. When I am invoking
Web Services it is connected with the server but not terminated. As soon as
I am restarting my SimpleAxisServer, getting response, otherwise
Hi Arshad,
As I mentioned earlier, this is a C++ server side (simple axis
server) problem.
C++ server is not writing the response to the client properly, as
far as I understand.
Thanks,
Samisa...
Arshad Ahamad wrote:
Hi Samisa,
I am creating Web Service client application in Java
Hi,I am using axis C++ stubs to use Google API and I am able to send receiveSOAP data from the server. While deserializing the received data from theserver, the Deserializer is failing.
The received SOAP data from Google server is as
Hi Arshad,
It has been some time after I last visited the code. My gut feel is
that there are some socket based problems in the simple axis server.
You would have to look into the source code of simple axis server to
figure out the problems. Basically look into the places where it writes
I recently played with the code from SAS. The code is badly broken for
messages blocks that aren't arranged exactly correct. The code expects
messages to come in either a whole block of data or at least large
blocks of data.
For example, I tried telneting to SAS and typing in the requests and it
Hi
I faced a similar problem sometime back. I do not know whether it has
been resolved in the 1.6 build.
You can look up
http://www.mail-archive.com/axis-dev@ws.apache.org/msg05383.html
for reference
Thanks
Krishna
Ashutosh Kumar wrote:
Hi,
I am using axis C++ stubs to use Google API
hello all, i hav axis c++ 1.5 version on apache 2.x i have included jar files required to run wsdl2ws tool in class path axis.jar wsdl4j.jar commons-discovery.jar commons-logging.jar log4j-1.2.8.jar jaxrpc.jar saaj.jar and when i run the tool i get this warning,, can any one
Hi mohan,
please include the following jar files in the class path
wsdl2ws.jar
axis.jar
axis-ant.jar
jaxrpc.jar
log4j-1.2.8.jar
saaj.jar
wsdl4j-1.5.1.jar
mail.jar
activation.jar
thanks and regards
Arshad Ahamad
mohan devanoor writes:
hello all,
i hav axis c++ 1.5 version on apache
i have simple aplication in Visual studio 6.0 c++
with axis c++ stubs and web services on tomcat.
if i install xerces,axis,project on computer works
ok- response server ok(tomcat is on another machine).
But if i copy this xerces,axis,project on another
computer(where is also tomcat ), and
I'd like to use Java2Wsdl to build a WSDL for my business service
Business method is public boolean isSiteDroit(String idSiu, String
idDroit)
It works fine in rpc mode, but in document mode, Java2WSDL creates
this WSDL message :
wsdl:message name=isSiteDroitRequest
wsdl:part
Hello Nicolas,
I have noticed the same, I think it is a bug.
Use document/literal(WRAPPED) instead of document/literal when you
create your WSDL (-y WRAPPED, IIRC). That should work.
Regards,
Dies
Nicolas De Loof wrote:
I'd like to use Java2Wsdl to build a WSDL for my business service
Hi Deepal,
But in Spring case as I know you can not give that guy a class loader ,
what it does is it gets the context class loader and try to load resources
from that. Since service has its own class loader you can not get service
resources from context class loader.
Yes, that's right.
It seems that the problem only exists with AXIS2 0.94!!
I just tried with 0.93 and it works fine...
++
Gaël
2006/1/18, Torsten Schmidt [EMAIL PROTECTED]:
Gaël Pouzerate schrieb:
Hi,
I'm trying to run WSDL2Java (AXIS2 0.94) on a very simple WSDL file,
and I get a weird exception:
Schema
hi, i'm encountering some problems in develop a webservices that support SOAP with attachments, if anyone have a right sample (with all source code:java,wsdl,xsd,wsdd) pls contact me i have problem with JAFDataHandlerSerializerFactory i view the axis swa sample but there isn't the wsdd
I forgot to attach the stacktrace:
org.apache.axis2.om.OMException
at
org.apache.axis2.om.impl.llom.builder.StAXOMBuilder.next(StAXOMBuilder.java:273)
at
org.apache.axis2.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
at
Hello,
This is further to my previous post. I am not getting any solution for
this UnknownHostException. Did anyone tried writing a client in
Java/Axis for Microsoft web services (ASMX,WSE or WCF(Indigo))? If yes,
how did u generate the proxy from the wsdl?
Thanks and Regards,
Girish Kumar
in the file .wsdd you have to specify the type mapping, in axis doc you can see some examples...2006/1/19, SOA Work [EMAIL PROTECTED]:
Hi there,I just tried to test my web service with some java test code. I used axis 1_3 WSDL2Java ant task.My service returns an array of compley types. I have a
Hi,
Would registering a ServletContextListener work? It's not pure web
services but if you are positive you will be deployed in a servlet
container, it might do the trick.
Cheers,
D.
alban hessler escribió:
Hello everyone,
I would like some simple code to be executed at deployment of my
For those people like me using Axis 1.3 from the regular downloads page, how
do we find out what's changed since the last official release of Axis 1.3
and how do we download and build the very latest 1.3 code including all
fixes?
Thanks.
I should have read the Wiki first.
It looks like http://ws.apache.org/axis/interim.html
From: Jarmo Doc [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Getting fixes to released Axis 1.3?
Date: Thu, 19 Jan 2006 04:19:33 -0800
For those people like me
Ouch. If you haven't akready, then I'd read the FAQ about log4j at
http://wiki.apache.org/ws/FrontPage/Axis/ViewSOAPMessages.
And I'd probably go back to basics, build the simplest possible service with
one operation such as:
public class echotest
{
public echotest()
{
}
public String
Oouuups! Big sorry!
I made a horrible mistake.
Thought the exception was caused by the client, not the server.
Should have looked twice.
So I always have to register a mapping, if I want to use complex types? And how
about the *.jws file approach. Is it only suitable for simple type methods?
Inigo,
clearly we need to fix this so that there are no surprises like u had.
So please log a bug so that we can debate on axis-dev@
thanks,
dims
On 1/19/06, Inigo Surguy [EMAIL PROTECTED] wrote:
Hi Deepal,
But in Spring case as I know you can not give that guy a class loader ,
what it
Deepal,
Service isolation does not mean that resources present in aar should
not be available to the services themselves. there is a hole, we need
to figure out how to fix it.
thanks,
dims
On 1/18/06, Deepal Jayasinghe [EMAIL PROTECTED] wrote:
hi dims;
that s not a bug in Axis2 , to be fix ,
Daniel,
The operation name and the method name do not need to be the same. You
use the operation definition in the WSDD to map the method name
to an operation name (qname). But you can map a method to only one
operation.
Also note that when using the java:MSG provider, your operation may
have
Ruben,
Please log a bug with your code, we will try with latest SVN to see if
it has problems and try to fix it.
thanks,
dims
On 1/19/06, Rubén Naranjo Izquierdo [EMAIL PROTECTED] wrote:
I forgot to attach the stacktrace:
org.apache.axis2.om.OMException
at
yes, thanks, we need fix it. we did update the main page last week.
http://ws.apache.org/cvs.html
thanks,
-- dims
On 1/18/06, Henri Yandell [EMAIL PROTECTED] wrote:
Just wanted to report that there's bad info on:
http://ws.apache.org/axis/cvs.html
It points the reader to the old CVS
Hi everybodyi have tried to migrate from axis 1.2.1 to axis 1.3it seems that the ArraySerializer has changed between this 2 versionsand it caused some problems with inheritance:If you ve got for example: an abstract class animal and a class dog who extends animaland an Array of animalso in
please log a bug then :)
On 1/19/06, Gaël Pouzerate [EMAIL PROTECTED] wrote:
It seems that the problem only exists with AXIS2 0.94!!
I just tried with 0.93 and it works fine...
++
Gaël
2006/1/18, Torsten Schmidt [EMAIL PROTECTED]:
Gaël Pouzerate schrieb:
Hi,
I'm trying to run
Guys, what's the expected schedule for the release of Axis 1.4 final? And
is there a high-level view of the changes from 1.3?
Thanks.
_
Dont just search. Find. Check out the new MSN Search!
Hello François,
I'd like to try to reproduce your problem. Could you post a (small) WSDL
file, client and impl file to do this?
I'm wondering where the problem is.. WSDD, SOAP message..
Regards,
Dies
françois françois wrote:
Hi everybody
i have tried to migrate from axis 1.2.1 to
Hello,
thanks for the tip. I finally used an empty (no POST or GET) servlet
with just an init function that is called on startup by Tomcat.
Thank you,
Alban
Daniel López a écrit :
Hi,
Would registering a ServletContextListener work? It's not pure web
services but if you are positive you
edit the log4j.properties
On 1/19/06, Aaron Evans [EMAIL PROTECTED] wrote:
How can I suppress what is being printed to System.out?
I am seeing the following messages printed:
- Deploying module : addressing
- Discarding unexpected response: HTTP/1.1 100 Continue
- Starting to process SOAP
Hello,
I have an operation of service with a String parameter. This parameter
is a xupdate query and when i try to send the message there is no
process.
Is there a special format for xupdate queries ?
Regards,
Johann (french)
I think it would be useful to publish what the minimum set of jars are required
for ws client based on axis 2 to run.
Right now, I am figuring it out by trial and error by removing jars from the
classpath one at a time.
thx,
aaron
Hi DiesI give you another examples with the same problems ?xml version="1.0" encoding="UTF-8"?wsdl:definitions targetNamespace="urn:testservices" xmlns:impl="urn:testservices" xmlns:intf="urn:testservices" xmlns:apachesoap="http://xml.apache.org/xml-soap"
Good afternoon,
I am trying to call a service using an universal client.
The service is document style, accepts an int and returns
a String. The client code is as follows:
String wsEndpoint=...
String wsNamespace=...
String wsMethod=...
Object[] val = new Object[1];
val[0] = new Integer(
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
For Axis2 to run with minimal configuration, it should have common,
xml, core and wsdl modules around. The min distribution contains only
those. We packed the dependant jars for those modules with the min bin
distribution. So the lib folder of the
Would it be possible to change the namespace which is referenced to when using the SimpleSessionHandler?
Namspace ns1 below is what I'm talking about.
?xml version=1.0 encoding=UTF-8?
soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/
Hello,
I'm trying to use wrapped mode for my service to publish this business
method :
public Site[] listerSitesPourClient(String idSIU, String idDroit);
Method is invoked as expected and returned soap message looks good :
soapenv:Body
listerSitesPourClientResponse
Thanks for the tip. However, I do not have
the option of changing the wsdl to include nillable=false and minOccurs=0.
This is because our customers already are using client proxy which generated
from the wsdl. I was wondering if there was a way to include new fields in the
response,
Eran Chinthaka chinthaka at opensource.lk writes:
For Axis2 to run with minimal configuration, it should have common,
xml, core and wsdl modules around. The min distribution contains only
those. We packed the dependant jars for those modules with the min bin
distribution. So the lib
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Aaron Evans wrote:
Eran Chinthaka chinthaka
at opensource.lk writes:
For Axis2 to run with minimal configuration, it should have
common, xml, core and wsdl modules around. The min
distribution
contains only those. We packed the
Title: Custom name for return value
I have a web service that exposes a method named Registration. Axis has automatically generated RegistrationReturn as the name to give the return value. My client is expecting the name to be RegistrationResult. Is there any way to specify the return
If you have defined the field as nillable=true and you have not
specified minOccurs=0, then the message would not be valid if you
left out the element. There's no way to tell Axis to do something
invalid.
I suggest that you add a handler to the outgoing message and transform it to remove the nil
Hi Anand,
I have a fix for it, but it not committed. The
Axis-2351, has a patch for what you need.
Thanks,
Parikh, Pratik | Software
Engineer | Cerner Corporation | (1)-816-201-1298
| [EMAIL PROTECTED] | www.cerner.com
From: Kasi, Anand
[mailto:[EMAIL PROTECTED] Sent: Thursday,
Is this a document/literal service? What does your WSDL specify?
AnneOn 1/19/06, Lance Semmens [EMAIL PROTECTED] wrote:
I have a web service that exposes a
method named Registration. Axis has automatically generated
RegistrationReturn as the name to give the return value. My client is
Hi,
I don't know how to solve this with the types in the shema -
if i generate the .xsd without the second part it generates without
problems:
1. the exception
2. the .xsd
1.
Retrieving document at 'parlayx_common_faults_2_0.wsdl'.
Retrieving schema at 'parlayx_common_types_2_0.xsd',
Hi,
Im running Axis 1.3/Tomcat 5.5 and
using servlet-api 2.4. Is it possible to access a Accessing Tomcat Webapp Servlet
Context from my axis Webservice ?
I have a simple web service that when
called needs to invoke on an object that is autostarted and running separately
under
My WSDL matches what is being returned. Axis is
automatically generating my WSDL. I am wanting to change the way that the WSDL
(and SOAP) are generated by axis.
From: Anne Thomas Manes
[mailto:[EMAIL PROTECTED] Sent: 19 January 2006 16:22To:
axis-user@ws.apache.orgSubject: Re: Custom name
Given the MTOM sample service, typing ?wsdl returns a WSDL, but it seems
not what I expected. Appended is the schema part of the generated WSDL. Do I
have to manually create a WSDL for a non-Java client?
In addition, is an Axis2 service mapped to multiple WSDLs? How can I get the
WSDL which
Hi ,
I have to create a document style service which return attachment in soap message.
I tried out searching on the net but didn't find any solution.
If any one have sample of client and server for document style service , please let me know.
Thanks
Seem to me that this problem only occurs with AXIS2 v0.94.
Please try with 0.93 and see what happens... (worked for me!)
2006/1/19, Torsten Schmidt [EMAIL PROTECTED]:
Hi,
I don't know how to solve this with the types in the shema -
if i generate the .xsd without the second part it generates
Edit the WSDL and run wsdl2java.On 1/19/06, Lance Semmens [EMAIL PROTECTED] wrote:
My WSDL matches what is being returned. Axis is
automatically generating my WSDL. I am wanting to change the way that the WSDL
(and SOAP) are generated by axis.
From: Anne Thomas Manes
[mailto:[EMAIL
Aaron Evans aaronmevans at yahoo.ca writes:
I generated a client stub based on some wsdl using the eclipse plugin.
In my stub, it created a static String for axis home and set it to null.
It also had a comment that suggested this was ok:
//default axis home being null forces the system
Answering your last question...
MTOM sample service can accept SOAP 1.1 and SOAP 1.2 requests.Even though MTOM came with SOAP1.2 and has a close resemblance, there aren't anymention in the spec restricting the use of MTOM with SOAP 1.1
.
Axis2 supports MTOM with SOAP1.1 SOAP1.2 both.
I'm not
I thought I may be able to tell axis what name to
useas the return value when it generates the WSDL and SOAP
messages.
I'm having a look at the operation tag in the wsdd
for the service to see if this can do what I'm after.
Will try your solution if I can't get it to work...
hopefully I
I'm not sure if i've made myself clear.
Im writing a MS Office research service
The MS Office client expectsthe return value to be
named "RegistrationResult"
When I deploy my class as a service, axis automatically names the return
value "RegistrationReturn" (this can be seen in the WSDL)
I
Hi,I am trying to do something simple but am stuck. Hope you guys don't mind it. Here is what I am trying to do. My code leverages the client stubs generated by Axis to communicate with the external web service. The style for the webservice is document/literal. From the back-end my code
Thanks Anne. I like the idea of adding a
handler to the outgoing message. However, I thought Axis did not let you remove
elements from the soap body. Do you have any code examples as to how I can
remove an xml element that has xsi:nil = true from the soap body from the handler?
Thanks,
It is working now.
I somehow missed that I had to put code in the *Impl.java class that
WSDL2Java creates. So it was calling this class and executing the code
there, hence no errors.
Thanks for all the help!
Sarel
-Original Message-
From: Jarmo Doc [mailto:[EMAIL PROTECTED]
Sent:
Hello all,I have recently deployed a webservice with Axis to a production machine. Iwas originally able to call the webservice and receive a response but any attemptsto access the webservice from outside fail. I can access the deployed webapp
but not the webservice.I ran packet monitoring on my
Why does the documentation in the web of project is only available for
the version 1.2 of axis??
It's because doesn't exist many diferences betwen 1.2 and 1.3 versions??
I am doing a project with axis and it is very important for my use saaj
to work with attachment . Does Axis (1.2 version)
You can just use XSLT to transform the message.On 1/19/06, Kasi, Anand [EMAIL PROTECTED]
wrote:
Thanks Anne. I like the idea of adding a
handler to the outgoing message. However, I thought Axis did not let you remove
elements from the soap body. Do you have any code examples as to
Yes -- use the operation parameter.On 1/19/06, Lance Semmens [EMAIL PROTECTED] wrote:
I'm not sure if i've made myself clear.
Im writing a MS Office research service
The MS Office client expectsthe return value to be
named RegistrationResult
When I deploy my class as a service, axis
It is not a bug. Document style does not support parameters -- it takes
a document in and returns a document. If you would like to use an RPC
programming style with document/literal, then you must use the WRAPPED
style. Axis will then automatically generate a wrapping document-style
element for
This is not possible!! you will have to use my patch if you
want it to work?
Thanks,
Parikh, Pratik | Software
Engineer | Cerner Corporation | (1)-816-201-1298
| [EMAIL PROTECTED] | www.cerner.com
From: Kasi, Anand
[mailto:[EMAIL PROTECTED] Sent: Thursday, January 19,
2006 12:06 PMTo:
Hi all,
If a class in my .aar file wants to read from a resource in that .aar file
(via File, InputStream), how do I set/get the path that is searched for by
Axis?
Bram
Hello Neil,
Axis 1.3 stubs are NOT thread safe. You will face problems if your
calls involve soap headers or attachments for example.
Note that can can reuse a stub. By the way, reusing a stub is the
pattern to maintain a client side session (you then also have to call
Maybe this changed in 1.3, but I found instantiating stubs to be
heavyweight -- it triggered a scan of all jar files on the classpath in
1.1...
Chris
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Cyrille Le Clerc
Sent: Thursday, January 19, 2006 15:50
Hi,
We have implemented web service which sends documents over.
For certain document types (word, excel, pdf) a temporary file like
Axis56789axis is created under tomcat/bin/temp on the server side. For certain
document types (.txt, .java) such temporary files are not created.
We
Add a Thread daemon in your application and schedule it to delete file from temp folder.
On 1/19/06, Vinita Joshi -X (vinjoshi - eTouch Systems at Cisco) [EMAIL PROTECTED] wrote:
Hi,
We have implemented web service which sends documents over. For certain document types (word, excel, pdf) a
Hello Anne,
I think I still do not quite understand the consequences of the
different styles.
Looking only at document style, I understood there is wrapped and
unwrapped (bare?).
With wrapped you have to have at most 1 part in your soap:operation.
So I understood this as you can have multiple
I use 'wrapped' style pretty much exclusively. The difference to me is
the XML that goes across the wire has an element that wraps the
parameters that I can use in my server to distinguish the operation
requested. It also makes Schema validation a little clearer: it couples
the set of parameters
Hi Chris,
That is what I understood of it.
But looking at Anne's reponse, it sounds like the difference between
'wrapped' and 'normal' is whether all your parameters get send or not.
If document means you're sending one document, not several parameters,
then why does it allow you to set
Hi Inigo;
yes you can set context class loader to service class loader and then
Spring to do its job , but its not the right way unless you set the context
class loader back to its original value.
The context of the service should be the deployed .AAR, so code
within the .AAR that loads
Hi dims;
I did not mean that , all the resources in the aar file available to Service
(that is how I create service at deployment time) , the problem here is not
that (if I understand correct). Spring trying to load some resources
(configuration file) and which does not have any idea about
Hi Bram;
well the right way of doing is take service class loader and load the
resurces.
You can package your aar file putting your resources , and say that when a
requst come you want to acess your resources from service impl class then
the right way is as follows;
InputStream in =
We had the exact same problem in Geronimo when GBeans are loaded:
http://www.nabble.com/TCCL-in-doStart-t465585.html
At least in Geronimo's case everyone agreed that the correct behavior
was to set TCCL to the correct class loader around lifecycle methods.
thanks,
dims
On 1/19/06, Deepal
Hi,
I have a Content Management System(it uses Apache Lenya) that uses WSDL2Java to
generate the code of stubs.
Now I am doing it manually using eclipse plugin. and put the source inside my
Content
Management System Code and then i build it using an ant build. I use this
generated code inside
81 matches
Mail list logo