Question on Document Style Service Vs RPC Style Service ..

2003-06-12 Thread v . krishnamoorthy
Hi All, I need a clarification on different service styles used in Axis 1.0. I'm sending the SOAPxml String as a parameter to invoke the webservices ...Java objects are generated using WSDL2Java and it will be the input parameter for the method in the webservices.. Here the client should invoke

Codepage problem on z/OS

2003-06-12 Thread andrej . nagode
Hi! We are using axis (the latest build from Jun 10 2003) on WebSphere which is running on z/OS. We have tested the following samples and they work: - Calculator.jws - MyService that is under /samples/userguide/example3 directory. We have the following problems (PR1 and PR2 that are described

RE: Very basic Questions

2003-06-12 Thread Leo de Blaauw
Well, Lets say you want to make a client application which talks to a webservice and the people who run that webservice give you the wsdl. Just generate. Same goes for portals, like in our project, in which the portal dictates the webinterface to several connected organizations, therefore they

Re: Very basic Questions

2003-06-12 Thread Niket Anand
Thanks Leo, We get interfaces and Somebindingstub java files after using WSDL2Java tool for a wsdl file. What is the use of _bindingstub.java generated when using WSDL2Java? Please clarify Thanks, Niket - Original Message - From: Leo de Blaauw [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

faultCode in Axisfault

2003-06-12 Thread mai00bil
Hallo, I have a question with Axisfaults. I generated my own Fault as a subclass from AxisFault and set the faultCode, but when I want to get the faultCode on the client-side I only get the default faultCode Server.generalException. The correct faultString I get. Thanks Michael listing: public

Does AXIS provide serializers/deserializers for nested javabeans?

2003-06-12 Thread Agarwal, Naresh
Hi Say "inner" and "outer" are two java beans (see below for their definition). "outer" bean contains "inner" bean. Now one of my functions return "outer" bean. I want to expose this function as Web Service using AXIS. Do I need to write serializer and deserializer for this OR I can use

AW: Does AXIS provide serializers/deserializers for nested javabeans?

2003-06-12 Thread Kai Unewisse
HI Naresh, Youcan use the BeanSerializer. Iam doingsomething similar. I have a Bean containing a Bean and a Vector of other Beansand it works fine. Kai Hi Say "inner" and "outer" are two java beans (see below for their definition). "outer" bean contains "inner" bean.

Re: Does AXIS provide serializers/deserializers for nested javabeans?

2003-06-12 Thread Venkatesh Kancharla
No need to write any serializer for nested beans. You can use axis bean serializer to serialize them. --- Venkatesh Kancharla _|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_|_|_|_| _|_|_| _|_|_|_|_| _| _| _| _| _| _| _| _| _| _| _| _|_|_|_|_| _|

RE: Questions about Axis over JMS

2003-06-12 Thread Tony Schoenbachler
I've done this with JBossMQ as proof of concept for a project we are working. I was not able to use the wsdl2Java tools to generate the stubs. Instead I wrote my own - actually is was fairly easy. My JMS listener is a standalone program as well. There is a book by Wrox - Axis Next Generation

RE: FakeTrustSocketFactory....

2003-06-12 Thread Leo de Blaauw
Well, It seems to be working under jdk 1.4 only problem left now is that on the call: SOAPEnvelope respEnvelope = call.invoke(envelope); I get a weird empty exception thrown: axis faultString: (0) dump AxisFault: faultCode: {http://xml.apache.org/axis/}HTTP

Follow-up on invoking web service

2003-06-12 Thread michael_sobczak
Hi, First of all, thanks to Vlad Umansky for helping me get to the point where I can invoke the Unisys Weather web service. My code now successfully invokes the web service and gets a response. Unfortunately, no matter what zip code value I supply as the input parameter, I always get back

Re: Follow-up on invoking web service

2003-06-12 Thread Mathew Hreljac
.NET services require a SOAPAction to be set (usually the URI to it, might be an alias) in order to work. Just add whatever the service requires for a SOAPAction and it should be fine. Matty On Thu, 2003-06-12 at 10:07, [EMAIL PROTECTED] wrote: Hi, First of all, thanks to Vlad Umansky

Re: Follow-up on invoking web service

2003-06-12 Thread michael_sobczak
Hi Matty, Haven't I already done that in the following statement: call.setProperty(Call.SOAPACTION_URI_PROPERTY, http://www.unisys.com/WebServices/GetWeatherText; ); Thanks, Michael Sobczak NuTechs, Inc. 6785 Telegraph Road, Suite 350 Bloomfield Hills, MI 48301 pager: (248) 316-6524

Question on Document Style Service Vs RPC Style Service ..

2003-06-12 Thread v . krishnamoorthy
Hi All, I need a clarification on different service styles used in Axis 1.0. I'm sending the SOAPxml String as a parameter to invoke the webservices ...Java objects are generated using WSDL2Java and it will be the input parameter for the method in the webservices.. Here the client should invoke

RE: Follow-up on invoking web service

2003-06-12 Thread Leo de Blaauw
Hi, We just added an input / output logging handler wich logs the outgoing and incoming xml first thing in the axis handler chain, very helpfull to find out whats going over the line from a log file. Offcourse you can also use the axis soapmonitor but that means changing ports etc to get it in

RE: Follow-up on invoking web service

2003-06-12 Thread Davanum Srinivas
I usually start tcpmon at port 8081 as a proxy and set the system properties (-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8081) before running my client. -- dims --- Leo de Blaauw [EMAIL PROTECTED] wrote: Hi, We just added an input / output logging handler wich logs the outgoing and

RE: Follow-up on invoking web service

2003-06-12 Thread Leo de Blaauw
Yes, For a client that would work fine to, on our server the log handlers provide more options to log in and outgoing xml message straight from the wire if we have to i think. Greetings, Leo de Blaauw -Oorspronkelijk bericht- Van: Davanum Srinivas [mailto:[EMAIL PROTECTED] Verzonden:

Re: Very basic Questions

2003-06-12 Thread Niket Anand
Thanks Anne, It really makes me understand about it... Thanks a lot for this help Niket - Original Message - From: Anne Thomas Manes [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 9:55 AM Subject: Re: Very basic Questions Niket, 1.) The WSDL

RE: Does AXIS provide serializers/deserializers for nested javabeans?

2003-06-12 Thread Agarwal, Naresh
Hi Kai thanks for reply.. I tried using BeanSerializer but it's not working.. I have declared thebean mapping for both the beans "inner" and"outer" in wsdd file as follows: beanMapping qname="myNS:innerbean"

I: Axis ignores the xsd:attribute ref=.../. It's a bug or Axis never supports it?

2003-06-12 Thread Tevoi Andrea
i've the same problem. any help? A.T. -Messaggio originale- Da: Fan [mailto:[EMAIL PROTECTED] Inviato: sabato 22 marzo 2003 14.51 A: [EMAIL PROTECTED] Oggetto: Axis ignores the xsd:attribute ref=.../. It's a bug or Axis never supports it? I have a schema including a xsd:attribute

RE: Follow-up on invoking web service

2003-06-12 Thread Davanum Srinivas
Whatever rocks your boat :) --- Leo de Blaauw [EMAIL PROTECTED] wrote: Yes, For a client that would work fine to, on our server the log handlers provide more options to log in and outgoing xml message straight from the wire if we have to i think. Greetings, Leo de Blaauw

Re: Follow-up on invoking web service

2003-06-12 Thread michael_sobczak
Hi Davanum, Thank you for the code. It worked great! I'd like to understand some of the changes you provided. First off 1) I needed to use call.setOperationUse(literal) because the GetWeatherText operation defined the soap body with soap:body use=literal/, right? 2) How would I have

Re: WSDL Part Names

2003-06-12 Thread Knut Möller
Albert Bupp schrieb: I'm trying to understand why I'm seeing differences between the WSDL packets being returned from what's ostensibly the same service deployed on 2 different machines. Both machines are running Axis v1.1RC2, one deployed to Tomcat v3.3.1a, the other to Tomcat v3.3.1. The

SOAPHeaderElement Namespace question ...

2003-06-12 Thread S.E.Parkin
Hi I've used the 'SOAPHeaderElement(java.lang.String namespace, java.lang.String localPart, java.lang.Object value)' constructor to create a Header element, but I'm having a problem in that I have defined the associated namespace as an attribute of the SOAP Envelope element, and don't want the

Doc/Literal input parms problem

2003-06-12 Thread Gregory Boes
Hey There, I have a problem I have not seen discussed here, so perhaps it's personal. I implemented a WS using AXIS (June 11 - nightly build). I utilized Java2WSDL to create the WSDL from an interface class. I then used WSDL2Java to create both server and client stubs. Here's the problem, this

Doc/Literal input parms problem

2003-06-12 Thread Gregory Boes
Hey There, I have a problem I have not seen discussed here, so perhaps it's personal. I implemented a WS using AXIS (June 11 - nightly build). I utilized Java2WSDL to create the WSDL from an interface class. I then used WSDL2Java to create both server and client stubs. Here's the problem, this

Re: Follow-up on invoking web service

2003-06-12 Thread Davanum Srinivas
#1. yep. #2. http://marc.theaimsgroup.com/?t=10516472624r=1w=2 #3. Because the WSDL/Schema mentions that the parameter needs to have a namespace (it cannot have an empty namespace) tip When in doubt, run WSDL2Java against the WSDL, inspect the generated code, modify your code accordingly.

Client Authentication

2003-06-12 Thread Boby boby
Hi, I was going through the mailing list but couldn’t find the solution for my problem so thought of sending a message to the list. I am using ‘wsdl2java’ tool to generate java client for invoking web-services. Web-services requires basic HTTP authentication to authenticate clients. If I

WebServices using SSL

2003-06-12 Thread Daniel Xia
Is there anybody out there have experience setting up Axis to allow https as the protocol instead of just http. The documentation of Axis is not clear on this at all. (This is same for most stuff out there; it becomes really vague when it comes to SSL). I am using Tomcat 4 as my app

Re: Does AXIS provide serializers/deserializers for nested javabeans?

2003-06-12 Thread Mr. Document Service
Hello Do you have sample serializers and deserializer for this? thank you very much"Agarwal, Naresh" [EMAIL PROTECTED] wrote: Hi Say "inner" and "outer" are two java beans (see below for their definition). "outer" bean contains "inner" bean. Now one of my functions return "outer" bean. I

Re: Does AXIS provide serializers/deserializers for nested javabeans?

2003-06-12 Thread Mr. Document Service
Hello Do you have sample serializers and deserializer for this? thank you very much"Agarwal, Naresh" [EMAIL PROTECTED] wrote: Hi Say "inner" and "outer" are two java beans (see below for their definition). "outer" bean contains "inner" bean. Now one of my functions return "outer" bean. I

Re: faultCode in Axisfault

2003-06-12 Thread Mr. Document Service
Does AXIS 1.1 AxisFault class support a generalized SOAP Fault mechanism?mai00bil [EMAIL PROTECTED] wrote: Hallo,I have a question with Axisfaults.I generated my own Fault as a subclass from AxisFault and set the faultCode,but when I want to get the faultCode on the client-side I only get

support of xml attibutes

2003-06-12 Thread Michael Zurke
hello, i heard that some ws-tool-vendors do not support attributes in xml schema. i also heard that axis will go in the same direction. does anybody have some information about how the future will look like regarding this point. in need that information to keep the compatibility of my

RE: Polymorphism in Web Services (badly need help here)

2003-06-12 Thread Chris Means
FWIW: Microsoft's MapPoint Web Service uses a little polymorphism. (http://staging.mappoint.net/standard-30/MapPoint.wsdl) Though it didn't run without problems, the Axis v1.0 WSDL2java did properly create the mappings for MapView and it's descendants, though they're relatively simple objects.

Re:Re: support of xml attributes

2003-06-12 Thread Michael Zurke
it's not that i already got a problem with axis. as i said..i just heard about that direction of lacking support of attributes for releases in the future. how about that? mischa Can you send me the XML schema sample you have that may not work with AXIS WSDL/Java ? Michael Zurke [EMAIL

RE: Re: support of xml attributes

2003-06-12 Thread Herrick, Mike
My understanding is that attributes get converted to SOAPElements as defined by the JAX-RPC spec. The JAX-RPC specification does not specify a standard Java mapping for a xsd:complexType with the xsd:attribute. So the message part in the DoAnotherExample message is mapped as a SOAPElement. see

Re:Re: support of xml attributes - Level of XML Schema support?

2003-06-12 Thread Mr. Document Service
What WS Vendors are not support XML Schema xsd:attributes .../? Are there particular XSD data types that AXIS WSDL processor can not handle as an attributes value? This goes back to my original question regaeding level of support for all required XML Schema Part-I: Structure and and XML Schema

RE: Re: support of xml attributes

2003-06-12 Thread Mr. Document Service
xsd:attribute ../are valid XML Schema 1.0 constructs. WS-IBasic Profile mandates the use of XML Schema as the type system for WSDL descriptions of Web Services. It does not seem like AXIS is WS-I Basic Profile compliant. Does anyone know if there are plans to fix this? If AXIS can not support

RE: Re: support of xml attributes

2003-06-12 Thread Herrick, Mike
settle down. -Original Message-From: Mr. Document Service [mailto:[EMAIL PROTECTED]Sent: Thursday, June 12, 2003 12:27 PMTo: [EMAIL PROTECTED]Subject: RE: Re: support of xml attributes xsd:attribute ../are valid XML Schema 1.0 constructs. WS-IBasic Profile

RE: Re: support of xml attributes

2003-06-12 Thread Carter, John G
I'd be interested in knowing this as well as I am currently creating WSDL files that have attributes in the schemas. -Original Message- From: Michael Zurke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 2:05 PM To: [EMAIL PROTECTED] Subject: Re:Re: support of xml attributes

Re: Polymorphism in Web Services (badly need help here)

2003-06-12 Thread Milind Gadre
One idea is to make the method that services the request actually be a 'dispatcher' - that uses Java reflection to invoke the correct method on the correct handler object based on the input parameters. Furthermore - depending on the scope of your implementation - if you are not 'publishing' your

Re: support of xml attributes

2003-06-12 Thread Michael Zurke
mike: using axis 1-1RC2 i had no problem using WSDL2Java even if there were attributes in my schema. are you're sure that axis has problems with that? mischa Am Donnerstag 12 Juni 2003 21:15 schrieb Herrick, Mike: My understanding is that attributes get converted to SOAPElements as defined

RE: support of xml attributes

2003-06-12 Thread Herrick, Mike
WSDL2Java might not choke on it, but does Axis serialize/deserialize it @ run time? I am far from an Axis expert. I tried this at one point, had problems, referred to the spec and decided to stay away from attributes. Mike -Original Message- From: Michael Zurke [mailto:[EMAIL

Re: support of xml attributes

2003-06-12 Thread Michael Zurke
even at runtime i had no probs. maybe anybody has an idea in which case axis fails with attributes. mischa Am Donnerstag 12 Juni 2003 21:55 schrieb Herrick, Mike: WSDL2Java might not choke on it, but does Axis serialize/deserialize it @ run time? I am far from an Axis expert. I tried this at

Passing parameters to handlers

2003-06-12 Thread Brad Moore
Hello all, I'm writing an Axis Handler that implements the WS-Security Username Token spec. For those of you that aren't familiar with it, it's a nice way of putting usernames and passwords in the header of a SOAP request, using digests, so that they are verified in a more secure manner. I

Axis server with Tomcat - Admin client and .jws samples - not available

2003-06-12 Thread Ken Meehan
Hi, A few weeks ago I was happily running Axis 1.1 (RC2) .jws examples and the Admin Tool. I was using it with Tomcat 3.3.1, no problems. I didn't do anything with it for several weeks, and I went back today just trying to do some of the same things, but now trying

Re: support of xml attributes

2003-06-12 Thread Anne Thomas Manes
The SOAP spec prohibits the use of attributes in RPC/encoded messages. From SOAP Section 5 [1]: The rules for serialization are as follows: 1. All values are represented as element content. Perhaps this is the source of confusion? Document/Literal definitely supports attributes, though, and

RE: support of xml attributes

2003-06-12 Thread Davanum Srinivas
Folks, If you find a bug, PLEASE report it - guidelines @ http://ws.apache.org/axis/bugs.html. -- dims --- Herrick, Mike [EMAIL PROTECTED] wrote: WSDL2Java might not choke on it, but does Axis serialize/deserialize it @ run time? I am far from an Axis expert. I tried this at one point,

RE: support of xml attributes

2003-06-12 Thread Herrick, Mike
Thanks a lot Anne - just baggage from when I tried to use RPC Encoding then. I wasn't aware that Axis could handle it - that is great news to me. My XML payloads won't have to be as bloated now. Thanks for the clarification. Apparently I'm the one who needs to settle down ;) Mike

Re: support of xml attributes

2003-06-12 Thread Michael Zurke
Thanx Anne, so this means that I also will have no problems with attributes using axis the rpc/literal way, right? Am Donnerstag 12 Juni 2003 22:49 schrieb Anne Thomas Manes: The SOAP spec prohibits the use of attributes in RPC/encoded messages. From SOAP Section 5 [1]: The rules for

Allowing multiple operations in message-style web services

2003-06-12 Thread Carter, John G
I seem to recall reading (but I can not remember where) that when using message-style for a web service, only one operation may be included per web service as Axis can not determine which operation to execute. Are there any plans to remove this limitation? I have to use message style because

Axis 1.1rc2 problem with adding Headers to Axis/SOAP requests

2003-06-12 Thread Albert Wong
Hi, I'm trying to add entries into the Axis/Soap Header. Using env, Axis 1.1rc2 (with all the libraries provided in the lib directory in the zip + Xerces 2.4.0) on IBM JDK 1.3 running in Websphere Studio 5.0.1 I followed the answer provided at http://ws.apache.org/axis/faq.html#faq18 So I

RE: WebServices using SSL

2003-06-12 Thread Vlad Umansky
I suggest trying one of the nightly builds. I had a similar problem that was recently fixed. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 6:51 PM To: [EMAIL PROTECTED] Subject: Re: WebServices using SSL I had also problems trying

classpath problem

2003-06-12 Thread Agarwal, Naresh
Hi I am using Tomcat 4.1 for deploying my AXIS applications. When I create a AXIS application, then I should put the class and jar files in TOMCAT_HOME\webapps\axis\WEB-INF\classesand TOMCAT_HOME\webapps\axis\WEB-INF\lib respectively. However, I don't want to keep class and jar files at

RE: style=document 1_1RC2

2003-06-12 Thread adrian . p . smith
Yes this also works for me. Thanks. When will this new code become part of a release? -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 15:47 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Smith,AP,Adrian,XSJ62 R Subject: RE: style=document 1_1RC2

Very basic Questions

2003-06-12 Thread Niket Anand
Hello All, I have some very basic Questions as:- 1)Why do we need WSDL file?-- if we want to deploy service we do it by wsdd 2)Why there is need of WSDL2Java tool?--- just to have interface and binding stub java files.Why is the need of stub files as while deploying services we just need wsdd and

RE: style=document 1_1RC2

2003-06-12 Thread Davanum Srinivas
This will be part of 1.1 final release. -- dims --- [EMAIL PROTECTED] wrote: Yes this also works for me. Thanks. When will this new code become part of a release? -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: 11 June 2003 15:47 To: [EMAIL PROTECTED];

Re: Very basic Questions

2003-06-12 Thread Anne Thomas Manes
Niket, 1.) The WSDL file describes the Web service from a client's point of view. It defines what the service does (the interface and the format of the input and output messages), how to use it (the bindings and protocols that should be used to contruct messages), and where to find it (the