ServiceLocator on Linux

2004-08-05 Thread Hrishikesh Kumar
Hi All, Just wanted to know if anybody is executing SOAP Client using Axis on Linux. We are having issues getting the serviceLocator on the client side. It is taking 5 secs to create a servicelocator itself. Thanks, Hrishikesh.

RE: M$ interoperability and Arrays

2004-08-05 Thread Thomas Börkel
HI! Maybe this is related to your problem: http://nagoya.apache.org/jira/browse/AXIS-1308 Thomas -Original Message- From: John D'Ausilio [mailto:[EMAIL PROTECTED] Sent: Montag, 2. August 2004 15:20 To: [EMAIL PROTECTED] Subject: M$ interoperability and Arrays I've been

Re: Problem with call.getOutputParams()

2004-08-05 Thread n0junky-eclipse
A slight correction to my previous email: The key- param1 is of correct length. THEN why wouldn't the following return me the result?? String inout = (String)output.get(param1); --- [EMAIL PROTECTED] wrote: Hi, I'm testing out the feature for INOUT params and I almost got it but stuck

Best Practise DIME

2004-08-05 Thread Bochnak Filip
Hi all I´m trying to send attachment files from gsoap to my java service via DIME. I found out that axis for java is using datahandler and it´s very easy to implement it, when I use a java client. But my client in gsoap doesn´t support any datahandlers. What is the best way to do it? Is there

R: Need help: org.xml.sax.SAXException: Invalid element in XYZ

2004-08-05 Thread Ivan Venuti
you are right: this is the problem! I've changed it in my java code and it works. Many Thanks!! Anyone have an idea about the difference between WSDL and service? I remember that the service is generated from WSDL via Axis 1.1 -- Ivan -Messaggio originale- Da: Anne Thomas Manes

Re: Need help: org.xml.sax.SAXException: Invalid element in XYZ

2004-08-05 Thread Dhanush Gopinath
WSDL is the medium through which u define your Web Service Methods, How u access them ( data encoding and protocols) and where the service is located . In short it describes the Web Service .. hence the name web service description language :) Dhanush - Original Message -

vc++ client for java web service

2004-08-05 Thread Rajendra
Hi All, I have very simple java web service deployed on axis and also tested with javaclient. Now my requirement is that i need vc++ client for my java web service. So what all i need to do so. Do i need something like axis for c++ at each client site. If so suggest me some good option. If

using axis web service, want to create wsdl from java

2004-08-05 Thread Basil ARBYIG
Hi, I would like to create an internal webservice for the other developers some developers use Java and others use .Net ... providing them a wsdl file will allow them to develop in the environment they prefer. I visted the ws.apache.org/axis site I've seen example on how to create the java to

Best practice for retrieve configuration parameters

2004-08-05 Thread Ivan Venuti
Hi, I'd like to kwnow what is the better way to retrieve configuration parameters in classes deployted as Axis Web Services. I could use properties file on file system, but I don't know if there is a better way (I need to retrieve connection parameters for accessing my DB). Thanks in advance --

RE: Problem with call.getOutputParams()

2004-08-05 Thread
Hi, I'm a newbie to axis and webservices, but I got your example to work. You need the following 1. web service code should use something called javax.xml.rpc.holders.StringHolder this will allow you to modify the input parameter. 2. Access the data from getOutputParams() differently.

RE: Problem with call.getOutputParams()

2004-08-05 Thread n0junky-eclipse
Dear dex, Thanks for your response. I was following that article too and I could not get the value. Anyway, I've managed to solve my problem using: String value = output.get(new QName(param1)); However, I'm not sure why. Would be great if someone could enlighten. --- [EMAIL PROTECTED]

Location of .properties and .xml configuration files (and .JARs)?

2004-08-05 Thread Martin Olsson
There is also another thing that I have been thinking about. My web services main class uses several configuration files, where should I put these? The class itself it tucked away in a .JAR inside lib/ but I feel uncomfortable storing configuration files in the lib/ dir and while putting them

RE: Best Practise DIME

2004-08-05 Thread THOMAS, JAI [AG-Contractor/1000]
Phil, Your client don't realy need to deal with datahandlers. Response message will contain referenced attachments and your client just has to be capable of accessing these attachments. We in fact have an Axis server returning datahandlers and MS SOAP client consuming the service. Jai

Re: Performance issue with using Axis

2004-08-05 Thread Vy Ho
It's strange that you have problem here. Based on my source code, the locator does not have any static initialization, does not even have a constructor. Therefore, it should just return instantly after initialize some variable. I wonder if the classloader have problem searching for this

Re: vc++ client for java web service

2004-08-05 Thread NYY96
Rajendra, Open a new Win32 Project in VC++. Make sure that the project is enabled ATL. Once you have done this, select "Add Web Reference" from the project menu. This will bring up a window which you should enter the address of the WSDL. Once adding the WSDL, VC++ will create a number of

RE: Java2WSDL importSchema - how to use in a WSDD

2004-08-05 Thread Nathan Sowatskey
Hi Have you ever used java2wsdl to create wsdl for document/literal encodings for complex types that required a typemapping? Thanks Nathan On Tue, 2004-08-03 at 23:39, Mark D. Hansen wrote: Nobody answered this, so I dug around in the source code and found out that it can be done by

