RE: Bug - Axis uses soapenc:arrayType in wrapped/literal

2003-10-06 Thread Christer Holmér
I can see that your SOAP response doesn't include any xsi:type declarations. Try to turn it on in your wsdd. /Christer -Original Message- From: Agarwal, Naresh [mailto:[EMAIL PROTECTED] Sent: den 30 september 2003 07:46 To: [EMAIL PROTECTED] Cc: Christer Holmér Subject: RE: Bug - Axis use

Re: Generic Client

2003-10-06 Thread Dimuthu Leelarathne
Hi atul, Have a look at "samples\client\DynamicInvoker.java" Regards, Dimuthu - Original Message - From: "atul" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 04, 2003 6:00 AM Subject: Generic Client > How can(if at all) one write a generic client, > irrespective o

Linux / Windows SoapFaultBuilder NullPointerException

2003-10-06 Thread Jacek Kempski
Hello all, I am experiencing a strange problem. My service has a signature public String getNames(String meta) I have 4 machines: 1) Windows 2000, Service Pack 3 2) Windows 2000, Service Pack 3 3) SuSE Linux 8.0 4) SuSE Linux 8.1 All machines but the 4th (JDK1.4.1_01) run JDK1.4.2, axis1.

RE: Axis using wrong encoding for array in Doc/literal

2003-10-06 Thread Gupta, Ankit
Dear Anne, I cannot use Array_of_xsd_int type because .NET complains that soapenc:Array_of_xsd_int is not valid in a doc literal service. That was The reason I am manually editing my WSDL so that it is more agreeable to .Net.For this problem you might have a look at the bug. http://nagoya.apache.

Massage Style problem - Help

