Problem with array when upgrading from Axis 1.1 to Axis 1.2 Beta 2 - Help needed?

2004-07-21 Thread olaf . hahnl
Hi, I just dropped in the libraries from Axis 1.2 Beta 2 as a replacement for the libraries from Axis 1.1 into my application which prevents it from working. I am using Tomcat 5.0.27 and Java 1.4.2_05. A simplified view of what I am doing is as follows: - send a complex hierarchy of objects consi

Re: DeserializationContextImpl.getDeserializerForClass():490 - No deserializer for java.lang.Object

2004-07-21 Thread Peter Molettiere
Jira bug filed: http://nagoya.apache.org/jira/browse/AXIS-1471 --Peter On Jul 21, 2004, at 8:28 PM, Peter Molettiere wrote: Here's a trace, bug in jira coming up: java.lang.NoSuchMethodException: java.lang.Object.getDeserializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName) at

Re: DeserializationContextImpl.getDeserializerForClass():490 - No deserializer for java.lang.Object

2004-07-21 Thread Peter Molettiere
Here's a trace, bug in jira coming up: java.lang.NoSuchMethodException: java.lang.Object.getDeserializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName) at java.lang.Class.getMethod(Class.java:978) at org.apache.axis.encoding.DeserializationContextImpl.getDeserializerForCl as

Re: DeserializationContextImpl.getDeserializerForClass():490 - No deserializer for java.lang.Object

2004-07-21 Thread Davanum Srinivas
do you have a stack trace? please post a bug to JIRA. thanks, dims On Wed, 21 Jul 2004 13:19:52 -0700, Peter Molettiere <[EMAIL PROTECTED]> wrote: > > After upgrading to the latest CVS source, we're noticing a new error > being thrown by axis during the execution of our app. > > Deserialization

Re: trust all certificates?

2004-07-21 Thread gary . si . grewal
How would you do that === Gary Grewal [EMAIL PROTECTED]

Re: Visual Studio Axis Client

2004-07-21 Thread Jim Murphy
Are you using the MS SOAP toolkit or .NET? Also, are you using Visual Studio 6 or 7 (.NET)? Jim [EMAIL PROTECTED] wrote: Hello, I am creating a client for my axis web service in Visual Studio. By using Visual Studio to add a web reference, the program creates several data objects of type BST

RE: Visual Studio Axis Client

