AW: within a string / parser expects an entity reference

2003-01-08 Thread Akacem Mohammed
Hello James, the information is being in the first place from a html form gathered and saved in a file. so I know there would be no entity reference in the xml file and it would be easier if it is possible to tell the parser not to expect an entity reference otherweise each input in the form

Re: Setting User name /Password with stubs

2003-01-08 Thread Martin Kalén
You could also cast your transport object to org.apache.axis.client.Stub and use the methods setUsername(java.lang.String) and setPassword(java.lang.String). -- Regards, Martin Kalen Curalia AB ALI,HANEEF (HP-Cupertino,ex1) wrote: Ok I figured it out-- but not trivial one. Hate using _ in

RE: axis and caching

2003-01-08 Thread Toshiyuki Kimura
Hi Calvin, (B (B Oh, okey! You *don't* want to refer the cached message !! (BCould you snoop on both request and respnse message including (Bhttp protocol headers ? And please open up it for us. (B You'll be able to take these messages by using TCP Monitor (B(org.apache.axis.utils.tcpmon).

Intermediate nodes in request path

2003-01-08 Thread Shobha Rani Jagathpal
Hi, I need a way where by before the webservice1 is invoked another webservice2 should be invoked. Both the webservices reside in different servers and response the client gets should depend on the response of webservice2. Regards, Shobha Rani J smime.p7s Description:

RE: Intermediate nodes in request path

2003-01-08 Thread Krishnakumar B
Hi You can achieve this using BPEL. ( Its a flow language where u can call web services in sequence/parallel ) and the response can be returned to the client. See IBM Alphaworks for BPEL Engine Also www.collaxa.com Krishnakumar B -Original Message- From: Shobha Rani Jagathpal

RE: Intermediate nodes in request path

2003-01-08 Thread Shobha Rani Jagathpal
Thank you for the immediate response. Can't apache axis be used for this? -Original Message- From: Krishnakumar B [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 6:15 PM To: [EMAIL PROTECTED] Subject: RE: Intermediate nodes in request path Hi You can achieve

RE: Intermediate nodes in request path

2003-01-08 Thread Krishnakumar B
Hi You can use Axis ( Request/Response Handlers ) also for this. But BPEL is a more powerful tool for doing web service orchestration. Regards Krishnakumar B -Original Message- From: Shobha Rani Jagathpal [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 6:18 PM To: [EMAIL

RE: Intermediate nodes in request path

2003-01-08 Thread Shobha Rani Jagathpal
Thank you. I will try this with handler now. Could you please tell me if this will work WSDD for webservice1 running in localhost:8080 deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java; service name=TestMyService

RE: SOAP header-based sessions and .NET

2003-01-08 Thread Niklas Magnusson
Title: Message Ok, as you probably already have figured out I'm trying to use the SimpleSessionHandler class which I have added in the request and response flow of the service. So .NET must have a complex type get it work. Do you have a tip on how I fix this? Right now I don't have a

RE: Intermediate nodes in request path

2003-01-08 Thread Krishnakumar B
Hi If i understand ur problem right Call WebService1 - All requests are routed to WebService2 on different server for authentication - Return to webservice1 The request handler can act as a Client for webservice2 on different server. Its like any normal web service client. ( Using Call

RE: Intermediate nodes in request path

2003-01-08 Thread Shobha Rani Jagathpal
Hi, You are correct. But how will the handler terminate the flow if the authentication fails and pass authentication succes message for the execution of webservice. Regards, Shobha Rani J -Original Message- From: Krishnakumar B [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January

RE: Intermediate nodes in request path

2003-01-08 Thread Krishnakumar B
hi Using AXIS handlers some ways could be 1) Throw an exception in the handler( Not an elegent way ). 2) Implement some logic in web service1 so that it does not process but sends response saying Authentication failed. Alternatively using BPEL the same can be achieved elegently Based on

RE: Intermediate nodes in request path

2003-01-08 Thread Shobha Rani Jagathpal
Thanks a lot. This is really of great help. Regards, Shobha Rani J -Original Message- From: Krishnakumar B [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 7:22 PM To: [EMAIL PROTECTED] Subject: RE: Intermediate nodes in request path hi Using AXIS handlers

RE: SOAP header-based sessions and .NET

2003-01-08 Thread Niklas Magnusson
Title: Message Sorry, have one more question... How can I get the SOAP header information to be in the WSDL I thought I had it there but that was not the case. It's not even in the right place, it's not there at all so I have two problems. 1. Get the SOAP header in the WSDL and in the

Re: Intermediate nodes in request path

2003-01-08 Thread James Carman
Do you have control over the authentication web service? If so, you could have it add a a digital signature of some sort of auth. request token (provided as a header from the initial web service) in the header section upon successful authentication. The initial web service would then validate

Mapping The WSDD Provider To The Provider Class

2003-01-08 Thread Nicholas
If I want to create a new provider (or extend an existing one) I can write a new provider class. But where does the Axis Engine map the Provider in the WSDD to the provider class ? e.g. provider=java:EJB is mapped to EJBProvider Also, there seems to be very thin docs on the exact format of the

RE: wsif - complex type/java bean mapping

2003-01-08 Thread Anthony Elder
Hi Jacques-Olivier, great find thanks,as you say WSIF should not to be AXIS dependant for the complex type mapping and this is a pretty serious problem. Whats going wrong is that the AXIS bean deserialiser (org.apache.axis.encoding.ser.BeanDeserializer) in the method onStartChild tries to find a

RE: wsif - complex type/java bean mapping

2003-01-08 Thread Jacques-Olivier Goussard
Great ! Thanks a lot for this. I'll need this pretty fast, so I may end up patching AXIS myself. Do you plan to fix this before releasing 2.0 (that is, if you fix it in WSIF) ? Thanks again Jacques-Olivier -Original Message- From: Anthony Elder [mailto:[EMAIL PROTECTED]] Sent:

re: --implClass not working

2003-01-08 Thread James Black
Hello, I used the cvs source from saturday, and --implClass doesn't appear to be working. My method parameters are of in0, in1 type, not the names I used.

re: --implClass not working

2003-01-08 Thread Davanum Srinivas
When u compiled your classes using javac, did you switch on -g option? (debug) --- James Black [EMAIL PROTECTED] wrote: Hello, I used the cvs source from saturday, and --implClass doesn't appear to be working. My method parameters are of in0, in1 type, not the names I used. =

Re: --implClass not working

2003-01-08 Thread James Black
Davanum Srinivas wrote: When u compiled your classes using javac, did you switch on -g option? (debug) Thank you. I had it on, took the switch out last night, as I didn't remember why it was there. I will put it back. Thank you very much. g

MultiRef problem,please help-URGENT

2003-01-08 Thread kama rao
Hi, I want to turn off the multiRef feature.I am trying to encrypt some elements in my soap body,because of this multiref,it is encrypting the reference and not the original element. I tried to set it off using call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE) It did n't

RE: [wsif] sample err: Cannot get Object part 'Result'

2003-01-08 Thread Anthony Elder
Unfortunately no, WSIF does not use system properties for an authenticating proxy user id and password so wont work if the WSDL needs to be read through an authenticating proxy. The problem is with reading the WSDL, so the WSIF testcases and samples which read the WSDL remotely will fail. A lot

Re: Call BabelFish web service using WSDL file

2003-01-08 Thread Davanum Srinivas
try QName servQN = QName(http://www.xmethods.net/sd/BabelFishService.wsdl;, BabelFishService) TIP: When in doubt, run wsdl2java on the wsdl and see the generated code. Thanks, dims --- Mark Timmings [EMAIL PROTECTED] wrote: Sorry, I'm a little new to Apache Axis, although have previously

RE: returning an array of beans (or: why i'm going insane)

2003-01-08 Thread Tom Jordahl
Gene, If you see the *Impl.java file being overwritten, please file a bug with instructions on how to reproduce. If you examine to the code, you will see that if the Impl file exists it will not get regenerated. Thanks. -- Tom Jordahl Macromedia Server Development -Original

Re: within a string / parser expects an entity reference

2003-01-08 Thread Steve Loughran
there is no CDATA in xml schema. irritating but true. so no CDATA in soap. base-64 encode or do the escaping. Somwhere in Axis (I forget where), the code to do the escaping exists. - Original Message - From: Akacem Mohammed [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January

[wsif] zip2geo sample questions

2003-01-08 Thread Rhett . DeWall
In the WSDL for the Zip2Geo sample, the Message GetLatLongSoapIn contains a single part of parameters which references the element GetLatLong The sample code that invokes an operation using this message, the schema is unwrapped and two input parts are being set vs. the single part that is

Re: axis and caching

2003-01-08 Thread Steve Loughran
Can I repeat somethign here. Axis does not specify caching on the results of (Ba POSTed SOAP request, because POST requests are not cacheable or (Bidempotent, according to the HTTP spec. Indeed, the fact that SOAP calls are (Binherently uncacheable is one of the complaints about SOAP; even side

RE: SOAP header-based sessions and .NET

2003-01-08 Thread thomas . cherel
Title: Message Take a look at the enclosed java file. It is a modified version of the SimpleSessionHandler class (it was a prototype version I wrote some times ago. It might not compile anymore, but if you compare it with the current SimpleSessionHandler class it should give you some hints

RE: Call BabelFish web service using WSDL file

2003-01-08 Thread Mark Timmings
Thanks for the tip - I hadn't gotten around to checking this tool out. I'll definitely have a play. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] Sent: 08 January 2003 16:18 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Call BabelFish web service using WSDL

Re: axis and caching

2003-01-08 Thread Calvin Smith
ok thanks, i'll grab the next release when it's available Original Message Follows Can I repeat somethign here. Axis does not specify caching on the results of a POSTed SOAP request, because POST requests are not cacheable or idempotent, according to the HTTP spec. Indeed, the fact that

Re: within a string / parser expects an entity reference

2003-01-08 Thread Brian Ewins
Its best not to construct XML documents by appending strings, but to use one of the XML APIs to build the document instead. If your documents will be small enough to fit in memory, then something like this in JDOM would work: Element firmName = new Element(Firmname).setText(Gmbh Co.KG); A

Re: axis and caching

2003-01-08 Thread Steve Loughran
- Original Message - From: Calvin Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 09:28 Subject: Re: axis and caching ok thanks, i'll grab the next release when it's available I still need you to clarify something. Are you having caching problems with

Re: [wsif] zip2geo sample questions

2003-01-08 Thread Nirmal Mukhi
Hello Rhett, This unwrapped style is a convenience that is supported in the Axis provider. The more general way to write the client code would be to use an element that wraps everything. You would then have an input message with one part (an element), that can be populated programatically using

Re: [wsif] zip2geo sample questions

2003-01-08 Thread Nirmal Mukhi
Hi, Some bugs in my previous source code listing; here's the fixed version: // create the input, output and fault messages associated with this operation DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); // at this

Can you access jws files inside a war?

2003-01-08 Thread Chen, Waymon N
I searched through the archive and couldn't find a definitative answer. Can you access jws files when you package the axis web app into a war file?

how reliable is Axis in production environment

2003-01-08 Thread Anjaneya Swamy Varada
Hi, We are thinking of implementing web services and looking for a good web services tool. I found Axis and it looks promising. I would like to how many companies use Axis in their live/production environment? Thanks Swamy

RE: how reliable is Axis in production environment

2003-01-08 Thread Tom Jordahl
We use it in ColdFusion MX and JRun 4. -- Tom Jordahl Macromedia Server Development -Original Message- From: Anjaneya Swamy Varada [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 1:59 PM To: [EMAIL PROTECTED] Subject: how reliable is Axis in production environment Hi,

Re: [wsif] zip2geo sample questions

2003-01-08 Thread Jeff Greif
Hi Nirmal, Thanks very much for this explanation. Does it also contain the essentials of the answers to the questions in http://marc.theaimsgroup.com/?t=10419034102r=1w=2 (subject: (de)serializers for message parts specified by elements, rather than types)? I neglected to mention in that

RE: how reliable is Axis in production environment

2003-01-08 Thread Vidyanand Murunikkara
Check out this pacge http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/AxisBeingU sed Thanks Vidyanand -Original Message- From: Anjaneya Swamy Varada [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 08, 2003 10:59 AM To: [EMAIL PROTECTED] Subject: how reliable is Axis in

Re: Intermediate nodes in request path

2003-01-08 Thread Gene Chuang
I recall reading in "Building Web Services with Java" by Graham et. al. it mentioned Axis supporting Intermediaries in the header. This is where you put intermediary points in the header for routing. After each intermediary the header for just that intermediary was stripped and while the rest of

Re: Can you access jws files inside a war?

2003-01-08 Thread Steve Loughran
- Original Message - From: Chen, Waymon N [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 10:54 Subject: Can you access jws files inside a war? I searched through the archive and couldn't find a definitative answer. Can you access jws files when you package

Re: Intermediate nodes in request path

2003-01-08 Thread Steve Loughran
If they were talking about WS-routing (http://msdn.microsoft.com/library/en-us/dnglobspec/html/ws-routing.asp), it isnt there and wont be in Axis1.1 either. Books about open source projects need a special kind of future tense, where will means maybe if somebody can be bothered to write it and

RE: Can you access jws files inside a war?

2003-01-08 Thread Chen, Waymon N
Ok. Maybe sometime has an idea of what's going on then... I directly took the Axis webapp and package it into a war. Then packaged it into an ear with an additional EJB jar. The ear deploys correctly (Weblogic 7) with the EJBs deploying and the web application being deployed. I can hit the

Axis and Weblogic 7

2003-01-08 Thread Praveen Peddi
I am currently using apache SOAP tool kit but having some memory issues with SOAP with attachments. We are planning to migrate to Apache Axis. Does anyone know if Apache Axis works with Weblogic 7.0. Praveen

RE: returning an array of beans (or: why i'm going insane)

2003-01-08 Thread Gene Chuang
Done: bug #15903 Tom Jordahl [EMAIL PROTECTED] wrote: Gene,If you see the *Impl.java file being overwritten, please file a bug with instructions on how to reproduce. If you examine to the code, you will see that if the Impl file exists it will not get regenerated.Thanks.-- Tom Jordahl Macromedia

RE: Axis and Weblogic 7

2003-01-08 Thread Chen, Waymon N
I'm using Axis with Weblogic 7 in respect to RPC style web services. -Original Message-From: Praveen Peddi [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 08, 2003 3:00 PMTo: [EMAIL PROTECTED]Subject: Axis and Weblogic 7 I am currently using apache SOAP tool kit

Re: Axis and Weblogic 7

2003-01-08 Thread Praveen Peddi
Thanks Chen. - Original Message - From: Chen, Waymon N To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 3:23 PM Subject: RE: Axis and Weblogic 7 I'm using Axis with Weblogic 7 in respect to RPC style web services. -Original

qualified names vs. multiRefs

2003-01-08 Thread Dan Stone
My AXIS RPC service takes a bean for an argument. This bean contains an array of another bean. The server is configured to map these beans based on qualified names as defined in the beanMappings in the server-config.wsdd. .NET clients are able to create requests to the service that use the

RE: Can you access jws files inside a war?

2003-01-08 Thread Chen, Waymon N
Here's the error I'm getting... - Unable to load/create servlet engine config file, attempting internal default (from jar). -Original Message- From: Chen, Waymon N. Sent: Wednesday, January 08, 2003 2:46 PM To: [EMAIL PROTECTED] Subject: RE: Can you access jws files inside a war? Ok.

Soap With attachments

2003-01-08 Thread Praveen Peddi
Does anyone know if the SOAP with attachments is any better with Axis compared to Apache SOAP. I used soap with attachments using Apache SOAP and I had lot of memory problems. I heard that Apache soap creates atleast 2 copies of the content in memory doubling the size of the request. I

Upgrading from Apache SOAP to AXIS?

2003-01-08 Thread Johannes Fiala
Hi there! Has anyone upgraded from Apache SOAP 2.3.1 to Apache AXIS yet? We use classes as well as XML strings as function call parameters and as response values, but no custom serializers/deserializers. What would be the main advantages of Axis over Apache SOAP? Any insights yet? thx alot

Re: [wsif] zip2geo sample questions

2003-01-08 Thread Nirmal Mukhi
Hello Jeff, That's right, in the doc/lit case you need not specify (de)serializers if you are willing to work directly with elements - Ant/Owen correct me if I'm wrong here! I didn't write the Axis or Apache SOAP providers so I don't know for sure, but this is the behavior I have observed in my

Re: [wsif] zip2geo sample questions

2003-01-08 Thread Rhett . DeWall
Hi Nirmal, Thanks for the quick response. I wanted to try a few things before I responded, and have now had time to do that. Essentially I am doing what you described with your code, except I am not using DOMs, but rather our code is structured so that all complex types get associated with a

Re: Can you access jws files inside a war?

2003-01-08 Thread Steve Loughran
- Original Message - From: Chen, Waymon N [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 08, 2003 12:39 Subject: RE: Can you access jws files inside a war? Here's the error I'm getting... - Unable to load/create servlet engine config file, attempting internal

Axis on Tandem OSS

2003-01-08 Thread Nepomuceno, David
Title: Axis on Tandem OSS I would like to get in touch with anyone who has installed Axis on Tandem OSS before. David

Re: No deserializer defined for array type ?

2003-01-08 Thread Mark Mueller
I've been trying to answer the same question myself. Are we supposed to use: call.registerTypeMapping() to do this? Does anyone have an example of a client that deserializes an array of objects? Mark --- McCaslin Orion [EMAIL PROTECTED] wrote: Hi, I am not having success getting

RE: No deserializer defined for array type ?

2003-01-08 Thread Jason Weinstein
This may not answer your question, but I found this post to be very useful (e.g., steps 1-4). -Original Message- From: Gene Chuang [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 29, 2002

RE: Intermediate nodes in request path

2003-01-08 Thread Shobha Rani Jagathpal
I have control on authentication web service but not on the webservice1(testWebservice). Its like this, the client has to be authenticated before accessing the testwebservice. Both of these reside in different servers. If a client gets the wsdl of testwebservice, asume using axis, how will it be

Can the client capture the raw SOAP response?

2003-01-08 Thread Mark Mueller
I'm trying to learn SOAP and Axis and have spent a day trying to get a simple client to work. The service takes a search string and the number of responses to return, and returns an array of MP3 URLs in the form of TMP3Result objects. I kept getting this error: An Axis Fault occurred:

RE: Can the client capture the raw SOAP response?

2003-01-08 Thread Shobha Rani Jagathpal
You can use tcpmon to see the soap request/responses or enable soapmonitor by editing web.xml and uncomming the tags. Regards, Shobha Rani J -Original Message- From: Mark Mueller [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 10:14 AM To: [EMAIL PROTECTED] Subject: