Serializer/Deserializer not defined when using handlers

2002-06-05 Thread Wörner Till
Title: Serializer/Deserializer not defined when using handlers Hi, I have folowing problem: If I define client-side handlers with call.setClientHandlers(...) just before the call.invoke(...) statement, AXIS won't deserialize my beans I get back as the result after the first call to the

Calling a secure Web Service via HTTPS

2002-06-05 Thread Nuno Guerreiro
I'm trying to set up a Web Service client via HTTPS, but the problem is that I'm behind a firewall and although I've already set up the JVM environment (https.proxyHost, https.proxyPort, and installed JSSE), when I try to read any URL via HTTPS, the proxy returns HTTP/1.1 200 OK, instead of

RE: href, mozilla soap, and custom serializers

2002-06-05 Thread Heitzso
Works great. My mozilla 1.0rc3 javascript soap client doesn't have any problem deserializing the inline (non-href'ed) data structures. Do you by any chance know if it's possible to control that setting deeper down in the configuration to provide a finer grained control over whether a specific

embedded webservices

2002-06-05 Thread Adrian 'Dagurashibanipal' von Bidder
Yo! H. Nobody else seems to be interested in this :-( Ok, I think I'm on the right track now: I'm registering my own axis.EngineConfigFactory, and deploy AxisServlet from Jetty. But I see that it seems to absolutely need an attachment direcory, and probably a WEB-INF directory. Is there no

Invalid element - schema

2002-06-05 Thread Anna Chen
Anyone knows how to resolve this problem? Thanks Anna The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST /zipQuery/zipCodeService.asmx/findZipCordinates HTTP/1.1 Host: www.discoverdance.co.uk Content-Type:

ArrayOutOfBoundsException

2002-06-05 Thread Eric Roberts
I am getting an ArrayOutOfBoundsException when I try to run the following code: (begin code here) package samples.userguide.example7; import org.apache.axis.client.Call; import org.apache.axis.client.Service; import org.apache.axis.encoding.XMLType; import org.apache.axis.utils.Options;

how to update server-side object fields

2002-06-05 Thread SWesten
Hi, The problem i face has to do with updates of fields of server-side objects. I do not want my web service to expose a set method for each field (granularity too fine). An alternative would be to use a hashmap containing the fields to be updated. However, this makes it impossible to do

Re: ArrayOutOfBoundsException

2002-06-05 Thread Eric Roberts
java.lang.ArrayIndexOutOfBoundsException at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:134) at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:875) at

RE: AxisFault vs SOAP Fault

2002-06-05 Thread Andrew Vardeman
Brenton, After reading through this thread and parts of the SOAP spec for help on handling AxisFaults, I think I may know where the problem is occurring. Here, from the SOAP Primer, is a sample SOAP Fault: env:Fault faultcodeenv:Receiver/faultcode faultstringProcessing Error/faultstring

namespace question

2002-06-05 Thread Edwards, Jeff
Hi, When I generate an XML document from a simple axis client, the default namespace of the response body elements appears incorrect. In the example below, the namespace for 'PingResponse' is correct, but am unclear why the child element Message is given xmlns=. SOAP-ENV:Envelope

Re: embedded webservices

2002-06-05 Thread Steve Loughran
But I see that it seems to absolutely need an attachment direcory, and probably a WEB-INF directory. Is there no way to drive axis without any filesystem access? After all, I'm just trying to handle JAX RPC calls - needing a filesystem for procedure calls is a bit a joke, Does it have to be a

Re: embedded webservices

2002-06-05 Thread Steve Loughran
But I see that it seems to absolutely need an attachment direcory, and probably a WEB-INF directory. Is there no way to drive axis without any filesystem access? After all, I'm just trying to handle JAX RPC calls - needing a filesystem for procedure calls is a bit a joke, Does it have to be a

Re: ArrayOutOfBoundsException

2002-06-05 Thread Eric Roberts
I am using axis beta 2 -- the latest version as far as i know Eric On Wed, 5 Jun 2002, Russell Butek wrote: Hmmm... What version of AXIS are you using? In the latest SOAPFaultBuilder class, there is no array operation on line 134, nor anywhere within endElement. What has happened

WSDL types schema definition

2002-06-05 Thread Thomas, Mathew
Can anyone tell me if it's possible to define a schema within types in which the schema xsd exists on another server? I want to reuse and reference a schema already defined in a different location. Do I have to define the schema within the wsdl document? Any insight would be appreciated.

re: java2wsdl

2002-06-05 Thread James Black
Hello, I am trying to get this utility to work, and I don't know what I am doing wrong. I have an interface called AxisLMSServer, in package edu.usf.acomp.axis. I have defined three methods in here, and compiled the class. I then try java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl -l

re: java2wsdl

2002-06-05 Thread R J Scheuerle Jr
Don't you mean: edu.usf.acomp.axis.AxisLMSServer Rich Scheuerle XML Web Services Development 512-838-5115 (IBM TL 678-5115) James Black [EMAIL PROTECTED] 06/05/2002 02:44 PM Please respond to axis-user To:[EMAIL PROTECTED] cc: Subject:re: java2wsdl

Re: ArrayOutOfBoundsException

2002-06-05 Thread Russell Butek
beta 2 is over a month old, now. You might want to try a recent nightly build: http://xml.apache.org/dist/axis/nightly/. Russell Butek [EMAIL PROTECTED] Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: ArrayOutOfBoundsException I am using axis beta 2 -- the

Re: WSDL types schema definition

2002-06-05 Thread Russell Butek
If the schema file is defined at http://www.com.xxx/remoteschema.xsd, and it contains a complexType named XXX, then you could import it: definitions xmlns=http://schemas.xmlsoap.org/wsdl/ xmlns:otherStuff=urn:otherStuff ... import location=http://www.com.xxx/remoteschema.xsd

RE: href, mozilla soap, and custom serializers

2002-06-05 Thread Vidyanand Murunikkara
Hi Heitzo I dont know of any parameter is the WSDD file that is gonna help you do what you want to do. But I guess there is one way to do what you want to do. What you can do is to set up an handler in the request flow. IN the invoke(MessageContext msgContext ) method u can take the

Re: ArrayOutOfBoundsException

2002-06-05 Thread Steve Pannier
Russell, Would you know if/when a Beta 3 is due out? Steve Pannier Jacada, Inc. (763) 201-0002 Ext. 219 [EMAIL PROTECTED] http://www.jacada.com beta 2 is over a month old, now. You might want to try a recent nightly build: http://xml.apache.org/dist/axis/nightly/. Russell Butek

RE: WSDL types schema definition

2002-06-05 Thread Thomas, Mathew
Thanks for the information. I tried to find documentation on import but was unsuccessful. Do you know if import is supported by Wsdl2Java? When I try to use it, I get the error message: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported documentat 'http://...'. : no

wsdl2java bug?

2002-06-05 Thread Tolsch, Ed
I'm wondering if the wsdl2java has a bug or I'm doing something wrong. I have the following within my WSDL file: . . . xsd0:element name=Participant xsd0:complexType xsd0:sequence xsd0:element

AGAIN: Client side handlers and deserialize problems

2002-06-05 Thread Till Woerner
Hi, I did not get any response to my last mail, but this is really driving me insane... My AXIS client won't deserialize my beans returned from my web service if I have defined any handlers with call.setClientHandlers(...) but it will do without problems if I do NOT define those handlers. Is

Re: Stupid question #47: how does a server get access to username andpassword?

2002-06-05 Thread Doug Davis
Try, MessageContext msgContext = MessageContext.getCurrentContext(); ... = msgContext.getUsername(); ... = msgContext.getPassword(); No need to change/add an argument anymore. -Dug Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Stupid question #47: how does a

Re: embedded webservices

2002-06-05 Thread Adrian 'Dagurashibanipal' von Bidder
On Wed, 2002-06-05 at 20:07, Steve Loughran wrote: But I see that it seems to absolutely need an attachment direcory, and probably a WEB-INF directory. Is there no way to drive axis without any filesystem access? After all, I'm just trying to handle JAX RPC calls - needing a filesystem