RE: NullPointerException returned from webservice

2004-08-05 Thread John McCosker
Title: RE: NullPointerException returned from webservice I just tried to create client stubs from the wsdl, this the error, C:\wrox-axis\chapter5java org.apache.axis.wsdl.WSDL2Java -o %AXIS_DEVHOME% -p c hapter5.stubs AttachmentService.wsdl java.io.IOException: Type

Re: ServiceLocator on Linux

2004-08-05 Thread Paul Callahan
it might be useful to build axis from source--insert some timings around the instance method on the service locator class that is generated by wsdl2java. particularly, the meat of the work looks like it is done in the soapbindingstub, so perhaps try to put some timings/log statements in there?

returning a fault with message style

2004-08-05 Thread Joel Carklin
I am using the message style. I have the following method: public Document processRequest(Document doc) { Document res_dom_doc = null; try { My_Message msg = new My_Message(doc); MyConnectionToExternalSystem conn =

RE: How to enable Axis client to return more than one cookie

2004-08-05 Thread Liu, Scott
The first question on cookie is indeed the problem. I have read that there is a patch to support multiple cookies. Can anyone point me to the place for this patch? I am still interested to know the answer on getting MessageContext object on client side. Thanks for your attention,

Default values for elements in WSDL

2004-08-05 Thread Brian Manley
Is is possible to specify in a service's WSDL, a default value for element of complex type? For exmaple, can I do something like: complexType name=ChangeRequestSVT sequence element name=instId type=xsd:int default=-1/ . . . /sequence /complexType Additionally will wsdl2java (or other wsdl

Need assistance with properly binding a webservice to a java clas s

2004-08-05 Thread Love, Lawrence
Title: Need assistance with properly binding a webservice to a java class Over the past year or so our group has been participating in an open-source project that involves several healthcare and medical centers and utilizes technologies such as OpenEMed, Pids, COAS, Shark, and HL7. Though you

AW: Best Practise DIME

2004-08-05 Thread Bochnak Filip
Hi Jai Thanks for your reply. How did you implement the service. How can I add this referenced attachments or hrefs to my service. Which sample did you follow? thanks in advance Phil -Ursprüngliche Nachricht- Von: THOMAS, JAI [AG-Contractor/1000] [mailto:[EMAIL PROTECTED] Gesendet:

Programmatic way to set handlers on client

2004-08-05 Thread Shantanu Sen
Is there any example that shows how to programmatically set client side handlers? I know I can use a client-config.wsdd, but I would like to know how this can be done programmatically - e.g. is there any way I can direct Java2WSDL to generate client stubs that contains code that automatically add

Re: trust all certificates?

2004-08-05 Thread Matt Tucker
Hi, I'm not writing the service, only the client connecting to it. I can connect fine if I import the server's certificate into my keystore but the problem is that the client app I'm writing needs to connect to a vendor-provided service with a self-signed certificate which is specific to the

Re: How to enable Axis client to return more than one cookie

2004-08-05 Thread Christian Campo
http://issues.apache.org/jira/browse/AXIS-1080 - Original Message - From: Liu, Scott [EMAIL PROTECTED] Date: Thu, 5 Aug 2004 08:43:28 -0700 Subject: RE: How to enable Axis client to return more than one cookie To: [EMAIL PROTECTED] The first question on cookie is indeed the

RE: Best Practise DIME

2004-08-05 Thread THOMAS, JAI [AG-Contractor/1000]
Phil, Our server has a method like this that returns a pdf file: public DataHandler generateReport(String productId) { .. } WSDD section corre. to the method looks something like this, with a returnQName definition: operation

RE: How to enable Axis client to return more than one cookie

2004-08-05 Thread Liu, Scott
Thanks. The patch has not been checked in yet. The patch link only provides differences. Does anyone know where can I get the real patch so that I do not have to apply the patch line by line? Really appreciated, Scott -Original Message- From: Christian Campo [mailto:[EMAIL PROTECTED]

formatting soap requests

2004-08-05 Thread Philippe Cornut (QC/EMC)
Hi all, I am having some difficulties bringing a SOAP request to a one-line form. i would like to send a request like this one: (yes this is a response but i dont have a request at hand... anyway what matters is the format!?!) ?xml version=1.0 encoding=UTF-8? soap-env:Envelope

Re: formatting soap requests

2004-08-05 Thread Jim Murphy
Philippe The company I work for has a product to help you diagnose these things. You can invoke or resend messages playing with the exact format all you want. Feel free to grab a complimentary evaluation[1] at your convenience. Regards, Jim Murphy Mindreef, Inc. [1]

Re: Performance issue with using Axis

2004-08-05 Thread Hrishikesh Kumar
Hi, Yes, the first time execution of this call will take like 6 seconds, but the subsequest calls to this method takes just 100 milli seconds. Do you think there is problem with classloader, if that is case please suggest me somethings to try. Thanks, Hrishikesh.

client side handler does not work

2004-08-05 Thread egemen kalyoncu
hi all, i wrote a handler on client and server side to process my soap header(mustUnderstand=1 and no actor).Server side handler handle request message's header and there is no misunderstanding error.However on client side, handler does not invoke, can not process header and throw and