RE: newbie: namespace error

2004-10-13 Thread Kransen, J.
Thank you all for your help. In the end it turned out that I was very close from the beginning, but I should have added this namespace definition to the envelope: envelope.addNamespaceDeclaration(xsd, http://www.w3.org/2001/XMLSchema;); I made some other minor modifications, but I do think that

using axis from IP address as opposed to domain name

2004-10-13 Thread Suzy Fynes
Hey, Can anyone tell me if there is any security risk with using axis directly from an ip address as opposed to having it accessed through a domain name, ie having it accessed from http://25.123.156.100:8080/axis as opposed to http://www.mydomainname.com/axis Thanks Suzy

RE: WSDL2Java and Basic Profile

2004-10-13 Thread Anne Thomas Manes
Interesting. I think you found a bug in the WS-I Basic Profile. According to the WSDL 1.1 specification [1] and the latest version of the WSDL 1.1 XML Schema [2], the definitions/binding/operation/input element does not include the @message attribute. Therefore the sample in the WS-I Basic Profile

Re: mod_axis2.dll loading problem

2004-10-13 Thread sanjaya singharage
Title: Message could you please send this query to the axis-c user list at [EMAIL PROTECTED]? sanjaya. - Original Message - From: Anton Zotov To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 1:42 AM Subject: mod_axis2.dll loading

RE: WSDD configuration problems

2004-10-13 Thread Anne Thomas Manes
One problem with your WSDL is that two of the elements in your Con type reference a type (impl:ArrayOf_soapenc_string) that hasn't been defined: element name=products nillable=true type=impl:ArrayOf_soapenc_string/ element name=areas nillable=true type=impl:ArrayOf_soapenc_string/ As a result,

Re: using axis from IP address as opposed to domain name

2004-10-13 Thread Paul Callahan
a good rule of thumb might be to change that port num. i.e.--7001 is default for weblogic and 8080 for tomcat... never hurts to conceal any details that you dont have to give out... -pc On Wed, 13 Oct 2004 10:25:50 +0100, Suzy Fynes [EMAIL PROTECTED] wrote: Hey, Can

Re: using axis from IP address as opposed to domain name

2004-10-13 Thread Anand Natrajan
Agreed re: port number change, but re: IP change, there's no real difference which one you use. If that address is on the public internet, then anyone can nslookup the IP address and get the machine name. If it's on an intranet, then knowing the machine name gives you little advantage. Security

FYI: I sent a note to WS-I regarding the bug in the 1.1 profile

2004-10-13 Thread Anne Thomas Manes
-Original Message- From: Christopher B Ferris [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 13, 2004 1:57 PM To: Anne Thomas Manes Subject: Re: FW: Error in the Basic Profile Thanks Anne! I've forwarded to the bpwg list and we'll add it to the errata. Cheers, Christopher Ferris

Local Service Call

2004-10-13 Thread Stevenson, Chris
Title: Message Hello All, Does anyone know if/how I can call a local service from within a service inside of the same AXIS instance? Also is the container smart enough to know that if I'm calling a web service from within another webservice on the same box it will use the existing

RE: Local Service Call

2004-10-13 Thread Lovell, Jim M
Title: Message I am interested in this same thing. Can you let me know if you find a solution? -Original Message-From: Stevenson, Chris [mailto:[EMAIL PROTECTED]Sent: Wednesday, October 13, 2004 9:23 AMTo: '[EMAIL PROTECTED]'Subject: Local Service Call Hello All,

RE: [*** Mogelijke SPAM ***] - RE: newbie: namespace error - Enco ded IP

2004-10-13 Thread Anne Thomas Manes
Because your schema specifies elementFormDefault=qualified, then all local elements (including piClieNr2/piClieNr and pcMedewerkermanager/pcMedewerker must be qualified with the urn:tempura-org:RISC namespace. Child elements do not inherit the parent's namespace unless the parent defines a default

HashMap problem

2004-10-13 Thread Dalibor Dostl
Hello all, I need help with following problem: when invoking remote axis web service with Hashmap argument, from time to time it doesnt succeed on remote side with this message java.lang.IllegalArgumentException: object is not an instance of declaring class 20041013 15:07:23 [S]VFRA: Tried

Object lists in axis

2004-10-13 Thread Suzy Fynes
Hey, Have a question, I have an object containing loads of information on a person e.g name, phone number, address etc I want to send someone a list of these people using axis. I store the list in an ArrayList containing objects of each person. Seen as ArrayLists are just for java its

RE: Object lists in axis

2004-10-13 Thread Stevenson, Chris
Title: Message Use an array of javabeans, beans are serializable without any trouble using BeanSerializer. Create a bean called Person which contains getters/setters for each property plus a default empty constructor.

RE: Object lists in axis

2004-10-13 Thread THOMAS, JAI [AG-Contractor/1000]
Suzy, You can define a custom serialization for your Person object and return array of Person objects. Or write Person as a pure java bean and use BeanSerialization. You can find lots of discussion on serialization in this forum. Having seperate service for each method would be a week

Re: Object lists in axis

2004-10-13 Thread Praveen Peddi
I think the best way to do it is convert your ArrayList of java objects into an xml document and return. If your xml document is too big, you could stream it as outputstream, so you don't have to load all the data into memory. Having multiple methods, one for each field of information, does

Migrating from Apache SOAP to Axis

2004-10-13 Thread Shukla, Minaxi
Hi, I want to migrate our web services deployed on Apache SOAP 2.2 to Axis 1.1 without having to update the client developed with Apache SOAP. It works fine with good scenarios where the service returns a successful respose. But, when service throws a business exception, the client gets

RE: Object lists in axis

2004-10-13 Thread Pridemore, Russell (MAN-Corporate)
I return lists of objects like this: types xsd:schema targetNamespace="http://..." xsd:complexType name="person" xsd:sequence xsd:element name="name" type="xsd:string"/ xsd:element name="address" type="xsd:string" maxOccurs="2"/ xsd:element name="city" type="xsd:string"/

RE: Object lists in axis

2004-10-13 Thread Suzy Fynes
Title: Message Would this still work if the client of the service was a java one? -Original Message- From: Stevenson, Chris [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:02 To: '[EMAIL PROTECTED]' Subject: RE: Object lists in axis Use an array of javabeans, beans

Migration from Apache SOAP to Axis

2004-10-13 Thread Shukla, Minaxi
(Sending the message again without attachment.) I want to migrate our web services deployed on Apache SOAP 2.2 to Axis 1.1 without having to update the client developed with Apache SOAP. It works fine with good scenarios where the service returns a successful respose. But, when service throws

how to use message-style services in Axis

2004-10-13 Thread Thomas Forrester
Does anyone out there use the message style services? I am having real problems just trying to get a simple solution working with nested elements. The TestMsg.java example works OK to send individual elements (without children). I can not find any references on how to use implement the Document

RE: Object lists in axis

2004-10-13 Thread Stevenson, Chris
Title: Message Was or wasn't? If would work whateverif you generated your client from the WSDL which you intern generated from your service class. We return tree structures and all manner of stuff from java to dotnet as long asclasses are beans and are correctly described in WSDL. Can't

RE: Object lists in axis

2004-10-13 Thread Suzy Fynes
Thanks for your help! How would I reference this to a java class or would I have to write the soap manually? -Original Message- From: Pridemore, Russell (MAN-Corporate) [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:07 To: '[EMAIL PROTECTED]' Subject: RE: Object lists in

RE: Object lists in axis

2004-10-13 Thread Suzy Fynes
Title: Message Great! So if the client is in .NET do I just write my bean as normal extending serializable and deploy it as a WSDD or jws?? Thanks for your help! -Original Message- From: Stevenson, Chris [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:17 To: '[EMAIL

Query Strings?

2004-10-13 Thread Greg Hess
Hi All, For testing I would like to invoke a service method using the query string support with the AxisServlet. I have tested a couple simple method invocations successfully but it seems when I test methods that have more that one argument things get a little funny. For example,

Re: WSDL2Java and Basic Profile

2004-10-13 Thread Dan Ciarniello
Anne, Thanks for the info. I had to make a few minor changes to what you sent (I've attached a corrected version below) but that gave me enough to work with. Except for one problem... WSDL2Java produces both client and server code without apparent problem but when I invoke the service I get

RE: Object lists in axis

2004-10-13 Thread Stevenson, Chris
Title: Message Suzy, Might want to check this out, it should offer all the answers. http://www.javaworld.com/javaworld/jw-04-2003/jw-0411-axis.html Chris -Original Message-From: Suzy Fynes [mailto:[EMAIL PROTECTED] Sent: 13 October 2004 17:23To: [EMAIL PROTECTED]Subject:

Performance of 1.2 vs 1.1

2004-10-13 Thread Dan Ciarniello
I've taken a very simple web service and deployed it using Axis 1.1 and Axis 1.2 (RC1) on Tomcat 4.1.30 on a Linux machine (Fedora Core 1) and done some rough performance tests. My tests show that Axis 1.2 takes at least twice as long to process requests as Axis 1.1. This is of great

Losing Null Values When Making RPC Call

2004-10-13 Thread Pat Young
All, I am invoking an RPC call to the org.apache.axis.client.Call class by calling the invoke(Object[]) method. The call is executing a SQL query that returns columns of data back to my client in the form of a SOAPResultSet. The problem I am having is that null columns are being left out of the

Re: Performance of 1.2 vs 1.1

2004-10-13 Thread Davanum Srinivas
Please log a jira bug witjh your test case and performance numbers. thanks, dims On Wed, 13 Oct 2004 13:16:01 -0700, Dan Ciarniello [EMAIL PROTECTED] wrote: I've taken a very simple web service and deployed it using Axis 1.1 and Axis 1.2 (RC1) on Tomcat 4.1.30 on a Linux machine (Fedora Core

SSL Client Auth with Tomcat and Axis

2004-10-13 Thread Jim Wong
On a somewhat related note, I'm just getting started on trying to build an application using Axis, Tomcat and SSL. I would like to use client authentication, but I haven't been able to find documentation that explains how (assuming it's possible) one could access information from the client's