How to handle deserializer for anyType

2003-06-06 Thread Colin Ma
Hi all, I am using WSDL2Java to generate code from a WSDL from Salesforce.com. In the WSDL, it uses type xsd:anyType[]. When I ran the test program, I got the following error "No deserializer for ...anyType". I ran the TCP Monitor and noticed that it happened after the client program tried to

RE: FakeTrustSocketFactory....

2003-06-06 Thread Davanum Srinivas
Folks, Found a bug and fixed it (http://marc.theaimsgroup.com/?l=axis-dev&m=105493061501690&w=2)You will need to pick up latest cvs or tonight's nightly build or patch your local copy of axis as per the commit message. You need to set the secure socket factory to be used as SunFakeTrustSock

RE: FakeTrustSocketFactory....

2003-06-06 Thread Skubal, Judy
Hi Leo,   If you get any response on this, could you share it with me?  I'm looking to do something very similar and haven't had any luck yet.   Thanks.   -Judy Skubal USA -Original Message-From: de Blaauw [mailto:[EMAIL PROTECTED]Sent: Friday, June 06, 2003 3:21 AMTo: [EMA

FakeTrustSocketFactory....

2003-06-06 Thread de Blaauw
Hi,   Anybody have any examples on how to use the FakeTrustSocketFactory Basically i wont to setup an SSL connection between to known servers over the internet, no certificates needed they are allready know on eachothers firewall. Been spending all to get the stuff right with axis on Websphere

Best practices for AxisFault handling

2003-06-06 Thread Ever Olano
Hi, I need some advice as to how to best handle AxisFaults. I am writing a client that talks to a payment service. So, the point where any exception occurs matters. Basically, I would like to be able to determine whether or not the exception occurred before the request was received by the server

RE: Trying to find resource directory location

2003-06-06 Thread Susan Barretta
That's true, I did discover where the servlet was, but that is not where my service is. Rather than do something convoluted and strip \bin off of $CATALINA_HOME\bin and appending webapps\axis\web-inf\lib, I was hoping for a better way to locate my service. Thanks anyhow, Susan At 02:57 PM 6/6/2

RE: Trying to find resource directory location

2003-06-06 Thread mser
I had a similar problem loading some configuration files from my web service. The answer is $CATALINA_HOME/bin. After all it is a servlet. Somewhere in Axis land I found this code which revealed the mystery: MessageContext msgContext = MessageContext.getCurrentContext(); String rootDir = msgCo

Trying to find resource directory location

2003-06-06 Thread Susan Barretta
Hi all, I have Axis services all zipped up in a jar under axis\web-inf\lib and the services run fine. This is Axis 1.1 under Tomcat 4.1.24. One service is deployed as follows (from my server-config.wsdd): My services use xml config files that up to now I had zipped up in the jar,

axis client to soap::lite server

2003-06-06 Thread Adam Kurland
Title: axis client to soap::lite server Can someone post or point me at sample code that allows me to pass Beans from axis to soap::lite and back? I can handle beans from axis client to axis server OK; its the soap::lite server I have trouble with. thanks -Adam

[SOLUTION] Re: Remote administrator access is not allowed

2003-06-06 Thread Nick Wesselman
Servlet init params won't do it. The solution is to pull the server-config.wsdd out of source, put it into WEB-INF, and modify the enableRemoteAdmin property there. Perhaps this file should be in WEB-INF to start by default? It would make things much easier. Nick On Thursday, June 5, 2003,

Change Parsers

2003-06-06 Thread Pedro Sousa
Hi,       I'm trying to make axis use another parser like xerces for example but it keeps using the Crimson that comes with the jdk1.4 runtime (rt.jar).   I copy the xerces.jar and the xercesSamples.jar to the web-ref\lib and when i run a web service in axis i'm getting an exception:       s

Integer[] --> int[]

2003-06-06 Thread Mikael Uvebrandt
I have a method in my WS that takes an Integer[] array as one of its arguments. When I generate client side classes in Axis 1.1RC2 (actually JBuilder8 does it for me using WSDL2Java), that Integer[] has been converted to an int[]. I found a bug report on this (http://nagoya.apache.org/bugzilla/show

Socket Connect Timeout

2003-06-06 Thread Laenzlinger, Christof
Title: Socket Connect Timeout Is it correct that an axis client with http transport binding does not support connection timeout?   Call call = new Call(endpoint);   // ... populate the call   call.setTimeout(new Integer(getTimeout()));   call.invoke(env); This seems to set the SO_TIMEOUT

WSDL, WSIF and multipart-related

2003-06-06 Thread Stefan J
Hi everybody,   I'm confused about how WSDL works. I have a WSDL file like the following, which defines an action called SayHello that I want to invoke by using WSIF's dynamic invoker on the command line:                               transport="http://schemas.xmlso

looking for bug fix to bug 16771

2003-06-06 Thread jzhang
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16771 We experienced problem as described in 16771 with rc1.2, but nightly build seems to have resolved this problem. Anybody knows where the patch for this bug? Thanks,

WS PHP client with digital client certificate

2003-06-06 Thread Sacseja Mela
Hi everyone. Does anyone know any URL where I can see a PHP Webservice client using SSL and client digital certificates? Thank you ___ Yahoo! Sorteos - http://loteria.yahoo.es Juega a la Lotería Primitiva sin salir de casa

Re: Remote administrator access is not allowed

2003-06-06 Thread Nick Wesselman
Another idea: Do I need to set up and provide an admin password? On Thursday, June 5, 2003, at 11:21 AM, Nick Wesselman wrote: Yep I tried reloading from the TC manager app first then did a full shutdown/startup of tomcat. Still no dice. Could it have something to do with not accessing the app

Re: Remote administrator access is not allowed

2003-06-06 Thread Nick Wesselman
Yep I tried reloading from the TC manager app first then did a full shutdown/startup of tomcat. Still no dice. Could it have something to do with not accessing the app via localhost? Nick On Thursday, June 5, 2003, at 10:56 AM, Jim Poulsen wrote: did you re-deploy the web services application

RE: typeDesc (repost)

2003-06-06 Thread Glen Daniels
Hi Chris: > I am attempting to process my first WSDL w/ Axis. > Unfortunately one of my > types is defined as TypeDesc, and thus becomes getTypeDesc(), > etc in the > generated Bean. This directly conflicts with the > getTypeDesc(), etc that > Axis places into the files on it's own. (BTW: perh

RE: Remote administrator access is not allowed

2003-06-06 Thread Jim Poulsen
did you re-deploy the web services application in tomcat? Dont think the change in the web.xml will be picked up until you either restart tomcat or re-deploy the app in the tomcat container. -Original Message- From: Nick Wesselman [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 10

WSDLException mystery

2003-06-06 Thread Podgorni, Derek
I am getting the following error: Retrieving document at '/a/location/wsdl/DataServerImpl.wsdl'. WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at '/a/location/wsdl/DataServerImpl.wsdl'.: no content-type: java.net.UnknownServiceException: no content-type This calling co

Remote administrator access is not allowed

2003-06-06 Thread Nick Wesselman
I'm trying to deploy my web service to an axis webapp running on tomcat behind apache/mod_jk. I run the command java org.apache.axis.client.AdminClient -p 80 -h vhost.digivis.com temp/assetwsdeploy.wsdd and get a 401 error w/ a stack trace saying "Remote administrator access is not allowed!

typeDesc (repost)

2003-06-06 Thread Celia Berry
Greetings, I am attempting to process my first WSDL w/ Axis. Unfortunately one of my types is defined as TypeDesc, and thus becomes getTypeDesc(), etc in the generated Bean. This directly conflicts with the getTypeDesc(), etc that Axis places into the files on it's own. (BTW: perhaps it might be go

Problems with LogFactory !!!, urgent Help needed...

2003-06-06 Thread Yannick Naudet
Hello all,   I need urgent Help!!!   I have the following error and after 4 hours of debugging, i did not manage to find a way to avoid it:   java.lang.ExceptionInInitializerError  at org.apache.axis.client.AdminClient.(AdminClient.java:86)  at com.eglutek.gateways.webservices.ServicesEngineM

debugging (repost)

2003-06-06 Thread Celia Berry
Greetings, I'm new to Axis. I cannot see how to debug print (the full SOAP message as XML) a request which was formed out of Beans generated by WSL2Java?? I am trying to inspect the request right before I ship it off to the Service. E.g. In my JUnit I have something like:: AA_T aa = new AA_T(); /

RE: .NET and Apache Axis interop issue with xsd:date and xsd:dateTime

2003-06-06 Thread Armstrong, Jason
Stephanie, I tried your recommendation and the classes that were generated already had that information. However, I was able to go into the class that was generated by .NET and changed it's metadata attribute to date and it solved my issue. Thanks for your assistance! Old Code in C# Generated C

RE: .Net unbounded element deserialization error

2003-06-06 Thread Kordes, Paul
That is definitely a possibility for the future. Unfortunately, this is for a release product that currently only supports RPC/encoded. I know this is a simple fix. I just can't put my finger on it... -Original Message- From: Armstrong, Jason [mailto:[EMAIL PROTECTED] Sent: Thursday, Ju

RE: repost?

2003-06-06 Thread Celia Berry
Thanks. My theory is that the list will only accept posts from addresses which are actually subscibed to the list. I was planning to read the postings from the archives due to limited email space, etc. This latest post appeared after I joined the list for real. I will repost. Sorry about the wasted

RE: .Net unbounded element deserialization error

2003-06-06 Thread Armstrong, Jason
Paul, I seem to remember having all kinds of problems with arrays when using RPC/encoded services with .NET (unfortunately I don't remember all the details, I think I'm mentally blocking out those bad experiences). If you switch over to using document/literal all you need to do is the following..

RE: repost?

2003-06-06 Thread Glen Daniels
Hi Celia! I'd try reposting, since this mail got through OK. --Glen > -Original Message- > From: Celia Berry [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 10:55 AM > To: [EMAIL PROTECTED] > Subject: repost? > > > Greetings, > I am new to axis-user. Yesterday I posted two s

repost?

2003-06-06 Thread Celia Berry
Greetings, I am new to axis-user. Yesterday I posted two separate emails to this list, AFAICT, neither has ever appeared. Should I repost them or is there a considerable lag?? Sorry for any inconvenience. Thanks, -- Chris

.Net unbounded element deserialization error

2003-06-06 Thread Kordes, Paul
Help anyone ... I'm testing interoperability of my webservice with a .NET Client (Visual Basic). I have deployed my webservice such that we have our own custom wsdl. Basically we wrap the entire input and output in one javebean object each. In this case, there is no input, and the output contai