Thanks Sebastian.
However how can I debug my configuration to find the problem?
Thierry
Hi,
I think that looks like your bean can not be deserialized correctly. I see
no difference to way I did it and it worked. Are you sure your bean does
match the guidelines of JavaBeans?
If yes: did you try t
Hi Calvin,
(B
(B I guess that the current AXIS doesn't have the optoin
(Bfor caching control. What's your problems ?
(B
(B I might provide a solution depends on your condition.
(B
(BRegards,
(B
(B Toshiyuki Kimura <[EMAIL PROTECTED]>
(B R&D Headquarters
(B NTT DATA Corp.
(B
(B
I
tried it again but with same results.
Could
it be a firewall situation on my side?
chris
-Original Message-From: Nirmal Mukhi
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, January 07, 2003 1:07
PMTo: [EMAIL PROTECTED]Subject: Re: [wsif] sample
err: Cannot get Object part 'Re
Hi Tom,
(B
(B I have a question for this matter.
(B
(B AXIS has two implementations of "Handler"; one is "AXIS Handler"
(Bas the AXIS original, and the other is "JAX-RPC Handler" as the
(Bstandard implementation in accordance with JAX-RPC ver 1.0 spec.
(B
(B The AXIS original architectur
Deploying AXIS services ...
- Processing file /myapp/WEB-INF/de
ployaxis.wsdd
- Problem with servlet engine config file:
/myabp//WEB-INF/server-config.wsdd
This is the message I get when I deploy my service
using AdminClient programmatically. This is a success,
though - I am able to use the webser
Hello,
I have problem with beanMapping. I can invoke the method of the service
correctly with a Java Axis client but all the field of my object are 0 or
null.
However when I try the url in a navigator to try the call of the method (
http://localhost/jgeneaws/services/JGeneaService?method=getCo
Hi ng,
which jars do really have to be in CATALINA_HOME/common/lib-directory? Is it
enough if to place saaj and jaxrpc over there?
The question occurs because I still have the problem that on serverside my
tomcat print the stacktrace if an exception occurs. On client side I managed
the same proble
Hi,
I think that looks like your bean can not be deserialized correctly. I see
no difference to way I did it and it worked. Are you sure your bean does
match the guidelines of JavaBeans?
If yes: did you try to deploy the beanmapping in your client-config.wsdd?
This should not make the difference,
Hi Seppo,
(B
(B Is it still a issue for the axis-user-ml ? :)-
(B
(B You'd better provide your environment information at the least,
(BOS version, JVM version, ant TOMCAT version.
(B
(B And, did you already refer the Jakarta Project page ? The following
(Bis an info. regarding the log fo
Hi Eriam,
(B
(B> For example if I add an object in the axis session it will *not* be in
(B> the HttpSession right ?
(B
(B I think this is right. The current axis session is implemented
(Bas a Hashtable on the AXIS runtime instance, and also the life cycle
(Bof the session object is the sa
Hi all,
I'm working on a book about Web Services and I'm using Axis for the Web
Services platform. It plays a secondary roll in the book, though I find
myself leaking some information about Axis in, especially around deployment
and how it processes a Web Service request.
I'm stuck on an executio
Well...Users are welcome to submit patches to docs :)
--- Dan Diephouse <[EMAIL PROTECTED]> wrote:
> Speaking of documentation, the axis website sucks. It would be nice if
> Maven or Forrest were used to generate a decent, navigable, readable
> site. (Not to mention maven could also clean up
Yes, I did figure out how to do that. I found some
examples on-line. (It may be my problem, but it looks
like that little gem of information is missing in the
Axis 1.0 docs).
At any rate, in pursuit of some additional
flexibility, I am still interested in using dynamic
proxies to invoke SLSBs in A
Hi
I'm trying to build a generic webservice client that
can handle complex types and is runtime configurable.
Ideally, I wouldn't want users to have to provide a stub
for their complex types.
The WSIF documentation seems to indicate that any well
behaved bean can be used to map complex types on t
Tim,
I don't run Tomcat, so I can't help you there.
I am sorry about the commons-httpclient problems, if its any help I have a version
with sources dated 7/30/2002 and it builds fine.
The nightly Gump builds are performed against the lastest versions of all the Apache
sources, and I believe
Has anyone got a good Castor serialization/deserialization example including
mapping file, etc.
James Carman, President
Carman Consulting, Inc.
1218 Bob White Ct.
Edgewood, KY 41018
(513) 325-7977
smime.p7s
Description: application/pkcs7-signature
(BWe will always support the JAX-RPC way of doing things, but that doesn't mean that
(BAxis specific handlers aren't a good thing.
(B
(BPick whichever one you think will get the job done. I would prefer JAX-RPC is you
(Bthink you would ever want this handler to move to some other engine.
Hi:
I have successfully used a beta version of axis within websphere
4.0. What would I need to do to get the latest release version of
axis to work with websphere 4.0? Is it a metter of just replacing
axis.jar? I tried this with unsuccessful results. Any ideas?
Regards,
_
It's a Wiki, So feel free to add your own links/pages
Articles:
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/Articles
MainPage:
http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages
Thanks,
dims
=
Davanum Srinivas - http://xml.apache.org/~dims/
___
Title: Message
Hi!
I've a service in
Axis that uses SOAP header-based sessions it works fine but if I wan't to use
this service from a C# program how do I add the sessionID to the SOAP header in
the request?
Regards!
/Niklas
Title: Message
If you
WSDL contains the corresponding SOAP header information at the right place, then
.NET will pick it up automatically and the generated code when adding the web
reference will take care of it automatically (check WSDL spec to see how SOAP
headers are declared in the WSDL)
I'm trying to get an Axis server and a C#/.NET client working together. I'm
encountering one interop showstopper that appears to be more .NET's fault
than Axis'.
Whenever the bean-serialized object I send as a response has for a member
an array of instances of either strings or some other beany
Title: [wsif] sample err: Cannot get Object part 'Result'
Trying to get familiar with WSIF.
I just tried to do run the simplesoap example and I get the following error.
Cannot get Object part 'Result'
As the attached shows, classpath seems to be correct.
Didn't find this in history emai
Has anyone implemented interface serialization/deserialization yet? Off the
top of my head, an implementation could do something like this (neglecting
namespaces of course)...
Basically, this would be a wrapper for the BeanSerializer that would
determine what the Java type is based upon the
I have noticed that a c# .net client does not handle the deserialization of
empty arrays very well. You may be able to 'sidestep' this issue not sending
empty arrays.
I have been setting the array to null within a bean instead of sending an
empty array :
Example:
Hope this helps.
Dan Stone
Hello ,
I am using Schemata to parse an xml file. and have among other the following element
the firmmname element contains an & charachter for example: Gmbh & Co.KG
the SaxParser is throwing the following error:
Fat
The XML is invalid. It's not the schema giving you the problem. You need
to use a & instead of &.
- Original Message -
From: "Akacem Mohammed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 11:29 AM
Subject: & within a string / parser expects an entity refere
Hi All,
I have a project that returns an array of beans. I am using WSDL to
generate all of the required classes. The problem is that one of the beans
I require is not explicitly in any method as an argument or returned value,
but may be returned in an array. Therefore, no serializer is generat
Mitch,
This has already been fixed. Please try latest nightly build.
Thanks,
dims
>> Mitch,
>>
>> Can you file a bug for this with a small test case?
>>
>> Including a patch with the bug will increase the odds of the fix making 1.1 by an
>order of
magnitude!
>>
>> Thanks.
>> --
>> Tom Jord
Did you try using "--all" option in WSDL2Java?
Thx,
dims
--- Jeffrey J Gaynor/jqhome <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I have a project that returns an array of beans. I am using WSDL to
> generate all of the required classes. The problem is that one of the beans
> I require is not expl
Thanks for the advice, but I need to get this done earlier, when invoking
Java2WSDL. The strategy now is to use this followed by WSDL2Java to
generate the deployment classes, then do one tweak to get the right service
running. This is not too much for the deployment team. I don't want to have
t
Each time a repsonse is sent from axis it needs these two lines in the HTTP
header:
Cache-Control: no-cache
Pragma: no-cache
This is so that the various gateways/routers/vpn servers/whatever else knows
not to cache the result of a soap message
NOTE: these lines are included in the client, so on
FYI, In case you missed it Java2WSDL has --extraClasses option.
-- dims
--- Jeffrey J Gaynor/jqhome <[EMAIL PROTECTED]> wrote:
> Thanks for the advice, but I need to get this done earlier, when invoking
> Java2WSDL. The strategy now is to use this followed by WSDL2Java to
> generate the deploym
What version? I am using AXIS 1.0 (which is what we have to use for the
duration of this project here.) I get no mention in the help of this
option.
Cheers,
Jeff
On 01/07/2003 11:27:52 am Davanum Srinivas wrote:
>FYI, In case you missed it Java2WSDL has --extraClasses option.
>
>-- dims
>
>-
1.1 beta (and of course latest cvs)
-- dims
--- Jeffrey J Gaynor/jqhome <[EMAIL PROTECTED]> wrote:
> What version? I am using AXIS 1.0 (which is what we have to use for the
> duration of this project here.) I get no mention in the help of this
> option.
>
> Cheers,
>
> Jeff
>
>
> On 01/07/2
Thanks, Dan. This worked.
I have added an empty check to my get-array methods:
if (things.length == 0)
return null;
return things;
At 08:23 2003.01.07 -0800, you wrote:
I have noticed that a c# .net client does not handle the deserialization of
empty arrays very well. You may be able to 'sid
I don't know if its possible for Axis to construct DP instance directly, unless there's a way to put in the .wsdd your DPFactoryImpl class which constructs the DP instance. (Analogous to putting the JNDIFactory so Axis can look construct the appropriate context to look up an EJB). I believe Axis
Its a bit misleading if the samples contain the AXIS serialization routines
as they are not used by WSIF. The AXIS WSDL2Java utility is used to
generate the classes so they have the methods by default, but they could be
deleted and everything should still work.
To map a complex type to a Java cla
Hi Ant,
I did delete the Axis serialization
routines from the WSDL2Java generated stubs that are in the sample directories.
The sampe documentation also describes how users can generate the stub
interfaces themselves using WSDL2Java and specifically advises that the
Axis-specific stuff be deleted
Thanks for quick response.
I made a bit of progress on that problem:
> Its a bit misleading if the samples contain the AXIS
> serialization routines
> as they are not used by WSIF. The AXIS WSDL2Java utility is used to
Well, it does not seem obvious to me. Taking a look at
wsif/providers/soap/ap
Hello Chris,
I just ran the sample using the exact
command line arguments you provided and it worked ok. Could you try it
again (the remote service hosted on XMethods might have been down)? If
it still fails, let us know what build/version of WSIF you are using.
Thanks,
Nirmal.
"Peake, Chr
Hello Jacques,
You are right. We'll look into this
problem and see what can be done. Keep monitoring this list for a response.
Thanks,
Nirmal.
"Jacques-Olivier Goussard"
<[EMAIL PROTECTED]>
01/07/2003 02:03 PM
Please respond to axis-user
To:
<[EMAIL PROTECTED]>
Thanks.
Seems a pretty serious problem.
One related question though. As per Ant remarks, I took a look to
test/addressbook/AddressBookTest.java and indeed the Address
class used as return type does not use the AXIS serialization
stuff.
How come this is working ? Is it something in the test setup
Hi,
Can some one let me know how to set UserName, password for accessing the
WSDL url?
Note Iam not using "Call" to invoke the function, but using the stub
directly
These are the steps I have done
* My WSDL is document style
* generated stubs by specifying -U username -P passwor
Hello Chris,
That is unlikely - the service WSDL
in this case has a SOAP binding that uses HTTP as the transport, so firewalls
probbaly aren't the problem. I'm now thinking it might be an XML parsing
issue. What parser do you use? Also, did you set up the classpath using
the classpath script prov
I am
using the classpath.bat as suggested.
Which
should be using the *.jars in in xerces2 dir I think,
right?
--
G:\wsif-2.0rc1>classpathbuild\lib\wsif.jar;build\lib\wsif-j2c.jar;build\classes;build\samples;build\tests;lib\soaprmi11\soaprmi11.jar;lib\saaj\saaj_1_1.jar;lib\jaxrpc\jaxrpc_1_
If you access the Internet via a proxy server you'll need to set the
appropriate system properties. For example:
java -Dhttp.proxyHost=proxy.somewhere.com -Dhttp.proxyPort=80
-Dhttp.nonProxyHosts="localhost" clients.DynamicInvoker
http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl
Hi all,
Where abouts (in the code) does the Axis engine create an instance of a
service? I would like the axis server to call itself, and I don't want
it to create a new instance, but I would like to pass across an already
instanstiated object? Does this make sense? (Probably not :) )
I'm using
Ok I figured it out-- but not trivial one. Hate using _ in methodNames
javax.xml.rpc.Stub lStub = (javax.xml.rpc.Stub)lPortType;
lStub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,"UserName");
lStub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,"Password"
Hi Dave
I guess u wanted to know where the class that represents service that
is being called in being instantiated. Check out
org.apache.axis.providers.java.JavaProvider for that. Look specifically
for getNewServiceObject method.
Thanks
Vidyanand.
-Original Message-
From: Dave Searle [
I have not tried this yet, but we have an authenticating proxy. Are there properties
for userid and psw which are requiered in my environment.
thanks,
chris
-Original Message-
From: Anthony Elder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 3:50 PM
To: [EMAIL PROTECTED]
S
chris,
since you are using axis as the tranport...The same system properties (those that you
use for
axis) apply.
Thanks,
dims
--- "Peake, Chris" <[EMAIL PROTECTED]> wrote:
> I have not tried this yet, but we have an authenticating proxy. Are there
>properties for userid
> and psw which are re
Maybe it would be good to fish or cut bait on the CommonsHTTPSender class.
Should we switch this to be the default implementation or remove the Commons based
code all together. I believe the only (undocumented) way to use this class is to set
a property.
It *is* very confusing. Does the Commo
Tom,
Till there's a official release Commons, We should not make it our default. For
example, Commons
HTTP has good support for HTTP1.1, which we don't. Another example is the bugs we have
in our impl
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11296). Current check-in of
CommonsHTTPSend
>> WSDL2Java is stomping our implementation class!>Turn on the --verbose switch to verify which files are getting emitted. This works fine for me (and the functional tests
If I run WSDL2Java my.wsdl (no other options) on the same base path as my server java files, I will always get them stomped. W
Whoops, forgot the url of the reference I used to generate deploy/undeploy.wsdd:
http://www.sosnoski.com/presents/java-xml/axis/axis-service.html
Gene Chuang <[EMAIL PROTECTED]> wrote:
>> WSDL2Java is stomping our implementation class!>Turn on the --verbose switch to verify which files are gettin
Ok thanks a lot Vidyanand - before I start checking out the source code
a bit further, is there anyway to set an object as the instantiated
service easily using the current api, before the service method is
called? (on the server end, rather than the client)
This would be very useful because my se
I have a simple service with one function that returns a java.util.Map
When I try to Create the Web Reference in .Net, it fails saying:
Reference.map(1): Custom tool error: Unable to important WebService/Schema.
Unable to import binding 'ElementServiceSoapBinding' from namespace
'http://mapServic
1. you just need log4j in the classpath where axis.jar can see it. The stack
traces are not caused
by log4 being missing so much as axis being too verbose
2. the latest CVS version of axis prints a lot less faults
3. the latest docs also cover how to set up log4j to print less
http://cvs.apache.
POSTs are inherently non-cacheable, unless there is a bug on yor side. Is it
GET you are using? If so, file a bugrep...
- Original Message -
From: "Calvin Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 12:20
Subject: axis and caching
> I'm testing with a
Dave
Have u considered using scope as "Application" for the Service. I guess
this is what you want to accomplish.
thanks
Vidyanand
-Original Message-
From: Dave Searle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 2:57 PM
To: [EMAIL PROTECTED]
Subject: RE: Service instance
- Original Message -
From: "Dan Diephouse" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, January 06, 2003 21:30
Subject: Re: Axis Wiki / Axis Usage Page
> Speaking of documentation, the axis website sucks. It would be nice if
> Maven or Forrest were
There may not be any (yet). The code came from someone external and I stuck
it in to stop it getting lost, but havent ever sat down to try and
understand how to use it.
If you do come up with anything, please send us it for the docs...
- Original Message -
From: "James Carman" <[EMAIL PRO
Hi Calvin,
(B
(B I think it's dangerous to implement the way what you proposed.
(BThe WebServices are *NOT* static contents, so your client will
(Bget some wrong message ( i.e. old message cached by various
(Bnetwork devices including proxys ) if you use the mechanism.
(B
(B Is it acceptab
Now you confused me
Currently Axis server does not specify any kind of caching, so the client is
free to cache or not
What I would like is for Axis to specify that the results are NOT cachable.
My problem now is that the result is getting cached by someone in the middle
(proxy? not sure)
Ori
U can also code it.
Like
System.setProperty("proxySet", "true");
System.getProperties().put( "http.proxyHost", "serverName" );
System.getProperties().put( "http.proxyPort", "8080" );
Shobha
> -Original Message-
> From: Peake, Chris [mailto:[EMAIL PROTECTED]]
Title: Message
Hi,
I was also not able to get response from any of the services hosted on
xmethods. Do let me know if it works fine.
Shobha
-Original Message-From: Nirmal Mukhi
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 12:37
AMTo: [EMAIL PROTECTED]Su
67 matches
Mail list logo