2003-10-06 Thread Prasad C. Ranasinghe
I tried to use the following sinature for massage style, I found that it is not working. public void method(SOAPEnvelope req, SOAPEnvelope resp); I just tried to return what I sent But I always get an empty body at the client. deployed code public void method(SOAPEnvelope r

Example services unusual exceptions: org.xml.sax.SAXNotRecognized Exception

2003-10-06 Thread Yiannis Mavroukakis
Hello everyone,   I've installed Axis *apparently* sucesfully. However, when I tried out the test client used to connect to the echo service, I got the following exception   org.xml.sax.SAXNotRecognizedException: Feature: http://xml.org/sax/properties/lexical-handler   This is what the serv

Simple username-password security with Axis?

2003-10-06 Thread Jon Blower
Dear Axis users, I would like to add a very basic level of security to my Web Service. I would like users to be authenticated by simply including a username and password in the SOAP message when calling the Web Service. What's the easiest way of encrypting the username/password so it can't be

RE: Simple username-password security with Axis?

2003-10-06 Thread Yiannis Mavroukakis
Title: RE: Simple username-password security with Axis? Have a look at the Java Cryptography Extension (JCE) http://java.sun.com/j2se/1.4.1/docs/guide/security/jce/JCERefGuide.html -Original Message- From: Jon Blower [mailto:[EMAIL PROTECTED]] Sent: 06 October 2003 14:33 To: [EMAIL

Re: Simple username-password security with Axis?

2003-10-06 Thread ian_d_stewart
Instead of including the username/password in the SOAP envelope, use HTTP authentication (AXIS will extract the authentication information from the HTTP headers and populate username and password in MessageContext for you), then you can either use Digest authentication, or Basic authentication ov

Setting proxy in Axis

2003-10-06 Thread Richard . G . Kuzenski
  I am trying to connect to a web service using Axis from behind a firewall but I am not sure how to include the proxy in the call.  Setting the proxyHost and proxyPort system properties did not appear to work.  I believe I was able to get the call to work using the older Apache soap call.

Re: Setting proxy in Axis

2003-10-06 Thread priyada2
I had the same problem with our proxy. I used SOAP to call outbound to thru our proxy. The solution is simple: java -Dhttp.proxyHost=gartmore.net -Dhttp.proxyPort=80 -Dhttp.proxyUser=ashokp -Dhttp.proxyPassword=mypassword JavaProgram You would need additional authentication to your Webservices

wsdd file generation

2003-10-06 Thread Matthias Jung
Hi all, Is there a way to configure the wsdl2Java tool or the ant task to generate a .wsdd file thats 'classname' parameter contains a custom setting? See: Thanks for help Matthias

RE: Setting proxy in Axis

2003-10-06 Thread Richard . G . Kuzenski
Thanks, that appears to have solved the problem.  I was setting the proxyHost and proxyPort properties instead of the http.proxyHost and http.proxyPort.  I think the proxyHost and proxyPort may be used by something else I have used before.  One disadvantage to doing this, I believe, is that

Re: Simple username-password security with Axis?

2003-10-06 Thread Sebastian Esponda
First, you will distribute your server's public key; and then, SOAP clientes will have to encrypt XML using that public key just before sending the msg on the wire (see w3 XML Sign and Encryption spec). On the client side, put name/password info in the SOAP header. Then encrypt the XML and sen

RE: Adding header info to WSDL

2003-10-06 Thread Anne Thomas Manes
Axis doesn't currently generate Java objects or handlers from header definitions. You need to write a handler routine, and configure it in your handler chain. Anne At 02:49 PM 10/3/2003 -0700, you wrote: Hi Anne, Many thanks for your reply. I hope you dont mind my writing to you directly - if

RE: Axis Response Time appears linear with load

2003-10-06 Thread Sutton, Ray
Toshi, Thanks, I downloaded the source (1.1) late Friday but haven't had a chance to look at it yet. What you're saying is definitely consistent with my findings. Don't know if it's workable but I was going to look at using a ThreadLocal to bypass synchronization but as I said I haven't looked at

Re: Massage Style problem - Help

2003-10-06 Thread Marcin Okraszewski
public void method(SOAPEnvelope req, SOAPEnvelope resp){ resp = req; } And this is correct, that it doesn't work. You are changing reference of resp, and so, you don't change the the output envelope. You can only change the object referenced by resp, not reference itself. So you can do somethin

performance problems

2003-10-06 Thread Abhijat Thakur
Hi, I am getting performance problems of axis 1.1. It is running under Tomcat 4.1.2. After the system has run for a couple of minutes during which the performance is excellent the systems performance falls and at one point it is very slow. When i try to access the wsdl file it also takes a lot

wsdl2java question

2003-10-06 Thread anoop
Hi all,   I have a WSDL file representing a service and I wanted to call this service from Java. I used WSDL2Java to generate Java Classes but unfortunately, it generated only 2 of the 6 required data classes. Any Ideas? Please help.       Anoop Singhal   Reflectivity, Inc 350 Potr

wsdl2java question

2003-10-06 Thread anoop
Hi all,   I have a WSDL file representing a service and I wanted to call this service from Java. I used WSDL2Java to generate Java Classes but unfortunately, it generated only 2 of the 6 required data classes. Any Ideas? Please help.       Anoop Singhal   Reflectivity, Inc 350 Potr

Re: Turning off multirefs

2003-10-06 Thread Doron Rosenberg
Is there a way to do this (disabling multirefs) at the server level, as my client isn't in Java. Or can I send a header in the SOAP envelope to disable this on the server? regards, Doron Michael Ser wrote: Anders, In the createCall method of SoapBindingStub.java code created by wsdl2java add

RE: Simple username-password security with Axis?

2003-10-06 Thread Sanjesh Pathak
Jon, I am creating a handler that adds WS-Security UsernameToken header to the request. It will do exactly what you are looking for. I am almost done with it and will be posting the code to the list in a day or two. Look out for it. Sanjesh -Original Message- From: Jon Blower [mailto:[EM

RE: wsdl2java question

2003-10-06 Thread [EMAIL PROTECTED]
Hello Anoop, In your WSDL file you had basically only two user defined complex types 1. NameValue and 2. QueryColumn Rest 4 type you defined in WSDL are either array of these user defined types or of simple types 1. StringArray - array of string 2. QueryArray - array of QueryColumn 3. Row - arra

xsi:nil="true"

2003-10-06 Thread Slaybaugh Laura J IHMD
Hello, I have an Axis client contacting a gsoap service, where one of the parameters is a bean with several fields. For any null fields in this bean, Axis adds a xsi:nil='true' reference. Is there any way I could turn this off, so that null fields are not included in the xml? I am just using

RE: xsi:nil=true

2003-10-06 Thread [EMAIL PROTECTED]
Hi Laura, Setting the minoccur to "0" will not have effect on xsi:nil='true' minoccur defines how many minimum ocuurances of the element. "{min occurs} determines the minimum number of such element [children] that can occur. The number of such children must be greater than or equal to {min occu

Axis: couple of questions

2003-10-06 Thread Ilja
Hi, I tried generating a wsdl file succesfully with my ant-build script from an interface. However some things are not quite clear to me: - Can you also publish your webservices in your own webapp, without deploying it in the axis webapp? - Shouldn't more files be generated? eg like these?: Wid

Wsdl and Axis

2003-10-06 Thread atul
Is "message" style specific to Axis? If not, what can we specify in binding style in wsdl (since wsdl specs let's you specify only rpc or document)? Also, can we achieve interoperability (for instance with a .Net client understanding wsdl) by hosting my service as 'message' style in axis? tia atul

Re: Wsdl and Axis

2003-10-06 Thread Jim Murphy
IIRC, message style is an artifact of the wsdd not wsdl. You can (and should) use document style with axis to achieve interop with .NET but its not guaranteed. You'll have to craft the schema types to make things friendly to both code generators which means you'll have to write the wsdl (at l

Re: Turning off multirefs

2003-10-06 Thread Srinath Perera
Hi Doran I belive the global parameter at the server-config.wsdd should do the trick. it was called "sendMultiRefs" have a look at the wsdd in the org.apache.axis.server(classpath) Srianth On Tue, 2003-10-07 at 00:47, Doron Rosenberg wrote: > Is there a way to do this (disabling multirefs) at t

Re: soapAction & WSDD

2003-10-06 Thread Jeyakumaran.C
Hi william, I never heard of specifying SOAPAction in WSDD. Why do you really need. If you really need that, you set it as a parameter. But I beleive axis doesn't make sense of having soapaction in wsdd. regard, Jeyakumaran.C - Original Message - From: "William Wen" <[EMAIL PROTECTED]> T

Re: Simple username-password security with Axis?

2003-10-06 Thread Jeyakumaran.C
Hi, Axis has SimpleAuthenticationHandler and SimpleAuthorizationHandler. According to your need you better select one of these handlers and configure them. If you select the Authentication handler you have to keep a personal users list to authenticate users. If you select the Authorizatin Handler t