2004-07-21 Thread Cervi, Anthony (PCLN-NW)
  BSTR* is a pointer to a BSTR.   void GettaBSTR(BSTR* bstr) {     *bstr = SysAllocString("some string); }   BSTR bs; GettaBSTR(&bs); SysFreeString(bs); -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Wednesday, July 21, 2004 5:36 PMTo: [EMAIL PROTECTE

Re: Visual Studio Axis Client

2004-07-21 Thread Michael Thompson
Use the address of operator(&) as in: BSTR bstrStatus; pBrowser->get_StatusText( &bstrStatus ); --m [EMAIL PROTECTED] wrote: Thanks for your help. Any idea what I have to change to handle the BSTR*? I cannot findinfo on the pointer version anywhere. Thanks again, James In a message dated

Re: Visual Studio Axis Client

2004-07-21 Thread NYY96
Thanks for your help.   Any idea what I have to change to handle the BSTR*? I cannot findinfo on the pointer version anywhere.   Thanks again, James   In a message dated 7/21/2004 5:34:39 PM Eastern Standard Time, [EMAIL PROTECTED] writes: from msdn.comhttp://msdn.microsoft.com/library/def

Re: Visual Studio Axis Client

2004-07-21 Thread Michael Thompson
from msdn.com http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcconStringsAllocatingReleasingMemoryForBSTR.asp Looks like you'll want something like: ::SysAllocString(...), but don't forget ::SysFreeString --m [EMAIL PROTECTED] wrote: Hello, I am creating a client fo

Visual Studio Axis Client

2004-07-21 Thread NYY96
Hello,   I am creating a client for my axis web service in Visual Studio. By using Visual Studio to add a web reference, the program creates several data objects of type BSTR.   I am wondering if anybody could give me a quick explanation why my Strings are getting placed as BSTR's, and one is

Re: trust all certificates?

2004-07-21 Thread NYY96
Matt,   You can look up creating an all trusting certificate in the directory of your web service and you're good to go.   James   In a message dated 7/21/2004 4:47:00 PM Eastern Standard Time, [EMAIL PROTECTED] writes: does anyone know of a way to get an axis client to trust all certifica

RE: Arrays in Document Style WebServices

2004-07-21 Thread Vikas Phonsa
Hi Jean, Here is how I handled my arrays in document-literal. In the SOAP message I wanted a Contact object which would have an array of objects of type Address. WSDL generated for such a bean wasn't working for doc-literal type. I mean wsdl looked ok but the client didn't work and some other prob

trust all certificates?

2004-07-21 Thread Matt Tucker
does anyone know of a way to get an axis client to trust all certificates from the server it's talking to? -- Matt Tucker thoughtbot cell: 617 775 0742 office: 617 876 4780 www.thoughtbot.com

Re: Problem with SOAP body

2004-07-21 Thread Michael Thompson
It was my understanding that you just had to have a client-config.wsdd in the classpath. So if you don't want to mod your axis.jar, just make sure your the directory your custom client-config.wsdd is in your classpath. --m Anand Natrajan wrote: Anthony, My bad - I read your email to the opposi

DeserializationContextImpl.getDeserializerForClass():490 - No deserializer for java.lang.Object

2004-07-21 Thread Peter Molettiere
After upgrading to the latest CVS source, we're noticing a new error being thrown by axis during the execution of our app. DeserializationContextImpl.getDeserializerForClass():490 - No deserializer for java.lang.Object One of the classes we register a type mapping for has a bean property whic

Re: Problem with SOAP body

2004-07-21 Thread Anand Natrajan
Anthony, My bad - I read your email to the opposite effect. Of course, you could simply set that parameter to true... Re: control over Axis jar - this is the _client_-side jar we're talking about, not the server-side one in the app server. Maybe I am not following something, but couldn't your jus

Operation not found

2004-07-21 Thread Gautham Mulakala
Hi, I am trying to deploy some set of services on axis 1.1. Deployment is going fine. When i try to see the available services i am getting the following error. DataServerPublishedServices (wsdl) AXIS error Sorry, something seems to have gone wrong... here are the details: Exception - org.apach

What happens to Java objects when Axis is reloaded by Tomcat?

2004-07-21 Thread Donald Gorgonzola
From a web service call I access a singleton, so subsequent web service calls can access the same object. Things work fine until Axis is reloaded (by Tomcat web app manager). I can no longer get a handle on the original singleton, instead a new singleton is created. I wouldn't mind this behav

wsdl2java generates wrong wsdd class name

2004-07-21 Thread Sagar Pidaparthi
Title: wsdl2java generates wrong wsdd class name Hi, When I use wsdl2java utility to generate wsdd file, it generates the file containing svcname followed by SoapBindingSkeleton, instead of just SvcName  As shown below. AccountManagerClientAgentSoapBindingSkeleton What am I doing wrong

WSDL2Java generates wrong operation name

2004-07-21 Thread Vikas Phonsa
Hi, I'm working with document literal web service and am trying to generate client stubs using wsdl2java. I have two operations in wsdl named getContact and ContactInsertOrUpdate as shown below: For the getContact operation the operation name is generated fine as bel

Re: Problem with SOAP body

2004-07-21 Thread Anthony Piazza
Anand, Thanks for your reply. Just to clarify - I DO want the elements of the SOAP body to have the XSI attributes. As I mentioned in my original message, I have no control over the Axis jar (which includes the client-config.wsdd file) that I must use. I have tried several ways to force the

Re: Problem with SOAP body

2004-07-21 Thread Anand Natrajan
Anthony, I'll pass on some wisdom I learnt just a day or so ago that may be worth trying. Find out your Axis client's client-config.wsdd file. In that, there may be a tag called . Inside that, add the following XML segment. Can't guarantee whether it'll work or not, but itmay rem

Problem with Logging STDOUT

2004-07-21 Thread Benjamin Marcel Flohr
Hello. I have a problem with the logging in our application. As soon as the first Axisrequest is happend, the logger logs everything in stoud although this is not configured in our log4j.properties. What can be the problem for this. Also, I dont find a way to configure the log4j.properties for

Multi dimensionnal array in WRAPPED/LITERAL

2004-07-21 Thread Jean-Francois Denise - Sun Microsystems
Is it something that is possible? Supported by AXIS? I tried. The generated client from such WSDL doesn't compile. Thanks.

magic use Serializers/Deserializers

2004-07-21 Thread Christian Campo
Hi all, I am playing around with a webservice to check how it can be optimized. In the initial version it has methods that sends - strings - ints - complex objects (class within class that contains strings) I specified BeanMapping on the client and the server for the complex objects (both) Every

Help with soap-enc:array

2004-07-21 Thread Jigsaw
Hi, I have the following in my schema: The above is a part of my wsdl. When I use WSDL2Java, what .java files can I expect? I seem to get only ArrayOfNames.java which has the followin

Help please - Complex Types

2004-07-21 Thread Dorner Thomas
Hello, this is my second post for this problem - unfortunately no one can help me!? My Problem is: I send a HashMap from a WebService-Client to my WebService - no Problem so far. The WSDL for the HashMap looks like this: http://xml.apache.org/xml-soap"; xmlns="http://www.w3.org/2001/XMLSchema";>

Generate class at client side which has only constants declared, but no methods

2004-07-21 Thread Pankaj Mandaliya
Hello Axis users !!I have axis 1.1 versionI want to make one server class available on client side, ie it can be =generated at the client side.Now this class contains only public final constants and no public or =private methods.When I give it for generating services, I give that class with

help on WSI-BasicProfile compatibility

2004-07-21 Thread lcoppoli
Hi, I'm trying to access a Web Service by a J2ME client. I have used Axis 1.1 to deploy web service. In wsdd file I chosed for the service: style="document" use="literal" The provided WSDL is as follow: ** http://Default

Re: Arrays in Document Style WebServices

2004-07-21 Thread Jean-Francois Denise - Sun Microsystems
Hello, I am porting to WRAPPED/LITERAL and I observed the same thing. Looking at the code, I noticed that if the param/return type is class.isArray, the componentType only is set as the ParameterDesc type. Is it what literal is about? If I understand well, it means that the Array doesn't exits in

Re: How do I get the underlying request/response xml?

2004-07-21 Thread Dhanush Gopinath
I will add one more line .. Use this to get the request and respnse message separately..     Message messageReq = msgContext.getRequestMessage();    Message messageRes = msgContext.getResponseMessage(); Cheers   Dhanush   - Original Message - From: Yves Langisch

RE: How do I get the underlying request/response xml?

2004-07-21 Thread Yves Langisch
Are, Try this in your handler: Message message = msgContext.getCurrentMessage(); SOAPPart sPart = (org.apache.axis.SOAPPart) message.getSOAPPart(); try { doc = ((org.apache.axis.message.SOAPEnvelope) sPart

RE: How do I get the underlying request/response xml?

2004-07-21 Thread Tysnes Are Thobias
Hello! I have an additional question to this topic. Has someone successfully added new child elements to an existing element in the Request from within a handler !? I did try but the XML was no longer valid.. blanks and newlines all over the place.. -( Cheers, Are T. Tysnes -Original Mess